/* ==========================================================================
   TO'Y TAKLIFNOMASI PORTALI - PREMIUM STYLE SHEET (VANILLA CSS)
   ========================================================================== */

/* 1. DESIGN VARIABLES & THEMES */
:root {
    --font-primary: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-accent: 'Great Vibes', cursive;
    
    /* General Colors */
    --color-dark: #121214;
    --color-light: #f7f9fa;
    --color-gold: #d4af37;
    --color-gold-light: #f3e5ab;
    --color-gold-dark: #aa7c11;
    
    /* Theme Wedding */
    --wedding-primary: #aa7c11; /* Luxury gold */
    --wedding-secondary: #fffefb;
    --wedding-glow: rgba(212, 175, 55, 0.4);
    
    /* Theme Sunnat */
    --sunnat-primary: #1e3c72; /* Royal blue */
    --sunnat-accent: #d4af37;  /* Royal Gold */
    --sunnat-bg: #0f2027;
    
    /* Theme Qiz Bazmi */
    --qiz-primary: #c94b7c; /* Deep pink/rose */
    --qiz-secondary: #fce4ec; /* Lavender pink */
    --qiz-bg: #4a148c; /* Purple glow */
    
    /* Utility */
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.35);
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.22);
    --glass-blur: blur(18px);
}

/* 2. BASE RESET & TYPOGRAPHY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-dark);
    color: var(--color-light);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* 3. LAYOUT & VIEW CONTROLLER */
#app {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.app-view {
    display: none;
    min-height: 100vh;
    width: 100%;
    position: relative;
    padding: 2rem 1rem;
}

.app-view.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeInView 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 18, 20, 0.95) 0%, rgba(30, 30, 35, 0.85) 100%);
    z-index: 1;
}

/* 4. HOME / LANDING VIEW */
#homeView {
    background: radial-gradient(circle at center, #232526 0%, #060709 100%);
}

.landing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 3rem 1.5rem;
}

.main-header {
    text-align: center;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 30%, var(--color-gold-light) 70%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.main-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-gold);
    margin: 0.8rem auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--color-gold);
}

.main-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    letter-spacing: 1px;
}


/* SaaS Quick Creation Panel */
.creation-panel {
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 2.2rem;
    text-align: center;
}

.panel-section-title {
    font-size: 1.4rem;
    color: var(--color-gold-light);
    margin-bottom: 0.4rem;
}

.panel-section-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.creation-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.creation-buttons .btn {
    min-width: 180px;
    font-weight: 600;
}

.creation-buttons .btn:hover {
    background: var(--color-gold);
    color: var(--color-dark);
    border-color: var(--color-gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}


/* Dashboard list header */
.dashboard-section-wrapper {
    width: 100%;
    max-width: 1100px;
    margin-top: 1rem;
}

.dashboard-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.8rem;
}

.dashboard-list-title {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 600;
}


/* Grid layout for landing cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    width: 100%;
}

.event-hub-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    height: 480px;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow-premium);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-hub-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(212, 175, 55, 0.15);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 1;
}

.event-hub-card:hover .card-bg {
    transform: scale(1.1);
}

.event-hub-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.4) 50%, rgba(10, 10, 12, 0.1) 100%);
    z-index: 2;
}

.card-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    width: 100%;
}

.event-badge {
    background: var(--color-gold);
    color: var(--color-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.event-badge.royal {
    background: var(--sunnat-primary);
    color: #fff;
}

.event-badge.pink {
    background: var(--qiz-primary);
    color: #fff;
}

/* Paid/Unpaid Status Badges inside Dashboard Cards */
.card-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.card-status-badge.paid {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.4);
    color: #81c784;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.25);
}

.card-status-badge.unpaid {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.4);
    color: #e57373;
}

.card-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.card-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Dashboard Actions grid */
.dashboard-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.dashboard-actions-grid .btn {
    font-size: 0.75rem;
    padding: 0.6rem 0.3rem;
    border-radius: 8px;
    font-weight: 600;
    justify-content: center;
}

.dashboard-actions-grid .btn-danger {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #e57373;
}

.dashboard-actions-grid .btn-danger:hover {
    background: #f44336;
    color: #fff;
    border-color: #f44336;
}

.btn-locked {
    background: rgba(212, 175, 55, 0.15) !important;
    border: 1px dashed var(--color-gold) !important;
    color: var(--color-gold-light) !important;
}

.btn-locked:hover {
    background: var(--color-gold) !important;
    color: var(--color-dark) !important;
}

.home-footer {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1rem;
}


/* 5. INVITATION VIEW */
#invitationView {
    padding: 5rem 1rem 3rem;
}

.invitation-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: background-image 0.5s ease-in-out;
}

.invitation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background: linear-gradient(180deg, rgba(18, 18, 20, 0.75) 0%, rgba(18, 18, 20, 0.9) 100%);
}

.invitation-container {
    max-width: 650px;
    z-index: 2;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 32px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.inv-decorative-border {
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 15px;
    right: 15px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    pointer-events: none;
    border-radius: 20px;
}

/* Back Button */
.back-to-hub-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.back-to-hub-btn:hover {
    background: var(--color-gold);
    color: var(--color-dark);
    border-color: var(--color-gold);
    transform: translateX(-4px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Invitation Header */
.inv-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.inv-icon-holder {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-gold-light) 0%, var(--color-gold) 100%);
    color: var(--color-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    box-shadow: var(--shadow-glow);
    animation: pulseGlow 3s infinite ease-in-out;
}

.inv-title {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 400;
    color: var(--color-gold-light);
    margin-bottom: 0.8rem;
}

.inv-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0.8rem auto 1.5rem;
    max-width: 300px;
}

.inv-divider .line {
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

.inv-divider .star {
    color: var(--color-gold);
    font-size: 0.8rem;
    animation: rotateStar 10s infinite linear;
}

.inv-names {
    font-family: var(--font-accent);
    font-size: 4rem;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}

.inv-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto;
    font-style: italic;
}


/* 6. COUNTDOWN TIMER */
.countdown-section {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    padding: 1.8rem 1rem;
    text-align: center;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.countdown-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold-light);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.timer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 75px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.6rem 0.4rem;
    position: relative;
    overflow: hidden;
}

.timer-val {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.font-mono {
    font-family: 'Courier New', Courier, monospace;
}

.timer-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.2rem;
}

.ms-unit {
    border-color: rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.05);
    min-width: 85px;
}

.ms-unit .timer-val {
    color: var(--color-gold-light);
}

.timer-finished-msg {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-gold-light);
    animation: bounceSlow 2s infinite ease-in-out;
    padding: 0.5rem 0;
}


/* 7. DETAILS SECTION */
.details-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease;
}

.detail-item:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.08);
}

.detail-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--color-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.detail-text h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold-light);
    margin-bottom: 0.2rem;
}

.detail-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.text-secondary {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.85rem !important;
    margin-top: 0.2rem;
}

