/* ==========================================================================
   ADVENTURELAND ONLINE - Official Landing Page Styling
   Modern Dark Fantasy Glassmorphism Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
    --bg-main: #0a0d14;
    --bg-secondary: #0f1523;
    --gold-primary: #f5c242;
    --gold-hover: #ffd966;
    --gold-border: #c89b3c;
    --gold-glow: rgba(245, 194, 66, 0.35);
    --text-light: #f7fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --accent-blue: #38bdf8;
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    
    --card-bg: rgba(18, 26, 43, 0.75);
    --card-border: rgba(200, 155, 60, 0.25);
    
    --font-heading: 'Cinzel', Georgia, serif;
    --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================= Header & Navigation ================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 13, 20, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(200, 155, 60, 0.2);
    transition: background 0.3s, box-shadow 0.3s;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-light);
    margin-right: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

.brand-logo img {
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--gold-glow));
}

.brand-name {
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 1.25vw, 1.28rem);
    font-weight: 800;
    letter-spacing: 1.1px;
    white-space: nowrap;
    background: linear-gradient(135deg, #fff 30%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Floating Hero Logo */
.hero-floating-logo {
    margin-bottom: 24px;
}

.floating-logo-img {
    max-width: 340px;
    max-height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 0 25px var(--gold-glow));
    animation: floatLogo 4s ease-in-out infinite;
}

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

.site-header nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.1vw, 18px);
    list-style: none;
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: clamp(0.82rem, 0.9vw, 0.92rem);
    font-weight: 700;
    transition: color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link:hover {
    color: var(--gold-primary);
}

.server-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-green);
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.2;
    box-sizing: border-box;
    text-decoration: none;
}

.status-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulseDot 2s infinite;
    flex-shrink: 0;
    display: inline-block;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}

.header-actions .btn {
    padding: 6px 16px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* ================= Buttons ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-sizing: border-box;
}

.btn-primary {
    background: linear-gradient(180deg, #ffd966 0%, #c89b3c 100%);
    color: #1a1205;
    border: 1px solid #ffe89e;
    box-shadow: 0 4px 18px var(--gold-glow);
    white-space: nowrap !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 194, 66, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(200, 155, 60, 0.4);
    backdrop-filter: blur(8px);
    white-space: nowrap !important;
}

.btn-secondary:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-2px);
    background: rgba(245, 194, 66, 0.08);
}

.btn-large {
    padding: 14px 34px;
    font-size: 1.1rem;
    border-radius: 8px;
}

/* ================= Hero Section ================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 80px;
    background: url('../images/system/bg.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(10, 13, 20, 0.6) 0%, rgba(10, 13, 20, 0.92) 100%);
    z-index: 1;
}

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

.hero-tagline-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(245, 194, 66, 0.12);
    border: 1px solid rgba(245, 194, 66, 0.35);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--gold-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: 2px;
    background: linear-gradient(180deg, #ffffff 40%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.8));
}

.hero-catchy {
    font-size: 1.35rem;
    color: var(--text-muted);
    max-width: 740px;
    margin: 0 auto 36px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    border-top: 1px solid rgba(200, 155, 60, 0.2);
    padding-top: 32px;
}

.stat-item h4 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold-primary);
    font-weight: 800;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* ================= Features Grid ================= */
.section {
    padding: 100px 24px;
    position: relative;
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--gold-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 32px 24px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--gold-glow);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(245, 194, 66, 0.1);
    border: 1px solid rgba(245, 194, 66, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-box img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ================= Classes Showcase ================= */
.classes-section {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(200, 155, 60, 0.15);
    border-bottom: 1px solid rgba(200, 155, 60, 0.15);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 18px;
}

.class-card {
    background: rgba(10, 13, 20, 0.6);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 20px 12px;
    text-align: center;
    transition: all 0.25s ease;
}

.class-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 8px 20px var(--gold-glow);
}

