/* ==========================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================== */
:root {
    /* Brand Colors (Badan POM & AI theme) */
    --bpom-blue: #003366;
    --bpom-green: #00A859;
    --bpom-gold: #D4AF37;
    
    /* Tech & AI Glow Colors */
    --glow-cyan: #00f0ff;
    --glow-emerald: #00ffaa;
    --glow-blue: #0066ff;
    
    /* Neutral Palette */
    --bg-dark: #050b18;
    --bg-card: rgba(8, 20, 42, 0.65);
    --bg-card-hover: rgba(12, 28, 58, 0.8);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 240, 255, 0.2);
    --border-glow-green: rgba(0, 255, 170, 0.2);
    
    --text-primary: #ffffff;
    --text-secondary: #9cb1cc;
    --text-muted: #647b9c;
    
    /* Font Families */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --trans-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   BASE STYLES & RESET
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(5, 11, 24, 0.5);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.25);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 170, 0.4);
}

/* ==========================================
   BACKGROUND EFFECTS (AI/TECH VISUALS)
   ========================================== */
.tech-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0),
        linear-gradient(to right, rgba(0, 102, 204, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 102, 204, 0.03) 1px, transparent 1px);
    background-size: 30px 30px, 120px 120px, 120px 120px;
    z-index: -2;
    pointer-events: none;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.45;
}

.glow-orb-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.8) 0%, rgba(0, 102, 255, 0.3) 100%);
    animation: floatOrb1 20s infinite alternate;
}

.glow-orb-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 168, 89, 0.6) 0%, rgba(0, 255, 170, 0.2) 100%);
    animation: floatOrb2 25s infinite alternate;
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, 80px) scale(1.1); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, -60px) scale(1.15); }
}

/* ==========================================
   APP CONTAINER & SPLIT PANE LAYOUT
   ========================================== */
.app-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* COVER PANE (LEFT) */
.cover-pane {
    width: 42%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 22, 48, 0.95) 0%, rgba(4, 10, 24, 0.98) 100%);
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3.5rem 2.5rem;
    position: relative;
    overflow: hidden;
    z-index: 10;
    transition: var(--trans-slow);
}

.cover-pane::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--bpom-blue), var(--glow-cyan), var(--bpom-green));
}

.cover-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* BPOM SVG Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.bpom-logo {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.3));
    animation: logoGlow 4s infinite alternate;
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.2)); }
    100% { filter: drop-shadow(0 0 15px rgba(0, 255, 170, 0.5)); }
}

.agency-title h2 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
    line-height: 1.3;
}

.agency-title p {
    font-size: 0.75rem;
    color: var(--bpom-green);
    font-weight: 600;
    letter-spacing: 2px;
}

/* Titles */
.badge-ai {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--border-glow);
    color: var(--glow-cyan);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    display: inline-block;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.main-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 30%, #a2c7f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2.5rem;
    border-left: 2.5px solid var(--bpom-green);
    padding-left: 1rem;
}

/* Recipient Box */
.recipient-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.2rem 1.8rem;
    width: 100%;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.recipient-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--glow-cyan);
}

.to-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.recipient-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--glow-cyan);
    margin: 0.3rem 0;
}