.detail-actions {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.detail-actions .btn {
    flex: 1;
    justify-content: center;
}


/* 8. GLASS SUBPANELS (GIFT & RSVP) */
.glass-subpanel {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.8rem;
    margin-bottom: 2rem;
}

.glass-subpanel h4 {
    font-size: 1.1rem;
    color: var(--color-gold-light);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.gift-desc, .rsvp-desc, .fortune-desc, .sky-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.card-copy-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.card-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.card-holder {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.copy-success-msg {
    display: none;
    font-size: 0.8rem;
    color: #4caf50;
    margin-top: 0.6rem;
    text-align: center;
    animation: fadeIn 0.3s ease;
}


/* RSVP Form Styles */
.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

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

.form-row {
    display: flex;
    gap: 1rem;
}

.flex-1 {
    flex: 1;
}

label {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

input[type="text"], input[type="url"], input[type="datetime-local"], select, textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: #fff;
    transition: all 0.3s ease;
    width: 100%;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

select option {
    background-color: var(--color-dark);
    color: #fff;
}

textarea {
    resize: vertical;
}

.success-alert {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #81c784;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    font-size: 0.9rem;
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


/* 9. GUESTBOOK / TABRIKNOMALAR */
.guestbook-section {
    margin-top: 3rem;
}

.guestbook-title {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.guestbook-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--color-gold);
    margin: 0.5rem auto 0;
}

.comments-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.comments-container::-webkit-scrollbar {
    width: 6px;
}
.comments-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}
.comments-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.comments-container::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

.comment-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.2rem;
    transition: all 0.3s ease;
    animation: slideUp 0.4s ease;
}

.comment-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-gold-light);
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.badge-rsvp {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 30px;
    text-transform: uppercase;
}

.badge-rsvp.yes {
    background: rgba(76, 175, 80, 0.15);
    color: #81c784;
}

.badge-rsvp.no {
    background: rgba(244, 67, 54, 0.15);
    color: #e57373;
}

.comment-body {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    word-break: break-word;
}

.comment-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}


/* 10. BUTTONS SYSTEM */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.6rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    text-align: center;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold-light);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 8px;
}

.btn-icon {
    width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 10px;
    flex-shrink: 0;
}

.btn-success {
    background: #4caf50 !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3) !important;
}


/* 11. AMBIENT MUSIC WIDGET (WITH ACTIVE EQ VISUALIZER & DJ EXPAND) */
.music-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

#musicToggleBtn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(18, 18, 20, 0.8);
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    cursor: pointer;
    box-shadow: var(--shadow-premium), 0 0 15px rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

#musicToggleBtn:hover {
    transform: scale(1.1);
}

#musicToggleBtn.playing {
    background: var(--color-gold);
    color: var(--color-dark);
    border-color: var(--color-gold);
}

.eq-visualizer {
    display: none;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
}

#musicToggleBtn i {
    display: block;
}

#musicToggleBtn.playing i {
    display: none;
}

#musicToggleBtn.playing .eq-visualizer {
    display: flex;
}

.eq-bar {
    width: 3px;
    height: 4px;
    background-color: var(--color-dark);
    border-radius: 2px;
}

#musicToggleBtn.playing .eq-bar:nth-child(1) { animation: eqBounce 0.8s ease infinite alternate; }
#musicToggleBtn.playing .eq-bar:nth-child(2) { animation: eqBounce 0.5s ease infinite alternate; animation-delay: 0.2s; }
#musicToggleBtn.playing .eq-bar:nth-child(3) { animation: eqBounce 0.7s ease infinite alternate; animation-delay: 0.4s; }
#musicToggleBtn.playing .eq-bar:nth-child(4) { animation: eqBounce 0.6s ease infinite alternate; animation-delay: 0.1s; }

@keyframes eqBounce {
    0% { height: 4px; }
    100% { height: 16px; }
}

.dj-board {
    background: rgba(18, 18, 20, 0.85);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 0.8rem;
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: slideUp 0.3s ease;
    width: 180px;
}

.dj-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-gold-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dj-pads {
    display: flex;
    gap: 0.4rem;
    width: 100%;
}

.dj-pad {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 8px;
    padding: 0.5rem 0.2rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    transition: all 0.2s ease;
}

.dj-pad:hover {
    background: var(--color-gold);
    color: var(--color-dark);
    border-color: var(--color-gold);
}

.dj-pad:active {
    transform: scale(0.9);
}

.dj-pad i {
    font-size: 1rem;
}

.dj-pad span {
    font-size: 0.55rem;
    font-weight: 500;
}


/* ==========================================================================
   INTERACTIVE REVOLUTIONS (ENVELOPE, PARTICLES, POLLS, FORTUNES, SKY)
   ========================================================================== */

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

.envelope-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
}

.envelope-overlay.opened {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.envelope-card {
    width: 100%;
    max-width: 480px;
    padding: 3.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 28px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    position: relative;
    overflow: hidden;
    animation: zoomIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.envelope-decor {
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 15px;
    right: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 18px;
    pointer-events: none;
}

.env-inv-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-gold-light);
    margin-bottom: 1.5rem;
}

.env-names {
    font-family: var(--font-accent);
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    line-height: 1.1;
}

.env-invite-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    font-weight: 300;
}

.wax-seal-btn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, #f7d070 0%, #d4af37 50%, #aa7c11 100%);
    border: none;
    box-shadow: 0 8px 25px rgba(170, 124, 17, 0.5), inset 0 2px 4px rgba(255,255,255,0.4), inset 0 -4px 8px rgba(0,0,0,0.3);
    cursor: pointer;
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    animation: waxPulse 2.5s infinite ease-in-out;
}

.wax-seal-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(170, 124, 17, 0.7);
}

.wax-seal-btn:active {
    transform: scale(0.95);
}

.seal-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #4a3607;
    font-weight: 700;
}

.seal-inner i {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.seal-inner span {
    font-size: 0.65rem;
    letter-spacing: 1px;
}

@keyframes waxPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 8px 30px rgba(170, 124, 17, 0.6), 0 0 20px rgba(212, 175, 55, 0.2); }
}


/* 12. INTERACTIVE POLL DESIGNS */
.poll-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.poll-option-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    text-align: left;
}

.poll-option-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.poll-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: rgba(212, 175, 55, 0.12);
    z-index: 0;
    transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.poll-option-btn.voted .poll-progress {
    background: rgba(212, 175, 55, 0.2);
}

.poll-option-text {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.poll-percentage {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-gold-light);
    display: none;
}

.poll-option-btn.voted .poll-percentage {
    display: inline-block;
}


/* 13. TO'Y BASHORATI (MAGIC CHEST GAMIFICATION) */
.fortune-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

.magic-chest-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    outline: none;
}

.chest-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.magic-chest-btn:hover .chest-icon-wrapper {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--color-gold);
    transform: scale(1.08);
}

.chest-icon-wrapper i {
    font-size: 2.2rem;
    color: var(--color-gold-light);
    transition: transform 0.3s ease;
}

.chest-shake i {
    animation: shakeChest 0.5s ease 2;
}

.chest-btn-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-gold-light);
    text-transform: uppercase;
}