.class-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #000;
    border: 2px solid var(--gold-border);
    margin: 0 auto 12px;
    object-fit: cover;
}

.class-card-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 4px;
}

.class-card-type {
    font-size: 0.8rem;
    color: var(--gold-primary);
    font-weight: 700;
}

/* ================= Monsters Showcase ================= */
.monster-strip {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.monster-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(18, 26, 43, 0.7);
    border: 1px solid rgba(200, 155, 60, 0.3);
    border-radius: 30px;
    padding: 8px 20px;
}

.monster-pill img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.monster-info-name {
    font-weight: 800;
    color: var(--gold-primary);
    font-size: 0.95rem;
}

.monster-info-level {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ================= Auth Modal Overlay ================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(5, 7, 13, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-box {
    position: relative;
    width: 450px;
    max-width: 92vw;
    background: rgba(15, 21, 35, 0.95);
    border: 2px solid var(--gold-border);
    border-radius: 12px;
    box-shadow: 0 0 35px var(--gold-glow), 0 20px 40px rgba(0,0,0,0.9);
    padding: 32px;
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

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

.auth-nav-tabs {
    display: flex;
    border-bottom: 2px solid rgba(200, 155, 60, 0.2);
    margin-bottom: 24px;
}

.auth-nav-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 10px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s, border-bottom 0.2s;
}

.auth-nav-tab.active {
    color: var(--gold-primary);
    border-bottom: 3px solid var(--gold-primary);
}

.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    background: rgba(7, 10, 18, 0.8);
    border: 1px solid rgba(200, 155, 60, 0.3);
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-glow);
}

.form-links {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 0.85rem;
}

.form-link {
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
}

.form-link:hover {
    color: var(--gold-primary);
}

.alert-message {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: none;
}

.alert-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--accent-red);
    color: #fca5a5;
}

.alert-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid var(--accent-green);
    color: #86efac;
}

/* ================= Footer ================= */
.site-footer {
    background: #05070a;
    border-top: 1px solid rgba(200, 155, 60, 0.2);
    padding: 60px 24px 30px;
    text-align: center;
}

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

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-primary);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.footer-desc {
    max-width: 600px;
    margin: 0 auto 24px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    list-style: none;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--gold-primary);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-dim);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy-left {
    text-align: left;
}

.footer-copy-right {
    text-align: right;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.footer-copy-right a {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s, text-shadow 0.2s;
}

.footer-copy-right a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--gold-glow);
}

@media (max-width: 600px) {
    .footer-copyright {
        flex-direction: column;
        text-align: center;
    }
    .footer-copy-left, .footer-copy-right {
        text-align: center;
    }
}

/* ================= Responsive ================= */
@media (max-width: 1200px) {
    .header-container {
        padding: 8px 16px;
        gap: 8px;
    }
    .brand-name {
        font-size: 1.08rem;
        letter-spacing: 0.8px;
    }
    .nav-links {
        gap: 8px;
    }
    .nav-link {
        font-size: 0.82rem;
    }
    .header-actions {
        gap: 6px;
    }
    .header-actions .btn {
        padding: 5px 12px;
        font-size: 0.8rem;
    }
    .server-status-pill {
        padding: 3px 8px;
        font-size: 0.74rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-catchy {
        font-size: 1.1rem;
    }
    .hero-stats-row {
        gap: 24px;
    }
}

/* ================= Game 3-Column Layout ================= */
.game-main-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
    min-height: calc(100vh - 120px);
}

.game-layout-left {
    flex-shrink: 0;
    width: 220px;
}

