/* Variáveis globais */
:root {
    /* Tema escuro (padrão) */
    --primary: #ceb10dc2;
    --secondary: #1a1a1a;
    --dark: #0a0a0a;
    --darker: #050505;
    --light: #ffffff;
    --accent: #eccb0fc2;
    --text-gray: #a0a0a0;
    --bg-body: #0a0a0a;
    --text-color: #ffffff;
    --card-bg: rgba(255,255,255,0.05);
    --navbar-bg: rgba(0, 0, 0, 0.8);

    /* Variáveis adicionais para botões e máscaras */
    --bg-button: rgba(255, 255, 255, 0);
    --bg-button-hover: rgba(255, 255, 255, 0.05);
    --bg-button-active: rgba(255, 255, 255, 1.0);
    --bg-mask: #caae0ec2;
    --bg-mask-hover: rgba(255, 255, 255, 1.0);
    --border-button: rgba(255, 255, 255, 0.2);
    --border-button-hover: #ceb10dc2;
    --color-button: rgba(255, 255, 255, 0.6);
    --color-button-hover: rgba(255, 255, 255, 1.0);
    --color-button-active: var(--bg-body);
    --font-button: "Varela Round", sans-serif;
    --shadow-button-hover: 0 0 0.3125rem rgba(255, 255, 255, 0.8);
    --transition-easing: cubic-bezier(0.19, 1, 0.22, 1);
}

/* Tema claro */
[data-theme="light"] {
    --primary: #ceb10d;
    --secondary: #f5f5f5;
    --dark: #ffffff;
    --darker: #f0f0f0;
    --light: #000000;
    --accent: #eccb0f;
    --text-gray: #666666;
    --bg-body: #ffffff;
    --text-color: #000000;
    --card-bg: rgba(0,0,0,0.05);
    --navbar-bg: rgba(255, 255, 255, 0.8);
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.411);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    filter: brightness(0) invert(1);
}

.nav-brand img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    max-width: 800px;
    padding: 2rem;
    z-index: 1; /* Garante que o conteúdo fique acima do vídeo */
    animation: fadeIn 1s ease-out forwards;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Estilo para o botão animado */
.cta-buttons {
    display: flex;
    justify-content: center;
    margin-top: 2rem; /* Espaçamento entre o texto e o botão */
    gap: 1rem;
    flex-wrap: wrap;
}

.animated-button {
    background-color: var(--bg-button);
    border: 0.125rem solid var(--border-button);
    cursor: pointer;
    letter-spacing: 0.2125rem;
    line-height: 1;
    overflow: hidden;
    padding: 1.25rem 1.875rem;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    transition: 
        background-color 0.3s var(--transition-easing),
        border 1s var(--transition-easing),
        color 0.6s var(--transition-easing);
    user-select: none;
}

.animated-button a {
    color: var(--color-button);
    font-family: var(--font-button);
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    z-index: 2;
}

.animated-button .mask {
    background-color: var(--bg-mask);
    height: 6.25rem;
    position: absolute;
    transform: translate3d(-120%, -3.125rem, 0) rotate3d(0, 0, 1, 45deg);
    transition: all 1.1s var(--transition-easing);
    width: 12.5rem;
    z-index: 1;
}

.animated-button .shift {
    display: inline-block;
    transition: all 1.1s var(--transition-easing);
    vertical-align: text-top;
}

.animated-button:hover {
    background-color: var(--bg-button-hover);
    border-color: var(--border-button-hover);
    box-shadow: var(--shadow-button-hover);
}

.animated-button:hover a {
    color: var(--color-button-hover);
}

.animated-button:hover .mask {
    background-color: var(--bg-mask-hover);
    transform: translate3d(120%, -6.25rem, 0) rotate3d(0, 0, 1, 90deg);
}

.animated-button:hover .shift {
    transform: translateX(0.3125rem);
}

.animated-button:active {
    background-color: var(--bg-button-active);
}

.animated-button:active a {
    color: var(--color-button-active);
}
/* Hero Title */
.hero-title {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    width: 100%;
}

.hero-title h1 {
    font-family: 'Teko', sans-serif;
    font-size: 6rem;
    color: var(--primary);
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 4px;
    margin: 0;
    line-height: 1;
}