.magic-stars span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.chest-shake .magic-stars span:nth-child(1) { animation: flyStar1 1s ease forwards; }
.chest-shake .magic-stars span:nth-child(2) { animation: flyStar2 1s ease forwards; }
.chest-shake .magic-stars span:nth-child(3) { animation: flyStar3 1s ease forwards; }

.fortune-result {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    width: 100%;
    text-align: center;
    animation: zoomIn 0.4s ease forwards;
}

.fortune-quote {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.fortune-quote i {
    color: var(--color-gold-dark);
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.fortune-quote p {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.5;
}

@keyframes shakeChest {
    0%, 100% { transform: rotate(0); }
    20%, 60% { transform: rotate(-10deg); }
    40%, 80% { transform: rotate(10deg); }
}

@keyframes flyStar1 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(-30px, -40px) scale(0); opacity: 0; }
}
@keyframes flyStar2 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(30px, -45px) scale(0); opacity: 0; }
}
@keyframes flyStar3 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(0, -50px) scale(0); opacity: 0; }
}


/* 14. SEHRLI TILAKLAR OSMONI (FLOATING HELIUM BALLOONS) */
.sky-container {
    height: 260px;
    background: radial-gradient(ellipse at bottom, #111b27 0%, #06070a 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
}

.sky-balloon-heart {
    position: absolute;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatBalloon 15s infinite linear;
    transition: transform 0.3s ease;
}

.sky-balloon-heart .heart-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sky-balloon-heart .heart-text {
    position: relative;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    padding-bottom: 8px; /* Slightly offset up for heart shape */
    text-transform: capitalize;
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sky-balloon-heart::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.45);
    z-index: 0;
}

.sky-balloon-heart:hover {
    transform: scale(1.2) !important;
    z-index: 10;
}

@keyframes floatBalloon {
    0% {
        bottom: -90px;
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(20px) rotate(5deg);
    }
    100% {
        bottom: 300px;
        transform: translateX(-20px) rotate(-5deg);
    }
}


/* 15. FLOATING BALLOON EXPANSION MODAL SPECIFICS */
.balloon-msg-header {
    margin-bottom: 1.5rem;
}

.balloon-msg-icon {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    animation: floatBalloonSmall 3s ease-in-out infinite alternate;
}

@keyframes floatBalloonSmall {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.balloon-msg-body {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.8rem;
    margin-bottom: 1.8rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0.8rem;
}

.balloon-msg-body i {
    color: var(--color-gold-dark);
    font-size: 0.9rem;
}

.balloon-msg-body p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-style: italic;
}


/* ==========================================================================
   NEW ADVANCED CUSTOM ADDITIONS (DRESS CODE, LOVE QUIZ, WISHLIST)
   ========================================================================== */

/* 16. DRESS CODE PALETTE & TIP */
.dresscode-palette {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.dresscode-color {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    border: 2.5px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    position: relative;
}

.dresscode-color:hover, .dresscode-color.active {
    transform: scale(1.18);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.25), 0 0 15px rgba(212, 175, 55, 0.4);
}

.dresscode-tip {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    font-size: 0.8rem;
    color: var(--color-gold-light);
    animation: fadeIn 0.4s ease;
}

.dresscode-tip i {
    font-size: 1.1rem;
    color: var(--color-gold);
}


/* 17. LOVE QUIZ BOX & OPTIONS */
.quiz-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.quiz-question-container {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.8rem;
}

.quiz-counter {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-gold-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quiz-question {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.quiz-opt-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    cursor: pointer;
    text-align: left;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.25s ease;
    font-weight: 500;
}

.quiz-opt-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.quiz-opt-btn.correct {
    background: rgba(76, 175, 80, 0.2) !important;
    border-color: #4caf50 !important;
    color: #81c784 !important;
}

.quiz-opt-btn.incorrect {
    background: rgba(244, 67, 54, 0.2) !important;
    border-color: #f44336 !important;
    color: #e57373 !important;
}

.quiz-feedback {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0;
    animation: slideUp 0.3s ease;
}

.quiz-feedback.correct-text { color: #81c784; }
.quiz-feedback.incorrect-text { color: #e57373; }

.quiz-score-board {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 2.2rem;
    animation: zoomIn 0.4s ease forwards;
}

.score-icon-wrap {
    font-size: 3rem;
    color: var(--color-gold);
    animation: pulseGlowSmall 2s infinite ease-in-out;
    margin-bottom: 0.8rem;
}

@keyframes pulseGlowSmall {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(212,175,55,0.4)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 15px rgba(212,175,55,0.7)); }
}

.quiz-score-board h5 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.4rem;
}

.quiz-score-board p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}


/* 18. INTERACTIVE GIFT WISHLIST ITEMS */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.wishlist-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.wishlist-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

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

.wishlist-item h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0.2rem;
}

.wishlist-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 30px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
}

.wishlist-badge.free {
    background: rgba(76, 175, 80, 0.15);
    color: #81c784;
}

.wishlist-badge.taken {
    background: rgba(212, 175, 55, 0.15);
    color: var(--color-gold-light);
}

.wishlist-item.reserved {
    background: rgba(76, 175, 80, 0.05);
    border-color: rgba(76, 175, 80, 0.2);
}
.wishlist-item.reserved .wishlist-icon {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.2);
    color: #81c784;
}


/* 19. PREMIUM BANNER & STATUS */
.premium-status-banner {
    margin: -3rem -2rem 2.5rem;
    padding: 1rem 2rem;
    background: rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
}

.premium-status-banner.activated {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-gold-light);
}

.status-badge.active-mode {
    color: #81c784;
}

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


/* 20. LOVE STORY MEDIA SECTIONS */
.media-section {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 0;
}

.media-block h4 {
    font-size: 1.15rem;
    color: var(--color-gold-light);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Gallery Slider Styles */
.gallery-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-premium);
}

.gallery-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Premium dynamic blurred backing carousel styles */
.slide-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    flex-shrink: 0;
}

.slide-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px) brightness(0.45);
    z-index: 1;
    transform: scale(1.2); /* prevents white/blurred edges */
}

.slide-img {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    z-index: 2;
    transition: transform 0.3s ease;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(18, 18, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    transition: all 0.3s ease;
}

.gallery-nav:hover {
    background: var(--color-gold);
    color: var(--color-dark);
    border-color: var(--color-gold);
}

.gallery-nav.prev { left: 15px; }
.gallery-nav.next { right: 15px; }

.gallery-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 5;
}

.gallery-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dots span.active {
    background: var(--color-gold);
    transform: scale(1.3);
}

/* Video Frame Style */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-premium);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* 21. MODAL BACKDROP SYSTEM */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 7, 9, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-content {
    width: 100%;
    max-width: 520px;
    position: relative;
    padding: 2.5rem 2rem;
    animation: zoomIn 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(244, 67, 54, 0.2);
    border-color: rgba(244, 67, 54, 0.4);
    color: #f44336;
}


/* 22. BILLING & PRICING DESIGNS */
.billing-header {
    margin-bottom: 2rem;
}

.billing-icon {
    font-size: 3rem;
    color: var(--color-gold);
    animation: bounceSlow 2s infinite ease;
    margin-bottom: 0.5rem;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.05);
}

