:root {
    --primary: #9d2ca1;
    --secondary: #e82c9e;
    /* Elegant magenta/pink */
    --tertiary: #4c1d95;
    --bg-color: #070414;
    /* Deep, very dark indigo/navy for professional look */
    --surface: rgba(20, 15, 38, 0.6);
    /* Card backgrounds */
    --text: #ffffff;
    --text-muted: #94a3b8;

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow: 0 4px 20px rgba(232, 44, 158, 0.25);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Background Canvas */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at top right, #1f114c 0%, var(--bg-color) 70%);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

span {
    color: var(--secondary);
}

h1,
h2,
h3,
h4 {
    line-height: 1.3;
    font-weight: 600;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(7, 4, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 45px;
    width: auto;
    border-radius: 8px;
}

/* Desktop nav-links: positioned fixed alongside navbar */
.nav-links {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 80px;
    display: flex;
    gap: 2.5rem;
    align-items: center;
    z-index: 99;
    pointer-events: auto;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

/* Close (×) button inside the mobile overlay — hidden on desktop */
.hamburger-close {
    display: none;
}

.btn-register {
    background: var(--secondary);
    color: #fff !important;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 500 !important;
    box-shadow: var(--glow);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s !important;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 44, 158, 0.4) !important;
    background: #f03eb1;
}

/* Language Toggle Button */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #e2e8f0;
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    margin-left: 4px;
}

.lang-toggle:hover {
    background: rgba(232, 44, 158, 0.12);
    border-color: rgba(232, 44, 158, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.lang-flag {
    font-size: 1rem;
    line-height: 1;
}

.lang-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    padding-top: 160px;
    background: linear-gradient(rgba(7, 4, 20, 0.5), rgba(7, 4, 20, 0.5)), url('./gambar/background.webp') no-repeat center center fixed;
    background-size: cover;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
    position: relative;
}

.badge {
    display: inline-block;
    background: rgba(232, 44, 158, 0.1);
    border: 1px solid rgba(232, 44, 158, 0.3);
    color: #ff85d2;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.title {
    font-size: 5.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    color: #ffffff;
}

.title strong {
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 3.5rem;
    color: var(--text-muted);
}

.theme-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem 3rem;
    border-radius: 20px;
    margin-bottom: 3.5rem;
    box-shadow: var(--shadow-soft);
    display: inline-block;
}

.theme-box p {
    font-size: 1.15rem;
    font-weight: 400;
    color: #e2e8f0;
    max-width: 700px;
    margin: 0 auto;
}

.organizer-logo-container {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.peraboi-main-logo {
    height: 55px;
    /* Reduced size */
    width: auto;
    border-radius: 12px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.peraboi-main-logo:hover {
    transform: scale(1.05);
}

.date-location {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.65;
    transition: opacity 0.3s;
}

.date-location:hover {
    opacity: 1;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(135deg,
            rgba(157, 44, 161, 0.25) 0%,
            rgba(232, 44, 158, 0.18) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 26px;
    border-radius: 50px;
    border: 1px solid rgba(232, 44, 158, 0.45);
    box-shadow: 0 0 18px rgba(232, 44, 158, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 0.3px;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(232, 44, 158, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.info-item span {
    color: #ffffff !important;
}

/* Icon emoji in info-item */
.info-item .icon {
    font-size: 1.15rem;
    filter: drop-shadow(0 0 6px rgba(232, 44, 158, 0.6));
}

.hero-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--secondary);
    color: #ffffff !important;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(232, 44, 158, 0.3);
    border: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

.btn-download:hover {
    background: #f03d9d;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(232, 44, 158, 0.5);
}

.btn-download span,
.btn-download svg {
    color: #ffffff !important;
}

.btn-download svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    stroke: #ffffff !important;
    flex-shrink: 0;
}

.scroll-indicator {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.5;
    animation: fadeInOut 2s infinite;
}

.mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 2px;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 0.7;
        transform: translateY(-5px);
    }
}

/* Sections */
.section {
    padding: 4rem 0;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Glass Card Global */
.glass-card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Spotlight layer — follows mouse via --mouse-x / --mouse-y */
.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(232, 44, 158, 0.10) 0%,
            rgba(157, 44, 161, 0.06) 40%,
            transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    border-radius: inherit;
}

/* Border glow layer */
.glass-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(232, 44, 158, 0.35),
            rgba(157, 44, 161, 0.18) 50%,
            transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    padding: 1px;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(232, 44, 158, 0.15);
    border-color: transparent;
}

.glass-card:hover::before,
.glass-card:hover::after {
    opacity: 1;
}

/* Keep children above the pseudo-elements */
.glass-card>* {
    position: relative;
    z-index: 1;
}

/* About Section */
.sambutan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 0 20px rgba(232, 44, 158, 0.3);
    flex-shrink: 0;
    object-fit: cover;
}

.avatar-2 {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.profile-header h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.role {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.message-content {
    font-size: 1.05rem;
    color: #cbd5e1;
}

.message-content p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.message-content strong {
    color: #fff;
    font-weight: 500;
}

/* Schedule Tabs */
.tabs-container {
    width: 100%;
    position: relative;
    padding: 10px 0;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.tab-btn.active {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
    box-shadow: var(--glow);
}

.tabs-content {
    position: relative;
    width: 100%;
}

.tab-pane {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease-out forwards;
}

.tab-pane.active {
    display: block;
}

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

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

/* Modern Agenda Card */
.modern-agenda-card {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.agenda-header {
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gradient-1 {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(99, 102, 241, 0.1));
}

.gradient-2 {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(139, 92, 246, 0.1));
}

.gradient-3 {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(20, 184, 166, 0.1));
}

.agenda-day {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.agenda-date {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.agenda-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.agenda-session {
    display: flex;
    flex-direction: column;
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.session-header h3 {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 500;
}

.venue-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.modern-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.modern-list li {
    position: relative;
    padding-left: 2rem;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.5;
}

.modern-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
}

.divider {
    height: 1px;
    background: var(--glass-border);
    width: 100%;
}



/* Committee Grid */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.mini-card {
    padding: 2rem;
    text-align: center;
}

.mini-card h4 {
    color: var(--secondary);
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mini-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==================== REGISTRATION SECTION ==================== */
.registration-section {
    position: relative;
}

.registration-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(157, 44, 161, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.reg-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.reg-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.reg-theme {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Price legend */
.price-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-dot.early {
    background: #a78bfa;
}

.legend-dot.onsite {
    background: var(--secondary);
}

/* Tab buttons */
.reg-tabs-header {
    display: flex;
    gap: 12px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.reg-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    outline: none;
}

.reg-tab-btn svg {
    flex-shrink: 0;
    transition: color 0.3s;
}

.tab-date {
    font-size: 0.78rem;
    font-weight: 400;
    opacity: 0.7;
    margin-left: 4px;
}

.reg-tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.reg-tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px rgba(232, 44, 158, 0.3);
}

/* Tab pane */
.reg-tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.reg-tab-pane.active {
    display: block;
}

/* Table */
.reg-table-wrapper {
    overflow-x: auto;
}

.reg-table {
    width: 100%;
    border-collapse: collapse;
}

.reg-table thead tr {
    background: linear-gradient(135deg, rgba(157, 44, 161, 0.2), rgba(232, 44, 158, 0.15));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reg-table th {
    padding: 1.1rem 1.4rem;
    text-align: left;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.reg-table th.col-early,
.reg-table th.col-onsite {
    text-align: center;
}

.reg-table th.col-cap {
    text-align: center;
}

.reg-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s;
}

.reg-table tbody tr:last-child {
    border-bottom: none;
}

.reg-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.reg-table tbody tr.row-highlight {
    background: rgba(232, 44, 158, 0.05);
}

.reg-table tbody tr.row-highlight:hover {
    background: rgba(232, 44, 158, 0.09);
}

.name-cell {
    padding: 1.1rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.workshop-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #e2e8f0;
}

.workshop-abbr {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cap-cell {
    padding: 1.1rem 1.4rem;
    text-align: center;
}

.cap-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
}

.price-cell {
    padding: 1.1rem 1.4rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.early-price {
    color: #a78bfa;
}

.onsite-price {
    color: var(--secondary);
}

.price-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.price-badge.early {
    background: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.25);
}

.price-badge.onsite {
    background: rgba(232, 44, 158, 0.12);
    color: var(--secondary);
    border: 1px solid rgba(232, 44, 158, 0.25);
}

.reg-note {
    margin-top: 1rem;
    font-size: 0.83rem;
    color: var(--text-muted);
    opacity: 0.7;
    font-style: italic;
}

/* CTA button */
.reg-cta {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

/* Footer Section */
.footer {
    background: #05030e;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Glow accent bar at top */
.footer-glow-bar {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 30%, var(--secondary) 60%, transparent 100%);
    opacity: 0.8;
}

/* Brand block (centered logo + tagline) */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 0 2rem;
}

.footer-logos {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.footer-logo {
    height: 58px;
    width: auto;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    padding: 6px;
    transition: transform 0.3s;
}

.footer-logo:hover {
    transform: scale(1.06);
}

.footer-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.footer-sub-tagline {
    font-size: 0.88rem;
    color: var(--secondary);
    letter-spacing: 1px;
}

/* Divider line */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border) 30%, var(--glass-border) 70%, transparent);
    margin: 0.25rem 0;
}

/* Main 3-col grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    padding: 2.5rem 0 1.5rem;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.85;
}

/* Column heading with icon */
.footer-col-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 1.2rem;
}

.footer-col-label svg {
    flex-shrink: 0;
}

/* WA sub-label */
.footer-wa-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

/* Contact cards */
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-card:hover {
    background: rgba(37, 211, 102, 0.07);
    border-color: rgba(37, 211, 102, 0.25);
    transform: translateX(4px);
}

.footer-contact-card div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
}

.contact-num {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Email link */
.footer-email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    margin-top: 8px;
    transition: color 0.3s;
}

.footer-email-link svg {
    color: var(--secondary);
    flex-shrink: 0;
}

.footer-email-link:hover {
    color: var(--secondary);
}

/* Social pill button */
.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(157, 44, 161, 0.18), rgba(232, 44, 158, 0.12));
    border: 1px solid rgba(232, 44, 158, 0.3);
    color: #e2e8f0;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    width: fit-content;
}

.footer-social-btn:hover {
    background: linear-gradient(135deg, rgba(157, 44, 161, 0.35), rgba(232, 44, 158, 0.3));
    border-color: rgba(232, 44, 158, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(232, 44, 158, 0.22);
    color: #fff;
}

.footer-event-note {
    font-size: 0.82rem !important;
    color: var(--text-muted) !important;
    line-height: 1.6;
    opacity: 0.7;
}

/* Bottom bar */
.bottom-bar {
    text-align: center;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(3, 1, 8, 0.6);
}

.bottom-bar p {
    color: #475569;
    font-size: 0.85rem;
    line-height: 1.6;
}

.bottom-bar-sub {
    font-size: 0.78rem !important;
    color: #334155 !important;
    margin-top: 4px;
}

.bottom-bar-sub a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.bottom-bar-sub a:hover {
    color: #f472e4;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modal & Read More Button - Premium Design */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 3, 14, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow-y: auto;
    transition: all 0.4s ease;
}

.modal-content {
    position: relative;
    margin: 5vh auto;
    width: 90%;
    max-width: 800px;
    background: linear-gradient(135deg, rgba(20, 15, 38, 0.9), rgba(10, 8, 20, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3.5rem;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    animation: modalSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

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

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 25px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.close-modal:hover {
    background: rgba(232, 44, 158, 0.1);
    color: var(--secondary);
    border-color: rgba(232, 44, 158, 0.2);
    transform: rotate(90deg);
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(232, 44, 158, 0.08);
    border: 1px solid rgba(232, 44, 158, 0.3);
    color: var(--secondary);
    padding: 10px 24px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(4px);
}

.btn-read-more svg {
    transition: transform 0.3s ease;
}

.btn-read-more:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-3px) translateX(2px);
    box-shadow: 0 10px 25px rgba(232, 44, 158, 0.4);
    border-color: var(--secondary);
}

.btn-read-more:hover svg {
    transform: translateX(5px);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.wa-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(20, 15, 38, 0.9);
    color: #fff;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

body.modal-open {
    overflow: hidden;
}

/* Hide hamburger on desktop */
.hamburger { display: none; }

/* ============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .sambutan-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .committee-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reg-tabs-header {
        gap: 0.75rem;
    }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

    /* ── Navbar ────────────────────────────────────────────── */
    .navbar {
        padding: 1rem 1.2rem;
    }

    .nav-links {
        /* Full-screen overlay — positioned relative to viewport (not navbar) */
        position: fixed;
        inset: 0;
        height: 100dvh;
        width: 100vw;
        left: 0;
        top: 0;
        transform: none;
        flex-direction: column;
        background: rgba(7, 4, 20, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        z-index: 10000;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        display: none; /* hidden by default on mobile */
        pointer-events: none;
    }

    .nav-links.mobile-open {
        display: flex;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 1.4rem;
        font-weight: 600;
        color: rgba(255,255,255,0.85);
    }

    .nav-links a:hover {
        color: #fff;
    }

    .nav-links .btn-register {
        font-size: 1rem;
        padding: 14px 36px;
    }

    /* Show the ✕ close button inside overlay on mobile */
    .hamburger-close {
        display: flex;
        position: absolute;
        top: 1.4rem;
        right: 1.4rem;
    }

    .lang-toggle {
        font-size: 0.8rem;
        padding: 7px 12px;
    }

    /* Hamburger button */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
        z-index: 10001;
        margin-left: 0.5rem;
    }

    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
        color: transparent;
    }

    .hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* ── Hero ──────────────────────────────────────────────── */
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-content {
        padding: 0 1rem;
        text-align: center;
    }

    .badge {
        margin-top: 2.5rem !important;
        margin-bottom: 1.5rem;
    }

    .title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .theme-box {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }

    .peraboi-main-logo {
        max-width: 220px;
    }

    .date-location {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .info-item {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .btn-download {
        font-size: 0.88rem;
        padding: 13px 24px;
    }

    /* ── Sections ──────────────────────────────────────────── */
    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* ── Glass Cards ───────────────────────────────────────── */
    .glass-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    /* ── About / Sambutan ──────────────────────────────────── */
    .sambutan-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .profile-avatar {
        width: 90px;
        height: 90px;
    }

    .profile-info h3 {
        font-size: 1rem;
    }

    .message-content {
        font-size: 0.88rem;
    }

    /* ── Schedule / Agenda ─────────────────────────────────── */
    .tabs-header {
        gap: 0.5rem;
    }

    .tab-btn {
        font-size: 0.8rem;
        padding: 10px 14px;
    }

    .agenda-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 1rem 1.2rem;
    }

    .agenda-day {
        font-size: 1.1rem;
    }

    .agenda-date {
        font-size: 0.8rem;
    }

    .agenda-body {
        padding: 1rem;
    }

    .session-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .session-header h3 {
        font-size: 1rem;
    }

    .venue-badge {
        font-size: 0.75rem;
    }

    .modern-list li {
        font-size: 0.88rem;
    }

    /* Carousel arrows */
    .carousel-arrow {
        display: none;
    }

    /* ── Committee ─────────────────────────────────────────── */
    .committee-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .mini-card {
        padding: 1.2rem;
    }

    /* ── Registration — Card Layout ───────────────────────── */
    .reg-tabs-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .reg-tab-btn {
        width: 100%;
        justify-content: center;
    }

    /* Transform table into cards — no horizontal scroll */
    .reg-table-wrapper {
        overflow: visible;
        border-radius: 16px;
    }

    .reg-table {
        min-width: unset;
        width: 100%;
        font-size: 0.88rem;
    }

    /* Hide header row — labels come from data-label */
    .reg-table thead {
        display: none;
    }

    /* Each row becomes its own card */
    .reg-table tbody tr {
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        padding: 1rem 1rem 0.75rem;
    }

    .reg-table tbody tr:last-child {
        border-bottom: none;
    }

    /* Name cell — full width title */
    .reg-table td.name-cell {
        display: block;
        width: 100%;
        padding: 0 0 0.6rem 0;
        border: none;
    }

    .reg-table td.name-cell .workshop-name {
        font-size: 0.95rem;
        font-weight: 600;
    }

    /* Price & cap cells — label on left, value on right */
    .reg-table td[data-label]:not(.name-cell) {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 0;
        border: none;
    }

    .reg-table td[data-label]:not(.name-cell)::before {
        content: attr(data-label);
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: rgba(255,255,255,0.45);
        flex-shrink: 0;
        margin-right: 1rem;
    }

    /* Early Bird badge accent */
    .reg-table td.early-price[data-label]::before {
        color: #a78bfa;
    }

    /* On Site badge accent */
    .reg-table td.onsite-price[data-label]::before {
        color: #f472b6;
    }

    /* Cap cell special */
    .reg-table td.cap-cell {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 0;
        border: none;
    }

    .reg-table td.cap-cell::before {
        content: attr(data-label);
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: rgba(255,255,255,0.45);
    }

    .reg-legend {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }



    /* ── Footer ────────────────────────────────────────────── */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo-group {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .bottom-bar {
        flex-direction: column;
        gap: 0.4rem;
        text-align: center;
        font-size: 0.78rem;
    }

    /* ── Floating Buttons ──────────────────────────────────── */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    /* Share button — circular, same size as WhatsApp, aligned right */
    .share-panel {
        bottom: 82px !important;
        right: 20px !important;
        left: auto !important;
        align-items: flex-end !important;
    }

    .share-toggle {
        width: 52px !important;
        height: 52px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        justify-content: center !important;
        letter-spacing: 0 !important;
        gap: 0 !important;
    }

    .share-toggle-label {
        display: none !important;
    }

    .share-items {
        min-width: 155px;
        right: 0;
        bottom: 60px;
        position: absolute;
    }

    /* ── Modal ─────────────────────────────────────────────── */
    .modal-content {
        padding: 1.5rem 1.2rem;
        margin: 1rem;
        max-height: 85vh;
        overflow-y: auto;
    }

    .modal-content h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    #modalBody p {
        font-size: 0.88rem;
        line-height: 1.7;
    }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .title {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .badge {
        font-size: 0.72rem;
        padding: 6px 16px;
        display: block;
        margin-top: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .glass-card {
        padding: 1.2rem;
    }

    .btn-download {
        font-size: 0.82rem;
        padding: 11px 18px;
        gap: 8px;
    }

    .info-item {
        font-size: 0.85rem;
    }

    .theme-box p {
        font-size: 0.85rem;
    }

    .tab-btn {
        font-size: 0.75rem;
        padding: 8px 10px;
    }
}

/* ============================================================
   FLOATING SHARE PANEL
   ============================================================ */
.share-panel {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.share-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(232, 44, 158, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.share-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(232, 44, 158, 0.55);
}

.share-toggle-label {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 800;
}

/* Share items container */
.share-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(15, 8, 35, 0.9);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 14px 12px;
    min-width: 170px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform-origin: bottom left;
    animation: shareIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
    /* hidden by default, JS toggles */
}

.share-items.open {
    display: flex;
}

@keyframes shareIn {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(12px);
    }

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

.share-items-title {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 0 4px 4px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 4px;
}

/* Individual share buttons */
.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    border: none;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.04);
}

.share-btn:hover {
    transform: translateX(4px);
    color: #fff;
}

.share-btn svg {
    flex-shrink: 0;
}

/* Platform colours on hover */
.share-wa:hover {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
}

.share-fb:hover {
    background: rgba(24, 119, 242, 0.15);
    color: #1877f2;
}

.share-tw:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.share-li:hover {
    background: rgba(10, 102, 194, 0.15);
    color: #0a66c2;
}

.share-copy:hover {
    background: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
}

/* Copied state */
.share-copy.copied {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
}