:root {
    --bg-dark: #0d0d0d;
    --bg-card: rgba(25, 25, 25, 0.7);
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa7c11;
    --gold-gradient: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%);
    --gold-gradient-hover: linear-gradient(135deg, #fff2c8 0%, #e6c148 50%, #c49117 100%);
    --text-main: #f8f8f8;
    --text-muted: #a0a0a0;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --glass-border: 1px solid rgba(212, 175, 55, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Mobile Container */
.app-container {
    width: 100%;
    max-width: 480px;
    background: radial-gradient(circle at top right, #1a1a1a 0%, #0d0d0d 100%);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Screens */
.screen {
    display: none;
    flex: 1;
    min-height: 100vh;
    width: 100%;
    flex-direction: column;
    animation: fadeIn 0.4s ease-out;
}

.screen.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Auth Screen */
#auth-screen {
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: url('https://images.unsplash.com/photo-1540541338287-41700207dee6?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
    position: relative;
    overflow-y: auto;
}

#auth-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(13, 13, 13, 0.8) 0%, rgba(13, 13, 13, 0.95) 100%);
}

.auth-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.logo-container {
    margin-bottom: 3rem;
}

.logo-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 4px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.2rem;
}

.logo-subtitle {
    font-size: 0.8rem;
    letter-spacing: 6px;
    color: var(--gold-light);
    text-transform: uppercase;
}

.auth-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    box-shadow: var(--glass-shadow);
}

.auth-heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gold-primary);
}

/* Force Gold on Auth Screen to prevent Light Mode Green leakage */
#auth-screen .logo-icon,
#auth-screen .logo-title {
    background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

#auth-screen .logo-subtitle,
#auth-screen .auth-heading,
#auth-screen .form-group i,
#auth-screen .auth-link a {
    color: #d4af37 !important;
}

#auth-screen .gold-btn {
    background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%) !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
}

/* Force Dark Inputs on Auth Screen regardless of Light Mode */
#auth-screen .form-group input {
    background: rgba(0, 0, 0, 0.4) !important;
    color: white !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
}

#auth-screen .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Fix Autofill background forcing white/blue on mobile */
#auth-screen input:-webkit-autofill,
#auth-screen input:-webkit-autofill:hover,
#auth-screen input:-webkit-autofill:focus {
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(13, 13, 13, 0.9) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.auth-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.role-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Buttons */
button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.gold-btn {
    background: var(--gold-gradient);
    color: #000;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.gold-btn:active {
    transform: scale(0.98);
}

.outline-btn {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    padding: 1rem;
    border-radius: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.outline-btn:active {
    background: rgba(212, 175, 55, 0.1);
}

.sm-gold-btn {
    background: var(--gold-gradient);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Main Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 50;
    background: url('https://images.unsplash.com/photo-1540541338287-41700207dee6?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
}

.app-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 13, 13, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.app-header>* {
    position: relative;
    z-index: 1;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.2rem;
}

.avatar-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.user-info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold-light);
}

.icon-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* App Content Area */
.app-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    padding-bottom: 80px;
    /* Space for bottom nav */
}

.module-section {
    margin-bottom: 2.5rem;
}

.pb-100 {
    padding-bottom: 100px;
}

.section-header {
    margin-bottom: 1.2rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.gold-line {
    height: 2px;
    width: 40px;
    background: var(--gold-gradient);
    margin-top: 0.5rem;
    border-radius: 2px;
}

/* Cards */
.card-glass {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.card-header {
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

.gold-text {
    color: var(--gold-primary);
}

.mt-15 {
    margin-top: 15px;
}

/* List Groups */
.list-group {
    display: flex;
    flex-direction: column;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
    cursor: pointer;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item:active {
    background: rgba(255, 255, 255, 0.05);
}

.item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.item-details {
    flex: 1;
}

.price-tag {
    font-weight: 700;
    color: var(--gold-primary);
}

.item-details h4 {
    font-size: 1rem;
    font-weight: 500;
}

margin-bottom: 0.2rem;
}

.item-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.chevron {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.price-tag {
    font-weight: 600;
    color: var(--gold-light);
    font-size: 1rem;
}

/* Grid Cards */
.grid-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.grid-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 160px;
    border: var(--glass-border);
}

.bg-cocoons {
    background: url('https://images.unsplash.com/photo-1499793983690-e29da59ef1c2?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=80') center/cover;
}

.bg-camperisti {
    background: url('https://images.unsplash.com/photo-1523987355523-c7b5b0dd90a7?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=80') center/cover;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.card-content h4 {
    color: white !important;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Promo Sliding Banner */
.promo-slider-container {
    width: 100%;
    overflow: hidden;
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.promo-slider {
    display: flex;
    gap: 15px;
    padding: 0 5px;
    width: max-content;
    animation: scrollMarquee 25s linear infinite;
}

.promo-slider:hover,
.promo-slider:active {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 7.5px));
    }
}

.promo-slide {
    width: 280px;
    flex-shrink: 0;
    height: 160px;
    border-radius: 16px;
    border: var(--glass-border);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.slide-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gold-primary);
    margin-bottom: 0.3rem;
}

.slide-content p {
    font-size: 0.8rem;
    color: #eee;
    margin-bottom: 0.8rem;
}

/* Dining Cards */
.dining-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dining-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 180px;
    border: var(--glass-border);
}

.bg-barbozza {
    background: url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
}

.bg-sands {
    background: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
}

.dining-card .card-content {
    flex-direction: column;
    align-items: flex-start;
}

.dining-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--gold-primary);
    margin-bottom: 0.3rem;
}