.price-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
}

.price-val {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin: 0.5rem 0 1rem;
}

.price-val span {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-gold-light);
}

.price-features {
    text-align: left;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.2rem;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.85);
}

.price-features li i {
    color: #4caf50;
}

.payment-methods-box h4 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

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

.pay-method-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 0.4rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.pay-method-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

.pay-logo {
    font-weight: 700;
    font-size: 1rem;
}

.click-logo { color: #00a5ff; }
.payme-logo { color: #12c8c4; }
.bot-logo { color: #229ed9; }

.pay-sub {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
}


/* 23. MOCK CHECKOUT FLOW */
.mock-checkout-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    z-index: 20;
    border-radius: 32px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: slideUp 0.4s ease forwards;
}

.checkout-divider {
    width: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    margin: 0 auto 2rem;
}

.mock-checkout-screen h4 {
    font-size: 1.4rem;
    text-align: center;
    color: #fff;
    margin-bottom: 2rem;
}

.checkout-status-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    animation: fadeIn 0.4s ease;
}

.spinner {
    width: 55px;
    height: 55px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--color-gold);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

.sms-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.success-icon-bounce {
    font-size: 4rem;
    color: #4caf50;
    animation: popBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.font-lg {
    font-size: 1.6rem !important;
    letter-spacing: 5px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes popBounce {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}


/* 24. EDIT VIEW GALLERY & PREVIEWS */
.premium-edit-section {
    background: rgba(212, 175, 55, 0.05);
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.premium-edit-section h4 {
    font-size: 1rem;
    color: var(--color-gold-light);
    margin-bottom: 0.4rem;
}

.section-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.2rem;
}

.gallery-url-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.file-input {
    padding: 0.6rem !important;
}

.file-desc {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: -0.2rem;
    display: block;
}

.upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1rem;
}

.preview-img-container {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.preview-img-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.delete-img-btn {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    background: #ff4757 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4) !important;
    z-index: 10 !important;
    transition: all 0.2s ease !important;
}

.delete-img-btn:hover {
    background: #ff6b81 !important;
    transform: scale(1.15);
}


/* 25. SHARE MODAL DETAILS */
.share-icon {
    font-size: 3rem;
    color: var(--color-gold-light);
    margin-bottom: 0.8rem;
}

.share-copy-box {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.4rem;
    margin: 1.8rem 0 0.8rem;
}

.share-copy-box input {
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.9rem;
    flex-grow: 1;
}

.share-copy-box input:focus {
    outline: none;
    box-shadow: none;
}


/* 26. EDIT MODAL VIEW */
#editView {
    background: radial-gradient(circle at center, #1b1e22 0%, #0c0e10 100%);
    padding: 3rem 1rem;
}

.edit-container {
    max-width: 700px;
    padding: 2.5rem;
}

.edit-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
}

.edit-header h2 {
    font-size: 1.8rem;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.edit-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.2rem;
}

.edit-actions-panel {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
}


/* 27. DYNAMIC THEME OVERRIDES (APPLIED VIA JS) */

/* Sunnat Theme Custom overrides */
.theme-sunnat {
    --color-gold: var(--sunnat-accent);
    --color-gold-light: #fff2a3;
    --color-gold-dark: #b89225;
}
.theme-sunnat .inv-icon-holder {
    background: radial-gradient(circle, #2a5298 0%, #1e3c72 100%);
    color: #fff;
    box-shadow: 0 0 25px rgba(30, 60, 114, 0.5);
}
.theme-sunnat .inv-title {
    color: #90caf9;
}
.theme-sunnat .detail-icon {
    background: rgba(30, 60, 114, 0.15);
    border-color: rgba(30, 60, 114, 0.3);
    color: #90caf9;
}
.theme-sunnat .btn-primary {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.35);
}
.theme-sunnat .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.5);
}
.theme-sunnat .ms-unit {
    border-color: rgba(30, 60, 114, 0.3);
    background: rgba(30, 60, 114, 0.1);
}
.theme-sunnat .ms-unit .timer-val {
    color: #90caf9;
}

