:root {
    --primary: #003057;
    --primary-dark: #002240;
    --secondary: #008c95;
    --secondary-dark: #006c73;
    --accent: #ffcb05;
    --text-main: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #003057 0%, #005670 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
 
    max-width: 1200px;
       width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    letter-spacing: -0.5px;
    display: flex;
    flex-direction: column;
}

.tagline {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: var(--secondary);
    color: var(--white);
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(0, 140, 149, 0.2);
}

.btn:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 140, 149, 0.3);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-danger {
    background-color: #dc3545;
    color: white;
    box-shadow: 0 4px 6px rgba(220, 53, 69, 0.2);
}

.btn-danger:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    font-size: 1.6rem;
    color: var(--primary);
    cursor: pointer;
}

.hero {
    background: var(--bg-gradient);
    color: var(--white);
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.hero .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--primary);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.games, .features, .steps {
    padding: 80px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.game-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--secondary);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.game-logo {
    height: 90px;
    width: auto;
    margin: 0 auto 25px;
    object-fit: contain;
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.game-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.game-info i {
    color: var(--secondary);
    margin-right: 6px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
    background: rgba(0, 48, 87, 0.05);
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text-main);
}

.steps {
    background-color: var(--white);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 220px;
    position: relative;
    padding: 20px;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(0, 48, 87, 0.3);
}

.responsible-play {
    background: #eef2f5;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.responsible-play h2 {
    color: var(--primary);
    margin-bottom: 15px;
}
 

.age-badge {
    background: #d32f2f;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    display: inline-block;
}

.form-container {
    max-width: 540px;
    margin: 40px auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dde1e6;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: #fcfcfc;
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(0, 140, 149, 0.1);
    background: var(--white);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.form-check input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--secondary);
}

.buy-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.ticket-interface, .cart-panel {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    height: fit-content;
}

.game-tabs {
    display: flex;
    background: #eef2f5;
    border-bottom: 1px solid #dde1e6;
}

.game-tab {
    flex: 1;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
}

.game-tab:hover {
    color: var(--primary);
    background: rgba(255,255,255,0.5);
}

.game-tab.active {
    background: var(--white);
    color: var(--primary);
}

.game-tab.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
}

.game-content {
    display: none;
    padding: 30px;
    animation: fadeIn 0.4s ease;
}

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

.game-content.active {
    display: block;
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    gap: 12px;
    margin: 30px 0;
}

.num-btn {
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid #eef2f5;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.num-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: scale(1.1);
}

.num-btn.selected {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
    box-shadow: 0 4px 10px rgba(0, 140, 149, 0.4);
    transform: scale(1.05);
}

.ticket-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.cart-panel {
    padding: 30px;
    position: sticky;
    top: 100px;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #eef2f5;
    padding-bottom: 15px;
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    border: 1px solid #e9ecef;
}

.cart-item h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1rem;
}

.cart-item-details {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.cart-item-price {
    font-weight: 700;
    color: var(--secondary);
}

.remove-item {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #dc3545;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.remove-item:hover {
    opacity: 1;
}

.cart-total {
    border-top: 2px solid #eef2f5;
    padding-top: 20px;
    margin-top: auto;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-light);
    padding: 30px 0;
    font-style: italic;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 30, 50, 0.8);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-box {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius);
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: scaleIn 0.3s ease;
}

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

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    background: var(--white);
    padding: 20px 30px;
    box-shadow: var(--shadow-lg);
    z-index: 1500;
    display: none;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.05);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

@media (max-width: 900px) {
    .buy-layout {
        grid-template-columns: 1fr;
    }
    .cart-panel {
        position: static;
        order: 2;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 999;
        gap: 20px;
        align-items: stretch;
        text-align: center;
    }

    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-link::after {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .btn {
        width: 100%;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: 0;
        width: 100%;
        border-radius: 12px 12px 0 0;
        padding-bottom: 30px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .ticket-controls {
        flex-direction: column;
        align-items: stretch;
    }
}