/* ============================================
   Sanggar Kusuma Jati - Custom Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #7B2D26;
    --primary-dark: #5A1F1A;
    --primary-deep: #3E1715;
    --gold: #C19A3B;
    --gold-deep: #9E7D2F;
    --gold-bronze: #8B6914;
    --cream: #FBF7F0;
    --cream-light: #FFFDF9;
    --brown: #3E2723;
    --brown-dark: #2C1A17;
    --ink-black: #1A1210;
    --text-muted: #7A6E65;
    --border-light: rgba(193, 154, 59, 0.2);
    --shadow-maroon: rgba(123, 45, 38, 0.18);
}

/* --- Firefly Animation --- */
.firefly {
    position: absolute;
    border-radius: 50%;
    background-color: #fceea7;
    box-shadow: 0 0 4px #fceea7, 0 0 10px #fdd835, 0 0 20px #fbc02d;
    pointer-events: none;
    z-index: 10;
}

/* --- Animasi & Teks Neon --- */
.neon-wrapper {
    text-align: left;
    margin-top: 3rem;
}

.neon-jawa {
    font-family: 'Philosopher', sans-serif;
    font-size: 3.8rem;
    color: #fff;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px var(--primary),
        0 0 40px var(--primary),
        0 0 80px var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    animation: neon-pulse 1.5s infinite alternate;
}

.neon-slogan {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(193, 154, 59, 0.8);
    letter-spacing: 3px;
    font-weight: 500;
    text-transform: uppercase;
}

@keyframes neon-pulse {
    from {
        text-shadow: 
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px var(--primary),
            0 0 40px var(--primary),
            0 0 80px var(--gold);
    }
    to {
        text-shadow: 
            0 0 2px #fff,
            0 0 5px #fff,
            0 0 10px var(--primary),
            0 0 20px var(--primary),
            0 0 40px var(--gold);
    }
}

/* --- Base Styles --- */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--cream);
    color: var(--ink-black);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(193, 154, 59, 0.06) 0px, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(123, 45, 38, 0.05) 0px, transparent 35%);
}

h1, h2, h3, h4 {
    font-family: 'Philosopher', sans-serif;
    color: var(--primary);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.15);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--cream);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

/* --- Announcement Ticker --- */
.announcement-bar {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 50%, var(--primary-deep) 100%);
    color: var(--cream);
    font-size: 0.875rem;
    padding: 0.5rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.announcement-bar .badge-pengumuman {
    background: var(--gold);
    color: var(--brown);
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    white-space: nowrap;
}

.ticker-wrap {
    overflow: hidden;
    margin-left: 1rem;
    flex: 1;
}

.ticker {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* --- Navbar --- */
.navbar-sanggar {
    background: rgba(255, 253, 249, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    z-index: 1040;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(193, 154, 59, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}
body.theme-classic_javanese .navbar-sanggar {
    background: rgba(244, 236, 225, 0.9);
    border-bottom: 1px solid rgba(193, 154, 59, 0.4);
}

.logo-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px rgba(193, 154, 59, 0.4);
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Philosopher', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary);
    line-height: 1.2;
}

.logo-sub {
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    opacity: 0.7;
    text-transform: uppercase;
}

.nav-link-sanggar {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.3s ease;
    border-radius: 8px;
}
.nav-link-sanggar:hover {
    color: var(--primary);
    background: rgba(193, 154, 59, 0.1);
}

.btn-masuk {
    height: 32px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 0.875rem;
    border-radius: 6px;
    padding: 0 0.75rem;
    transition: all 0.2s;
}

.btn-masuk:hover {
    background: rgba(193, 154, 59, 0.1);
}

.btn-daftar-nav {
    height: 32px;
    background: var(--primary);
    color: #000;
    font-size: 0.875rem;
    border-radius: 6px;
    border: none;
    padding: 0 0.75rem;
    transition: all 0.2s;
}

.btn-daftar-nav:hover {
    box-shadow: 0 4px 12px rgba(193, 154, 59, 0.3);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.9) saturate(1.3) contrast(1.1);
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(44,26,23,0.5) 0%, rgba(193,154,59,0.1) 100%);
    z-index: 1;
}
body.theme-classic_javanese .hero-overlay {
    background: linear-gradient(to right, rgba(93,64,55,0.5) 0%, rgba(215,204,200,0.1) 100%);
}

/* --- Leaf Particles --- */
.leaf {
    position: absolute;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--gold), #8B6508);
    border-radius: 0 100% 0 100%;
    opacity: 0.7;
    pointer-events: none;
    z-index: 2;
    box-shadow: inset 2px 2px 4px rgba(255,255,255,0.3), 2px 4px 6px rgba(0,0,0,0.2);
    /* Sedikit lengkungan daun */
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-content {
    position: relative;
    z-index: 3;
    animation: float-up 0.6s ease-out;
}

