/* ============================================
   GLOBAL STYLES & THEME
   ============================================ */

:root {
    --primary-color: #9d4edd;
    --secondary-color: #7209b7;
    --accent-color: #3a0ca3;
    --light-accent: #f72585;
    --cyan: #00f5ff;
    --light-bg: #0a0e27;
    --dark-bg: #050812;
    --text-light: #ffffff;
    --text-muted: #b0b3c1;
    --border-color: #3a4156;
    --success-color: #00d084;
    --warning-color: #ffa502;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--light-bg) 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Custom */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--light-accent));
    border-radius: 5px;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVBAR / HEADER
   ============================================ */

.navbar {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(157, 78, 221, 0.2);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

.logo-text h1 {
    font-size: 20px;
    background: linear-gradient(135deg, var(--cyan), var(--light-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.logo-text p {
    font-size: 11px;
    color: var(--text-muted);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--light-accent));
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--cyan);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: 0.3s;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--light-accent));
    color: var(--text-light);
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(157, 78, 221, 0.6);
}

.btn-secondary {
    background: rgba(157, 78, 221, 0.2);
    color: var(--text-light);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(1.2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.3), rgba(247, 37, 133, 0.3));
}

.hero-headline {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 0 40px rgba(157, 78, 221, 0.5);
    animation: fadeInDown 0.8s ease-out;
}

.hero-subheadline {
    font-size: 20px;
    color: var(--cyan);
    font-weight: 600;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    margin-bottom: 80px;
}

.about h2,
.about-section h2,
.captain h2,
.countdown h2,
.cta h2,
.wali-section h2,
.pengurus-section h2,
.students-section h2,
.gallery h2,
.video-section h2,
.info-section h2 {
    font-size: 40px;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--cyan), var(--light-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.8;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
}

/* ============================================
   CAPTAIN SECTION
   ============================================ */

.captain {
    margin-bottom: 80px;
}

.captain-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.1), rgba(157, 78, 221, 0.1));
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.captain-image {
    width: 100%;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 40px rgba(157, 78, 221, 0.3);
    transition: transform 0.3s;
}

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

.captain-info h3 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--cyan);
}

.captain-title {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 600;
}

.captain-quote {
    font-size: 16px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(247, 37, 133, 0.1);
    border-left: 3px solid var(--light-accent);
    border-radius: 8px;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(157, 78, 221, 0.2);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    color: var(--cyan);
    transition: all 0.3s;
}

.social-media a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ============================================
   COUNTDOWN SECTION
   ============================================ */

.countdown {
    margin-bottom: 80px;
}

.event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.15), rgba(247, 37, 133, 0.15));
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    text-align: center;
    backdrop-filter: blur(10px);
}

.event-card h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--cyan);
}

.countdown-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--light-accent);
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.2), rgba(157, 78, 221, 0.2));
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 8px;
}

.time-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
    margin-bottom: 80px;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.2), rgba(247, 37, 133, 0.2));
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    text-align: center;
}

.cta h2 {
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   STUDENT CARDS
   ============================================ */

.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.student-card {
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.1), rgba(157, 78, 221, 0.1));
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.student-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: 0 15px 40px rgba(157, 78, 221, 0.3);
}

.student-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: filter 0.3s;
}

.student-card:hover img {
    filter: brightness(1.2) saturate(1.2);
}

.student-info {
    padding: 20px;
    text-align: center;
}

.student-info h4 {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 5px;
    font-weight: 700;
}

.nickname {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.position {
    font-size: 12px;
    background: rgba(247, 37, 133, 0.2);
    color: var(--light-accent);
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    margin-top: 8px;
    font-weight: 600;
}

/* ============================================
   PENGURUS SECTION
   ============================================ */

.pengurus-section {
    margin-bottom: 80px;
}

.pengurus-group {
    margin-bottom: 50px;
}

.group-title {
    font-size: 22px;
    color: var(--cyan);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

/* ============================================
   WALI KELAS
   ============================================ */

.wali-section {
    margin-bottom: 80px;
}

.wali-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: center;
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.15), rgba(247, 37, 133, 0.15));
    padding: 50px;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.wali-image {
    width: 100%;
    border-radius: 15px;
    border: 3px solid var(--cyan);
    box-shadow: 0 0 50px rgba(0, 245, 255, 0.4);
    transition: transform 0.3s;
}

.wali-image:hover {
    transform: scale(1.02);
}

.wali-info h3 {
    font-size: 32px;
    color: var(--cyan);
    margin-bottom: 8px;
}

.wali-title {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 600;
}

