/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    min-height: 100vh;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    border-bottom: 3px solid #9ACD32;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(154, 205, 50, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    background: linear-gradient(45deg, #9ACD32, #ADFF2F, #32CD32);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav a:hover {
    background: linear-gradient(45deg, #9ACD32, #32CD32);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(154, 205, 50, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(26,26,26,0.8) 50%, rgba(0,0,0,0.9) 100%), 
                radial-gradient(circle at 50% 50%, rgba(154, 205, 50, 0.1) 0%, transparent 70%);
    border-bottom: 2px solid #9ACD32;
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::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 1200 600"><rect fill="none" width="1200" height="600"/><circle fill="%239ACD32" cx="600" cy="300" r="80" opacity="0.05"/><rect fill="%239ACD32" x="580" y="50" width="40" height="500" opacity="0.03"/></svg>');
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
}

.games-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #9ACD32;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.games-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #9ACD32, #32CD32);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(154, 205, 50, 0.5);
}

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

.game-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #333;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(154, 205, 50, 0.4);
    border-color: #9ACD32;
}

.game-banner {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(45deg, #228B22, #32CD32);
}

.game-info {
    padding: 25px;
}

.game-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #9ACD32;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.watch-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #9ACD32, #32CD32);
    color: #000;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(154, 205, 50, 0.3);
}

.watch-btn:hover {
    background: linear-gradient(45deg, #32CD32, #9ACD32);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(154, 205, 50, 0.5);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #9ACD32;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #9ACD32, #32CD32);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(154, 205, 50, 0.5);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border: 2px solid #333;
}

.about-content h3 {
    color: #9ACD32;
    font-size: 1.8rem;
    margin: 30px 0 15px 0;
    border-left: 4px solid #9ACD32;
    padding-left: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.about-content h3:first-child {
    margin-top: 0;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    color: #d0d0d0;
}

.about-content strong {
    color: #9ACD32;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    border-top: 3px solid #9ACD32;
    color: white;
    text-align: center;
    padding: 30px 0;
    box-shadow: 0 -4px 20px rgba(154, 205, 50, 0.3);
}

footer p {
    font-size: 1rem;
}

/* Modal para Stream */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 1000px;
    height: 80%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #9ACD32;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(154, 205, 50, 0.3);
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close:hover {
    background: rgba(255,0,0,0.7);
    transform: scale(1.1);
}

.stream-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        padding: 25px;
        margin: 0 10px;
    }
    
    .modal-content {
        width: 95%;
        height: 70%;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    .logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo img {
        width: 100px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .games-section, .about-section {
        padding: 50px 0;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    animation: fadeInUp 0.6s ease forwards;
}

.game-card:nth-child(2) {
    animation-delay: 0.1s;
}

.game-card:nth-child(3) {
    animation-delay: 0.2s;
}

.game-card:nth-child(4) {
    animation-delay: 0.3s;
}

/* Loading */
.loading {
    text-align: center;
    padding: 50px;
    font-size: 1.2rem;
    color: #9ACD32;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #9ACD32;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}