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

html, body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100% !important;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

:root {
    --primary-blue: #0066FF;
    --bright-yellow: #FFD700;
    --vibrant-green: #00FF00;
    --electric-purple: #9D00FF;
    --hot-pink: #FF1493;
    --orange-burst: #FF6B35;
    --white: #FFFFFF;
    --dark-text: #1a1a1a;
    --shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--dark-text);
    word-wrap: break-word;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(45deg, var(--primary-blue), var(--electric-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

p {
    margin-bottom: 1rem;
    word-wrap: break-word;
}

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

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

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.header {
    background: linear-gradient(90deg, var(--primary-blue), var(--electric-purple));
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 100%;
}

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

.logo {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    animation: bounce 2s ease-in-out infinite;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--bright-yellow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link:hover {
    transform: translateY(-2px);
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    width: 30px;
    height: 3px;
    background: var(--white);
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-blue), var(--electric-purple));
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav {
    list-style: none;
    padding: 2rem;
}

.mobile-nav li {
    margin-bottom: 1.5rem;
}

.mobile-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding: 0.5rem;
    transition: var(--transition);
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding-left: 1rem;
}

.hero {
    padding: 8rem 1rem 4rem;
    text-align: center;
    background: linear-gradient(45deg, 
        rgba(0, 102, 255, 0.1), 
        rgba(157, 0, 255, 0.1), 
        rgba(255, 215, 0, 0.1));
    animation: slideIn 1s ease-out;
    max-width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--dark-text);
    margin-bottom: 2rem;
}

.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: bold;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-blue), var(--electric-purple));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--bright-yellow), var(--orange-burst));
    color: var(--dark-text);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.draw-schedule {
    padding: 4rem 1rem;
    background: var(--white);
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.draw-schedule h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.draw-schedule h2::after {
    content: '🎰';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: rotate 3s linear infinite;
}

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

.draw-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-purple));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.draw-card::before {
    content: '💰';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 4rem;
    opacity: 0.2;
    transform: rotate(-15deg);
}

.draw-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.draw-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.jackpot {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--bright-yellow);
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.draw-time {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.reviews {
    padding: 4rem 1rem;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(0, 255, 0, 0.1));
    max-width: 100%;
}

.reviews h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: var(--transition);
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stars {
    color: var(--bright-yellow);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.reviewer {
    font-weight: bold;
    color: var(--primary-blue);
}

.faq {
    padding: 4rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, var(--primary-blue), var(--electric-purple));
    color: var(--white);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.leaderboard {
    padding: 4rem 1rem;
    background: var(--white);
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.leaderboard h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.leaderboard-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.leader-card {
    background: linear-gradient(135deg, var(--vibrant-green), var(--bright-yellow));
    color: var(--dark-text);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    min-width: 200px;
    max-width: 250px;
    flex: 1;
    transition: var(--transition);
    position: relative;
}

.leader-card:nth-child(1) {
    background: linear-gradient(135deg, var(--bright-yellow), var(--orange-burst));
}

.leader-card:nth-child(2) {
    background: linear-gradient(135deg, #C0C0C0, #E5E5E5);
}

.leader-card:nth-child(3) {
    background: linear-gradient(135deg, #CD7F32, #E5A85C);
}

.leader-position {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.leader-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.leader-amount {
    font-size: 1.5rem;
    font-weight: bold;
}

.disclaimer {
    background: #2c2c2c;
    color: var(--white);
    padding: 3rem 1rem;
    text-align: center;
    margin-top: 4rem;
}

.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer h3 {
    color: var(--bright-yellow);
    margin-bottom: 1.5rem;
}

.disclaimer-logos {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.disclaimer-logo {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5);
}

.disclaimer-logo img {
    height: 60px;
    width: auto;
    display: block;
    max-width: 100%;
    object-fit: contain;
}

.disclaimer-logo img[src*="VictorianGovernment"],
.disclaimer-logo img[src*="reset"],
.disclaimer-logo img[src*="gamblershelp"] {
    filter: invert(1);
}

.age-badge {
    display: inline-block;
    background: var(--bright-yellow);
    color: var(--dark-text);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.footer {
    background: linear-gradient(90deg, var(--primary-blue), var(--electric-purple));
    color: var(--white);
    padding: 3rem 1rem 2rem;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--bright-yellow);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--bright-yellow);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-overlay.active {
    display: flex;
}

.popup {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
    position: relative;
}

.popup h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 350px;
    z-index: 1000;
    animation: slideIn 0.5s ease-out;
}

.cookie-consent.hidden {
    display: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.2);
}

.error-message {
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.active {
    display: block;
}

.spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (min-width: 900px) {
    .burger {
        display: none !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
}

@media (max-width: 899px) {
    .nav-menu {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .draws-container {
        grid-template-columns: 1fr;
    }
    
    .reviews-container {
        flex-direction: column;
        align-items: center;
    }
    
    .leaderboard-container {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .disclaimer-logos {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .popup {
        padding: 2rem 1rem;
    }
    
    .cookie-consent {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .jackpot {
        font-size: 2rem;
    }
}