.wali-quote {
    font-size: 18px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(247, 37, 133, 0.15);
    border-left: 4px solid var(--light-accent);
    border-radius: 10px;
    line-height: 1.8;
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 8, 18, 0.95);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal-content {
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.2), rgba(247, 37, 133, 0.2));
    margin: auto;
    padding: 0;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: slideIn 0.3s;
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--light-accent);
}

.modal-body {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.modal-image {
    width: 100%;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.3);
}

.modal-info h2 {
    font-size: 28px;
    color: var(--cyan);
    margin-bottom: 8px;
}

.modal-info p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.modal-details,
.modal-pesan,
.modal-trivia {
    margin-top: 25px;
}

.modal-details h3,
.modal-pesan h3,
.modal-trivia h3 {
    font-size: 16px;
    color: var(--light-accent);
    margin-bottom: 12px;
    font-weight: 700;
}

.modal-details p,
.modal-pesan p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.modal-trivia ul {
    list-style: none;
}

.modal-trivia li {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.modal-trivia li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--light-accent);
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    margin-bottom: 80px;
}

.gallery-filter {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: rgba(157, 78, 221, 0.2);
    color: var(--text-light);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--light-accent));
    border-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 1;
    border: 1px solid var(--border-color);
}

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

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(157, 78, 221, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.gallery-overlay h3 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 5px;
    font-weight: 700;
}

.gallery-overlay p {
    font-size: 13px;
    color: var(--cyan);
}

/* ============================================
   VIDEO SECTION
   ============================================ */

.video-section {
    margin-bottom: 80px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.video-item:hover {
    transform: translateY(-8px);
}

.video-item iframe {
    border-radius: 12px 12px 0 0;
}

.video-item h3 {
    padding: 20px;
    background: rgba(157, 78, 221, 0.1);
    color: var(--cyan);
    margin: 0;
}

/* ============================================
   INFO SECTION
   ============================================ */

.info-section {
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}

/* Schedule Styles */
.schedule-container {
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.1), rgba(157, 78, 221, 0.1));
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.day-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    flex-wrap: wrap;
}

.day-btn {
    padding: 10px 20px;
    background: rgba(157, 78, 221, 0.2);
    color: var(--text-light);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    white-space: nowrap;
}

.day-btn.active,
.day-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--light-accent));
    border-color: transparent;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.schedule-table thead {
    background: rgba(247, 37, 133, 0.15);
}

.schedule-table th {
    padding: 15px;
    text-align: left;
    color: var(--cyan);
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
}

.schedule-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.schedule-table tbody tr:hover {
    background: rgba(157, 78, 221, 0.1);
}

/* Piket Schedule */
.week-selector,
.month-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.week-btn,
.month-btn {
    padding: 10px 20px;
    background: rgba(157, 78, 221, 0.2);
    color: var(--text-light);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.week-btn:hover,
.month-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.week-selector span,
.month-selector h3 {
    font-size: 18px;
    color: var(--cyan);
    font-weight: 700;
    min-width: 150px;
    text-align: center;
}

.piket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.piket-day {
    background: rgba(157, 78, 221, 0.1);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s;
}

.piket-day:hover {
    background: rgba(157, 78, 221, 0.2);
    border-color: var(--cyan);
}

.piket-day h3 {
    color: var(--cyan);
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
}

.piket-day p {
    color: var(--text-light);
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1,6;
}

/* MBG Table */
.mbg-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.mbg-table thead {
    background: rgba(247, 37, 133, 0.15);
}

.mbg-table th {
    padding: 15px;
    text-align: left;
    color: var(--cyan);
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
}

.mbg-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.mbg-table tbody tr:hover {
    background: rgba(157, 78, 221, 0.1);
}

/* Birthday Calendar */
.birthday-container {
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.1), rgba(157, 78, 221, 0.1));
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.birthday-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.birthday-card {
    background: rgba(157, 78, 221, 0.15);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--primary-color);
    text-align: center;
    transition: all 0.3s;
}

.birthday-card:hover {
    transform: translateY(-5px);
    background: rgba(157, 78, 221, 0.25);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.3);
}

.birthday-date {
    font-size: 28px;
    font-weight: 800;
    color: var(--light-accent);
    margin-bottom: 8px;
}

.birthday-name {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 8px;
}

