/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5fb4;
    --secondary-color: #f6d32d;
    --danger-color: #e01b24;
    --success-color: #26a269;
    --text-dark: #1e1e1e;
    --text-light: #ffffff;
    --bg-light: #f6f5f4;
    --bg-white: #ffffff;
    --border-color: #deddda;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.4rem 0 0.6rem;
}

.age-warning-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 5px 0;
    margin-bottom: 8px;
}

.age-badge-compact {
    background: var(--danger-color);
    color: var(--text-light);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
}

.age-text {
    font-size: 0.8rem;
    color: #856404;
    font-weight: 500;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.85;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    padding: 0;
}

.logo-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary-color);
    letter-spacing: 0.1em;
    margin-top: 2px;
}

.age-badge {
    background: var(--danger-color);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 30px;
}

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

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

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-menu span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0d4a7a 0%, var(--primary-color) 35%, #3584e4 100%);
    color: var(--text-light);
    padding: 100px 0;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(246, 211, 45, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(53, 132, 228, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Hero Animated Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 5%;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 15%;
    animation: float2 18s ease-in-out infinite;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 10%;
    animation: float3 22s ease-in-out infinite;
}

.shape-4 {
    width: 60px;
    height: 60px;
    top: 70%;
    right: 20%;
    animation: float4 16s ease-in-out infinite;
}

.shape-5 {
    width: 90px;
    height: 90px;
    top: 15%;
    left: 50%;
    animation: float5 24s ease-in-out infinite;
}

.shape-6 {
    width: 70px;
    height: 70px;
    bottom: 15%;
    right: 5%;
    animation: float6 19s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(-15px, -50px) rotate(180deg);
    }
    75% {
        transform: translate(-30px, -20px) rotate(270deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-25px, 30px) rotate(120deg);
    }
    66% {
        transform: translate(25px, 20px) rotate(240deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    30% {
        transform: translate(30px, 25px) rotate(108deg);
    }
    60% {
        transform: translate(-20px, 40px) rotate(216deg);
    }
}

@keyframes float4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    40% {
        transform: translate(-30px, -25px) rotate(144deg);
    }
    80% {
        transform: translate(20px, -35px) rotate(288deg);
    }
}

@keyframes float5 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(25px, 40px) rotate(180deg);
    }
}

@keyframes float6 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    35% {
        transform: translate(30px, -20px) rotate(126deg);
    }
    70% {
        transform: translate(-25px, -30px) rotate(252deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.age-warning {
    display: inline-block;
    background: rgba(224, 27, 36, 0.85);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(224, 27, 36, 0.4);
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(224, 27, 36, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(224, 27, 36, 0.6);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 25px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.92;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.cta-button {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffcc00 100%);
    color: var(--text-dark);
    border: none;
    padding: 18px 45px;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(246, 211, 45, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(246, 211, 45, 0.6);
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

.hero-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    padding: 45px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(246, 211, 45, 0.3), rgba(53, 132, 228, 0.3));
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.hero-card:hover::before {
    opacity: 1;
}

.hero-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 5rem;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-card h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

/* Trust Indicators Section */
.trust-section {
    padding: 50px 0;
    background: var(--bg-white);
    border-top: 3px solid var(--success-color);
    border-bottom: 3px solid var(--success-color);
}

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

.trust-item {
    text-align: center;
    padding: 25px 15px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.trust-item h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.trust-item p {
    color: #666;
    font-size: 0.95rem;
}

/* License Section */
.license-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.license-badge-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #d1f2eb 0%, #a8e6cf 100%);
    border-radius: 12px;
    margin-bottom: 40px;
    border: 2px solid var(--success-color);
}

.license-badge-large {
    background: var(--success-color);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(38, 162, 105, 0.3);
}

.license-text {
    font-weight: 600;
    color: #155724;
    font-size: 1rem;
}

.license-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.license-card {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
}

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

.license-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

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

.license-details p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.license-grid {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.license-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: var(--bg-white);
    border-radius: 6px;
}

.license-item .label {
    font-weight: 600;
    color: var(--text-dark);
}

.license-item .value {
    color: var(--primary-color);
    font-weight: 500;
}

.regulator-info {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-white);
    border-left: 4px solid var(--success-color);
    border-radius: 6px;
}

.license-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.license-link {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.license-link:hover {
    background: #155d8a;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Results Section */
.results-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f6f5f4 0%, #ffffff 100%);
}

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

.result-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.result-header h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin: 0;
}

.result-date {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.winning-numbers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.winning-numbers .number {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3584e4 100%);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(26, 95, 180, 0.3);
}

.winning-numbers .number.star {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffcc00 100%);
    color: var(--text-dark);
    width: 55px;
    font-size: 0.9rem;
}

.result-info {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 15px;
    font-size: 1.1rem;
}

.results-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 20px;
}

.live-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--danger-color);
}