/* Qiz Bazmi / Qiz Uzatish Theme Custom overrides */
.theme-qiz_bazmi, .theme-qiz_uzotish {
    --color-gold: var(--qiz-primary);
    --color-gold-light: #ff80ab;
    --color-gold-dark: #c51162;
}
.theme-qiz_bazmi .inv-icon-holder, .theme-qiz_uzotish .inv-icon-holder {
    background: radial-gradient(circle, #f48fb1 0%, #c94b7c 100%);
    color: #fff;
    box-shadow: 0 0 25px rgba(201, 75, 124, 0.5);
}
.theme-qiz_bazmi .inv-title, .theme-qiz_uzotish .inv-title {
    color: #ff80ab;
}
.theme-qiz_bazmi .detail-icon, .theme-qiz_uzotish .detail-icon {
    background: rgba(201, 75, 124, 0.15);
    border-color: rgba(201, 75, 124, 0.3);
    color: #ff80ab;
}
.theme-qiz_bazmi .btn-primary, .theme-qiz_uzotish .btn-primary {
    background: linear-gradient(135deg, #c94b7c 0%, #880e4f 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(201, 75, 124, 0.35);
}
.theme-qiz_bazmi .btn-primary:hover, .theme-qiz_uzotish .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(201, 75, 124, 0.5);
}
.theme-qiz_bazmi .ms-unit, .theme-qiz_uzotish .ms-unit {
    border-color: rgba(201, 75, 124, 0.3);
    background: rgba(201, 75, 124, 0.1);
}
.theme-qiz_bazmi .ms-unit .timer-val, .theme-qiz_uzotish .ms-unit .timer-val {
    color: #f48fb1;
}

/* Beshik Toy Theme overrides (Soft Green) */
.theme-beshik_toy {
    --color-gold: #2ec4b6;
    --color-gold-light: #cbf3f0;
    --color-gold-dark: #011627;
}
.theme-beshik_toy .inv-icon-holder {
    background: radial-gradient(circle, #2ec4b6 0%, #0f9f90 100%);
    color: #fff;
    box-shadow: 0 0 25px rgba(46, 196, 182, 0.5);
}
.theme-beshik_toy .inv-title {
    color: #2ec4b6;
}
.theme-beshik_toy .detail-icon {
    background: rgba(46, 196, 182, 0.15);
    border-color: rgba(46, 196, 182, 0.3);
    color: #2ec4b6;
}
.theme-beshik_toy .btn-primary {
    background: linear-gradient(135deg, #2ec4b6 0%, #208f82 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(46, 196, 182, 0.35);
}
.theme-beshik_toy .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(46, 196, 182, 0.5);
}
.theme-beshik_toy .ms-unit {
    border-color: rgba(46, 196, 182, 0.3);
    background: rgba(46, 196, 182, 0.1);
}
.theme-beshik_toy .ms-unit .timer-val {
    color: #2ec4b6;
}

/* Yubiley Theme overrides (Royal Purple) */
.theme-yubiley {
    --color-gold: #9b5de5;
    --color-gold-light: #dec9e9;
    --color-gold-dark: #5a189a;
}
.theme-yubiley .inv-icon-holder {
    background: radial-gradient(circle, #9b5de5 0%, #7209b7 100%);
    color: #fff;
    box-shadow: 0 0 25px rgba(155, 93, 229, 0.5);
}
.theme-yubiley .inv-title {
    color: #dec9e9;
}
.theme-yubiley .detail-icon {
    background: rgba(155, 93, 229, 0.15);
    border-color: rgba(155, 93, 229, 0.3);
    color: #dec9e9;
}
.theme-yubiley .btn-primary {
    background: linear-gradient(135deg, #9b5de5 0%, #5a189a 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(155, 93, 229, 0.35);
}
.theme-yubiley .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(155, 93, 229, 0.5);
}
.theme-yubiley .ms-unit {
    border-color: rgba(155, 93, 229, 0.3);
    background: rgba(155, 93, 229, 0.1);
}
.theme-yubiley .ms-unit .timer-val {
    color: #dec9e9;
}

/* Nahor Oshi Theme overrides (Rich Orange / Traditional Gold) */
.theme-nahor_oshi {
    --color-gold: #f77f00;
    --color-gold-light: #fcbf49;
    --color-gold-dark: #d62828;
}
.theme-nahor_oshi .inv-icon-holder {
    background: radial-gradient(circle, #fcbf49 0%, #f77f00 100%);
    color: #fff;
    box-shadow: 0 0 25px rgba(247, 127, 0, 0.5);
}
.theme-nahor_oshi .inv-title {
    color: #fcbf49;
}
.theme-nahor_oshi .detail-icon {
    background: rgba(247, 127, 0, 0.15);
    border-color: rgba(247, 127, 0, 0.3);
    color: #fcbf49;
}
.theme-nahor_oshi .btn-primary {
    background: linear-gradient(135deg, #f77f00 0%, #d62828 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(247, 127, 0, 0.35);
}
.theme-nahor_oshi .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(247, 127, 0, 0.5);
}
.theme-nahor_oshi .ms-unit {
    border-color: rgba(247, 127, 0, 0.3);
    background: rgba(247, 127, 0, 0.1);
}
.theme-nahor_oshi .ms-unit .timer-val {
    color: #fcbf49;
}

/* Card event badge color definitions */
.event-badge.gold { background: rgba(212, 175, 55, 0.2) !important; border-color: rgba(212, 175, 55, 0.4) !important; color: #ffd700 !important; }
.event-badge.pink { background: rgba(201, 75, 124, 0.2) !important; border-color: rgba(201, 75, 124, 0.4) !important; color: #ff80ab !important; }
.event-badge.royal { background: rgba(30, 60, 114, 0.2) !important; border-color: rgba(30, 60, 114, 0.4) !important; color: #90caf9 !important; }
.event-badge.green { background: rgba(46, 196, 182, 0.2) !important; border-color: rgba(46, 196, 182, 0.4) !important; color: #2ec4b6 !important; }
.event-badge.purple { background: rgba(155, 93, 229, 0.2) !important; border-color: rgba(155, 93, 229, 0.4) !important; color: #dec9e9 !important; }
.event-badge.orange { background: rgba(247, 127, 0, 0.2) !important; border-color: rgba(247, 127, 0, 0.4) !important; color: #fcbf49 !important; }


/* 28. ANIMATIONS & TRANSITIONS */
@keyframes fadeInView {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    }
}

@keyframes rotateStar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes waveJump {
    0% { height: 3px; }
    100% { height: 100%; }
}

.animate-fade-in {
    animation: slideUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hidden {
    display: none !important;
}


/* 29. RESPONSIVE DESIGN (MEDIA QUERIES) */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }
    .event-hub-card {
        height: 400px;
    }
    .glass-panel {
        padding: 2.2rem 1.2rem;
        border-radius: 24px;
    }
    .inv-names {
        font-size: 3rem;
    }
    .timer-unit {
        min-width: 60px;
        padding: 0.5rem 0.2rem;
    }
    .timer-val {
        font-size: 1.4rem;
    }
    .ms-unit {
        min-width: 70px;
    }
    .form-row {
        flex-direction: column;
        gap: 1.2rem;
    }
    .detail-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    .card-number {
        font-size: 1rem;
    }
    .gallery-wrapper {
        height: 280px;
    }
    .payment-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    .envelope-card {
        padding: 2.5rem 1.2rem;
    }
    .env-names {
        font-size: 2.8rem;
    }
    .music-widget {
        bottom: 15px;
        right: 15px;
    }
    .dj-board {
        width: 140px;
    }
    .wishlist-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    .inv-names {
        font-size: 2.4rem;
    }
    .glass-panel {
        padding: 1.8rem 1rem;
    }
    .timer-container {
        gap: 0.4rem;
    }
    .timer-unit {
        min-width: 52px;
    }
    .ms-unit {
        min-width: 62px;
    }
    .timer-val {
        font-size: 1.15rem;
    }
    .timer-label {
        font-size: 0.6rem;
    }
}

/* 30. NEW INTEGRATED FEATURES (AI & TELEGRAM & OSH & SEATING & TIMELINE) */

.settings-panel {
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: border-color 0.3s;
    text-align: left;
}

.settings-panel:hover {
    border-color: rgba(212, 175, 55, 0.4);
}

/* AI Reels Sound Waves */
.sound-wave-container {
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 10px;
    border-radius: 20px;
}
.sw-bar {
    display: inline-block;
    width: 3px;
    height: 15px;
    background: var(--color-gold);
    border-radius: 2px;
}
.sw-bar.animating {
    animation: soundWaveGlow 1s ease-in-out infinite alternate;
}
.sw-bar:nth-child(2) {
    animation-delay: 0.2s;
    height: 22px;
}
.sw-bar:nth-child(3) {
    animation-delay: 0.4s;
    height: 12px;
}

@keyframes soundWaveGlow {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1.4); }
}

.ai-reels-badge {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid #ffd700;
    color: #ffd700;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    align-self: flex-start;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ai-reels-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 215, 0, 0.7);
    border-radius: 50%;
    pointer-events: none;
    animation: reelsFloatUp 3s linear infinite;
}

@keyframes reelsFloatUp {
    0% { transform: translateY(500px) scale(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-50px) scale(1.5); opacity: 0; }
}

/* Timeline nodes */
.timeline-node {
    position: relative;
    padding-bottom: 1rem;
}
.timeline-node::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: #ffd700;
    border: 3px solid var(--color-dark);
    border-radius: 50%;
    box-shadow: 0 0 10px #ffd700;
}
.timeline-node-year {
    font-weight: 700;
    color: #ffd700;
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.timeline-node-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 4px;
}
.timeline-node-desc {
    font-size: 0.75rem;
    color: #b0b0b0;
    line-height: 1.4;
}

/* General Input Padding in Settings */
.settings-panel input[type="password"],
.settings-panel input[type="text"] {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    width: 100%;
}
.settings-panel input:focus {
    border-color: var(--color-gold);
    outline: none;
    box-shadow: 0 0 10px rgba(212,175,55,0.25);
}

/* ----------------------------------------------------
   NAHORGI OSH TRADITIONAL DESIGN STYLING
---------------------------------------------------- */
.osh-card-wrapper {
    background: radial-gradient(circle at center, rgba(30, 24, 15, 0.96) 0%, rgba(15, 10, 5, 0.98) 100%) !important;
    border: 2px solid #ffd700 !important;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.25), inset 0 0 20px rgba(212, 175, 55, 0.15) !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.osh-card-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(212, 175, 55, 0.06) 1px, transparent 0);
    background-size: 24px 24px;
    z-index: -1;
    pointer-events: none;
}

.osh-card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #ffd700;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.osh-card-pattern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.2rem;
    color: #ffd700;
    opacity: 0.8;
}

.osh-card-pattern .pattern-line {
    height: 1px;
    width: 60px;
    background: linear-gradient(to right, transparent, #ffd700, transparent);
}

.osh-card-pattern i {
    font-size: 1.2rem;
}

.osh-card-desc {
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #f0e6d2;
    margin-bottom: 1.8rem;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.osh-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

@media (min-width: 480px) {
    .osh-details-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.osh-detail-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.osh-detail-icon {
    font-size: 1.2rem;
    color: #ffd700;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.25);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.osh-detail-text h5 {
    margin: 0 0 4px 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffd700;
    font-weight: 600;
}

.osh-detail-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #ffffff;
    line-height: 1.4;
}

.osh-actions-wrapper {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.osh-actions-wrapper .btn {
    border-radius: 30px !important;
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.osh-actions-wrapper .btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
    border: none;
    color: #121214;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.osh-actions-wrapper .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.osh-actions-wrapper .btn-outline {
    border: 1px solid #ffd700;
    color: #ffd700;
    background: transparent;
}

.osh-actions-wrapper .btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

/* --- PRINT PAPER CARD STYLES --- */
.paper-card-border {
    background: #fffcf7; /* Premium off-white/cream */
    color: #2b2b2b;
    border: 12px double #c5a059; /* Elegant gold border */
    border-radius: 4px;
    padding: 2.2rem;
    font-family: 'Playfair Display', 'Georgia', serif;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    border-style: double;
}

.paper-card-inner {
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 1.5rem;
    height: 100%;
}

.paper-ornament-top, .paper-ornament-bottom {
    font-size: 1.6rem;
    color: #c5a059;
    margin: 0.5rem 0;
}

.paper-title {
    font-size: 1.8rem;
    letter-spacing: 4px;
    color: #8b6e34;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.paper-divider {
    color: #c5a059;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
}

.paper-intro {
    font-size: 0.95rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.paper-names {
    font-size: 2.1rem;
    font-weight: 700;
    color: #800020; /* Burgundy dark red */
    margin: 1.2rem 0;
}

.paper-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.8rem;
    padding: 0 0.8rem;
}

.paper-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    border-top: 1px dashed rgba(197, 160, 89, 0.4);
    padding-top: 1.2rem;
    text-align: left;
}

.paper-detail-item {
    font-size: 0.85rem;
    color: #333;
}

.paper-detail-item strong {
    color: #8b6e34;
    display: block;
    margin-bottom: 3px;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.paper-subtext {
    display: block;
    font-size: 0.78rem;
    color: #666;
    margin-top: 2px;
}

/* PRINT MEDIA INSTRUCTION */
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }
    /* Hide everything on the page */
    #homeView, #musicWidget, .modal-backdrop, 
    .nav-btn, .dashboard-actions-grid, .print-section > h4, 
    .print-section > p, .print-section > button, 
    #executePrintBtn, #editExecutePrintBtn, .nav-header, footer {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Hide editor-specific elements except for the printable block */
    #editView .edit-header,
    #editView form > div:not(#editPaperPrintBlock),
    #editView form > input,
    #editView form > .form-group,
    #editView form > .form-row,
    #editView form > .premium-edit-section,
    #editView form > .edit-actions-panel {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Ensure only the paper card and its contents are printed */
    .print-section {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .paper-card-border {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: none !important;
        border-color: #c5a059 !important;
        background: #fffcf7 !important;
        width: 100% !important;
        max-width: 550px !important;
        visibility: visible !important;
        display: block !important;
    }

    .paper-card-border * {
        visibility: visible !important;
    }

    .paper-card-border.ratio-16-9 {
        max-width: 780px !important;
        transform: translate(-50%, -50%) scale(0.95) !important;
    }
}

/* --- FLATPICKR DARK GLASSMORPHISM STYLES --- */
.flatpickr-calendar {
    background: rgba(20, 20, 22, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    color: #fff !important;
}
.flatpickr-day {
    color: #eee !important;
}
.flatpickr-day.today {
    border-color: var(--color-gold) !important;
}
.flatpickr-day.selected, .flatpickr-day.selected:hover {
    background: var(--color-gold) !important;
    color: #000 !important;
    border-color: var(--color-gold) !important;
}
.flatpickr-day:hover {
    background: rgba(212, 175, 55, 0.2) !important;
    color: #fff !important;
}
.flatpickr-months .flatpickr-month, .flatpickr-weekday {
    color: #fff !important;
    fill: #fff !important;
}
.flatpickr-current-month .numInputWrapper span.arrowUp:after {
    border-bottom-color: #fff !important;
}
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
    border-top-color: #fff !important;
}
.flatpickr-time input {
    color: #fff !important;
    background: rgba(0,0,0,0.3) !important;
}
.flatpickr-time .flatpickr-time-separator {
    color: #fff !important;
}
/* Flatpickr confirm plugin button (OK / Tasdiqlash) */
.flatpickr-confirm {
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%) !important;
    color: #121214 !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    padding: 10px !important;
    cursor: pointer !important;
    text-align: center !important;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    transition: all 0.3s ease !important;
}
.flatpickr-confirm:hover {
    background: #ffd700 !important;
    opacity: 0.9;
}

/* Guest album images styles */
.guest-photo-thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s;
}
.guest-photo-thumbnail:hover {
    transform: scale(1.05);
    border-color: var(--color-gold);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Calendar dropdown buttons hover */
#calendarOptionsDropdown button:hover {
    background: rgba(212, 175, 55, 0.15) !important;
}

/* Custom font overrides */
.font-playfair .inv-title, 
.font-playfair .inv-names,
.font-playfair .env-names {
    font-family: 'Playfair Display', serif !important;
}

.font-greatvibes .inv-title {
    font-family: 'Great Vibes', cursive !important;
    font-size: 1.8rem !important;
    text-transform: none !important;
    letter-spacing: 1px !important;
}
.font-greatvibes .inv-names,
.font-greatvibes .env-names {
    font-family: 'Great Vibes', cursive !important;
    font-size: 4.5rem !important;
    text-transform: none !important;
    font-weight: 400 !important;
}

.font-montserrat .inv-title,
.font-montserrat .inv-names,
.font-montserrat .env-names {
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 2px !important;
}

.font-cinzel .inv-title,
.font-cinzel .inv-names,
.font-cinzel .env-names {
    font-family: 'Cinzel', serif !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
}

/* --- LANDSCAPE PRINT RATIO (16:9) --- */
.paper-card-border.ratio-16-9 {
    max-width: 760px;
    min-height: 430px;
    aspect-ratio: 16 / 9;
}

.paper-card-border.ratio-16-9 .paper-card-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    grid-template-rows: auto auto auto auto auto;
    gap: 0.8rem 1.2rem;
    align-items: center;
    padding: 0.8rem;
}

.paper-card-border.ratio-16-9 .paper-ornament-top {
    grid-column: 1;
    grid-row: 1;
    margin: 2px 0;
    font-size: 1.2rem;
}

.paper-card-border.ratio-16-9 .paper-couple-frame {
    grid-column: 1;
    grid-row: 2;
    margin: 5px auto !important;
}

.paper-card-border.ratio-16-9 .paper-couple-frame img {
    width: 90px !important;
    height: 110px !important;
}

.paper-card-border.ratio-16-9 .paper-title {
    grid-column: 1;
    grid-row: 3;
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.paper-card-border.ratio-16-9 .paper-divider {
    grid-column: 1;
    grid-row: 4;
    margin-bottom: 2px;
}

.paper-card-border.ratio-16-9 .paper-names {
    grid-column: 1;
    grid-row: 5;
    font-size: 1.6rem;
    margin: 5px 0;
}

.paper-card-border.ratio-16-9 .paper-intro {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.8rem;
    margin-bottom: 2px;
    text-align: center;
}

.paper-card-border.ratio-16-9 .paper-description {
    grid-column: 2;
    grid-row: 2 / 4;
    font-size: 0.8rem;
    margin-bottom: 5px;
    text-align: center;
    padding: 0 5px;
    line-height: 1.4;
}

.paper-card-border.ratio-16-9 .paper-details-grid {
    grid-column: 2;
    grid-row: 4;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(197, 160, 89, 0.3);
}

.paper-card-border.ratio-16-9 .paper-detail-item {
    font-size: 0.75rem;
}

.paper-card-border.ratio-16-9 .paper-detail-item strong {
    font-size: 0.68rem;
}

.paper-card-border.ratio-16-9 .paper-qr-code {
    grid-column: 2;
    grid-row: 5;
    margin-top: 4px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.paper-card-border.ratio-16-9 .paper-qr-code img {
    width: 60px !important;
    height: 60px !important;
}

.paper-card-border.ratio-16-9 .paper-qr-code span {
    font-size: 0.65rem !important;
    max-width: 180px;
    text-align: left;
}

.paper-card-border.ratio-16-9 .paper-ornament-bottom {
    display: none !important;
}



/* ==========================================================================
   15. CHORLOVE MOSLANGAN SILLIQ LANDING + GOOGLE LOGIN POLISH (v1.9)
   ========================================================================== */
:root {
    --chor-bg: #fffaf1;
    --chor-ink: #1f241f;
    --chor-muted: #667061;
    --chor-green: #244a36;
    --chor-green-soft: #dfeade;
    --chor-cream: #fff7e8;
    --chor-pink: #f6d7cf;
    --chor-gold: #d6ad45;
}

html { scroll-behavior: smooth; }

#homeView {
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 241, 214, 0.24), transparent 28%),
        radial-gradient(circle at 85% 18%, rgba(246, 215, 207, 0.22), transparent 32%),
        linear-gradient(135deg, #111313 0%, #172018 42%, #0a0d0b 100%);
}

#homeView .overlay {
    background:
        linear-gradient(180deg, rgba(12, 14, 13, 0.16), rgba(8, 10, 9, 0.82)),
        url('assets/chorlove-hero.jpeg') center/cover no-repeat;
    opacity: 0.2;
    filter: saturate(1.05);
}

.landing-container {
    gap: 1.35rem !important;
    padding-top: 1.15rem !important;
}

.landing-topbar {
    width: 100%;
    display: grid !important;
    grid-template-columns: minmax(240px, 1fr) auto minmax(245px, 1fr);
    gap: 1rem !important;
    align-items: center !important;
    margin-bottom: 0.35rem !important;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 24px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.16);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    object-fit: contain;
    background: linear-gradient(135deg, #fbefd0, #c89528);
    box-shadow: 0 12px 34px rgba(214,173,69,0.24);
    padding: 5px;
}

.landing-topbar .main-title {
    font-size: clamp(1.35rem, 2.6vw, 2.05rem) !important;
    margin: 0 !important;
    text-align: left !important;
    letter-spacing: 0.5px;
    line-height: 1.05;
    -webkit-text-fill-color: transparent;
}

.landing-topbar .main-title::after { display: none !important; }

.landing-topbar .main-subtitle {
    font-size: 0.78rem !important;
    text-align: left !important;
    margin: 0.18rem 0 0 !important;
    color: rgba(255,255,255,0.64);
    letter-spacing: 0.2px;
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.28rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
}

.landing-nav a {
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    color: rgba(255,255,255,0.72);
    font-weight: 700;
    font-size: 0.78rem;
}

.landing-nav a:hover {
    background: rgba(255,255,255,0.13);
    color: var(--color-gold-light);
}

.header-actions {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.header-actions #adminLoginHeaderBtn { opacity: 0.78; }
.header-actions #userLogoutHeaderBtn,
.header-actions #adminLogoutHeaderBtn { border-color: #ff8b8b !important; color: #ffb3b3 !important; }

.user-chip {
    color: var(--color-gold-light) !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    border: 1px solid rgba(212,175,55,0.26) !important;
    background: rgba(212,175,55,0.1);
    padding: 0.42rem 0.68rem !important;
    border-radius: 999px;
}

.landing-hero-polished {
    width: 100%;
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
    gap: clamp(1.2rem, 4vw, 3.2rem);
    align-items: center;
    padding: clamp(1.6rem, 4vw, 3.4rem);
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.18);
    background:
        linear-gradient(110deg, rgba(8, 12, 10, 0.92) 0%, rgba(16, 27, 20, 0.78) 46%, rgba(255, 248, 234, 0.16) 100%),
        url('assets/chorlove-hero.jpeg') center/cover no-repeat;
    box-shadow: 0 28px 80px rgba(0,0,0,0.34);
}

.landing-hero-polished::before {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(214,173,69,0.24);
    border-radius: 28px;
    pointer-events: none;
}

.hero-copy,
.hero-showcase { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.75rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    color: var(--color-gold-light);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    margin-bottom: 1rem;
}

.hero-copy h2 {
    font-size: clamp(2.25rem, 5.2vw, 5.15rem);
    line-height: 0.96;
    letter-spacing: -2px;
    max-width: 760px;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.26);
}

.hero-copy p {
    max-width: 650px;
    color: rgba(255,255,255,0.78);
    font-size: clamp(0.98rem, 1.6vw, 1.15rem);
    line-height: 1.75;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin: 1.5rem 0 1.25rem;
}

.hero-actions .btn {
    min-height: 50px;
    border-radius: 999px;
    padding-inline: 1.25rem;
}

.hero-mini-stats {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.hero-mini-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.62rem 0.8rem;
    border-radius: 999px;
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.82rem;
}

.hero-mini-stats strong { color: var(--color-gold-light); }

.hero-showcase {
    min-height: 420px;
    display: grid;
    place-items: center;
}

.hero-photo-card {
    position: absolute;
    width: min(94%, 520px);
    height: 330px;
    border-radius: 34px;
    background: url('assets/chorlove-hero.jpeg') center/cover no-repeat;
    box-shadow: 0 22px 60px rgba(0,0,0,0.24);
    transform: rotate(2deg) translateY(10px);
    opacity: 0.78;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-phone-card {
    position: relative;
    width: 210px;
    min-height: 360px;
    border-radius: 34px;
    padding: 1.6rem 1rem 1.15rem;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,0.96), rgba(255,249,237,0.92) 54%, rgba(244,229,198,0.94)),
        linear-gradient(180deg, #fff8e9, #f3dfb9);
    border: 8px solid #161616;
    box-shadow: 0 30px 70px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(214,173,69,0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #244a36;
    animation: heroFloat 6s ease-in-out infinite;
}

.phone-speaker {
    position: absolute;
    top: 10px;
    width: 70px;
    height: 17px;
    background: #111;
    border-radius: 0 0 16px 16px;
}

.phone-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 18px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 10px 16px rgba(148,111,28,0.18));
}