.birthday-month {
    font-size: 12px;
    color: var(--cyan);
    text-transform: uppercase;
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: rgba(5, 8, 18, 0.95);
    border-top: 2px solid var(--primary-color);
    padding: 40px 20px 20px;
    margin-top: 100px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-content p {
    color: var(--text-muted);
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(157, 78, 221, 0.2);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    color: var(--cyan);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* ============================================
   ORGANISASI PAGE
   ============================================ */

.org-hero {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.95), rgba(114, 9, 183, 0.95));
    padding: 80px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.org-hero-title {
    font-size: clamp(2.75rem, 5vw, 4rem);
    color: var(--text-light);
    margin-bottom: 1rem;
}

.org-hero-sub {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

.org-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.section-block {
    margin-bottom: 72px;
}

.section-heading {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
}

.section-heading i {
    color: var(--light-accent);
    font-size: 1.4rem;
}

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.org-connector-v {
    width: 2px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
}

.org-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.org-trio {
    align-items: flex-start;
}

.org-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.org-branch-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.org-branch-cards {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.org-card {
    width: 180px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.org-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 245, 255, 0.35);
}

.org-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.org-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.org-role {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--light-accent);
}

.org-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
}

.role-ketua { border-color: #f59e0b; }
.role-wakil { border-color: #3b82f6; }
.role-sekretaris { border-color: #10b981; }
.role-bendahara { border-color: #ec4899; }

.org-seksi-wrapper {
    width: 100%;
    margin-top: 24px;
}

.org-seksi-title {
    display: inline-flex;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 auto 18px;
}

.org-seksi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.seksi-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 20px;
    padding: 18px;
}

.seksi-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.seksi-names {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.filter-bar {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.filter-select {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    min-width: 170px;
    transition: border-color 0.2s;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(0, 245, 255, 0.12);
}

.siswa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.siswa-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.siswa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.siswa-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(157, 78, 221, 0.15));
    overflow: hidden;
}

.siswa-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.siswa-no {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 999px;
}

.siswa-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.siswa-nama {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
    line-height: 1.3;
}

.siswa-jabatan {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.badge-ketua { background: #f59e0b; color: #7c2d12; }
.badge-wakil { background: #dbeafe; color: #1d4ed8; }
.badge-sek { background: #d1fae5; color: #065f46; }
.badge-ben { background: #fce7f3; color: #9d174d; }
.badge-anggota { background: #e5e7eb; color: #374151; }

.siswa-gender {
    font-size: 0.78rem;
}

.gender-l { color: #60a5fa; }
.gender-p { color: #f472b6; }

.siswa-count {
    color: var(--text-muted);
    text-align: center;
    margin-top: 20px;
    font-size: 0.95rem;
}

.no-result {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 40px 0;
}

/* ============================================
   PEOPLE PAGE STYLES
   ============================================ */

.students-view {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--border-color);
    background: rgba(157, 78, 221, 0.1);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: var(--text-light);
}

.view-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--light-accent));
    color: var(--text-light);
    border-color: var(--primary-color);
}

.view-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--text-light);
}

.filter-input {
    flex: 1;
    min-width: 250px;
    padding: 0.6rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(157, 78, 221, 0.1);
    color: var(--text-light);
}

.filter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.3);
}

.students-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(157, 78, 221, 0.1);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.students-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
}

.students-table th {
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.students-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.students-table tbody tr {
    transition: all 0.2s ease;
}

.students-table tbody tr:hover {
    background: rgba(157, 78, 221, 0.1);
}

.student-name {
    font-weight: 600;
    color: var(--text-light);
}

.gender-badge {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--primary-color);
}

.gender-badge.p {
    background: var(--light-accent);
}

.position-badge {
    background: var(--success-color);
    color: var(--text-light);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.position-badge.none {
    background: var(--border-color);
    color: var(--text-muted);
}

.hidden {
    display: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(10, 14, 39, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        border-top: 2px solid var(--primary-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    .hero-headline {
        font-size: 36px;
    }

    .hero-subheadline {
        font-size: 16px;
    }

    .captain-card,
    .wali-card {
        grid-template-columns: 1fr;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 400px;
    }

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

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

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

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 16px;
    }

    .hero-headline {
        font-size: 24px;
    }

    .hero-subheadline {
        font-size: 14px;
    }

    .about h2,
    .captain h2,
    .countdown h2,
    .cta h2,
    .wali-section h2,
    .pengurus-section h2,
    .students-section h2,
    .gallery h2,
    .video-section h2,
    .info-section h2 {
        font-size: 28px;
    }

    .students-grid,
    .gallery-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }

    .schedule-table,
    .mbg-table {
        font-size: 13px;
    }

    .schedule-table th,
    .schedule-table td,
    .mbg-table th,
    .mbg-table td {
        padding: 10px;
    }
}