@keyframes float-up {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0px); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--gold);
    color: var(--brown);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: 'Philosopher', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 50%, var(--gold-bronze) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-royal {
    background: linear-gradient(135deg, var(--primary-deep), var(--primary), var(--primary-deep));
    color: var(--cream);
    border: none;
    border-radius: 6px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-royal:hover {
    box-shadow: 0 8px 24px var(--shadow-maroon);
    transform: translateY(-1px);
    color: var(--cream);
}

.btn-outline-light-sanggar {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-outline-light-sanggar:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.hero-schedule-box {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(193, 154, 59, 0.4);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    margin-top: 1.5rem;
}

.hero-schedule-box .schedule-icon {
    color: var(--gold);
    font-size: 1.5rem;
}

.hero-schedule-box .schedule-label {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-schedule-box .schedule-time {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
}

/* --- Kawung Divider --- */
.kawung-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
    margin: 0 auto;
}

/* --- Statistics Bar --- */
.stats-section {
    background: var(--cream-light);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(193, 154, 59, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.stat-icon i {
    font-size: 1.4rem;
    color: var(--primary);
}

.stat-number {
    font-family: 'Philosopher', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* --- Section Styles --- */
.section-badge {
    display: inline-block;
    background: rgba(193, 154, 59, 0.2);
    color: var(--brown);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Philosopher', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-bg-alt {
    background: rgba(136, 120, 100, 0.08);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* --- Ornament Frame --- */
.ornament-frame {
    border: 1px solid rgba(193, 154, 59, 0.4);
    position: relative;
    box-shadow:
        rgba(193, 154, 59, 0.15) 0px 0px 0px 1px inset,
        rgba(123, 45, 38, 0.08) 0px 4px 24px;
    border-radius: 16px;
    overflow: hidden;
}

/* --- About Section --- */
.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
}

.about-floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary-deep), var(--primary), var(--primary-deep));
    color: var(--cream);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    max-width: 200px;
    z-index: 2;
}

.about-floating-badge .badge-title {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
}

.about-floating-badge .badge-desc {
    font-size: 0.7rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.feature-grid-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(193, 154, 59, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--primary);
    font-size: 1.1rem;
}

.feature-title {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.15rem;
}

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

/* --- Schedule Cards (Papan Tulis Digital berbingkai Ukiran Jawa) --- */
.schedule-card {
    background: #6D4326; /* Warna kayu bingkai */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='45' height='45' viewBox='0 0 60 60'%3E%3Cpath d='M30,5 C40,20 50,25 55,30 C50,35 40,40 30,55 C20,40 10,35 5,30 C10,25 20,20 30,5 Z' fill='none' stroke='%233E1F0F' stroke-width='2'/%3E%3Ccircle cx='30' cy='30' r='5' fill='%233E1F0F'/%3E%3Cpath d='M0,0 L15,15 M60,0 L45,15 M0,60 L15,45 M60,60 L45,45' stroke='%233E1F0F' stroke-width='1.5'/%3E%3C/svg%3E");
    padding: 8px; /* Ketebalan bingkai ukiran dipertipis */
    border-radius: 10px;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.3), 
        inset 0 3px 6px rgba(255,255,255,0.2), 
        inset 0 -3px 6px rgba(0,0,0,0.4);
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.5), 
        inset 0 3px 6px rgba(255,255,255,0.2), 
        inset 0 -3px 6px rgba(0,0,0,0.4);
}

.schedule-card .card-body {
    background: #252A26; /* Papan tulis slate gelap */
    background-image: 
        radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 16px 16px;
    background-position: 0 0, 8px 8px;
    border-radius: 6px;
    padding: 1.75rem; /* Ruang dalam diperlebar agar teks tidak menabrak pinggir */
    box-shadow: inset 0 0 20px rgba(0,0,0,0.9); /* Efek kedalaman papan tulis */
}

.schedule-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    letter-spacing: 0.5px;
}

.schedule-card h3 {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold);
    margin: 0.75rem 0 0.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    border-bottom: 1px dashed rgba(193, 154, 59, 0.3);
    padding-bottom: 0.5rem;
}

.schedule-time {
    font-size: 0.9rem;
    color: #FBF7F0; /* Putih kapur */
    font-weight: 500;
    margin-bottom: 0.75rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.schedule-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #cccccc;
    margin-bottom: 0.4rem;
}

.schedule-detail i {
    color: var(--gold);
    width: 16px;
}

/* --- Class Cards --- */

.class-card {
    background: var(--cream-light);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.class-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--shadow-maroon);
}

.class-card-img {
    position: relative;
    height: 224px;
    overflow: hidden;
}

.class-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.class-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1.25rem;
}

.class-age-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.35rem;
}

.class-card-overlay h3 {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.class-card-body {
    padding: 1.25rem;
}

.class-card-body p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.class-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.class-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0;
    font-size: 0.85rem;
    color: var(--ink-black);
}

.class-feature-list li i {
    color: var(--gold);
    font-size: 0.8rem;
}