.phone-kicker {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    line-height: 1.2;
    color: #5a5139;
}

.hero-phone-card h3 {
    margin: 0.75rem 0 0.3rem;
    font-family: var(--font-accent);
    font-size: 2.3rem;
    color: #1f3b2b;
    line-height: 1;
}

.hero-phone-card p {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #785d22;
}

.phone-icons {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
    color: #244a36;
}

.phone-icons i {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(36,74,54,0.08);
}

@keyframes heroFloat {
    0%,100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-14px) rotate(1deg); }
}

#mainDashboardContent {
    gap: 1rem !important;
}

.creation-panel {
    border-radius: 30px !important;
    background: rgba(255,255,255,0.09) !important;
    border-color: rgba(214,173,69,0.28) !important;
}

.creation-buttons .create-inv-trigger {
    border-radius: 18px;
    min-height: 64px;
    background: rgba(255,255,255,0.06);
    border-color: rgba(214,173,69,0.28);
}

.creation-buttons .create-inv-trigger i {
    font-size: 1.05rem;
}

.features-strip {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.feature-pill {
    padding: 1.05rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    min-height: 138px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.feature-pill i {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(214,173,69,0.16);
    color: var(--color-gold-light);
    margin-bottom: 0.72rem;
}

.feature-pill strong {
    display: block;
    color: #fff;
    font-size: 0.92rem;
    margin-bottom: 0.32rem;
}

.feature-pill span {
    display: block;
    color: rgba(255,255,255,0.64);
    font-size: 0.78rem;
    line-height: 1.55;
}

.dashboard-header-row {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    padding: 0.75rem 0.9rem !important;
}

.event-hub-card {
    height: 440px;
    border-radius: 28px;
}

.event-hub-card::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 20px;
    z-index: 3;
    pointer-events: none;
}

.card-content {
    padding: 1.55rem !important;
}

.card-content h2 {
    font-size: 1.55rem;
    line-height: 1.14;
}

.dashboard-actions-grid {
    gap: 0.52rem !important;
}

.dashboard-actions-grid .btn {
    border-radius: 999px !important;
}

.auth-card-polished {
    max-width: 430px !important;
    padding: 2.1rem !important;
    border-radius: 28px !important;
    background:
        linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06)),
        rgba(17,20,18,0.86) !important;
    border-color: rgba(214,173,69,0.26) !important;
}

