* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2e1065;
    --secondary-color: #7c3aed;
    --accent-color: #c4b5fd;
    --text-color: #f8fafc;
    --background-dark: #0f172a;
    --background-light: #1e293b;
    --gradient-1: linear-gradient(135deg, #2e1065 0%, #7c3aed 100%);
    --gradient-2: linear-gradient(45deg, #4c1d95 0%, #6d28d9 100%);
    --neon-glow: 0 0 10px rgba(124, 58, 237, 0.5),
                 0 0 20px rgba(124, 58, 237, 0.3),
                 0 0 30px rgba(124, 58, 237, 0.1);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --hover-transform: scale(1.02) translateY(-5px);
}

body {
    font-family: 'Cinzel', serif;
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent-color);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--text-color);
    background: linear-gradient(to right, var(--accent-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--neon-glow);
    animation: titleGlow 3s ease-in-out infinite;
    font-weight: 700;
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1.1rem;
}

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

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

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

.lang-switch {
    padding: 0.3rem 0.6rem;
    background: var(--gradient-1);
    border-radius: 4px;
    font-weight: bold;
    margin-left: 1rem;
}

.lang-switch:hover {
    background: var(--gradient-2);
    transform: translateY(-2px);
}

.lang-switch::after {
    display: none;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.5)),
                url('../images/gameplay1.png') center/cover;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-2);
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: var(--neon-glow);
    background: linear-gradient(to right, var(--accent-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 3s ease-in-out infinite;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: 'Cinzel', serif;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero p {
        font-size: 1rem;
        white-space: normal;
        padding: 0 1rem;
    }
}

.hero .cta-button {
    font-family: 'Cinzel', serif;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient-1);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.3);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}

.cta-button:hover {
    background: var(--gradient-2);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
}

section {
    padding: 5rem 5%;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.about {
    background-color: var(--background-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
}

.about-content p {
    font-size: 1.2rem;
}

.character-grid {
    display: flex;
    gap: 2rem;
    margin: 0 auto;
    max-width: 100%;
    overflow-x: auto;
    padding: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    justify-content: center;
    padding: 1rem calc((100% - (300px * 5 + 8rem)) / 2);
}

.characters {
    position: relative;
    overflow: hidden;
    padding: 0;
}

@media (max-width: 1600px) {
    .character-grid {
        justify-content: flex-start;
        padding: 1rem;
    }
}

.character-grid::-webkit-scrollbar {
    display: none; 
}

.character-card {
    flex: 0 0 300px;
    background-color: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(124, 58, 237, 0.1);
    backdrop-filter: blur(10px);
}

.characters {
    position: relative;
}

.characters::before,
.characters::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 2;
    pointer-events: none;
}

.characters::before {
    left: 0;
    background: linear-gradient(to right, var(--background-dark), transparent);
}

.characters::after {
    right: 0;
    background: linear-gradient(to left, var(--background-dark), transparent);
}

.character-card:hover {
    transform: var(--hover-transform);
    box-shadow: var(--neon-glow);
}

.character-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1);
    transition: transform 0.5s ease;
}

.character-card:hover img {
    transform: scale(1.05);
}

.character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 10px;
}

.character-card:hover::before {
    opacity: 0.05;
}

.character-card h3 {
    padding: 1rem;
    font-size: 1.5rem;
}

.character-card p {
    padding: 0 1rem 1rem;
    font-size: 1.1rem;
}

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

.gameplay-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.gameplay-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gameplay-item:hover::after {
    opacity: 0.1;
}

.gameplay-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gameplay-item:hover img {
    transform: scale(1.05);
}

.gameplay-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    text-align: center;
    font-size: 1.4rem;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.features {
    background-color: var(--background-light);
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background-color: var(--background-dark);
    border-radius: 10px;
}

.feature i {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite;
}

.feature::after {
    display: none;
}

.feature:hover {
    transform: none;
    box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
    .feature:hover {
        transform: none;
    }
}

footer {
    background-color: var(--background-light);
    padding: 2rem 5%;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-1);
}

.footer-bottom {
    text-align: center;
    color: var(--text-color);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .social-links {
        flex-direction: column;
    }

    .character-card:hover {
        transform: translateY(-5px);
    }

    .feature:hover {
        transform: translateY(-3px);
    }
}

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

.hero-content, .character-card, .feature, .gameplay-item {
    animation: fadeIn 1s ease-out;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: var(--neon-glow);
    }
    50% {
        text-shadow: 0 0 15px rgba(124, 58, 237, 0.7),
                     0 0 25px rgba(124, 58, 237, 0.5),
                     0 0 35px rgba(124, 58, 237, 0.3);
    }
}

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

.feature i {
    animation: float 3s ease-in-out infinite;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-2);
}

::selection {
    background: var(--secondary-color);
    color: var(--text-color);
} 

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.animate-in {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.navbar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.character-card::after,
.gameplay-item::after,
.feature::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.character-card:hover::after,
.gameplay-item:hover::after,
.feature:hover::after {
    opacity: 1;
    animation: shine 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shine {
    0% {
        transform: translateX(-200%) rotate(45deg);
    }
    100% {
        transform: translateX(200%) rotate(45deg);
    }
}

body:not(.loaded) {
    overflow: hidden;
}

body:not(.loaded)::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.loaded::after {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.nav-links a,
.cta-button,
.social-button,
.character-card,
.gameplay-item,
.feature {
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.character-card,
.gameplay-item,
.feature,
.cta-button,
.social-button {
    cursor: pointer;
}

section {
    position: relative;
    z-index: 1;
}

section:not(.hero)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(124, 58, 237, 0.1),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

section:not(.hero):hover::before {
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .character-card:hover,
    .gameplay-item:hover,
    .feature:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

@media (max-width: 768px) {
    .particles {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .nav-links {
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
    }
} 

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
    margin-left: auto;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease-in-out;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

/* Menu aberto */
.menu-open .hamburger {
    background: transparent;
}

.menu-open .hamburger::before {
    transform: rotate(45deg);
}

.menu-open .hamburger::after {
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 2rem;
    }

    .menu-toggle {
        display: block;
        position: relative;
        right: 0;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
    }
} 