/*
Theme Name: Demo Slots PT-BR
Theme URI: https://example.com/
Description: Template para jogos de slot em português brasileiro
Version: 1.0
Author: WordPress Developer
Author URI: https://example.com/
Text Domain: demo-slots-br
*/

/* ==================== Reset e Base ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b00;
    --secondary-color: #1a1a2e;
    --accent-color: #00d4ff;
    --dark-bg: #0f0f1a;
    --card-bg: #1e1e32;
    --text-color: #ffffff;
    --text-muted: #a0a0b0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== Header ==================== */
.site-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2a2a4a 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.site-logo span {
    color: var(--text-color);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.main-navigation a {
    color: var(--text-color);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    background: var(--primary-color);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

/* ==================== Hero Section ==================== */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #16213e 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(255,107,0,0.3);
    transition: all 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,107,0,0.4);
    color: white;
}

/* ==================== Breadcrumbs ==================== */
.breadcrumbs {
    padding: 20px 0;
    background: var(--secondary-color);
    border-bottom: 1px solid #2a2a4a;
}

.breadcrumbs-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs .separator {
    color: var(--text-muted);
}

.breadcrumbs .current {
    color: var(--primary-color);
}

/* ==================== Game Grid ==================== */
.games-section {
    padding: 60px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 16px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.game-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.game-thumbnail {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #2a2a4a 0%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-thumbnail img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .play-overlay {
    opacity: 1;
}

.play-btn {
    background: var(--primary-color);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    background: var(--accent-color);
}

.game-info {
    padding: 20px;
}

.game-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.game-provider {
    color: var(--text-muted);
    font-size: 14px;
}

/* ==================== Single Game Page ==================== */
.single-game-wrapper {
    padding: 40px 0;
}

.game-player-section {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
}

.game-player-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.game-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.player-controls {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #2a2a4a;
    flex-wrap: wrap;
}

.promotion-btn {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, #00c853 0%, #00e676 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.promotion-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,200,83,0.4);
}

.fullscreen-btn {
    background: var(--secondary-color);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fullscreen-btn:hover {
    background: var(--primary-color);
}

/* ==================== Table of Contents ==================== */
.toc-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.toc-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.toc-list {
    list-style: none;
}

.toc-list li {
    margin-bottom: 10px;
}

.toc-list a {
    color: var(--text-muted);
    padding: 8px 15px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.toc-list a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.toc-list .toc-h3 {
    padding-left: 35px;
    font-size: 14px;
}

/* ==================== Game Content ==================== */
.game-content-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.game-content-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    margin-top: 40px;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.game-content-section h2:first-child {
    margin-top: 0;
}

.game-content-section h3 {
    font-size: 22px;
    margin-bottom: 10px;
    margin-top: 30px;
    color: var(--text-color);
}

.game-content-section p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.game-content-section ul, .game-content-section ol {
    margin-bottom: 20px;
    padding-left: 25px;
    color: var(--text-muted);
}

.game-content-section li {
    margin-bottom: 8px;
}

/* ==================== Related Games ==================== */
.related-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
}

.related-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-color);
}

/* ==================== Archive Page ==================== */
.archive-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2a2a4a 100%);
    padding: 60px 0;
    text-align: center;
}

.archive-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-color);
}

.archive-description {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    background: var(--card-bg);
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--primary-color);
    color: white;
}

.pagination .current {
    background: var(--primary-color);
    color: white;
}

/* ==================== Footer ==================== */
.site-footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0f0f1a 100%);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-share {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
}

.social-btn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.social-btn:hover img {
    filter: brightness(0) invert(0);
}

.footer-bottom {
    border-top: 1px solid #2a2a4a;
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
}

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
        margin-top: 20px;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 5px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .game-info {
        padding: 15px;
    }
    
    .game-title {
        font-size: 14px;
    }
    
    .player-controls {
        flex-direction: column;
    }
    
    .promotion-btn, .fullscreen-btn {
        width: 100%;
    }
    
    .archive-title {
        font-size: 28px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .game-thumbnail {
        aspect-ratio: 1;
    }
    
    .game-info {
        padding: 10px;
    }
    
    .game-title {
        font-size: 12px;
    }
    
    .toc-section, .game-content-section, .related-section {
        padding: 20px 15px;
    }
    
    .hero-section {
        padding: 60px 0 40px;
    }
}
