﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --fondo: #0b1d2a;
    --panel: #102a3a;
    --texto: #e9f3fa;
    --muted: #9fb6c5;
    --primario: #5cc9f5;
    --secundario: #f2b85a;
    --accent: #3fa9d9;
    --hover: #7dd3f8;
    --border: rgba(92, 201, 245, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 999px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.35);
    --dur-fast: 150ms;
    --dur: 240ms;
    --dur-slow: 400ms;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--fondo);
    color: var(--texto);
    line-height: 1.6;
    overflow-x: hidden;
}


header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(11, 29, 42, 0.95);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative; 
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--secundario);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

nav a {
    color: var(--texto);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color var(--dur) ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primario);
    transition: width var(--dur) ease;
}

nav a:hover {
    color: var(--primario);
}

nav a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.burger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--texto);
    border-radius: 3px;
    transition: transform var(--dur) ease, opacity var(--dur) ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


@media (max-width: 768px) {
    
    .nav-container nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(11, 29, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        display: flex; 
        transition: transform var(--dur) ease, opacity var(--dur) ease, visibility var(--dur) ease;
        border-top: 1px solid var(--border);
        z-index: 99;
        box-shadow: var(--shadow-md);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        pointer-events: none; 
    }

    
    .nav-container.open nav {
        display: flex !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        visibility: visible !important;
        pointer-events: auto !important; 
    }

    
    .nav-container.open nav a {
        display: block !important;
        color: var(--texto) !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        padding: 12px 0 !important;
        width: 100% !important;
    }

    
    .burger {
        display: flex !important;
        z-index: 101;
        position: relative;
    }

    
    nav a::after {
        display: none !important;
    }
    
    
    nav a:hover::after {
        display: none !important;
    }
}


footer {
    background: var(--panel);
    border-top: 1px solid var(--border);
    padding: 48px 24px 32px;
    margin-top: 64px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    color: var(--secundario);
    margin-bottom: 16px;
    font-size: 18px;
}

.footer-section p,
.footer-section a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--dur) ease;
}

.footer-section a:hover {
    color: var(--primario);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--muted);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--dur) ease;
}

.footer-legal a:hover {
    color: var(--primario);
}


.footer-google-play {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.google-play-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    text-decoration: none;
    transition: all var(--dur) ease;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    width: fit-content;
}

.google-play-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-google-play {
    margin-top: 0;
}

.google-play-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-play-icon svg {
    width: 100%;
    height: 100%;
}

.google-play-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.google-play-text-top {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.google-play-text-bottom {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}


.cookie-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 500px;
    width: 90%;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-slow) ease, transform var(--dur-slow) ease, visibility var(--dur-slow) ease;
}

.cookie-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.cookie-popup h3 {
    font-family: 'Playfair Display', serif;
    color: var(--secundario);
    margin-bottom: 16px;
    font-size: 24px;
}

.cookie-popup p {
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform var(--dur) ease, box-shadow var(--dur) ease, background var(--dur) ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primario), var(--accent));
    color: #062030;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secundario);
    color: #1c1206;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: #062030;
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #5eea8f, #2dd66f);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primario);
    color: var(--primario);
}

.btn-outline:hover {
    background: var(--primario);
    color: #062030;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 64px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.5vw, 40px);
    color: var(--secundario);
    margin-bottom: 12px;
}

.section-title p {
    color: var(--muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}


.fade-in {
    opacity: 0;
    transition: opacity var(--dur-slow) ease;
}

.fade-in.visible {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--dur-slow) ease, transform var(--dur-slow) ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 768px) {
    .section {
        padding: 48px 0;
    }

    .section-title {
        margin-bottom: 32px;
    }

    .cookie-popup {
        padding: 24px;
    }
}