.btn-daftar-kelas {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-deep), var(--primary), var(--primary-deep));
    color: var(--cream);
    border: none;
    border-radius: 6px;
    padding: 0.55rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-daftar-kelas:hover {
    box-shadow: 0 8px 24px var(--shadow-maroon);
    color: var(--cream);
}

/* --- Gallery Section --- */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 15px 0;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    background: #000;
    aspect-ratio: 1 / 1; /* Membuat foto/video sama kotak (persegi) rapi */
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.5s ease;
    filter: brightness(0.85) grayscale(30%);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(193, 154, 59, 0.4);
    z-index: 2;
}

.gallery-item:hover img, .gallery-item:hover video {
    transform: scale(1.1);
    filter: brightness(1.1) grayscale(0%);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%, rgba(193,154,59,0.3) 100%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.6), transparent);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

/* Responsiveness adjustments for grid-row-end if span isn't perfect, although inline style handles it */
@media (max-width: 992px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
    }
}

.video-wrapper {
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.gallery-img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 50%, var(--primary-deep) 100%);
    color: var(--cream);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    background-image:
        radial-gradient(circle at 0px 0px, transparent 8px, rgba(193, 154, 59, 0.18) 8px, rgba(193, 154, 59, 0.18) 9px, transparent 9px),
        radial-gradient(circle at 12px 12px, rgba(123, 45, 38, 0.1) 4px, transparent 4px);
    background-size: 24px 24px;
}

.btn-gold {
    background: var(--gold);
    color: var(--brown);
    border: none;
    border-radius: 6px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-gold:hover {
    background: var(--gold-deep);
    box-shadow: 0 8px 24px rgba(193, 154, 59, 0.3);
    color: var(--brown);
}

/* --- Footer --- */
.footer-sanggar {
    background: var(--ink-black);
    border-top: 3px solid var(--gold);
    padding: 3rem 0 1rem;
    color: var(--cream);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    max-width: 400px;
}

.footer-title {
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-family: 'Philosopher', sans-serif;
    letter-spacing: 0.5px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.footer-list li i {
    color: var(--gold);
    margin-top: 2px;
    width: 16px;
    text-align: center;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(193, 154, 59, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: all 0.3s;
    text-decoration: none;
    font-size: 1rem;
}

.social-icon:hover {
    background: var(--gold);
    color: var(--ink-black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(193, 154, 59, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(193, 154, 59, 0.2);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.5px;
}

/* --- Login/Register Page --- */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    padding: 2rem;
}

.auth-card {
    background: var(--cream-light);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.auth-card .logo-circle {
    margin: 0 auto 1rem;
    width: 56px;
    height: 56px;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-card .auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.form-control-sanggar {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.form-control-sanggar:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(193, 154, 59, 0.15);
    outline: none;
}

.form-label-sanggar {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-black);
    margin-bottom: 0.3rem;
}

.btn-auth-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-deep), var(--primary), var(--primary-deep));
    color: var(--cream);
    border: none;
    border-radius: 8px;
    padding: 0.7rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.btn-auth-primary:hover {
    box-shadow: 0 8px 24px var(--shadow-maroon);
    color: var(--cream);
}

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

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

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

/* --- Alert Messages --- */
.alert-sanggar {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.alert-sanggar.alert-danger {
    background: rgba(220, 38, 38, 0.08);
    color: #991B1B;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.alert-sanggar.alert-success {
    background: rgba(22, 163, 74, 0.08);
    color: #166534;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

/* --- Scroll to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--brown);
    box-shadow: 0 8px 25px rgba(193, 154, 59, 0.5);
    transform: translateY(-5px);
}

/* --- Schedule Exotic Cards --- */
.schedule-card {
    background: rgba(20, 20, 22, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(193, 154, 59, 0.15);
    border-top: 4px solid var(--gold);
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    height: 100%;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(193,154,59,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
    z-index: 0;
}

.schedule-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(193, 154, 59, 0.4);
    box-shadow: 0 20px 40px rgba(193, 154, 59, 0.15), inset 0 0 20px rgba(193,154,59,0.05);
}

.schedule-card:hover::before {
    opacity: 1;
}

.schedule-card .card-body {
    position: relative;
    z-index: 1;
    padding: 0;
}

.schedule-badge {
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    display: inline-block;
}

.schedule-card h3 {
    font-family: 'Philosopher', serif;
    font-size: 1.4rem;
    color: var(--gold);
    margin: 1.5rem 0 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.schedule-time {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.03);
    padding: 0.8rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: inline-block;
    width: 100%;
    border-left: 3px solid var(--gold);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
}

.schedule-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    font-weight: 300;
}

.schedule-detail i {
    color: var(--gold);
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* --- Responsive --- */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .about-floating-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        max-width: 100%;
    }
    .about-image-wrapper img {
        height: 280px;
    }
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-section {
        min-height: 70vh;
    }
}