/* Botões */
.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    border: none;
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(206, 177, 13, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Features Section */
.features {
    padding: 6rem 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('https://wallpapers.com/images/hd/zombie-apocalypse-1920-x-1200-r96fn5u07khc10q4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    margin-top: -4rem;
    padding-top: 8rem;
    clip-path: polygon(0 0, 100% 2%, 100% 98%, 0 100%);
    padding-bottom: 8rem;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(49, 49, 49, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(206, 177, 13, 0.3);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.feature-card:hover i {
    transform: scale(1.2) rotate(10deg);
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--primary);
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
    font-size: 1.1rem;
}

.feature-link i {
    font-size: 1.2rem;
    margin: 0;
    transition: transform 0.3s ease;
}

.feature-link:hover {
    gap: 1rem;
}

.feature-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .features {
        padding: 6rem 5%;
        margin-top: -2rem;
        padding-top: 6rem;
        clip-path: polygon(0 0, 100% 1%, 100% 99%, 0 100%);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .feature-card h3 {
        font-size: 1.5rem;
    }

    .feature-card p {
        font-size: 1rem;
    }
}

/* News Section */
.news {
    padding: 6rem 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('https://ik.imagekit.io/2cs1xx8pd/servidor%20antagonista/fundo%20not%C3%ADcias.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: -4rem;
    padding-top: 8rem;
}

.news-container {
    max-width: 1400px;
    margin: 0 auto;
}

.news-title {
    text-align: center;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 3rem;
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeIn 1s ease-out;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-color);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(206, 177, 13, 0.3);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-overlay i {
    color: var(--primary);
    font-size: 3rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.news-card:hover .news-overlay {
    opacity: 1;
}

.news-card:hover .news-overlay i {
    transform: scale(1);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.news-content h3 {
    color: var(--light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.news-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.news-link i {
    transition: transform 0.3s ease;
}

.news-link:hover {
    gap: 1rem;
}

.news-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .news {
        padding: 4rem 5%;
        margin-top: -2rem;
        padding-top: 6rem;
    }

    .news-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-content {
        padding: 1rem;
    }

    .news-content h3 {
        font-size: 1.2rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('https://ik.imagekit.io/2cs1xx8pd/rodape-game.jfif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 5% 20px;
    color: var(--text-gray);
    position: relative;
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-gray);
    font-size: 1.5rem;
    transition: color 0.3s;
}

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

/* Menu Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .navbar {
        padding: 1.5rem 5%;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(0,0,0,0.95);
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links .language-select {
        display: none;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .hero-title h1 {
        font-size: 3.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Seção de Requisitos do Sistema */
.system-requirements {
    padding: 6rem 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('https://wallpapers.com/images/hd/zombie-apocalypse-2560-x-1600-48dz08kys5bmicg8.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    margin-top: -4rem;
    padding-top: 8rem;
    clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
    padding-bottom: 8rem;
}

.requirements-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.requirements-title {
    text-align: center;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 3rem;
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeIn 1s ease-out;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.requirements-card {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.requirements-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(206, 177, 13, 0.3);
}

.requirements-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.requirements-header i {
    font-size: 2rem;
    color: var(--primary);
}

.requirements-header h3 {
    font-size: 1.5rem;
    color: var(--light);
    margin: 0;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    color: var(--light);
}

.requirements-list i {
    color: var(--primary);
    font-size: 1.2rem;
    min-width: 25px;
    text-align: center;
}

@media (max-width: 768px) {
    .system-requirements {
        padding: 4rem 5%;
        margin-top: -2rem;
        padding-top: 6rem;
        clip-path: polygon(0 1%, 100% 0, 100% 99%, 0 100%);
    }

    .requirements-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .requirements-card {
        padding: 1.5rem;
    }
}

/* Seção de Galeria */
.gallery {
    padding: 100px 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('https://wallpapers.com/images/hd/zombie-apocalypse-1920-x-1200-r96fn5u07khc10q4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.gallery-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    font-size: 3rem;
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeIn 1s ease-out;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    aspect-ratio: 1;
    transition: transform 0.3s ease;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover video {
    transform: scale(1.1);
}

/* Modal da Galeria */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.gallery-modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.gallery-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.modal-media-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-modal-content img,
.gallery-modal-content video {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 15px;
}

.modal-media-container video {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.8);
}

.gallery-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    border: none;
    color: var(--dark);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.gallery-modal-close:hover {
    transform: rotate(90deg);
}

/* Responsividade da Galeria */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    .gallery-modal-content {
        width: 95%;
    }
}

/* Seção de Pré-registro */
.pre-register {
    padding: 100px 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)), url('https://ik.imagekit.io/2cs1xx8pd/rodape-game.jfif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
}

.pre-register-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(66, 66, 66, 0.219);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.pre-register h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.pre-register p {
    margin-bottom: 2rem;
    color: var(--light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.register-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.register-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.register-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.register-form button {
    background: var(--primary);
    color: var(--dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.register-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(206, 177, 13, 0.3);
}

@media (max-width: 768px) {
    .register-form {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0;
    }

    .register-form input {
        width: 100%;
    }

    .register-form button {
        width: 100%;
    }

    .pre-register-content {
        margin: 0 1rem;
        width: calc(100% - 2rem);
    }
}

/* Efeitos de Hover e Transições */
.transition-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.transition-fade.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--text-gray);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Botão Animado */
.animated-button {
    background-color: var(--bg-button);
    border: 0.125rem solid var(--border-button);
    cursor: pointer;
    letter-spacing: 0.2125rem;
    line-height: 1;
    overflow: hidden;
    padding: 1.25rem 1.875rem;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    transition: 
        background-color 0.3s var(--transition-easing),
        border 1s var(--transition-easing),
        color 0.6s var(--transition-easing);
    user-select: none;
}

.animated-button a {
    color: var(--color-button);
    font-family: var(--font-button);
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    z-index: 2;
}

.animated-button .mask {
    background-color: var(--bg-mask);
    height: 6.25rem;
    position: absolute;
    transform: translate3d(-120%, -3.125rem, 0) rotate3d(0, 0, 1, 45deg);
    transition: all 1.1s var(--transition-easing);
    width: 12.5rem;
    z-index: 1;
}

.animated-button .shift {
    display: inline-block;
    transition: all 1.1s var(--transition-easing);
    vertical-align: text-top;
}

.animated-button:hover {
    background-color: var(--bg-button-hover);
    border-color: var(--border-button-hover);
    box-shadow: var(--shadow-button-hover);
}

.animated-button:hover a {
    color: var(--color-button-hover);
}

.animated-button:hover .mask {
    background-color: var(--bg-mask-hover);
    transform: translate3d(120%, -6.25rem, 0) rotate3d(0, 0, 1, 90deg);
}

.animated-button:hover .shift {
    transform: translateX(0.3125rem);
}

.animated-button:active {
    background-color: var(--bg-button-active);
}

.animated-button:active a {
    color: var(--color-button-active);
}

/* Controles de Vídeo */
.video-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.controls-row {
    display: flex;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
}

.control-icon {
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    padding: 0;
}

.control-icon:hover {
    color: var(--primary);
}

.video-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Responsividade para os controles de vídeo */
@media (max-width: 768px) {
    .video-controls {
        bottom: 1rem;
    }

    .controls-row {
        padding: 0.25rem 0.5rem;
    }

    .control-icon {
        font-size: 1.2rem;
        width: 2rem;
        height: 2rem;
    }

    .dot {
        width: 6px;
        height: 6px;
    }
}

/* Controles de tema e idioma */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-language-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 1rem;
}

.control-button {
    background: none;
    border: 2px solid var(--primary);
    color: var(--text-color);
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-button:hover {
    background: var(--primary);
    color: var(--bg-body);
}

.language-controls {
    display: flex;
    align-items: center;
}

.language-select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 0.9rem;
    min-width: 100px;
    height: 35px;
    margin: 0;
}

.language-select option {
    background: #333;
    color: white;
}

.language-select:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile controls */
.mobile-controls {
    display: none;
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
}

@media (max-width: 768px) {
    .nav-links .language-select {
        display: none;
    }

    .mobile-controls {
        display: flex !important;
        justify-content: center;
        padding: 1rem;
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .mobile-controls .language-select {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0.75rem;
        height: auto;
    }

    .nav-links a, .mobile-controls {
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* Ajustes para o tema claro */
[data-theme="light"] .nav-brand {
    filter: none;
}

[data-theme="light"] .feature-card,
[data-theme="light"] .news-card,
[data-theme="light"] .requirements-card {
    background: var(--card-bg);
    color: var(--text-color);
}

.nav-links .mobile-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.nav-links .mobile-controls .control-button,
.nav-links .mobile-controls .language-select {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-links .mobile-controls .control-button:hover,
.nav-links .mobile-controls .language-select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-links .mobile-controls .control-button i {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .nav-controls .theme-language-controls {
        display: none;
    }
    
    .nav-links .mobile-controls {
        display: flex;
    }
}

@media (min-width: 769px) {
    .nav-links .mobile-controls {
        display: none;
    }
}

/* Adiciona suporte para lazy loading */
.gallery-item img,
.news-card img {
    loading: lazy;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Ajuste para evitar scroll quando o modal estiver aberto */
body.modal-open {
    overflow: hidden;
}

.gallery-item[data-type="video"] {
    position: relative;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.video-overlay i {
    color: var(--primary);
    font-size: 3rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.gallery-item:hover .video-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.gallery-item:hover .video-overlay i {
    transform: scale(1.2);
    opacity: 1;
}

.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Ajustes para o modal de vídeo */
#modalVideo {
    background: transparent;
    max-width: 80vw;
    max-height: 80vh;
    width: auto;
    height: auto;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.gallery-item[data-type="video"] {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    aspect-ratio: 1;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.gallery-modal-content iframe {
    width: 100%;
    height: 80vh;
    max-width: 1200px;
    border-radius: 15px;
    background: #000;
} 
