/* ============================
   LUXURY GROUP – ULTRA PREMIUM
   Design System v3.0
============================== */

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

:root {
    --black: #000000;
    --dark: #0c0c0c;
    --surface: #111111;
    --gold: #c9a84c;
    --gold-dim: #8a6f2e;
    --gold-glow: rgba(201, 168, 76, 0.18);
    --white: #ffffff;
    --gray: #888888;
    --light: #cccccc;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

/* Canvas particles - fixed bg */
#bg-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* ======== NAV ======== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    padding: 1.2rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s var(--ease);
}

.logo-img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 26px;
    }
}

.btn-nav {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    padding: 0.7rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s var(--ease);
    border-radius: 50px;
}

.btn-nav:hover {
    background: var(--gold);
    color: var(--black);
}

/* ======== HERO ======== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/hero_bg.png') center/cover no-repeat;
    filter: brightness(0.22) saturate(0.5);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 120px;
    padding-bottom: 100px;
    max-width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.9s 0.1s var(--ease) forwards;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4.5rem, 11vw, 11rem);
    line-height: 0.88;
    letter-spacing: -1px;
    color: var(--white);
    opacity: 0;
    animation: fadeUp 1s 0.2s var(--ease) forwards;
}

.hero h1 .gold {
    color: var(--gold);
}

.hero-sub {
    margin-top: 3.5rem;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--light);
    max-width: 560px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 1s 0.35s var(--ease) forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s 0.5s var(--ease) forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: var(--gold);
    color: var(--black);
    padding: 1.2rem 3rem;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s var(--ease);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
    border: none;
    max-width: 100%;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(201, 168, 76, 0.3);
}

.btn-primary:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

.btn-ghost {
    color: var(--light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.3s;
}

.btn-ghost:hover {
    color: var(--gold);
}

.btn-ghost::after {
    content: '→';
    transition: transform 0.3s;
}

.btn-ghost:hover::after {
    transform: translateX(5px);
}

.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 7rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0;
    animation: fadeUp 1s 0.65s var(--ease) forwards;
}

.stat-item {
    transition: opacity 0.3s;
}

.stat-item:hover {
    opacity: 0.8;
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.4rem;
}

/* ======== MARQUEE ======== */
.marquee-section {
    overflow: hidden;
    width: 100%;
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.5rem 0;
}

.marquee-track {
    display: flex;
    gap: 0;
    animation: marquee 24s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 3rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray);
}

.marquee-item .dot {
    color: var(--gold);
    font-size: 1.2rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ======== SECTIONS ======== */
section {
    position: relative;
    z-index: 5;
    padding: 9rem 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 7vw, 7rem);
    line-height: 0.9;
    letter-spacing: -1px;
    color: var(--white);
    margin-bottom: 2rem;
}

.section-title .gold {
    color: var(--gold);
}

.section-body {
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.8;
    max-width: 600px;
}

/* ======== ABOUT ======== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-box {
    width: 100%;
    aspect-ratio: 3/4;
    max-height: 620px;
    background: url('../img/hero_bg.png') center/cover;
    filter: brightness(0.6) saturate(0.7);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.about-img-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
}

.about-tag {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gold);
    color: var(--black);
    padding: 2.5rem;
    border-radius: 15px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    line-height: 1;
    letter-spacing: -1px;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-features {
    display: grid;
    gap: 2.5rem;
    margin-top: 4rem;
}

.feat-line {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--gold-dim);
    min-width: 36px;
    padding-top: 3px;
}

.feat-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.feat-desc {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ======== STEPS ======== */
.steps-bg {
    background: var(--dark);
}

.steps-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 6rem;
    gap: 4rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.step-block {
    background: var(--surface);
    padding: 3.5rem 2.5rem;
    position: relative;
    transition: background 0.3s var(--ease);
    border-radius: 20px;
    overflow: hidden;
}

.step-block:hover {
    background: #1a1a1a;
}

.step-block::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.step-block:hover::after {
    transform: scaleX(1);
}

.step-n {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    color: rgba(201, 168, 76, 0.12);
    line-height: 1;
    margin-bottom: 2rem;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ======== BENEFITS ======== */
.benefits-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: end;
    margin-bottom: 6rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: var(--surface);
    padding: 3rem 2.5rem;
    transition: all 0.3s var(--ease);
    cursor: default;
    border-radius: 20px;
}

.benefit-card:hover {
    background: #181818;
    transform: translateY(-4px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--gold);
    font-size: 1.2rem;
    border-radius: 10px;
}

.benefit-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.benefit-desc {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ======== TESTIMONIALS ======== */
.testimonials-bg {
    background: var(--dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 5rem;
}

.t-card {
    background: var(--surface);
    padding: 3.5rem;
    border-left: 2px solid transparent;
    transition: border-color 0.3s var(--ease);
    border-radius: 20px;
}

.t-card:hover {
    border-left-color: var(--gold);
}

.t-quote {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    color: rgba(201, 168, 76, 0.12);
    line-height: 0.7;
    margin-bottom: 1.5rem;
}

.t-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--light);
    font-style: italic;
}

/* ======== STATS ======== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-item {
    padding: 5rem 3rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.stats-item:last-child {
    border-right: none;
}

.stats-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    color: var(--gold);
    line-height: 1;
}

.stats-lbl {
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    margin-top: 1rem;
}

/* ======== CTA ======== */
.cta-section {
    text-align: center;
    padding: 12rem 0;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(201, 168, 76, 0.06), transparent 70%);
    pointer-events: none;
}