.game-layout-center {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.game-layout-right {
    flex-shrink: 0;
    width: 290px;
}

@media (max-width: 1024px) {
    .game-main-layout {
        flex-wrap: wrap;
    }
    .game-layout-left,
    .game-layout-right {
        width: 100%;
    }
}

/* ==========================================================================
   UNIVERSAL INTERACTIVE SYSTEM: BUTTON ANIMATIONS, RIPPLES & TOASTS
   ========================================================================== */

/* Tactile Button Micro-Interactions */
button, 
.btn, 
.page-btn, 
.menu-2-nav-link, 
.nav-btn, 
.craft-btn, 
.shop-btn, 
.btn-action, 
.btn-stat-plus, 
.craft-chip-btn, 
.ss-prompt-chip {
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1), 
                background 0.2s ease, 
                border-color 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}

button:hover:not(:disabled):not(.world-nav-btn),
.btn:hover:not(.disabled),
.page-btn:hover:not(.disabled),
.nav-btn:hover:not(.world-nav-btn),
.craft-chip-btn:hover,
.ss-prompt-chip:hover {
    transform: translateY(-2px);
}

button:active:not(:disabled):not(.world-nav-btn),
.btn:active:not(.disabled),
.page-btn:active:not(.disabled),
.menu-2-nav-link:active,
.nav-btn:active:not(.world-nav-btn),
.craft-btn:active,
.shop-btn:active,
.btn-stat-plus:active,
.craft-chip-btn:active,
.ss-prompt-chip:active {
    transform: translateY(1px) scale(0.97) !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

/* Tactile Click Ripple */
.ao-ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: aoRippleEffect 0.55s ease-out;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(245, 194, 66, 0.2) 60%, transparent 80%);
    pointer-events: none;
    z-index: 99;
}
@keyframes aoRippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Shimmer Sweep Animation for CTA Buttons */
.btn-shimmer,
.craft-btn-forge,
.dr-claim-btn {
    position: relative;
    overflow: hidden;
}
.btn-shimmer::after,
.craft-btn-forge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(25deg);
    animation: aoShimmerSweep 4.5s infinite;
    pointer-events: none;
}
@keyframes aoShimmerSweep {
    0%, 75% { left: -60%; }
    100% { left: 140%; }
}

/* Universal Toast Notifications */
.ao-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 420px;
}
.ao-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 1px rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    font-size: 0.92rem;
    font-weight: 700;
    pointer-events: auto;
    animation: aoToastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.35s ease;
}
.ao-toast-leaving {
    opacity: 0;
    transform: translateX(40px) scale(0.95);
}
@keyframes aoToastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.ao-toast-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}
.ao-toast-msg {
    flex: 1;
    line-height: 1.35;
}
.ao-toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s;
}
.ao-toast-close:hover {
    color: #ffffff;
}
.ao-toast-success {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.92), rgba(15, 23, 42, 0.95));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(16, 185, 129, 0.3);
}
.ao-toast-error {
    border-color: #ef4444;
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.92), rgba(15, 23, 42, 0.95));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(239, 68, 68, 0.3);
}
.ao-toast-gold {
    border-color: #f5c242;
    background: linear-gradient(135deg, rgba(120, 53, 15, 0.92), rgba(15, 23, 42, 0.95));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 194, 66, 0.3);
}
.ao-toast-info {
    border-color: #38bdf8;
    background: linear-gradient(135deg, rgba(12, 74, 110, 0.92), rgba(15, 23, 42, 0.95));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(56, 189, 248, 0.3);
}

/* Universal Smooth Modal Pop-In */
.modal,
.craft-modal-backdrop,
.pet-modal-overlay,
.dr-modal-overlay,
.shop-modal,
.castle-modal-overlay,
.inv-modal-overlay {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}
.modal-content,
.craft-modal-content,
.pet-modal-content,
.dr-modal-container,
.shops-modal-container,
.castle-modal-box,
.inv-modal-box {
    animation: aoModalPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
@keyframes aoModalPopIn {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* SFX Sound Toggle Button in Header */
.menu3-sfx-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(200, 155, 60, 0.5);
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #f8fafc;
}
.menu3-sfx-toggle:hover {
    background: rgba(200, 155, 60, 0.25);
    border-color: #f5c242;
    transform: translateY(-1px);
}



