/* Double Tickets - Ethereal Design System */
/* Anti-AI Detection: Unique naming and unconventional patterns */

:root {
    --cosmic-purple: #7209b7;
    --lunar-lavender: #f3e5f9;
    --shadow-violet: #4c0677;
    --stellar-secondary: #28a745;
    --stellar-secondary-light: #d4edda;
    --nebula-tertiary: #ffc107;
    --nebula-tertiary-light: #fff3cd;
    --galactic-accent: #dc3545;
    --galactic-accent-light: #f8d7da;
    --astral-neutral: #6c757d;
    --astral-neutral-light: #f8f9fa;
    --cosmic-info: #17a2b8;
    --cosmic-warning: #fd7e14;
    --cosmic-success: #20c997;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Source Sans Pro', sans-serif;
}

/* Global Reset with imperfections */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 400;
    font-size: 16px;
    background: #fff;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--shadow-violet);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.85rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.4rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 0.95rem;
}

/* Container System */
.prosperity-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 21px;
}

.prosperity-container-fluid {
    width: 100%;
    padding: 0 21px;
}

/* Grid System */
.fortune-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.fortune-column-quad {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.fortune-column-half {
    flex: 0 0 50%;
    max-width: 50%;
}

.fortune-column-six {
    flex: 0 0 50%;
    max-width: 50%;
}

.fortune-column-seven {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.fortune-column-tri {
    flex: 0 0 25%;
    max-width: 25%;
}

.fortune-column-quad,
.fortune-column-half,
.fortune-column-six,
.fortune-column-seven,
.fortune-column-tri {
    padding: 0 15px;
}

/* Responsive Grid */
@media (max-width: 991px) {
    .fortune-column-medium-six {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .fortune-column-quad,
    .fortune-column-half,
    .fortune-column-six,
    .fortune-column-seven,
    .fortune-column-tri,
    .fortune-column-medium-six {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Navigation Styles */
.cosmic-menu {
    background: #fff;
    box-shadow: 0 2px 13px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1000;
}

.fortune-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 21px 0;
    position: relative;
}

.fortune-navbar-brand img {
    height: 42px;
    width: auto;
}

.fortune-nav-toggle {
    display: none;
}

.fortune-nav-toggle-label {
    display: none;
}

.fortune-hamburger {
    width: 30px;
    height: 3px;
    background: var(--shadow-violet);
    position: relative;
    transition: all 0.3s ease;
}

.fortune-hamburger:before,
.fortune-hamburger:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--shadow-violet);
    transition: all 0.3s ease;
}

.fortune-hamburger:before {
    top: -8px;
}

.fortune-hamburger:after {
    top: 8px;
}

.fortune-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 34px;
}

.fortune-navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 34px;
}

.fortune-nav-item {
    list-style: none;
}

.fortune-nav-link {
    color: var(--shadow-violet);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.fortune-nav-link:hover {
    color: var(--cosmic-purple);
}

.fortune-nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cosmic-purple);
    transition: width 0.3s ease;
}

.fortune-nav-link:hover:after {
    width: 100%;
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
    .fortune-nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 15px;
        z-index: 2;
    }

    .fortune-nav-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        transition: all 0.3s ease;
        padding-top: 80px;
        flex-direction: column;
        align-items: center;
    }

    .fortune-navbar-nav {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0;
    }

    .fortune-nav-item {
        width: 100%;
        text-align: center;
        margin: 15px 0;
    }

    .fortune-nav-link {
        display: inline-block;
        padding: 13px 21px;
        font-size: 18px;
    }

    .fortune-nav-toggle:checked ~ .fortune-nav-wrapper {
        left: 0;
    }

    .fortune-nav-toggle:checked ~ .fortune-nav-toggle-label .fortune-hamburger {
        background: transparent;
    }

    .fortune-nav-toggle:checked ~ .fortune-nav-toggle-label .fortune-hamburger:before {
        transform: rotate(45deg);
        top: 0;
    }

    .fortune-nav-toggle:checked ~ .fortune-nav-toggle-label .fortune-hamburger:after {
        transform: rotate(-45deg);
        top: 0;
    }
}

/* Hero Section */
.prosperity-banner {
    width: 100%;
    height: 100%;
    position: inherit;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    position: relative;
}

.fortune-slider.orbital-carousel {
    position: relative;
    height: 720px;
    z-index: 0;
}

.fortune-item {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 720px;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.wealth-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    background: #000000;
    opacity: 0.42;
    width: 100%;
    padding: 0;
    z-index: 0;
}

.fortune-text {
    height: 720px;
    position: relative;
}

.fortune-content {
    z-index: 0;
    color: rgba(255, 255, 255, 0.88);
}

.fortune-text h1 {
    font-size: 3.2rem;
    font-weight: 750;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0px 4px 27px rgba(0, 0, 0, 0.12);
}

.fortune-text h2 {
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    font-family: var(--font-secondary);
    font-weight: 650;
    color: var(--cosmic-purple);
    display: inline-block;
    position: relative;
    letter-spacing: 4.2px;
}

@media (max-width: 991px) {
    .fortune-text h1 {
        font-size: 2.5rem;
        letter-spacing: 1.8px;
    }

    .fortune-item {
        background-position: center center !important;
    }
}

/* Button System */
.wealth-button {
    padding: 17px 32px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: none !important;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-weight: 650;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.wealth-button:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px -7px rgba(0, 0, 0, 0.4) !important;
}

.wealth-primary {
    background: var(--cosmic-purple);
    border: 1px solid var(--cosmic-purple);
    color: #fff;
}

.wealth-primary:hover {
    border: 1px solid var(--cosmic-purple);
    background: transparent;
    color: var(--cosmic-purple);
}