.to-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn-open-invitation {
    background: linear-gradient(135deg, var(--bpom-blue) 0%, #004d99 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 1.1rem 2.2rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--trans-normal);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-open-invitation:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 102, 255, 0.4);
    border-color: var(--glow-cyan);
}

.btn-glow {
    position: absolute;
    width: 80px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    top: 0;
    left: -150%;
    transform: skewX(-20deg);
    transition: 0.7s;
}

.btn-open-invitation:hover .btn-glow {
    left: 150%;
}

.cover-footer {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* CONTENT PANE (RIGHT) */
.content-pane {
    width: 58%;
    height: 100%;
    overflow-y: auto;
    padding: 4rem 3.5rem;
    z-index: 5;
    position: relative;
}

/* ==========================================
   CARDS & CONTAINERS
   ========================================== */
.content-section {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: sectionFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.content-section:nth-child(1) { animation-delay: 0.1s; }
.content-section:nth-child(2) { animation-delay: 0.2s; }
.content-section:nth-child(3) { animation-delay: 0.3s; }
.content-section:nth-child(4) { animation-delay: 0.4s; }
.content-section:nth-child(5) { animation-delay: 0.5s; }

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

.glass-card {
    background: transparent;
    border: none;
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    transition: box-shadow var(--trans-normal);
}

.glass-card:hover {
    box-shadow: 0 15px 45px rgba(0, 240, 255, 0.22);
}

/* Conic gradient rotating border element behind the card */
.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(0, 240, 255, 0.08) 25%,
        rgba(0, 255, 170, 0.15) 50%,
        rgba(0, 240, 255, 0.08) 75%,
        transparent 100%
    );
    animation: rotateBorder 12s linear infinite;
    z-index: -2;
    pointer-events: none;
    transition: var(--trans-normal);
}

.glass-card:hover::before {
    background: conic-gradient(
        transparent,
        rgba(0, 240, 255, 0.28) 25%,
        rgba(0, 255, 170, 0.48) 50%,
        rgba(0, 240, 255, 0.28) 75%,
        transparent 100%
    );
    animation-duration: 5s; /* Spreads glow faster on hover */
}

/* Glass card body background overlay */
.glass-card::after {
    content: '';
    position: absolute;
    inset: 1.5px; /* Border thickness */
    background: var(--bg-card);
    border-radius: 14.5px; /* Matches card border minus border thickness */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: -1;
    pointer-events: none;
    transition: background var(--trans-normal);
}

.glass-card:hover::after {
    background: var(--bg-card-hover);
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Badges & Section Titles */
.section-badge {
    color: var(--glow-cyan);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    background: linear-gradient(to right, #ffffff, #b2c9e7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Quote container */
.quote-container {
    border-left: 3px solid var(--bpom-green);
    background: rgba(0, 168, 89, 0.04);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin-top: 2rem;
}

.quote-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.quote-author {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bpom-green);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==========================================
   EVENT DETAILS GRID
   ========================================== */
.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.detail-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.8rem;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.detail-item.full-width {
    grid-column: span 2;
}

.detail-icon {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    color: var(--glow-cyan);
    padding: 0.8rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-info h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.detail-info p {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
}

.detail-info p.highlight {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--glow-cyan);
}

.detail-info p.desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================
   COUNTDOWN TIMER
   ========================================== */
.countdown-wrapper {
    margin-top: 2.5rem;
    text-align: center;
    border-top: 1px dashed var(--border-light);
    padding-top: 2.5rem;
}

.countdown-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.countdown-box {
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    width: 80px;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-box .time {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--glow-cyan);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.countdown-box .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1px;
    font-weight: 600;
}

/* ==========================================
   RUNDOWN / TIMELINE
   ========================================== */
.rundown-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    cursor: pointer;
    position: relative;
    transition: var(--trans-fast);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--glow-cyan);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--glow-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.8);
}

.timeline {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    padding-left: 1.8rem;
}

.timeline.active {
    display: flex;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 5px;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
}

.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.8rem;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2.5px solid var(--text-muted);
    z-index: 2;
    transition: border-color var(--trans-fast);
}

.timeline-item:hover::before {
    border-color: var(--glow-cyan);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.8);
}

.time-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--glow-cyan);
    margin-bottom: 0.4rem;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.2rem;
}

.timeline-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.timeline-content.highlight-event {
    border-color: var(--border-glow-green);
    background: rgba(0, 168, 89, 0.03);
}

.timeline-content.highlight-event h4 {
    color: var(--glow-emerald);
}

/* ==========================================
   MAPS SECTION
   ========================================== */
.address-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.map-container {
    width: 100%;
    height: 250px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #0b1424;
    position: relative;
}

.map-grid-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pulse-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--glow-cyan);
    box-shadow: 0 0 0 rgba(0, 240, 255, 0.4);
    animation: markerPulse 2s infinite;
}

@keyframes markerPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 240, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
    }
}

.marker-info {
    position: absolute;
    top: calc(50% + 20px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8, 22, 48, 0.9);
    border: 1px solid var(--border-glow);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    text-align: center;
    min-width: 150px;
}

.marker-info .tag {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.marker-info .coordinates {
    display: block;
    font-size: 0.7rem;
    color: var(--glow-cyan);
}

.map-actions {
    display: flex;
    gap: 1rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--trans-fast);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-secondary);
}

.btn-primary-link {
    background: linear-gradient(135deg, var(--bpom-green) 0%, #008044 100%);
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--trans-fast);
}

.btn-primary-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 168, 89, 0.4);
}

/* ==========================================
   FORM & RSVP SECTION
   ========================================== */
.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

input[type="text"], 
select, 
textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--trans-fast);
    outline: none;
}

