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

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

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Roboto+Condensed:wght@300;400;700&display=swap');

:root {
    --coal-black: #1C1C1C;
    --steel-gray: #2C2C2C;
    --brick-red: #8B4513;
    --copper-orange: #B87333;
    --iron-gray: #708090;
    --concrete-light: #D3D3D3;
    --rust-orange: #FF6B35;
    --metal-silver: #C0C0C0;
    --charcoal: #36454F;
    --pure-white: #FFFFFF;
    --warning-red: #DC143C;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    background: var(--coal-black);
    color: var(--concrete-light);
    line-height: 1.6;
    font-weight: 400;
    background-image: 
        linear-gradient(45deg, rgba(44, 44, 44, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(44, 44, 44, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(44, 44, 44, 0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(44, 44, 44, 0.1) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    color: var(--rust-orange);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    word-wrap: break-word;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--concrete-light);
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--rust-orange), var(--copper-orange));
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.3);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    position: relative;
    padding-bottom: 1rem;
}

h2::before {
    content: '■';
    color: var(--rust-orange);
    margin-right: 1rem;
    font-size: 0.8em;
}

h3 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    color: var(--copper-orange);
}

p {
    margin-bottom: 1.2rem;
    color: var(--concrete-light);
    word-wrap: break-word;
}

.header {
    background: linear-gradient(135deg, var(--steel-gray) 0%, var(--charcoal) 100%);
    border-bottom: 4px solid var(--rust-orange);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    max-width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><rect x="0" y="0" width="20" height="20" fill="%23FF6B35" opacity="0.1"/><rect x="40" y="0" width="20" height="20" fill="%23B87333" opacity="0.1"/><rect x="80" y="0" width="20" height="20" fill="%23FF6B35" opacity="0.1"/></svg>') repeat-x;
    background-size: 100px 20px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--rust-orange);
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.logo::before {
    content: '⚙';
    font-size: 1.2em;
    color: var(--copper-orange);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--rust-orange);
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.4);
}

.nav-menu {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 0.8rem;
    list-style: none;
    justify-self: end;
}

.nav-link {
    color: var(--concrete-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 1rem 1.8rem;
    border: 2px solid var(--iron-gray);
    border-radius: 0;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    background: var(--steel-gray);
    white-space: nowrap;
    min-width: auto;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--rust-orange);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-link:hover {
    background: var(--rust-orange);
    border-color: var(--copper-orange);
    color: var(--pure-white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.nav-link:hover::before {
    transform: scaleY(1);
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    justify-self: end;
    padding: 0.5rem;
    background: var(--steel-gray);
    border: 2px solid var(--rust-orange);
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: linear-gradient(180deg, var(--charcoal) 0%, var(--steel-gray) 100%);
    border-left: 4px solid var(--rust-orange);
    transition: right 0.4s ease;
    z-index: 999;
    overflow-y: auto;
}

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

.mobile-menu-header {
    padding: 2rem;
    border-bottom: 3px solid var(--rust-orange);
    text-align: center;
    background: var(--coal-black);
}

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

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

.mobile-nav a {
    color: var(--concrete-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    padding: 1.2rem;
    border: 2px solid var(--iron-gray);
    background: var(--steel-gray);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-nav a:hover {
    background: var(--rust-orange);
    border-color: var(--copper-orange);
    color: var(--pure-white);
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, var(--coal-black) 0%, var(--charcoal) 50%, var(--steel-gray) 100%);
    position: relative;
    overflow: hidden;
    max-width: 100%;
    border-bottom: 4px solid var(--rust-orange);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="brick" x="0" y="0" width="60" height="30" patternUnits="userSpaceOnUse"><rect width="60" height="30" fill="%23333333"/><rect width="58" height="28" x="1" y="1" fill="%23444444"/><rect width="29" height="14" x="1" y="1" fill="%238B4513" opacity="0.3"/><rect width="29" height="14" x="30" y="15" fill="%238B4513" opacity="0.3"/></pattern></defs><rect width="200" height="200" fill="url(%23brick)" opacity="0.1"/></svg>') repeat;
    background-size: 200px 200px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--copper-orange);
    margin-bottom: 3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    max-width: 450px;
    margin: 0 auto;
}

.btn {
    padding: 1.2rem 2.5rem;
    border: 3px solid;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border-radius: 0;
    min-width: 250px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    font-family: 'Oswald', sans-serif;
}

.btn-primary {
    background: var(--rust-orange);
    border-color: var(--rust-orange);
    color: var(--pure-white);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: var(--copper-orange);
    border-color: var(--copper-orange);
    box-shadow: 0 8px 25px rgba(184, 115, 51, 0.4);
}

.btn-secondary {
    background: transparent;
    border-color: var(--metal-silver);
    color: var(--metal-silver);
}

.btn-secondary:hover {
    background: var(--metal-silver);
    color: var(--coal-black);
    box-shadow: 0 6px 20px rgba(192, 192, 192, 0.3);
}

.stats-section {
    padding: 5rem 2rem;
    background: var(--steel-gray);
    position: relative;
    border-top: 4px solid var(--copper-orange);
    border-bottom: 4px solid var(--copper-orange);
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="3" fill="%23FF6B35" opacity="0.2"/><rect x="45" y="45" width="10" height="10" fill="%23B87333" opacity="0.2"/><polygon points="75,15 85,25 75,35 65,25" fill="%23708090" opacity="0.2"/></svg>') repeat;
    background-size: 100px 100px;
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: var(--coal-black);
    border: 3px solid var(--rust-orange);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--rust-orange), transparent);
    transition: left 0.6s ease;
    opacity: 0.1;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
    border-color: var(--copper-orange);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    color: var(--rust-orange);
}

.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--copper-orange);
    display: block;
    margin: 1rem 0;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-label {
    color: var(--concrete-light);
    font-weight: 600;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.draw-schedule {
    padding: 5rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
    background: var(--charcoal);
}

.draw-schedule h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--rust-orange);
}

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