.live-dot {
    width: 12px;
    height: 12px;
    background: var(--danger-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

/* Lotteries Section */
.lotteries-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.lottery-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

.lottery-card.featured {
    border: 3px solid var(--secondary-color);
    position: relative;
}

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

.lottery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.lottery-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.lottery-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--success-color);
    color: var(--text-light);
}

.featured-badge {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.jackpot-amount {
    margin: 30px 0;
}

.jackpot-amount .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.jackpot-amount .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.lottery-description {
    margin: 20px 0;
    color: #666;
    font-size: 1rem;
}

.lottery-button {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.lottery-button:hover {
    background: #155d8a;
}

/* Safety Section */
.safety-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.safety-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.safety-warning {
    background: linear-gradient(135deg, #fef5e7 0%, #fadbd8 100%);
    border-left: 6px solid var(--danger-color);
    padding: 40px;
    border-radius: 12px;
}

.warning-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.safety-warning h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--danger-color);
}

.warning-text {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.safety-features h3 {
    font-size: 1.75rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s;
}

.feature-item:hover {
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Support Section */
.support-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.support-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.support-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.support-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

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

.support-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
}

.support-link:hover {
    text-decoration: underline;
}

.faq-section {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.faq-section h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.faq-list {
    display: grid;
    gap: 25px;
}

.faq-item {
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.faq-item h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.faq-item p {
    color: #666;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-logo-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    color: var(--text-light);
}

.footer-logo-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
    letter-spacing: 0.1em;
    margin-top: 3px;
}

.footer-brand .age-badge {
    align-self: flex-start;
    margin-top: 5px;
}

.footer-brand p {
    opacity: 0.8;
    margin-top: 15px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column {
    min-width: 0;
}

.footer-column h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
    position: relative;
}

.footer-column a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
    transform: translateX(3px);
    color: var(--secondary-color);
}

.footer-column a:hover::after {
    width: 100%;
}

/* Mobile-specific link styles */
@media (max-width: 768px) {
    .footer-column a::after {
        display: none;
    }
    
    .footer-column a:hover {
        transform: none;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.operator-info {
    text-align: center;
    margin-bottom: 20px;
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.operator-info p {
    margin-bottom: 8px;
}

.copyright {
    text-align: center;
    opacity: 0.7;
    font-size: 0.875rem;
    line-height: 1.6;
}

.copyright p {
    margin-bottom: 8px;
}

.age-disclaimer {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 15px;
}

/* Additional footer responsiveness */
@media (max-width: 500px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-column {
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-column:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 12px;
        font-weight: 600;
    }
    
    .footer-column ul {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-column ul li {
        margin-bottom: 0;
    }
    
    .footer-column a {
        font-size: 0.9rem;
        padding: 8px 0;
        display: block;
        transition: all 0.2s;
    }
    
    .footer-column a:hover {
        transform: none;
        padding-left: 10px;
        color: var(--secondary-color);
    }
}

@media (min-width: 501px) and (max-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .footer-column {
        min-height: 200px;
    }
    
    .footer-column:nth-child(3) {
        grid-column: 1 / -1;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        margin-top: 10px;
        min-height: auto;
    }
    
    .footer-column h4 {
        font-size: 1.05rem;
        margin-bottom: 15px;
    }
    
    .footer-column a {
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) and (max-width: 968px) {
    .footer-links {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .footer-column {
        text-align: left;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.modal-content p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.modal-buttons button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-confirm {
    background: var(--success-color);
    color: var(--text-light);
}

.btn-confirm:hover {
    background: #1f8a54;
}

.btn-cancel {
    background: var(--danger-color);
    color: var(--text-light);
}

.btn-cancel:hover {
    background: #c01118;
}

.modal-warning {
    font-size: 0.875rem;
    color: #666;
    margin-top: 20px;
    font-style: italic;
}

/* Lottery Participation Modal */
.lottery-modal {
    max-width: 600px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--danger-color);
}

.lottery-form {
    margin-top: 20px;
}

.selected-lottery {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 25px;
}

.selected-lottery h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.selected-lottery p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--success-color);
}

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

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

.form-hint {
    font-size: 0.875rem;
    color: #666;
    margin-top: 8px;
}

.number-selector {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin: 15px 0;
}

.number-btn {
    aspect-ratio: 1;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.number-btn:hover {
    border-color: var(--primary-color);
    background: #f0f7ff;
}

.number-btn.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.lottery-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    margin: 25px 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.total-price {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.legal-notice {
    background: #f0f7ff;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.legal-notice p {
    margin: 5px 0;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #1f8a54;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Responsive Design */
@media (max-width: 991px) {
    .burger-menu {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav a {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.1rem;
    }
    
    .nav a:first-child {
        border-top: 1px solid var(--border-color);
    }
}

@media (max-width: 968px) {
    .hero {
        padding: 70px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 16px 40px;
        font-size: 1.125rem;
    }
    
    /* Reduce animated shapes on tablets */
    .shape-5, .shape-6 {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .trust-indicators {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .license-badge-banner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .safety-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Footer adaptations for tablets */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(1д, 1fr);
        gap: 25px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h4 {
        font-size: 1.1rem;
    }
    
    .footer-column a {
        font-size: 0.9rem;
    }
}


@media (max-width: 768px) {
    .age-warning-top {
        padding: 4px 10px;
        gap: 8px;
    }
    
    .age-badge-compact {
        font-size: 0.7rem;
        padding: 2px 8px;
    }
    
    .age-text {
        font-size: 0.7rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-text h1 {
        font-size: 1.25rem;
    }
    
    .logo-subtitle {
        font-size: 0.75rem;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.35rem;
    }
    
    .card-icon {
        font-size: 4rem;
    }
    
    /* Hide more shapes on mobile */
    .shape-3, .shape-4 {
        display: none;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .winning-numbers .number {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    
    .winning-numbers .number.star {
        width: 48px;
    }
    
    .license-content {
        grid-template-columns: 1fr;
    }
    
    .lotteries-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 20px;
        padding: 30px;
    }
    
    .lottery-modal {
        margin: 10px;
        padding: 20px;
    }
    
    .number-selector {
        grid-template-columns: repeat(7, 1fr);
        gap: 5px;
    }
    
    .number-btn {
        font-size: 0.875rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    /* Footer for mobile general */
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h4 {
        font-size: 1.15rem;
        margin-bottom: 15px;
    }
    
    .footer-column ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-column ul li {
        margin-bottom: 10px;
        width: 100%;
        max-width: 250px;
    }
    
    .footer-column a {
        font-size: 0.95rem;
        padding: 5px 0;
    }
    
    .footer-column a:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .cta-button {
        width: 100%;
        padding: 16px 30px;
        font-size: 1.1rem;
    }
    
    .hero-card {
        padding: 30px 20px;
    }
    
    .card-icon {
        font-size: 3.5rem;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr;
    }
    
    .trust-item {
        padding: 20px 10px;
    }
    
    .license-badge-large {
        font-size: 0.95rem;
        padding: 8px 20px;
    }
    
    .license-text {
        font-size: 0.875rem;
    }
    
    .jackpot-amount .amount {
        font-size: 2.5rem;
    }
    
    .faq-section {
        padding: 30px 20px;
    }
    
    .footer-logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .footer-logo-text h3 {
        font-size: 1.5rem;
    }
    
    .footer-logo-subtitle {
        font-size: 0.85rem;
    }
    
    /* Footer adaptations for small mobile */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .footer-links {
        gap: 0;
        margin-top: 10px;
    }
    
    .footer-logo-icon {
        width: 38px;
        height: 38px;
    }
    
    .footer-logo-text h3 {
        font-size: 1.4rem;
    }
    
    .footer-bottom {
        padding-top: 20px;
        margin-top: 20px;
    }
    
    .operator-info {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .operator-info p {
        margin-bottom: 5px;
    }
    
    .copyright {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .age-disclaimer {
        margin-top: 10px;
        font-size: 0.85rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lottery-card, .license-card, .support-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
