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

:root {
    --primary-color: #2845a0;
    --secondary-color: #4CAF50;
    --light-blue: #e8f0fb;
    --light-bg: #f5f7ff;
    --text-color: #333;
    --text-light: #666;
    --shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    --radius: 10px;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f5f5f5;
}

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

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

ul {
    list-style: none;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #1e3681;
}

.btn-primary img {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-outline:hover {
    background-color: rgba(40, 69, 160, 0.05);
}

.btn-outline img {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2C3E50;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #1a252f;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

h2 span {
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

section {
    padding: 60px 0;
}

.highlight {
    color: var(--primary-color);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-light);
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
}

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

.auth-buttons {
    display: flex;
    gap: 10px;
}

/* Hero Section */
.hero {
    background-color: white;
    position: relative;
    overflow: hidden;
    padding: 50px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./assets/bg-pattern.png');
    z-index: 0;
    pointer-events: none;
}

.license-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.license-badge img {
    width: 20px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature img {
    width: 20px;
}

.hero-disclaimer {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 20px;
}

/* Lottery Card */
.lottery-card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    min-width: 300px;
    max-width: 350px;
}

.lottery-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.lottery-icon {
    background-color: var(--light-blue);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lottery-icon img {
    width: 25px;
}

.lottery-title h3 {
    margin-bottom: 5px;
}

.lottery-title p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.jackpot-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-left: auto;
}

.lucky-numbers h4 {
    margin-bottom: 15px;
}

.numbers-grid {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
}

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

.next-draw p:first-child {
    font-weight: bold;
    margin-bottom: 5px;
}

.next-draw p:last-child {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Popular Draws Section */
.popular-draws {
    background: linear-gradient(to bottom, white, #f5f5f5);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.popular-draws::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./assets/bg-pattern.png');
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.draws-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.draw-card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    flex: 1;
    min-width: 280px;
}

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

.featured-badge {
    background-color: #ffc107;
    color: #333;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.draw-details {
    margin: 20px 0;
}

.draw-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.draw-detail img {
    width: 20px;
}

.view-all {
    text-align: center;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

/* How It Works Section */
.how-it-works {
    background: url('./assets/watercolor-bg.png');
    background-size: cover;
    padding: 80px 0;
}

.steps-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.step-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon img {
    width: 35px;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.section-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 500;
}

.section-badge img {
    width: 20px;
}

.trust-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.trust-text {
    flex: 1;
    min-width: 300px;
}

.trust-features {
    margin: 30px 0;
}

.trust-feature {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.check-icon {
    min-width: 24px;
}

.check-icon img {
    width: 24px;
}

.security-card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    flex: 1;
    min-width: 300px;
}

.security-feature {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.security-feature:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.security-icon {
    min-width: 24px;
}

.security-icon img {
    width: 24px;
}

.security-feature ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 5px;
}

.trust-banner {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 25px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.badge-icon.australian {
    background-color: var(--secondary-color);
}

.badge-icon.licensed {
    background-color: var(--primary-color);
}

.badge-icon.rating {
    background-color: #ffc107;
}

.badge-icon.secure {
    background-color: #607D8B;
}

/* Responsible Play Section */
.responsible-play {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.guidelines-card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
}

.guideline {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.guideline:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.warning-icon {
    min-width: 24px;
}

.warning-icon img {
    width: 24px;
}

.support-info {
    text-align: center;
    margin: 30px 0;
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
}

.support-links a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-links img {
    width: 20px;
}

.commitment-message {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
}

/* Reviews Section */
.reviews {
    background: url('./assets/bg-pattern.png');
    padding: 80px 0;
}

.reviews-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.review-card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    flex: 1;
    min-width: 280px;
}

.stars {
    display: flex;
    margin-bottom: 15px;
}

.stars img {
    width: 20px;
    margin-right: 5px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-light);
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
}

.reviewer-info h5 {
    margin-bottom: 5px;
}

.reviewer-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
}

.faq-question h4 {
    margin-bottom: 0;
}

.toggle-icon {
    width: 20px;
    transition: transform 0.3s;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Contact Form */
.contact {
    background-color: white;
    padding: 80px 0;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

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

input, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: Arial, sans-serif;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button[type="submit"] {
    width: 100%;
}

/* Footer */
footer {
    background-color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    width: 50px;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex: 2;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h4 {
    margin-bottom: 20px;
}

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

.subscribe-form {
    display: flex;
    margin-top: 15px;
}

.subscribe-form input {
    border-radius: 5px 0 0 5px;
    border-right: none;
}

.subscribe-form button {
    border-radius: 0 5px 5px 0;
    padding: 0 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: var(--text-light);
}

.disclaimer, .helpline {
    margin-top: 10px;
    font-size: 0.85rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 25px;
    max-width: 500px;
    width: 90%;
    z-index: 1000;
    display: none;
}

.cookie-popup.active {
    display: block;
}

.cookie-popup h3 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cookie-popup p {
    text-align: center;
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        max-width: 100%;
        text-align: center;
    }
    
    .lottery-card {
        max-width: 100%;
    }
    
    .hero-buttons, .hero-features {
        justify-content: center;
    }
    
    .trust-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .draws-grid, .steps-grid, .reviews-grid {
        flex-direction: column;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content, .footer-links {
        flex-direction: column;
    }
    
    .support-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .auth-buttons {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .numbers-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .number {
        width: 45px;
        height: 45px;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

.thank-section {
    background: #E2E4FA;
    text-align: center;
}

.thank-section h1 {
    background: linear-gradient(90deg, #1A2DA6 0%, #22C55E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-section {
    background: #E2E4FA;
}

.main-section h1 {
    background: linear-gradient(90deg, #1A2DA6 0%, #22C55E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html {
    scroll-behavior: smooth;
}