.draw-card {
    background: var(--coal-black);
    border: 3px solid var(--iron-gray);
    padding: 3rem;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    border-radius: 0;
}

.draw-card::after {
    content: '⚡';
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--rust-orange);
    opacity: 0.3;
}

.draw-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rust-orange), var(--copper-orange), var(--rust-orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.draw-card:hover::before {
    transform: scaleX(1);
}

.draw-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
    border-color: var(--rust-orange);
}

.draw-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: var(--rust-orange);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.jackpot {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--copper-orange);
    margin: 1.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Oswald', sans-serif;
}

.draw-time {
    color: var(--metal-silver);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-section {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--steel-gray);
}

.article-card {
    background: var(--coal-black);
    border: 4px solid var(--rust-orange);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--rust-orange), var(--copper-orange), var(--rust-orange));
}

.article-card h2 {
    color: var(--rust-orange);
}

.article-card p {
    color: var(--concrete-light);
    line-height: 1.9;
    font-size: 1.1rem;
}

.disclaimer {
    background: var(--charcoal);
    border-top: 4px solid var(--rust-orange);
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 5rem;
    position: relative;
}

.disclaimer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><rect x="0" y="0" width="25" height="25" fill="%23FF6B35" opacity="0.05"/><rect x="25" y="25" width="25" height="25" fill="%23B87333" opacity="0.05"/></svg>') repeat;
    background-size: 50px 50px;
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.disclaimer h3 {
    color: var(--rust-orange);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.disclaimer p {
    color: var(--concrete-light);
    line-height: 2;
    font-size: 1.1rem;
}

.disclaimer-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer-logo {
    background: var(--pure-white);
    padding: 2rem;
    border: 3px solid var(--rust-orange);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.disclaimer-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--rust-orange), transparent);
    transition: left 0.6s ease;
    opacity: 0.1;
}

.disclaimer-logo:hover::before {
    left: 100%;
}

.disclaimer-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
    border-color: var(--copper-orange);
}

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

.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(--rust-orange);
    color: var(--pure-white);
    padding: 1rem 3rem;
    font-weight: 900;
    font-size: 1.4rem;
    margin-top: 3rem;
    border: 3px solid var(--copper-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Oswald', sans-serif;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.footer {
    background: var(--coal-black);
    color: var(--concrete-light);
    padding: 4rem 2rem 3rem;
    border-top: 4px solid var(--rust-orange);
}

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

.footer-section h4 {
    color: var(--rust-orange);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.3rem;
}

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

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

.footer-links a {
    color: var(--concrete-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.footer-links a::before {
    content: '▶ ';
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--rust-orange);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-links a:hover {
    color: var(--rust-orange);
    padding-left: 2rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 3px solid var(--rust-orange);
}

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

.form-group label {
    display: block;
    margin-bottom: 1rem;
    color: var(--rust-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    background: var(--steel-gray);
    border: 3px solid var(--iron-gray);
    border-radius: 0;
    color: var(--concrete-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Roboto Condensed', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--rust-orange);
    background: var(--charcoal);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

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

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

.popup {
    background: var(--steel-gray);
    border: 4px solid var(--rust-orange);
    padding: 3.5rem;
    max-width: 550px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: slideUp 0.4s ease-out;
}

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

.popup h3 {
    color: var(--rust-orange);
    margin-bottom: 2rem;
}

.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.cookie-consent {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--steel-gray);
    border: 3px solid var(--rust-orange);
    padding: 2rem;
    max-width: 400px;
    z-index: 1000;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
    animation: slideUp 0.6s ease-out;
}

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

.tabs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    margin-bottom: 3rem;
    overflow: hidden;
    border: 3px solid var(--rust-orange);
}

.tab-btn {
    padding: 1.2rem;
    background: var(--steel-gray);
    border: none;
    color: var(--concrete-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Oswald', sans-serif;
}

.tab-btn.active {
    background: var(--rust-orange);
    color: var(--pure-white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 4px solid rgba(255, 107, 53, 0.3);
    border-top-color: var(--rust-orange);
    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;
    }
    
    .nav-menu {
        display: grid;
    }
}

@media (min-width: 1200px) {
    .nav-link {
        font-size: 0.95rem;
        padding: 1rem 2rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .nav-link {
        font-size: 0.85rem;
        padding: 1rem 1.4rem;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 899px) {
    .nav-menu {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .header-container {
        grid-template-columns: 1fr auto;
        gap: 1rem;
    }
    
    .hero {
        padding: 12rem 1rem 3rem;
    }
    
    .hero-buttons {
        max-width: 320px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .draws-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .disclaimer-logos {
        grid-template-columns: 1fr 1fr;
    }
    
    .tabs {
        grid-template-columns: 1fr;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .popup {
        padding: 2.5rem 1.5rem;
    }
    
    .cookie-consent {
        right: 15px;
        left: 15px;
        max-width: none;
    }
    
    .btn {
        min-width: 200px;
    }
}