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

:root {
    --primary-purple: #5A2D9B;
    --secondary-purple: #6A3ABF;
    --light-purple: #7B4DDB;
    --bright-purple: #8A60E8;
    --electric-blue: #00BFFF;
    --dark-bg: #1a0b2e;
    --darker-bg: #0f0519;
    --white: #ffffff;
    --yellow: #FFD700;
    --silver: #C0C0C0;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 50%, #2d1b69 100%);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 11, 46, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(139, 77, 219, 0.3);
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 77, 219, 0.4);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--bright-purple);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.floating-symbols {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.symbol {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 2rem;
    font-weight: bold;
    animation: float 6s ease-in-out infinite;
}

.symbol:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.symbol:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.symbol:nth-child(3) { top: 30%; left: 20%; animation-delay: 2s; }
.symbol:nth-child(4) { top: 40%; right: 25%; animation-delay: 3s; }
.symbol:nth-child(5) { top: 50%; left: 15%; animation-delay: 4s; }
.symbol:nth-child(6) { top: 60%; right: 20%; animation-delay: 5s; }
.symbol:nth-child(7) { top: 70%; left: 25%; animation-delay: 6s; }
.symbol:nth-child(8) { top: 80%; right: 10%; animation-delay: 7s; }

.glowing-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.glowing-dots .dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--electric-blue);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--electric-blue);
    animation: twinkle 3s ease-in-out infinite;
}

.glowing-dots .dot:nth-child(1) { top: 15%; left: 20%; animation-delay: 0s; }
.glowing-dots .dot:nth-child(2) { top: 25%; right: 30%; animation-delay: 1s; }
.glowing-dots .dot:nth-child(3) { top: 35%; left: 40%; animation-delay: 2s; }
.glowing-dots .dot:nth-child(4) { top: 45%; right: 15%; animation-delay: 3s; }
.glowing-dots .dot:nth-child(5) { top: 55%; left: 60%; animation-delay: 4s; }
.glowing-dots .dot:nth-child(6) { top: 65%; right: 40%; animation-delay: 5s; }

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
}

.hero-logo {
    margin-bottom: 2rem;
    margin-top: 60px;
    position: relative;
}

.main-logo {
    position: relative;
    display: inline-block;
}

.logo-x-large {
    width: 8rem;
    height: 8rem;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(139, 77, 219, 0.5));
    position: relative;
    z-index: 3;
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 30px rgba(139, 77, 219, 0.5));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 40px rgba(139, 77, 219, 0.8));
    }
}

.wave-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    z-index: 1;
}

.wave {
    position: absolute;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    opacity: 0.8;
}

.wave-blue {
    top: 45%;
    background: linear-gradient(90deg, transparent 0%, var(--electric-blue) 50%, transparent 100%);
    box-shadow: 0 0 20px var(--electric-blue);
    animation: wave-move 4s ease-in-out infinite;
}

.wave-purple {
    top: 55%;
    background: linear-gradient(90deg, transparent 0%, var(--bright-purple) 50%, transparent 100%);
    box-shadow: 0 0 20px var(--bright-purple);
    animation: wave-move 4s ease-in-out infinite reverse;
}

.orb {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--bright-purple) 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--bright-purple);
    top: 50%;
    transform: translateY(-50%);
    animation: orb-float 3s ease-in-out infinite;
}

.orbs-left {
    left: -60px;
    animation-delay: 0s;
}

.orbs-right {
    right: -60px;
    animation-delay: 1.5s;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--bright-purple) 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(139, 77, 219, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 77, 219, 0.6);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover .btn-glow {
    left: 100%;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--bright-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 77, 219, 0.2);
    border-color: var(--bright-purple);
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.points-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--bright-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(139, 77, 219, 0.4);
}

.ranking-medal {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--silver) 0%, #E8E8E8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-bg);
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.4);
}

.star-icon, .dice-icon {
    font-size: 3rem;
    color: var(--bright-purple);
    text-shadow: 0 0 20px var(--bright-purple);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Game Preview Section */
.game-preview {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.preview-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.preview-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.preview-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.feature-bullet {
    color: var(--bright-purple);
    font-size: 1.5rem;
    font-weight: bold;
}

.preview-mockup {
    display: flex;
    justify-content: center;
}

.app-screenshot {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(139, 77, 219, 0.3);
    transition: all 0.3s ease;
}

.app-screenshot:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 60px rgba(139, 77, 219, 0.4);
}

/* Ranking Section */
.ranking {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.ranking-list {
    max-width: 600px;
    margin: 0 auto;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ranking-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(139, 77, 219, 0.2);
}

.ranking-item.first {
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.ranking-item.second {
    border-color: #C0C0C0;
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.3);
}

.ranking-item.third {
    border-color: #CD7F32;
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.3);
}

.ranking-position {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    min-width: 60px;
}

.ranking-medal-large {
    font-size: 2rem;
}

.ranking-info {
    flex: 1;
}

.ranking-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.ranking-points {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Download Section */
.download {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.download-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--white);
}

.download-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-features li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--white);
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 77, 219, 0.2);
}

.download-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-icon svg {
    width: 32px;
    height: 32px;
}

.download-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
}

.download-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.download-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Botão "Em Breve" */
.download-btn.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

.download-btn.coming-soon:hover {
    transform: none;
    background: var(--glass-bg);
    box-shadow: 0 10px 30px rgba(139, 77, 219, 0.1);
}

.download-btn.coming-soon .download-icon svg {
    filter: grayscale(100%);
}

.coming-soon-badge {
    position: absolute;
    top: -27px;
    right: -8px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    }
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--bright-purple);
    text-decoration: underline;
}

.footer-text {
    text-align: right;
}

.footer-text p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

/* Animações */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes wave-move {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

@keyframes orb-float {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-60%) scale(1.1); }
}

/* Responsividade */
@media (max-width: 768px) {
    .nav {
        padding: 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .preview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-text {
        text-align: center;
    }
    
    .app-screenshot {
        max-width: 250px;
    }
    
    .logo-x-large {
        width: 5rem;
        height: 5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .logo-x-large {
        width: 4rem;
        height: 4rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .app-screenshot {
        max-width: 200px;
    }
}