input[type="text"]:focus, 
select:focus, 
textarea:focus {
    border-color: var(--glow-cyan);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

select option {
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

/* Radio Cards */
.radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.radio-card {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    cursor: pointer;
    transition: var(--trans-fast);
    background: rgba(255, 255, 255, 0.01);
}

.radio-card:hover {
    background: rgba(255, 255, 255, 0.03);
}

.radio-card input[type="radio"] {
    margin-top: 0.25rem;
    accent-color: var(--glow-cyan);
}

.radio-label {
    display: flex;
    flex-direction: column;
}

.radio-label .title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.radio-label .desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Selected State for Radio Card */
.radio-card:has(input[type="radio"]:checked) {
    border-color: var(--glow-cyan);
    background: rgba(0, 240, 255, 0.05);
}

.btn-submit {
    background: linear-gradient(135deg, var(--bpom-blue) 0%, #0066cc 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 1.1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: var(--trans-fast);
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.35);
    border-color: var(--glow-cyan);
}

/* ==========================================
   BUKU TAMU / WISHES LIST
   ========================================== */
.guestbook-container {
    width: 100%;
}

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

.wish-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1.2rem;
    position: relative;
    animation: cardSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

.wish-author {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--glow-cyan);
}

.wish-badge {
    background: rgba(0, 168, 89, 0.1);
    color: var(--glow-emerald);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-glow-green);
}

.wish-badge.absent {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border-color: var(--border-light);
}

.wish-metadata {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.wish-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================
   MUSIC PLAYER CONTROLLER
   ========================================== */
.audio-controller {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-music {
    background: rgba(8, 20, 42, 0.85);
    border: 1px solid var(--border-glow);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--glow-cyan);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.25);
    transition: var(--trans-fast);
    outline: none;
}

.btn-music:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4);
}

.music-icon {
    display: none;
}

.music-wave {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
}

.music-wave span {
    display: block;
    width: 2px;
    background-color: var(--glow-cyan);
    border-radius: 1px;
    animation: bounceWave 0.8s ease infinite alternate;
}

.music-wave span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.music-wave span:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.music-wave span:nth-child(3) { height: 10px; animation-delay: 0.5s; }
.music-wave span:nth-child(4) { height: 8px; animation-delay: 0.2s; }

@keyframes bounceWave {
    from { transform: scaleY(0.2); }
    to { transform: scaleY(1); }
}

/* Paused State for Wave */
.audio-controller.paused .music-wave span {
    animation-play-state: paused;
    transform: scaleY(0.3);
    background-color: var(--text-muted);
}

.audio-controller.paused .btn-music {
    border-color: var(--border-light);
    color: var(--text-muted);
    box-shadow: none;
}

/* Tooltip */
.music-tooltip {
    background: rgba(8, 20, 42, 0.9);
    border: 1px solid var(--border-light);
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 4px;
    color: var(--text-secondary);
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: var(--trans-fast);
}

.audio-controller:hover .music-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================
   TOAST NOTIFICATION
   ========================================== */
.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.toast {
    background: rgba(8, 20, 42, 0.95);
    border-left: 4px solid var(--glow-emerald);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 280px;
    animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================
   FOOTER
   ========================================== */
.main-footer {
    border-top: 1px solid var(--border-light);
    padding-top: 2.5rem;
    margin-top: 5rem;
    text-align: center;
}

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

.main-footer .tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--glow-cyan);
    margin-top: 0.4rem;
    letter-spacing: 1px;
}

/* ==========================================
   RESPONSIVE DESIGN (MOBILE ADAPTATIONS)
   ========================================== */

/* State where content is locked until Cover is opened */
body.locked {
    overflow: hidden;
}

@media (min-width: 1025px) {
    /* Large screens: Force split screen always */
    body.locked {
        overflow: auto; /* Allow scrolling right pane since left pane is fixed */
    }
    
    .cover-pane {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
    }
    
    .content-pane {
        margin-left: 42%;
    }
}