.cta-section .section-title {
    font-size: clamp(4rem, 10vw, 10rem);
    text-align: center;
}

.cta-section .section-body {
    margin: 2.5rem auto 4rem;
    text-align: center;
}

.cta-section .btn-primary {
    font-size: 1rem;
    padding: 1.5rem 4rem;
}

/* ======== FOOTER ======== */
footer {
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0;
}

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

.footer-copy {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ======== REVEAL ANIMATIONS ======== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======== RESPONSIVE ======== */
@media (max-width: 900px) {
    .hero h1 {
        font-size: clamp(4rem, 18vw, 7rem);
    }

    .about-grid,
    .benefits-intro {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-tag {
        right: 0;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stats {
        gap: 2.5rem;
    }

    .steps-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 4.5rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* Buttons on mobile - prevent text wrap */
    .btn-primary {
        padding: 1rem 1.8rem;
        font-size: 0.78rem;
        letter-spacing: 1px;
        white-space: nowrap;
    }

    .btn-nav {
        padding: 0.5rem 0.9rem;
        font-size: 0.65rem;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    @media (max-width: 380px) {
        .logo-img {
            height: 22px;
        }
        .btn-nav {
            padding: 0.4rem 0.7rem;
            font-size: 0.6rem;
            letter-spacing: 0;
        }
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }
}

/* ======== MODAL ======== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
}

.modal.active {
    display: flex;
}

/* Desktop: floating card centered */
.modal-content {
    background: #161616;
    border: 1px solid rgba(201, 168, 76, 0.4);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
}

/* Mobile: fullscreen */
@media (max-width: 768px) {
    .modal {
        padding: 0;
        align-items: flex-start;
    }
    .modal-content {
        width: 100vw;
        min-height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border: none;
        padding: 5rem 1.2rem 2rem;
        overflow-y: auto;
    }
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

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

.modal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.modal-logo {
    height: 35px;
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.modal-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

.reg-form {
    display: grid;
    gap: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--light);
}

.form-group input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.9rem 1.2rem;
    color: var(--white);
    font-family: inherit;
    border-radius: 12px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
}

.phone-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prefix {
    background: rgba(201, 168, 76, 0.12);
    color: var(--gold);
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
}

.form-questions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
}

.question-item p {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light);
}

.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.3s;
}

.radio-group label:hover {
    color: var(--white);
}

.radio-group input[type='radio'] {
    accent-color: var(--gold);
    width: 18px;
    height: 18px;
}

.full-width {
    grid-column: 1 / -1;
}

.question-item.full-width input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.9rem 1.2rem;
    color: var(--white);
    border-radius: 12px;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    padding: 1.2rem;
    margin-top: 1rem;
    cursor: pointer;
    border: none;
}

@media (max-width: 600px) {
    .form-grid, .form-questions {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .modal {
        padding: 0.5rem;
    }
    .modal-content {
        padding: 2rem 1.2rem;
        margin: 0.5rem auto;
        border-radius: 15px;
    }
    .modal-header h2 {
        font-size: 1.6rem;
    }
    .modal-logo {
        height: 25px;
        margin-bottom: 1rem;
    }
    .modal-header {
        margin-bottom: 1.5rem;
    }
    .form-questions {
        padding-top: 1.2rem;
    }
    .submit-btn {
        font-size: 0.8rem;
        padding: 1rem;
    }
}

/* ======== CUSTOM SCROLLBAR ======== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: #222;
    border: 2px solid var(--black);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Modal specific scrollbar */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    margin: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ======== TOAST NOTIFICATION ======== */
.toast {
    position: fixed;
    z-index: 999999;
    background: #1a1a1a;
    border: 1px solid var(--gold);
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    padding: 1.2rem 1.8rem;

    /* Desktop: bottom right */
    bottom: 30px;
    right: 30px;
    max-width: 360px;

    /* Hidden via opacity by default (no horizontal transform = no overflow) */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.toast.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toast-icon {
    font-size: 1.8rem;
    color: var(--gold);
    flex-shrink: 0;
}

.toast-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    margin: 0;
}

.toast-text {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0.2rem 0 0;
}

/* Mobile: compact at top, fade in only (no transform = no overflow) */
@media (max-width: 600px) {
    .toast {
        top: 15px;
        bottom: auto;
        left: 3%;
        right: 3%;
        width: 94%;
        max-width: 94vw;
        padding: 1rem;
        border-radius: 12px;
        backdrop-filter: blur(12px);
        background: rgba(26, 26, 26, 0.95);
        box-sizing: border-box;
        overflow: hidden; /* Ensure nothing spills out */
    }

    .toast-content {
        gap: 0.7rem;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
    }

    .toast-icon {
        font-size: 1.3rem;
        margin-top: 3px;
        flex-shrink: 0;
    }

    .toast-message {
        flex: 1;
        min-width: 0; /* Critical for wrapping text in flexbox */
        word-wrap: break-word; /* Force wrapping if needed */
        overflow-wrap: break-word;
    }

    .toast-title {
        font-size: 0.88rem;
        line-height: 1.3;
        white-space: normal; /* Force wrap */
    }

    .toast-text {
        font-size: 0.75rem;
        line-height: 1.4;
        color: var(--light);
        opacity: 0.9;
        white-space: normal; /* Force wrap */
        display: block;
        margin-top: 2px;
    }
}