.auth-brand-mini {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
    color: var(--color-gold-light);
    font-weight: 800;
}

.auth-brand-mini img {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff1bc, #b98616);
    padding: 4px;
}

.auth-card-polished h3 {
    color: var(--color-gold-light) !important;
    text-align: center !important;
    margin-bottom: 0.35rem !important;
    font-size: 1.55rem;
}

.auth-subtitle {
    text-align: center;
    color: rgba(255,255,255,0.64);
    font-size: 0.84rem;
    line-height: 1.55;
    margin: 0 auto 1.25rem;
    max-width: 320px;
}

.auth-form-polished input {
    border-radius: 14px;
    background: rgba(255,255,255,0.075);
}

.auth-form-polished .btn-primary {
    border-radius: 999px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1.25rem 0 1rem;
    color: rgba(255,255,255,0.45);
    font-size: 0.75rem;
}

.auth-divider span {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}

.auth-divider em {
    font-style: normal;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
}

.google-login-shell {
    display: grid;
    place-items: center;
    padding: 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.07);
}

#googleSignInBtn {
    min-height: 44px;
    width: 100%;
    display: flex;
    justify-content: center;
}

#googleSignInHint {
    text-align: center;
    color: rgba(255,255,255,0.58);
    font-size: 0.72rem;
    margin: 8px 0 0;
    line-height: 1.45;
}