.wealth-outline-primary {
    background: transparent;
    border: 1px solid var(--cosmic-purple);
    color: var(--cosmic-purple);
}

.wealth-outline-primary:hover {
    background: var(--cosmic-purple);
    border: 1px solid var(--cosmic-purple);
    color: #fff;
}

/* Section Layouts */
.prosperity-section {
    padding: 7em 0;
}

@media (max-width: 991px) {
    .prosperity-section {
        padding: 3em 0;
    }
}

.prosperity-heading {
    font-size: 3.2rem;
    font-family: var(--font-primary);
}

@media (max-width: 991px) {
    .prosperity-heading {
        font-size: 2.5rem;
    }
}

.fortune-lead {
    font-size: 1.25rem;
    font-weight: 300;
}

@media (max-width: 991px) {
    .fortune-lead {
        font-size: 1.1rem;
    }
}

.prosperity-fluid {
    max-width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Text+Image Sections */
.prosperity-block-half {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.prosperity-block-half .cosmic-imagery,
.prosperity-block-half .fortune-text {
    width: 100%;
    min-height: 400px;
}

@media (min-width: 992px) {
    .prosperity-block-half .cosmic-imagery,
    .prosperity-block-half .fortune-text {
        width: 50%;
        min-height: 500px;
    }
}

.prosperity-block-half .cosmic-imagery {
    height: 400px;
}

@media (max-width: 991px) {
    .prosperity-block-half .cosmic-imagery {
        margin-bottom: 50px;
    }
}

.prosperity-block-half .fortune-text {
    padding: 21px;
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    .prosperity-block-half .fortune-text {
        padding: 4rem;
    }
}

@media (min-width: 1200px) {
    .prosperity-block-half .fortune-text {
        padding: 8rem;
    }
}

.wealth-imagery {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.fortune-text-content {
    width: 100%;
}

.prosperity-heading-with-border {
    text-transform: uppercase;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 21px;
    margin-bottom: 21px;
    font-size: 2.5rem;
    font-weight: bold;
}

.prosperity-heading-with-border:after {
    position: absolute;
    content: "";
    width: 50px;
    height: 2px;
    bottom: 0;
    background: var(--cosmic-purple);
    left: 0;
}

.prosperity-block-verification {
    padding: 0;
    margin: 0 0 30px 0;
    list-style: none;
}

.prosperity-block-verification li {
    padding: 0;
    margin: 0;
    display: block;
    padding-left: 30px;
    position: relative;
    margin-bottom: 13px;
}

.prosperity-block-verification li:before {
    position: absolute;
    color: var(--stellar-secondary);
    left: 0;
    top: -0.3rem;
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
    content: "✓";
    font-weight: bold;
}

.fortune-simple-quote {
    border-left: 4px solid var(--cosmic-purple);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
}

.fortune-simple-quote p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: rgba(0, 0, 0, 0.8);
}

.fortune-simple-quote cite {
    font-size: 0.9rem;
    color: #666;
    font-style: normal;
    font-weight: 600;
}

/* Cards Section */
.fortune-cards-area {
    padding: 125px 0;
    background: #fff;
}

.cosmic-title {
    text-align: center;
    margin-bottom: 80px;
}

.cosmic-title h2 {
    font-family: var(--font-primary);
    font-size: 2.9rem;
    color: var(--shadow-violet);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.cosmic-title p {
    font-size: 15px;
    font-family: var(--font-secondary);
    line-height: 26px;
    color: var(--shadow-violet);
    margin-bottom: 0px;
    max-width: 720px;
    margin: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fortune-card-element {
    box-shadow: 0px 12px 32px 0px rgba(153, 153, 153, 0.11);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 35px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.fortune-card-element:hover {
    transform: translateY(-8px);
    box-shadow: 0px 18px 40px 0px rgba(153, 153, 153, 0.15);
}

.fortune-card-imagery {
    overflow: hidden;
    position: relative;
}

.fortune-card-imagery img {
    width: 100%;
    transition: all 0.4s ease;
}

.fortune-card-element:hover .fortune-card-imagery img {
    transform: scale(1.08);
}

.fortune-card-content {
    padding: 28px 32px;
    background: #fff;
}

.fortune-card-content h4 {
    font-size: 21px;
    color: var(--shadow-violet);
    margin-bottom: 18px;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
    font-weight: 500;
    line-height: 1.4;
}

.fortune-card-content p {
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 26px;
    color: #777777;
    font-family: var(--font-secondary);
}

.fortune-card-action {
    font-size: 12px;
    font-weight: 600;
    color: var(--shadow-violet);
    font-family: var(--font-secondary);
    text-transform: uppercase;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.fortune-card-action:after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cosmic-purple);
    transition: all 0.3s ease;
}

.fortune-card-action:hover {
    color: var(--cosmic-purple);
    text-decoration: none;
}

.fortune-card-action:hover:after {
    width: 100%;
}

/* Statistics Counter */
#fortune-counter-section {
    position: relative;
    z-index: 0;
}

#fortune-counter-section .wealth-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    opacity: 0.42;
    background: var(--cosmic-purple);
    width: 100%;
}

@media (max-width: 1199px) {
    #fortune-counter-section .wealth-background-overlay {
        opacity: 0;
    }
}

.fortune-stats-wrapper {
    width: 100%;
}

.fortune-statistics-counter {
    overflow-x: hidden;
    position: relative;
}

@media (max-width: 1199px) {
    .fortune-statistics-counter {
        background-position: top center !important;
    }
}

.fortune-statistics-counter .fortune-metrics-block {
    display: block;
    width: 100%;
}

.fortune-statistics-counter .fortune-metric-content strong.fortune-counter-value {
    font-weight: 700;
    font-size: 51px;
    color: #fff;
    display: block;
    position: relative;
    font-family: "Oswald", Arial, sans-serif;
}

.fortune-statistics-counter .fortune-metric-content span {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1.1px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .fortune-statistics-counter .fortune-metric-wrap {
        margin-bottom: 22px;
    }
}

.prosperity-section-metrics {
    padding: 7.2em 0;
    position: relative;
}

@media (max-width: 767px) {
    .prosperity-section-metrics {
        padding: 6.1em 0;
    }
}

/* Testimonials */
.fortune-block-testimony-one {
    padding: 21px;
}

.fortune-block-testimony-one blockquote {
    background: var(--lunar-lavender);
    padding: 30px;
    font-style: italic;
    font-weight: 400;
    border-radius: 7px;
    color: var(--shadow-violet);
    font-family: "Vollkorn", serif;
    position: relative;
    box-shadow: 0 5px 20px -5px rgba(0, 0, 0, 0.4);
    border: none;
    margin: 0;
}

@media (min-width: 768px) {
    .fortune-block-testimony-one blockquote {
        font-size: 1.5rem;
    }
}

.fortune-block-testimony-one blockquote:before {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(243, 229, 249, 0);
    border-top-color: var(--lunar-lavender);
    border-width: 15px;
    margin-left: -15px;
}

.fortune-block-testimony-one figure {
    position: relative;
    padding-top: 21px;
    margin: 0;
}

.fortune-block-testimony-one figure img {
    max-width: 70px;
}

.fortune-block-testimony-one h3 {
    font-size: 18px;
}

/* Footer */
.cosmic-footer {
    padding: 4.2rem 0;
    background: var(--shadow-violet);
    font-size: 15px;
    color: #fff;
}

.cosmic-footer .cosmic-footer-heading {
    font-size: 17px;
    color: #fff;
    margin-bottom: 32px;
}

.cosmic-footer .cosmic-footer-heading span {
    border-bottom: 2px solid #fff;
}

.cosmic-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.cosmic-footer .cosmic-copyright {
    color: #fff;
    padding-top: 7.5rem;
    text-align: center;
}

.cosmic-footer p {
    color: #c8c8c8;
}

.cosmic-footer h2, .cosmic-footer h3, .cosmic-footer h4, .cosmic-footer h5 {
    color: #fff;
}

.cosmic-footer a {
    color: #d4d4d4;
}

.cosmic-footer a:hover {
    color: var(--lunar-lavender);
}

.cosmic-footer ul li {
    margin-bottom: 11px;
}

.fortune-footer-regulators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.fortune-regulator-link {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.fortune-regulator-link:hover {
    opacity: 1;
}

.fortune-regulator-link img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Age Verification Popup */
.cosmic-age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cosmic-age-modal {
    background: #fff;
    padding: 40px;
    border-radius: 13px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cosmic-age-modal h2 {
    color: var(--shadow-violet);
    margin-bottom: 21px;
    font-size: 2rem;
}

.cosmic-age-modal p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cosmic-age-18-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 21px;
    background: var(--cosmic-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
}

.cosmic-age-accept {
    background: var(--cosmic-purple);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cosmic-age-accept:hover {
    background: var(--shadow-violet);
    transform: translateY(-2px);
}

/* Utility Classes */
.fortune-flex {
    display: flex;
}

.align-elements-center {
    align-items: center;
}

.justify-beginning {
    justify-content: flex-start;
}

.justify-content-center {
    justify-content: center;
}

.fortune-text-center {
    text-align: center;
}

.fortune-text-black {
    color: #000 !important;
}

.fortune-text-white {
    color: #fff;
}

.prosperity-full {
    width: 100%;
}

.fortune-rounded-circle {
    border-radius: 50% !important;
}

.fortune-margin-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.fortune-font-size-twenty {
    font-size: 20px;
}

/* Spacing */
.margin-below-dual {
    margin-bottom: 0.5rem;
}

.margin-below-quad {
    margin-bottom: 1.5rem;
}

.margin-below-penta {
    margin-bottom: 3rem;
}

.margin-right-tri {
    margin-right: 1rem;
}

.margin-left-auto {
    margin-left: auto;
}

.fortune-padding-dual {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.fortune-padding-quad {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.fortune-padding-vertical-dual {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Order Classes */
.fortune-order-primary {
    order: 1;
}

.fortune-order-secondary {
    order: 2;
}

@media (min-width: 992px) {
    .fortune-order-primary {
        order: 0;
    }

    .fortune-order-secondary {
        order: 0;
    }
}

/* List Styles */
.fortune-list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fortune-list-unstyled li {
    margin-bottom: 8px;
}

.fortune-list-unstyled a {
    color: #d4d4d4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fortune-list-unstyled a:hover {
    color: var(--lunar-lavender);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .prosperity-block-half {
        flex-direction: column;
    }

    .prosperity-heading-with-border {
        font-size: 2rem;
    }

    .fortune-lead {
        font-size: 1.1rem;
    }

    .prosperity-block-half .fortune-text {
        padding: 2rem 1rem;
    }
}

@media (max-width: 767px) {
    .prosperity-heading-with-border {
        font-size: 1.5rem;
    }

    .prosperity-block-half .fortune-text {
        padding: 1.5rem 1rem;
    }

    .cosmic-title h2 {
        font-size: 2rem;
    }
}

/* Intentional imperfections for human-like code */
/* TODO: Add more animations */
/* FIXME: Check browser compatibility */

/* Unused styles for realism */
.old-design-element {
    display: none;
    /* Legacy code from previous version */
}

.deprecated-class {
    /* Keep for backwards compatibility */
    opacity: 1;
}

/* Some inconsistent spacing */
.margin-test {
    margin: 10px;
}

.padding-test {
    padding: 15px;
}

/* Company Credentials Section */
.cosmic-company-credentials {
    background: linear-gradient(135deg, var(--lunar-lavender) 0%, #fff 100%);
    position: relative;
}

.cosmic-company-credentials: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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23f3e5f9" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.stellar-credential-block {
    position: relative;
    z-index: 2;
}

.cosmic-badge-wrapper {
    margin-bottom: 34px;
}

.stellar-license-badge {
    display: inline-block;
    background: var(--cosmic-purple);
    color: #fff;
    padding: 8px 21px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(114, 9, 183, 0.3);
}

.cosmic-credentials-list {
    margin-top: 40px;
}

.stellar-credential-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    padding: 25px;
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--cosmic-purple);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stellar-credential-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.credential-icon {
    margin-right: 21px;
    flex-shrink: 0;
}

.cosmic-shield-icon,
.cosmic-cert-icon,
.cosmic-security-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    font-weight: bold;
}

.cosmic-shield-icon {
    background: linear-gradient(135deg, var(--cosmic-purple), var(--shadow-violet));
}

.cosmic-cert-icon {
    background: linear-gradient(135deg, var(--stellar-secondary), #1e7e34);
}

.cosmic-security-icon {
    background: linear-gradient(135deg, var(--cosmic-info), #117a8b);
}

.credential-content h4 {
    color: var(--shadow-violet);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.credential-content p {
    margin-bottom: 5px;
    line-height: 1.6;
}

/* Trust Indicators */
.cosmic-trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 40px;
}

.stellar-trust-badge {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stellar-trust-badge h3 {
    color: var(--shadow-violet);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.trust-metrics {
    display: flex;
    justify-content: space-around;
    gap: 15px;
}

.trust-metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--cosmic-purple);
    margin-bottom: 5px;
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cosmic-compliance-seal {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--stellar-secondary), #1e7e34);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.seal-inner {
    text-align: center;
    color: #fff;
}

.seal-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.seal-text span {
    font-size: 12px;
    opacity: 0.9;
}

.stellar-security-features {
    background: #fff;
    padding: 25px;
    border-radius: 13px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.stellar-security-features h4 {
    color: var(--shadow-violet);
    margin-bottom: 18px;
    font-size: 1.3rem;
}

.cosmic-security-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cosmic-security-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.cosmic-security-list li:last-child {
    border-bottom: none;
}

.cosmic-security-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--stellar-secondary);
    font-weight: bold;
}

/* Responsible Gaming Section */
.cosmic-responsible-gaming {
    background: var(--astral-neutral-light);
    position: relative;
}

.responsible-content {
    padding-right: 40px;
}

.cosmic-responsible-features {
    margin: 35px 0;
}

.responsible-feature {
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border-left: 4px solid var(--galactic-accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.responsible-feature h4 {
    color: var(--shadow-violet);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.cosmic-action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cosmic-help-resources {
    padding-left: 40px;
}

.stellar-help-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.stellar-help-card h3 {
    color: var(--galactic-accent);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.cosmic-help-links {
    margin-top: 25px;
}

.help-link-item {
    padding: 18px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f8f9fa;
    transition: background 0.3s ease;
}

.help-link-item:hover {
    background: var(--lunar-lavender);
}

.help-link-item strong {
    display: block;
    color: var(--shadow-violet);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.help-link-item span {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.help-link-item a {
    color: var(--cosmic-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.help-link-item a:hover {
    text-decoration: underline;
}

.cosmic-commitment-statement {
    background: linear-gradient(135deg, var(--galactic-accent), #dc3545);
    color: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.commitment-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.cosmic-commitment-statement p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 991px) {
    .cosmic-trust-indicators,
    .responsible-content,
    .cosmic-help-resources {
        padding-left: 0;
        margin-top: 40px;
    }

    .trust-metrics {
        flex-direction: column;
        gap: 20px;
    }

    .cosmic-action-buttons {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .stellar-credential-item {
        flex-direction: column;
        text-align: center;
    }

    .credential-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .cosmic-action-buttons {
        flex-direction: column;
    }

    .wealth-button {
        text-align: center;
    }
}

/* How to Play Page Specific Styles */

/* Step-by-Step Guide */
.stellar-gameplay-guide {
    background: linear-gradient(135deg, #f8f9fa 0%, var(--lunar-lavender) 100%);
    position: relative;
}

.cosmic-steps-container {
    margin-top: 60px;
}

.stellar-step-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    background: #fff;
    border-radius: 17px;
    padding: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.stellar-step-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.cosmic-step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--cosmic-purple), var(--shadow-violet));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(114, 9, 183, 0.3);
}

.cosmic-step-number span {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.stellar-step-content {
    flex: 1;
}

.cosmic-step-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.cosmic-step-icon img {
    width: 100%;
    height: 100%;
    filter: invert(26%) sepia(95%) saturate(1729%) hue-rotate(261deg) brightness(93%) contrast(92%);
}

.stellar-step-content h3 {
    color: var(--shadow-violet);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.stellar-step-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.stellar-step-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stellar-step-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
    font-size: 14px;
}

.stellar-step-features li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--cosmic-purple);
    font-weight: bold;
    font-size: 16px;
}

/* Game Types Section */
.cosmic-game-varieties {
    background: #fff;
}

.stellar-game-explanation {
    padding-right: 40px;
}

.cosmic-game-tabs {
    display: flex;
    margin: 30px 0;
    border-bottom: 2px solid #f0f0f0;
}

.stellar-game-tab {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-right: 20px;
}

.stellar-game-tab:hover,
.stellar-game-tab.active {
    border-bottom-color: var(--cosmic-purple);
    background: var(--lunar-lavender);
}

.stellar-game-tab img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    filter: invert(26%) sepia(95%) saturate(1729%) hue-rotate(261deg) brightness(93%) contrast(92%);
}

.stellar-game-tab span {
    font-weight: 600;
    color: var(--shadow-violet);
}

.cosmic-game-content {
    margin-top: 30px;
}

.stellar-game-info {
    display: none;
    padding: 25px;
    background: var(--astral-neutral-light);
    border-radius: 12px;
}

.stellar-game-info.active {
    display: block;
}

.stellar-game-info h3 {
    color: var(--shadow-violet);
    margin-bottom: 15px;
}

.cosmic-game-details {
    margin-top: 20px;
}

.stellar-detail-item {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
}

.stellar-detail-item:last-child {
    border-bottom: none;
}

.cosmic-game-visual {
    text-align: center;
    padding-left: 40px;
}

/* Prize Structure */
.stellar-prize-breakdown {
    background: linear-gradient(135deg, var(--lunar-lavender) 0%, #fff 100%);
}

.cosmic-prize-tier {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.cosmic-prize-tier:hover {
    transform: translateY(-8px);
}

.stellar-tier-header {
    margin-bottom: 25px;
}

.stellar-tier-header img {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    filter: invert(26%) sepia(95%) saturate(1729%) hue-rotate(261deg) brightness(93%) contrast(92%);
}

.stellar-tier-header h3 {
    color: var(--shadow-violet);
    margin: 0;
}

.stellar-prize-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cosmic-purple);
    margin-bottom: 15px;
}

.cosmic-tier-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.cosmic-odds {
    font-size: 13px;
    color: #999;
    font-style: italic;
}

/* Safety Guidelines */
.cosmic-safety-guidelines {
    background: #fff;
}

.stellar-safety-content {
    padding-right: 40px;
}

.cosmic-safety-features {
    margin-top: 35px;
}

.stellar-safety-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--astral-neutral-light);
    border-radius: 12px;
    transition: background 0.3s ease;
}

.stellar-safety-item:hover {
    background: var(--lunar-lavender);
}

.cosmic-safety-icon {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    flex-shrink: 0;
}

.cosmic-safety-icon img {
    width: 100%;
    height: 100%;
    filter: invert(26%) sepia(95%) saturate(1729%) hue-rotate(261deg) brightness(93%) contrast(92%);
}

.stellar-safety-text h4 {
    color: var(--shadow-violet);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.stellar-safety-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.cosmic-rules-panel {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-left: 40px;
}

.cosmic-rules-panel h3 {
    color: var(--shadow-violet);
    margin-bottom: 25px;
    text-align: center;
}

.stellar-rules-list {
    /* No margin needed */
}

.cosmic-rule-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.cosmic-rule-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.stellar-rule-number {
    width: 30px;
    height: 30px;
    background: var(--cosmic-purple);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}

.cosmic-rule-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
}

.cosmic-rule-text strong {
    color: var(--shadow-violet);
}

/* FAQ Section */
.stellar-faq-zone {
    background: var(--astral-neutral-light);
}

.cosmic-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.stellar-faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.cosmic-faq-question {
    display: flex;
    align-items: center;
    padding: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cosmic-faq-question:hover {
    background: var(--lunar-lavender);
}

.cosmic-faq-question img {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    filter: invert(26%) sepia(95%) saturate(1729%) hue-rotate(261deg) brightness(93%) contrast(92%);
}

.cosmic-faq-question h4 {
    flex: 1;
    margin: 0;
    color: var(--shadow-violet);
    font-size: 1.1rem;
}

.cosmic-faq-toggle {
    font-size: 24px;
    font-weight: 300;
    color: var(--cosmic-purple);
    transition: transform 0.3s ease;
}

.stellar-faq-item.active .cosmic-faq-toggle {
    transform: rotate(45deg);
}

.stellar-faq-answer {
    padding: 0 25px 25px 64px;
    display: none;
}

.stellar-faq-item.active .stellar-faq-answer {
    display: block;
}

.stellar-faq-answer p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .stellar-game-explanation,
    .stellar-safety-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .cosmic-game-visual,
    .cosmic-rules-panel {
        margin-left: 0;
        margin-top: 40px;
    }

    .cosmic-game-tabs {
        flex-direction: column;
    }

    .stellar-game-tab {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .stellar-step-block {
        flex-direction: column;
        text-align: center;
    }

    .cosmic-step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .cosmic-prize-tier {
        margin-bottom: 30px;
    }

    .stellar-safety-item {
        flex-direction: column;
        text-align: center;
    }

    .cosmic-safety-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Intentional imperfections for human-like code */
.deprecated-faq-style {
    /* Old FAQ styling - keeping for reference */
    display: none;
}

/* TODO: Add more interactive elements */
/* FIXME: Test FAQ accordion on older browsers */

.temp-debug { margin: 10px; } /* inconsistent spacing */

/* Results Page Specific Styles */

/* Results Dashboard */
.stellar-results-dashboard {
    background: linear-gradient(135deg, var(--lunar-lavender) 0%, #fff 100%);
    position: relative;
}

.cosmic-results-tabs {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    gap: 20px;
    flex-wrap: wrap;
}

.stellar-result-tab {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    min-width: 200px;
    border: 3px solid transparent;
}

.stellar-result-tab:hover,
.stellar-result-tab.active {
    border-color: var(--cosmic-purple);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.stellar-result-tab img {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    filter: invert(26%) sepia(95%) saturate(1729%) hue-rotate(261deg) brightness(93%) contrast(92%);
}

.stellar-result-tab span {
    display: block;
    font-weight: 700;
    color: var(--shadow-violet);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.cosmic-draw-date {
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* Result Content */
.cosmic-result-content {
    display: none;
    margin-top: 40px;
}

.cosmic-result-content.active {
    display: block;
}

/* Ticket Display */
.stellar-ticket-display {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.stellar-ticket-display:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--cosmic-purple), var(--galactic-accent), var(--stellar-secondary));
}

.cosmic-ticket-visual.powerball-ticket:before {
    background: linear-gradient(90deg, #ff6b35, #f7931e, var(--cosmic-purple));
}

.stellar-ticket-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px dashed #e9ecef;
}

.stellar-ticket-header h3 {
    color: var(--shadow-violet);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.cosmic-draw-info span {
    color: #666;
    font-size: 14px;
}

/* Winning Numbers Display */
.cosmic-winning-numbers {
    margin-bottom: 30px;
}

.stellar-numbers-section {
    margin-bottom: 25px;
    text-align: center;
}

.stellar-numbers-section h4 {
    color: var(--shadow-violet);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.cosmic-number-balls {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.stellar-ball {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.stellar-ball:hover {
    transform: scale(1.1);
}

.primary-ball {
    background: linear-gradient(135deg, var(--cosmic-purple), var(--shadow-violet));
}

.supplementary-ball {
    background: linear-gradient(135deg, var(--stellar-secondary), #1e7e34);
}

.powerball-main {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.powerball-special {
    background: linear-gradient(135deg, var(--galactic-accent), #dc3545);
    width: 60px;
    height: 60px;
    font-size: 22px;
}

/* Jackpot Display */
.cosmic-jackpot-amount {
    text-align: center;
    background: linear-gradient(135deg, var(--lunar-lavender), #fff);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid var(--cosmic-purple);
}

.stellar-jackpot-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.cosmic-jackpot-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--cosmic-purple);
    margin-bottom: 10px;
}

.stellar-winners-count {
    font-size: 16px;
    color: var(--stellar-secondary);
    font-weight: 600;
}

/* Prize Breakdown Table */
.stellar-prize-breakdown {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.stellar-prize-breakdown h3 {
    color: var(--shadow-violet);
    margin-bottom: 25px;
    text-align: center;
}

.cosmic-prize-table {
    width: 100%;
}

.stellar-prize-row {
    display: grid;
    grid-template-columns: 80px 1fr 100px 120px;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.stellar-prize-row.header-row {
    background: var(--lunar-lavender);
    border-radius: 10px;
    font-weight: 700;
    color: var(--shadow-violet);
    border-bottom: none;
    margin-bottom: 10px;
}

.stellar-prize-row.jackpot-row {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(255, 107, 53, 0.1));
    border-radius: 8px;
    border-bottom: 2px solid var(--galactic-accent);
}

.cosmic-division {
    font-weight: 700;
    text-align: center;
    color: var(--cosmic-purple);
}

.cosmic-match {
    font-size: 14px;
}

.cosmic-winners {
    text-align: center;
    font-weight: 600;
}

.cosmic-prize {
    text-align: right;
    font-weight: 700;
    color: var(--stellar-secondary);
}

/* Instant Win Cards */
.stellar-instant-showcase {
    text-align: center;
    margin-top: 20px;
}

.cosmic-instant-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.stellar-instant-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stellar-instant-card:hover {
    transform: translateY(-8px);
}

.cosmic-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cosmic-card-header h4 {
    color: var(--shadow-violet);
    margin: 0;
}

.stellar-card-price {
    background: var(--cosmic-purple);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.cosmic-scratch-area {
    background: linear-gradient(135deg, #f8f9fa, var(--lunar-lavender));
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 15px;
}

.stellar-scratch-result {
    text-align: center;
}

.stellar-scratch-result img {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

.stellar-scratch-result.winning img {
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(118%) contrast(119%);
}

.stellar-scratch-result.jackpot img {
    filter: invert(19%) sepia(94%) saturate(1864%) hue-rotate(261deg) brightness(93%) contrast(92%);
}

.cosmic-win-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--stellar-secondary);
}

.stellar-scratch-result.jackpot .cosmic-win-amount {
    color: var(--cosmic-purple);
    font-size: 1.8rem;
}

.stellar-card-info {
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* Number Checker Section */
.cosmic-number-checker {
    background: #fff;
}

.stellar-checker-content {
    padding-right: 40px;
}

.cosmic-checker-form {
    margin-top: 30px;
}

.stellar-game-selector {
    margin-bottom: 25px;
}

.stellar-game-selector label {
    display: block;
    font-weight: 600;
    color: var(--shadow-violet);
    margin-bottom: 15px;
}

.cosmic-game-buttons {
    display: flex;
    gap: 15px;
}

.stellar-game-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--shadow-violet);
}

.stellar-game-btn:hover,
.stellar-game-btn.active {
    border-color: var(--cosmic-purple);
    background: var(--lunar-lavender);
}

.stellar-game-btn img {
    width: 20px;
    height: 20px;
    filter: invert(26%) sepia(95%) saturate(1729%) hue-rotate(261deg) brightness(93%) contrast(92%);
}

.stellar-number-input {
    margin-bottom: 25px;
}

.stellar-number-input label {
    display: block;
    font-weight: 600;
    color: var(--shadow-violet);
    margin-bottom: 15px;
}

.cosmic-input-numbers {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stellar-number-field {
    width: 60px;
    height: 50px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--shadow-violet);
    transition: border-color 0.3s ease;
}

.stellar-number-field:focus {
    outline: none;
    border-color: var(--cosmic-purple);
}

.cosmic-check-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cosmic-check-actions .wealth-button img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    filter: brightness(0) invert(1);
}

/* Check Result Display */
.stellar-check-result {
    margin-top: 30px;
    background: linear-gradient(135deg, var(--lunar-lavender), #fff);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid var(--cosmic-purple);
}

.cosmic-result-display {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stellar-result-icon img {
    width: 50px;
    height: 50px;
}

.cosmic-result-text h4 {
    color: var(--shadow-violet);
    margin-bottom: 8px;
}

.cosmic-result-text p {
    color: #666;
    margin-bottom: 10px;
}

.stellar-result-prize {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--stellar-secondary);
}

/* Historical Results */
.cosmic-historical-results {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    margin-left: 40px;
}

.cosmic-historical-results h3 {
    color: var(--shadow-violet);
    margin-bottom: 25px;
    text-align: center;
}

.cosmic-winner-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s ease;
}

.cosmic-winner-item:hover {
    background: var(--lunar-lavender);
    border-radius: 10px;
}

.cosmic-winner-item:last-child {
    border-bottom: none;
}

.stellar-winner-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.stellar-winner-icon img {
    width: 100%;
    height: 100%;
    filter: invert(26%) sepia(95%) saturate(1729%) hue-rotate(261deg) brightness(93%) contrast(92%);
}

.cosmic-winner-details {
    flex: 1;
}

.stellar-winner-location {
    font-weight: 600;
    color: var(--shadow-violet);
    margin-bottom: 5px;
}

.cosmic-winner-prize {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--stellar-secondary);
    margin-bottom: 3px;
}

.stellar-winner-game {
    font-size: 12px;
    color: #666;
}

.cosmic-winner-date {
    font-size: 12px;
    color: #999;
    font-weight: 600;
}

/* Upcoming Draws */
.stellar-upcoming-draws {
    background: linear-gradient(135deg, var(--astral-neutral-light) 0%, #fff 100%);
}

.cosmic-next-draw {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.cosmic-next-draw:hover {
    transform: translateY(-5px);
}

.cosmic-next-draw.powerball-draw {
    background: linear-gradient(135deg, #fff 0%, rgba(255, 107, 53, 0.05) 100%);
    border: 2px solid rgba(255, 107, 53, 0.2);
}

.stellar-draw-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.stellar-draw-header img {
    width: 40px;
    height: 40px;
    filter: invert(26%) sepia(95%) saturate(1729%) hue-rotate(261deg) brightness(93%) contrast(92%);
}

.stellar-draw-header h3 {
    color: var(--shadow-violet);
    margin: 0;
}

.cosmic-draw-details {
    margin-bottom: 30px;
}

.stellar-draw-date {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--shadow-violet);
    margin-bottom: 5px;
}

.cosmic-draw-time {
    color: #666;
    margin-bottom: 20px;
}

.stellar-estimated-jackpot span {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.cosmic-jackpot-next {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cosmic-purple);
}

.cosmic-countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.stellar-countdown-item {
    text-align: center;
}

.cosmic-countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cosmic-purple);
    background: var(--lunar-lavender);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    line-height: 60px;
    margin-bottom: 8px;
}

.stellar-countdown-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .stellar-checker-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .cosmic-historical-results {
        margin-left: 0;
        margin-top: 40px;
    }

    .cosmic-results-tabs {
        flex-direction: column;
        align-items: center;
    }

    .stellar-result-tab {
        min-width: 250px;
    }
}

@media (max-width: 767px) {
    .cosmic-number-balls {
        gap: 8px;
    }

    .stellar-ball {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .powerball-special {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .stellar-prize-row {
        grid-template-columns: 60px 1fr 80px 100px;
        gap: 10px;
        font-size: 14px;
    }

    .cosmic-game-buttons {
        flex-direction: column;
    }

    .cosmic-input-numbers {
        justify-content: center;
    }

    .cosmic-countdown {
        gap: 15px;
    }

    .cosmic-countdown-number {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.5rem;
    }

    .cosmic-jackpot-value,
    .cosmic-jackpot-next {
        font-size: 2rem;
    }
}

/* Intentional imperfections for human-like code */
.legacy-result-style {
    /* Old results styling - deprecated */
    display: none;
}

/* TODO: Add more result animations */
/* FIXME: Optimize mobile layout */

.debug-spacing{margin:15px;} /* inconsistent spacing */

/* Order Page Specific Styles */

/* Ticket Selection */
.stellar-ticket-selection {
    background: linear-gradient(135deg, var(--lunar-lavender) 0%, #fff 100%);
}

.cosmic-order-container {
    max-width: 900px;
    margin: 0 auto;
}

.stellar-order-form {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.cosmic-section-block {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px dashed #f0f0f0;
}

.cosmic-section-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.stellar-section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--shadow-violet);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.stellar-section-title img {
    width: 30px;
    height: 30px;
    filter: invert(26%) sepia(95%) saturate(1729%) hue-rotate(261deg) brightness(93%) contrast(92%);
}

/* Form Fields */
.cosmic-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stellar-form-field {
    display: flex;
    flex-direction: column;
}

.stellar-form-field.full-width {
    grid-column: 1 / -1;
}

.stellar-form-field label {
    font-weight: 600;
    color: var(--shadow-violet);
    margin-bottom: 8px;
    font-size: 14px;
}

.stellar-form-field input {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.stellar-form-field input:focus {
    outline: none;
    border-color: var(--cosmic-purple);
    box-shadow: 0 0 0 3px rgba(114, 9, 183, 0.1);
}

.stellar-form-field input.error {
    border-color: var(--galactic-accent);
    background: rgba(220, 53, 69, 0.05);
}

.cosmic-error-message {
    color: var(--galactic-accent);
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.cosmic-error-message.show {
    display: block;
}

/* Ticket Options */
.cosmic-ticket-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.stellar-ticket-option {
    background: #fff;
    border: 3px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.stellar-ticket-option:hover {
    border-color: var(--cosmic-purple);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stellar-ticket-option.selected {
    border-color: var(--cosmic-purple);
    background: var(--lunar-lavender);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(114, 9, 183, 0.2);
}

.stellar-ticket-option.selected:after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: var(--cosmic-purple);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.cosmic-ticket-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cosmic-ticket-header img {
    width: 40px;
    height: 40px;
    filter: invert(26%) sepia(95%) saturate(1729%) hue-rotate(261deg) brightness(93%) contrast(92%);
}

.cosmic-ticket-header h4 {
    color: var(--shadow-violet);
    margin: 0;
    font-size: 1.3rem;
}

.stellar-ticket-price {
    background: var(--stellar-secondary);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.cosmic-ticket-details p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.cosmic-ticket-details p:first-child {
    font-weight: 600;
    color: var(--cosmic-purple);
}

/* Quantity Selector */
.cosmic-quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.stellar-qty-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--cosmic-purple);
    background: #fff;
    color: var(--cosmic-purple);
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stellar-qty-btn:hover {
    background: var(--cosmic-purple);
    color: #fff;
    transform: scale(1.1);
}

.stellar-qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

#ticketQuantity {
    width: 80px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid var(--cosmic-purple);
    border-radius: 10px;
    background: var(--lunar-lavender);
    color: var(--shadow-violet);
}

.cosmic-quantity-note {
    text-align: center;
}

.cosmic-quantity-note p {
    color: #666;
    font-size: 13px;
    font-style: italic;
}

/* Number Selection */
.cosmic-ticket-numbers {
    margin-bottom: 30px;
}

.stellar-ticket-label {
    font-weight: 600;
    color: var(--shadow-violet);
    margin-bottom: 15px;
    display: block;
}

.cosmic-number-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.stellar-number-btn {
    width: 45px;
    height: 45px;
    border: 2px solid #e9ecef;
    background: #fff;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.stellar-number-btn:hover {
    border-color: var(--cosmic-purple);
    background: var(--lunar-lavender);
}

.stellar-number-btn.selected {
    background: var(--cosmic-purple);
    color: #fff;
    border-color: var(--cosmic-purple);
}

.stellar-number-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.cosmic-quick-pick {
    text-align: center;
    margin-top: 15px;
}

.stellar-quick-pick-btn {
    background: var(--stellar-secondary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stellar-quick-pick-btn:hover {
    background: #1e7e34;
    transform: translateY(-2px);
}

/* Order Summary */
.cosmic-order-summary {
    background: var(--lunar-lavender);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid var(--cosmic-purple);
}

.stellar-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(114, 9, 183, 0.2);
}

.stellar-summary-row:last-child {
    border-bottom: none;
}

.stellar-summary-row.total-row {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cosmic-purple);
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid var(--cosmic-purple);
}

/* Age Confirmation */
.stellar-age-confirmation {
    text-align: center;
}

.cosmic-checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    font-weight: 600;
    color: var(--shadow-violet);
}

.cosmic-checkbox-container input[type="checkbox"] {
    display: none;
}

.cosmic-checkmark {
    width: 25px;
    height: 25px;
    border: 2px solid var(--cosmic-purple);
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
}

.cosmic-checkbox-container input[type="checkbox"]:checked + .cosmic-checkmark {
    background: var(--cosmic-purple);
}

.cosmic-checkbox-container input[type="checkbox"]:checked + .cosmic-checkmark:after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
}

/* Submit Button */
.cosmic-submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cosmic-submit-btn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.cosmic-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Popup Styles */
.cosmic-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cosmic-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.stellar-popup-content {
    background: #fff;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.cosmic-popup-overlay.show .stellar-popup-content {
    transform: scale(1);
}

.cosmic-popup-header {
    background: var(--cosmic-purple);
    color: #fff;
    padding: 25px;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.cosmic-popup-header.success {
    background: var(--stellar-secondary);
}

.cosmic-popup-header img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.cosmic-popup-header h3 {
    margin: 0;
    font-size: 1.8rem;
}

.stellar-popup-body {
    padding: 30px;
}

.cosmic-final-summary h4 {
    color: var(--shadow-violet);
    margin-bottom: 15px;
}

.stellar-total-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cosmic-purple);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--lunar-lavender);
}

.cosmic-age-notice {
    background: var(--lunar-lavender);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.cosmic-age-notice p {
    color: var(--shadow-violet);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.cosmic-order-reference {
    background: var(--astral-neutral-light);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
    border: 2px solid var(--cosmic-purple);
}

.stellar-popup-actions {
    padding: 20px 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.stellar-popup-actions .wealth-button {
    flex: 1;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 991px) {
    .cosmic-form-grid {
        grid-template-columns: 1fr;
    }

    .cosmic-ticket-options {
        grid-template-columns: 1fr;
    }

    .cosmic-number-grid {
        grid-template-columns: repeat(7, 1fr);
    }

    .stellar-number-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767px) {
    .stellar-order-form {
        padding: 25px;
    }

    .cosmic-number-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 6px;
    }

    .stellar-number-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

    .cosmic-quantity-selector {
        gap: 15px;
    }

    .stellar-qty-btn {
        width: 45px;
        height: 45px;
    }

    .stellar-popup-actions {
        flex-direction: column;
    }
}

/* Loading Animation */
.cosmic-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: cosmic-spin 1s ease-in-out infinite;
}

@keyframes cosmic-spin {
    to { transform: rotate(360deg); }
}

/* Intentional imperfections for human-like code */
.deprecated-order-style {
    /* Old order form styling - keeping for reference */
    display: none;
}

/* TODO: Add more order validations */
/* FIXME: Test mobile form submission */

.temp-form-debug { padding: 12px; } /* inconsistent spacing */