@media (max-width: 1024px) {
    .app-container {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    /* Cover as overlay */
    .cover-pane {
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        padding: 3rem 2rem;
        transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .cover-pane.opened {
        transform: translateY(-100%);
    }

    /* Content below cover */
    .content-pane {
        width: 100%;
        height: auto;
        padding: 3rem 1.5rem;
        overflow-y: visible;
    }
    
    .glass-card {
        padding: 2rem 1.5rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-item.full-width {
        grid-column: span 1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        grid-template-columns: 1fr;
    }
    
    .audio-controller {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* ==========================================
   FUTURISTIC AI IMAGE EFFECTS & ANIMATIONS
   ========================================== */
.cover-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/bpom_ai_building.png');
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    z-index: -1;
    transition: transform var(--trans-slow);
    animation: zoomBg 24s infinite alternate linear;
    pointer-events: none;
}

@keyframes zoomBg {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.08) rotate(0.5deg); }
}

.intro-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin: 2rem 0;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: var(--trans-normal);
}

.intro-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 320px;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-overlay-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 11, 24, 0.8) 0%, transparent 60%);
    pointer-events: none;
    transition: var(--trans-normal);
}

.intro-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.intro-image-container:hover {
    border-color: var(--border-glow);
    box-shadow: 0 12px 35px rgba(0, 240, 255, 0.15);
}

.intro-image-container:hover .intro-image {
    transform: scale(1.04);
}

.intro-image-container:hover::after {
    left: 125%;
}

/* ==========================================
   NEW PREMIUM IMAGES & CARDS COMPONENTS
   ========================================== */
.intro-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

@media (max-width: 768px) {
    .intro-gallery-grid {
        grid-template-columns: 1fr;
    }
}

.image-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(8, 22, 48, 0.85);
    border: 1px solid var(--border-glow);
    color: var(--glow-cyan);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    z-index: 2;
    pointer-events: none;
}

.venue-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    margin-top: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--trans-normal);
}

.venue-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.venue-image-container:hover {
    border-color: var(--border-glow-green);
    box-shadow: 0 8px 25px rgba(0, 255, 170, 0.15);
}

.venue-image-container:hover .venue-image {
    transform: scale(1.05);
}

.detail-item.flex-col {
    flex-direction: column;
    align-items: stretch;
}

.detail-header {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

/* Gallery Section Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--trans-normal);
    position: relative;
}

.gallery-img-wrapper {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-info {
    padding: 1rem;
    border-top: 1px solid var(--border-light);
}

.gallery-info h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.gallery-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Hover effects for Gallery Card */
.gallery-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.15);
}

.gallery-card:hover .gallery-img-wrapper img {
    transform: scale(1.05);
}

/* ==========================================
   OFFICIAL LOGO & BACKGROUND GRID LINES
   ========================================== */
.bpom-logo-img {
    width: 62px;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4));
    animation: logoGlow 4s infinite alternate;
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 4px rgba(0, 240, 255, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.6));
    }
}

/* Background Cyber Grid Lines (Cipher Digital Style) */
.cyber-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.grid-line {
    position: absolute;
    background: rgba(0, 240, 255, 0.04);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
}

.grid-line.line-1 { top: 25%; }
.grid-line.line-2 { top: 75%; }
.grid-line.line-3 { left: 30%; }
.grid-line.line-4 { left: 70%; }

.grid-line::after {
    content: '';
    position: absolute;
}

.grid-line.horizontal::after {
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--glow-cyan), var(--glow-emerald), transparent);
    animation: horizontalPulse 8s infinite linear;
}

.grid-line.vertical::after {
    left: 0;
    top: -50%;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, transparent, var(--glow-cyan), var(--glow-emerald), transparent);
    animation: verticalPulse 10s infinite linear;
}

@keyframes horizontalPulse {
    0% { left: -50%; }
    100% { left: 150%; }
}

@keyframes verticalPulse {
    0% { top: -50%; }
    100% { top: 150%; }
}

/* ==========================================
   SERVICES GRID (LAYANAN DIGITAL BPOM)
   ========================================== */
.services-cyber-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.2rem;
}

@media (max-width: 768px) {
    .services-cyber-grid {
        grid-template-columns: 1fr;
    }
}

.service-cyber-cell {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    transition: var(--trans-normal);
    z-index: 1;
}

.service-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    transition: var(--trans-normal);
    flex-shrink: 0;
}

.service-icon-wrapper img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.service-cell-info h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.badge-tag {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--glow-cyan);
    background: rgba(0, 240, 255, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-cyber-cell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.06), transparent 70%);
    opacity: 0;
    transition: opacity var(--trans-normal);
    z-index: -1;
}

.service-cyber-cell:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.12);
}

.service-cyber-cell:hover::before {
    opacity: 1;
}

.service-cyber-cell:hover .service-icon-wrapper {
    border-color: var(--glow-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
}
