/* ==========================================
   VARIÁVEIS E CORES
   ========================================== */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ffffff;
    --accent-color: #22c55e;
    --dark-bg: #0f0f0f;
    --light-bg: #f5f5f5;
    --border-color: #333333;
    --transition: all 0.3s ease;
}

/* ==========================================
   RESET E ESTILOS GLOBAIS
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1a2e 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--accent-color);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--accent-color) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
    text-shadow: 0 0 10px var(--accent-color);
}

.navbar-brand i {
    font-size: 1.8rem;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    position: relative;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link:hover::after {
    width: 100%;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1a2e 50%, var(--primary-color) 100%);
    color: var(--secondary-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.btn-success {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-success:hover {
    background-color: #16a34a !important;
    border-color: #16a34a !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

.hero-icon {
    font-size: 15rem;
    color: var(--accent-color);
    opacity: 0.2;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   JOGOS SECTION
   ========================================== */
.jogos-section {
    background-color: var(--light-bg);
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 50%, transparent 100%);
}

.game-card {
    background: var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.2);
}

.game-image {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1a2e 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--accent-color);
    position: relative;
    overflow: hidden;
}

.game-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
}

.game-image i {
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.game-card:hover .game-image i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 20px var(--accent-color));
}

.game-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.game-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.game-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.game-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.btn-outline-success {
    color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    transition: var(--transition);
}

.btn-outline-success:hover {
    background-color: var(--accent-color) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Tilt.js Styles */
.tilt-card {
    transform-style: preserve-3d;
}

/* ==========================================
   SOBRE SECTION
   ========================================== */
.sobre-section {
    background-color: var(--secondary-color);
}

.sobre-icon {
    font-size: 12rem;
    color: var(--accent-color);
    opacity: 0.15;
    text-align: center;
}

.stat-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1a2e 100%);
    color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.2);
}

.stat-box h4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ==========================================
   CONTATO SECTION
   ========================================== */
.contato-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1a2e 100%);
    color: var(--secondary-color);
}

.contact-form .form-control {
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    background-color: var(--secondary-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.25);
    color: var(--primary-color);
}

.contact-form .form-control::placeholder {
    color: #999;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(34, 197, 94, 0.1);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0f0f0f 100%) !important;
    border-top: 2px solid var(--accent-color);
}

.footer h5 {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer a {
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-color) !important;
}

/* ==========================================
   RESPONSIVIDADE
   ========================================== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .hero-icon {
        font-size: 8rem;
        margin-top: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .game-card {
        margin-bottom: 1rem;
    }

    .sobre-icon {
        font-size: 8rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .btn-success {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .game-info {
        padding: 1.5rem;
    }

    .game-info h3 {
        font-size: 1.25rem;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .stat-box h4 {
        font-size: 2rem;
    }

    .contact-form .form-control {
        font-size: 0.95rem;
    }
}

/* ==========================================
   ANIMAÇÕES ADICIONAIS
   ========================================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}