.dining-card p {
    font-size: 0.9rem;
    color: #fff;
}

/* Contact Cards */
.contact-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1.2rem;
}

.contact-icon {
    font-size: 2rem;
    color: var(--gold-primary);
}

.contact-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-info a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    padding: 0.6rem 0.5rem;
    padding-bottom: env(safe-area-inset-bottom, 0.6rem);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    z-index: 9999;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    gap: 0.25rem;
    font-size: 0.7rem;
    transition: color 0.3s;
}

.nav-item i {
    font-size: 1.2rem;
}

.nav-item.active {
    color: var(--gold-primary);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 999999;
    align-items: flex-end;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-dark);
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 30px 30px 0 0;
    padding: 2rem;
    border-top: var(--glass-border);
    position: relative;
    animation: slideUp 0.3s ease-out;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-title {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.dues-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.due-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.due-type {
    font-weight: 500;
}

.due-price {
    color: var(--gold-light);
    font-weight: 600;
}

/* Auth Forms */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.form-group {
    position: relative;
    display: flex;
    align-items: center;
}

.form-group i {
    position: absolute;
    left: 15px;
    color: var(--gold-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-main);
}

.auth-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 15px;
}

.auth-link a {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

.error-msg {
    color: #e74c3c;
    font-size: 0.85rem;
    min-height: 10px;
    margin: -5px 0 -5px 0;
    text-align: left;
}

.success-msg {
    color: #2ecc71;
    font-size: 0.85rem;
    min-height: 10px;
    margin: -5px 0 -5px 0;
    text-align: left;
}

/* --- LIGHT MODE VARIABLES --- */
body.light-mode {
    --bg-dark: #f0f0f0;
    --bg-card: rgba(255, 255, 255, 0.9);
    --text-main: #1a1a1a;
    --text-muted: #555555;

    /* VIP Green Scheme for Light Mode */
    --gold-primary: #155d27;
    --gold-light: #2b9348;
    --gold-dark: #0f431c;
    --gold-gradient: linear-gradient(135deg, #2b9348 0%, #155d27 50%, #0f431c 100%);
    --gold-gradient-hover: linear-gradient(135deg, #37b258 0%, #1a7531 50%, #135724 100%);

    --glass-border: 1px solid rgba(21, 93, 39, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

body.light-mode .app-container {
    background: radial-gradient(circle at top right, #ffffff 0%, #e0e0e0 100%);
}

body.light-mode .app-header::before {
    background: rgba(255, 255, 255, 0.7);
}

body.light-mode .bottom-nav {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .card-glass {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .list-item {
    border-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .card-header {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .bottom-nav .nav-item {
    color: #888;
}

body.light-mode .bottom-nav .nav-item.active {
    color: var(--gold-primary);
}

body.light-mode .due-item {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode #main-screen .form-group input,
body.light-mode #main-screen .form-group select,
body.light-mode #main-screen input[type="date"],
body.light-mode #main-screen input[type="number"],
body.light-mode #main-screen input[type="time"] {
    background: rgba(255, 255, 255, 0.8) !important;
    color: #000 !important;
}

body.light-mode .icon-btn {
    background: rgba(0, 0, 0, 0.05);
}

body.light-mode .dining-card p {
    color: #f0f0f0;
}

/* --- INFINITE SLIDER --- */
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    margin-bottom: 25px;
    border: var(--glass-border);
    height: 160px;
    box-shadow: var(--glass-shadow);
}

.slider-track {
    display: flex;
    gap: 10px;
    width: calc(250px * 8 + 10px * 8);
    animation: scroll 20s linear infinite;
    height: 100%;
}

.slider-slide {
    width: 250px;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    pointer-events: none;
}

.slide-text {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 4 - 10px * 4));
    }
}

/* --- NEW HERO HEADER STYLE --- */
.hero-header {
    width: 100%;
    min-height: 320px;
    background: linear-gradient(135deg, rgba(21, 93, 39, 0.85) 0%, rgba(13, 13, 13, 0.9) 100%),
        url('https://images.unsplash.com/photo-1540541338287-41700207dee6?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
    padding: 2.5rem 1.5rem;
    position: relative;
    border-radius: 0 0 45px 45px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

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

.hero-logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: white;
}

.hero-logo-text h2 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.hero-logo-text p {
    font-size: 0.6rem;
    opacity: 0.7;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.hero-greeting {
    margin-top: 1rem;
}

.hero-greeting p {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-greeting h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-top: 5px;
    letter-spacing: -1px;
}

/* Wallet Overlap Card */
.wallet-overlap-card {
    background: #1a1c24;
    border-radius: 24px;
    padding: 1.8rem;
    margin: -70px 1.5rem 2rem 1.5rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wallet-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.wallet-label-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.wallet-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.wallet-status {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 800;
}

.wallet-balance {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
}

.wallet-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.sand-style {
    background: #f4e4bc;
    color: #b8860b;
    box-shadow: 0 4px 10px rgba(184, 134, 11, 0.2);
}

body.light-mode .wallet-overlap-card {
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .wallet-label {
    color: rgba(0, 0, 0, 0.4);
}

body.light-mode .wallet-balance {
    color: #1a1a1a;
}

body.light-mode .wallet-status {
    background: rgba(46, 204, 113, 0.15);
    color: #155d27;
}

body.light-mode .sand-style {
    background: #e8f5e9;
    color: #155d27;
    box-shadow: 0 4px 12px rgba(21, 93, 39, 0.15);
}

body.light-mode .profile-wallet-card {
    background: linear-gradient(135deg, #fcf4e0 0%, #ffffff 100%) !important;
    border: 1px solid rgba(166, 124, 0, 0.2) !important;
}

body.light-mode .wallet-balance-text {
    color: #155d27 !important;
}

body.light-mode .section-title {
    color: #1a1a1a;
}

body.light-mode .gold-text {
    color: #155d27;
}

body.light-mode .chevron {
    color: #155d27;
}

body.light-mode .card-overlay,
body.light-mode .slide-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
}

.profile-info-card {
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1540541338287-41700207dee6?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover !important;
    color: white !important;
}

.ip-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

body.light-mode .profile-info-card {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.95)),
        url('https://images.unsplash.com/photo-1540541338287-41700207dee6?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover !important;
    color: #1a1a1a !important;
}

body.light-mode .ip-text {
    color: #666;
}



body.light-mode .hero-header {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.8) 0%, rgba(21, 93, 39, 0.9) 100%),
        url('https://images.unsplash.com/photo-1540541338287-41700207dee6?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
    color: white;
}

body.light-mode .hero-logo-text h2,
body.light-mode .hero-logo-text p,
body.light-mode .slide-content h3,
body.light-mode .dining-card h3 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* subtle shadow for readability */
}

/* Force all buttons to be gold in light mode */
body.light-mode .gold-btn,
body.light-mode .sm-gold-btn {
    background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%) !important;
    color: #000 !important;
}

body.light-mode .outline-btn {
    color: #d4af37 !important;
    border-color: #d4af37 !important;
}

/* Restore Gold */
body.light-mode .hero-greeting p {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.light-mode .hero-greeting h1 {
    color: white !important;
}

/* Quick Access Cards */
.quick-access-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.qa-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qa-card:active {
    transform: scale(0.98);
}

body.light-mode .qa-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.qa-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 15px;
}

body.light-mode .qa-icon {
    background: rgba(46, 204, 113, 0.1);
    color: var(--gold-primary);
}

.qa-content {
    flex: 1;
}

.qa-content h4 {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 4px;
    font-weight: 600;
}

.qa-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
}