@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #ff6b35;
    --primary-dark: #e85d04;
    --primary-gradient: linear-gradient(135deg, #ff9e00 0%, #ff6b35 100%);
    --secondary-color: #2d6a4f;
    --secondary-gradient: linear-gradient(135deg, #40916c 0%, #1b4332 100%);
    --dark-charcoal: #1f2937;
    --text-main: #374151;
    --text-light: #6b7280;
    --bg-body: #f3f4f6;
    --white: #ffffff;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-charcoal);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--border-radius);
}

button {
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    border: none;
    outline: none;
}

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

.top-bar {
    background-color: var(--dark-charcoal);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.5px;
}

header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-charcoal);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

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

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

.nav-link i {
    color: var(--text-light);
    transition: var(--transition);
}

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

.nav-link:hover i {
    color: var(--primary-color);
}

.burger {
    display: none;
    font-size: 1.5rem;
    color: var(--dark-charcoal);
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 106, 79, 0.4);
}

main {
    flex: 1;
}

.hero {
    background: var(--white);
    padding: 100px 0;
    text-align: center;
    background: url('../img/hero.png') no-repeat center center/cover;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: var(--white);
}

.hero p {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    margin: 0 10px;
    min-width: 160px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.25rem;
    position: relative;
    padding-bottom: 20px;
}

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

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

.card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.game-logo {
    height: 80px;
    margin-bottom: 24px;
    object-fit: contain;
}

.card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    background: rgba(255, 107, 53, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.step {
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 24px;
    box-shadow: 0 10px 20px rgba(45, 106, 79, 0.2);
}

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

.form-box {
    background: var(--white);
    padding: 48px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: #f9fafb;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.checkbox-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
}

.game-selector {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-tab {
    padding: 12px 30px;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    background: var(--white);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.game-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.game-tab.active {
    background: var(--primary-gradient);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

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

.num-ball {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-main);
    box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.num-ball:hover {
    background: #e5e7eb;
    transform: scale(1.1);
}

.num-ball.selected {
    background: var(--secondary-gradient);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(45, 106, 79, 0.4);
    transform: scale(1.1);
    border: none;
}

.grand-grid-area {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px dashed #e5e7eb;
}

.grand-grid-area h4 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.cart-container {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 100px;
}

.cart-container h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item {
    background: #f9fafb;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e5e7eb;
}

.cart-total {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: right;
    margin-top: 24px;
    color: var(--dark-charcoal);
    padding-top: 20px;
    border-top: 2px solid #f3f4f6;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding: 15px;
    border-radius: 12px;
    transition: var(--transition);
}

.contact-item:hover {
    background: #f9fafb;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

details {
    background: #f9fafb;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
}

summary {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
    outline: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary:after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

details[open] summary:after {
    content: '-';
}

details p {
    padding: 0 20px 20px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
}

@media (max-width: 960px) {
    .nav-container {
        height: 70px;
    }

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

    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .burger {
        display: block;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 15px 0;
    }

    .form-box {
        padding: 30px 20px;
    }
}

.footer-imgs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-imgs img {
    padding: 12px;
    margin: 12px;
    height: 55px;
    background: white;
    border-radius: 10px;
}

#age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-modal {
    background: #ffffff;
    color: #222222;
    max-width: 420px;
    width: 90%;
    padding: 30px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.age-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.age-modal h2 {
    margin-bottom: 12px;
    font-size: 1.6rem;
    color: #ff6b35;
}

.age-modal p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.age-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 22px 0 10px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-ghost,
.btn-outline {
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.btn-primary {
    background: #ff6b35;
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-ghost {
    background: #ffffff;
    color: #ff6b35;
    border: 1px solid #ff6b35;
}

.btn-ghost:hover {
    background: rgba(255, 107, 53, 0.05);
    transform: translateY(-1px);
}

.btn-outline {
    background: #ffffff;
    color: #ff6b35;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    border-color: #ff6b35;
    transform: translateY(-1px);
}

.age-note {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #666666;
}

#cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-top: 3px solid #ff6b35;
    padding: 14px 18px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 9998;
    font-size: 0.9rem;
}

.cookie-main {
    flex: 1 1 220px;
    min-width: 0;
}

.cookie-text strong {
    display: block;
    margin-bottom: 4px;
    color: #222222;
}

.cookie-text p {
    margin: 0;
    color: #555555;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

#cookie-settings {
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    display: none;
}

#cookie-settings p {
    margin: 0 0 8px;
    color: #444444;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #333333;
}

.cookie-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.cookie-save-btn {
    margin-top: 8px;
    font-size: 0.9rem;
    padding-inline: 16px;
}

@media (max-width: 640px) {
    #cookie-banner {
        align-items: stretch;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: flex-start;
    }
}

.policy-content {
    text-align: left;
    line-height: 1.8;
}

.policy-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--dark-charcoal);
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 10px;
}

.policy-content p {
    margin-bottom: 15px;
    color: var(--text-main);
}

.cookie-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 600px;
}

.cookie-table th {
    background-color: var(--dark-charcoal);
    color: #fff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.cookie-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e5e7eb;
    color: var(--text-main);
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:nth-child(even) {
    background-color: #f9fafb;
}

.highlight-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-essential {
    background-color: #ffe0b2;
    color: #e65100;
}

.badge-analytics {
    background-color: #c8e6c9;
    color: #2e7d32;
}

.policy-container {
    max-width: 1000px;
    margin: 0 auto;
}

.policy-content {
    text-align: left;
    line-height: 1.8;
    padding: 50px;
}

.policy-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: var(--dark-charcoal);
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-content h2 i {
    color: var(--primary-color);
    font-size: 1.3rem;
    background: rgba(255, 107, 53, 0.1);
    padding: 10px;
    border-radius: 10px;
}

.policy-content ul {
    list-style: disc;
    margin-left: 25px;
    color: var(--text-main);
    margin-bottom: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    margin-top: 20px;
}

.highlight-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s;
}

.highlight-box:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.highlight-box h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark-charcoal);
}

.highlight-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.icon-header {
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: inline-block;
}

@media (max-width: 768px) {
    .policy-content {
        padding: 25px;
    }
}

.page-content {
    padding: 40px;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.tip-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s;
}

.tip-card:hover {
    transform: translateY(-3px);
    border-color: var(--secondary-color);
}

.tip-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    background: rgba(45, 106, 79, 0.1);
    padding: 12px;
    border-radius: 50%;
    min-width: 50px;
    text-align: center;
}

.tip-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark-charcoal);
}

.tip-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.warning-box {
    background: #fff3e0;
    border-left: 5px solid #ff9800;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 50px;
}

.warning-box h3 {
    color: #e65100;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.check-list li::before {
    content: '\f071';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #ff9800;
}

.help-resources {
    background: var(--dark-charcoal);
    color: #fff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.help-resources h2 {
    color: #fff;
    margin-bottom: 20px;
}

.resource-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.resource-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resource-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .page-content {
        padding: 20px;
    }

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

    .resource-btn {
        justify-content: center;
    }
}