.auth-close-btn {
    margin-top: 1.2rem !important;
    width: 100% !important;
    border-radius: 999px !important;
}

@media (max-width: 980px) {
    .landing-topbar {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }
    .landing-nav { order: 3; overflow-x: auto; justify-content: flex-start; }
    .header-actions { justify-content: flex-start; }
    .landing-hero-polished {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-showcase { min-height: 310px; }
    .hero-photo-card { height: 260px; }
    .hero-phone-card { width: 180px; min-height: 310px; }
    .features-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .landing-container { padding-inline: 0.85rem !important; }
    .landing-topbar { border-radius: 20px; padding: 0.7rem; }
    .brand-logo { width: 46px; height: 46px; }
    .header-actions .btn { flex: 1; padding-inline: 0.75rem; }
    .landing-hero-polished { padding: 1.25rem; border-radius: 26px; }
    .landing-hero-polished::before { inset: 10px; border-radius: 20px; }
    .hero-copy h2 { letter-spacing: -1px; }
    .hero-actions .btn { width: 100%; }
    .hero-mini-stats span { flex: 1; justify-content: center; min-width: 135px; }
    .hero-showcase { display: none; }
    .features-strip { grid-template-columns: 1fr; }
    .event-hub-card { height: 390px; }
    .auth-card-polished { margin-inline: 0.75rem; padding: 1.35rem !important; }
}

/* 3-language switcher */
.global-lang-switch {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    padding: 4px;
    border-radius: 999px;
    background: rgba(18, 18, 20, 0.48);
    border: 1px solid rgba(212, 175, 55, 0.26);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.lang-picker-container .lang-btn {
    min-width: 34px;
    min-height: 28px;
    border: 0;
    border-radius: 999px;
    padding: 5px 9px;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.lang-picker-container .lang-btn:hover {
    transform: translateY(-1px);
    color: #fff;
}
.lang-picker-container .lang-btn.active-lang {
    background: var(--color-gold);
    color: #111;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.24);
}
@media (max-width: 720px) {
    .global-lang-switch { order: -1; width: 100%; justify-content: center; }
}
