* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Video Background */
#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.9;
    /* Correções específicas para mobile */
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Correções específicas para iOS */
#background-video::-webkit-media-controls {
    display: none !important;
}

#background-video::-webkit-media-controls-panel {
    display: none !important;
}

#background-video::-webkit-media-controls-play-button {
    display: none !important;
}

#background-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* Overlay bem sutil para dar contraste no texto */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: -1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    position: relative;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

.nav-menu a.active {
    color: #FFD700;
}

.player-panel {
    background: linear-gradient(45deg, #FFD700, #FFA500, #FF8C00);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.player-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Main Content */
.main-content {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.content-wrapper {
    display: flex;
    align-items: center;
    min-height: 60vh;
}

.text-content {
    flex: 1;
    max-width: 600px;
}

.game-title {
    color: #e5e1e1;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 35px;
    letter-spacing: 0px;
    text-transform: math-auto;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(104deg, #f1e7b1, #ffc400, #FF8C00, #FFD700);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.6;
}

.subtitle .highlight {
    color: #FFD700;
    font-weight: bold;
}

.action-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.download-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500, #FF8C00);
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    color: #0a0a0a;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    text-transform: math-auto;
    letter-spacing: 1px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.discord-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #5e93da, #5865F2);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.discord-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
}

.discord-icon {
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419-.0189 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1568 2.4189Z"/></svg>') center/contain no-repeat;
}

/* Character Styles */
.character-container {
    position: relative;
    flex: 0 0 auto;
    z-index: 5;
    transform: translateY(-40px);
}

.character {
    width: 800px;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
    animation: characterFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.character:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(255, 217, 0, 0.438));
}

.character-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 217, 0, 0.062) 0%, rgba(255, 140, 0, 0.1) 40%, transparent 50%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite alternate;
    z-index: -1;
}

.character-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 135px;
    height: 135px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 60%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite alternate-reverse;
}

@keyframes characterFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .character {
        width: 270px;
    }
    
    .character-glow {
        width: 225px;
        height: 225px;
    }
    
    .main-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .character-container {
        display: none;
    }
    
    .main-title {
        font-size: 2.8rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .download-btn, .discord-btn {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .character-container {
        display: none;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Particle effect */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #FFD700;
    border-radius: 50%;
    animation: float 6s infinite linear;
    opacity: 0.7;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}