@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

/* ================= ROOT ================= */
:root {
    --hitam: #0d0d0d;
    --marun: #7a0f1b;
    --marun-soft: #a4162a;
    --abu: #e0e0e0;
    --putih: #ffffff;
}

/* ================= BODY ================= */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(180deg, #0d0d0d, #1a0005);
    color: var(--putih);
}

/* ================= NAVBAR ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 48px;
    background: linear-gradient(90deg, var(--hitam), var(--marun));
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.logo {
    font-size: 30px;
    font-weight: bold;
    color: #9e1e2d;
}

.navbar nav a {
    margin-left: 24px;
    text-decoration: none;
    color: var(--putih);
    font-weight: 500;
    transition: 0.3s;
}

.navbar nav a:hover {
    color: var(--marun-soft);
}

/* ================= HERO ================= */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    min-height: 55vh;
    padding: 40px 60px;
    gap: 32px;
    background: #0e0e0e;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 22px;
}

.btn-hero {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--marun), var(--marun-soft));
    color: var(--putih);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    border-radius: 28px;
    transition: 0.3s;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 18px rgba(196, 22, 42, 0.8);
}

/* IMAGE */
.hero-image {
    position: relative;
    max-width: 580px;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    margin-left: auto;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-dark {
    position: absolute;
    right: -50px;
    top: -25px;
    width: 200px;
    height: 260px;
    background: linear-gradient(135deg, #3a0b10, var(--marun));
    z-index: -1;
}

/* ================= SOCIAL ================= */
.social-footer {
    display: flex;
    gap: 18px;
}

.hero-social {
    margin-top: 22px;
}

.social-footer a {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: 0.3s;
}

.social-footer img {
    width: 22px;
    height: 22px;
}

.social-footer a::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--marun), var(--marun-soft));
    opacity: 0;
    filter: blur(10px);
    transition: 0.3s;
}

.social-footer a:hover::before {
    opacity: 1;
}

.social-footer a:hover {
    transform: translateY(-5px) scale(1.05);
}

/* ================= CONTENT ================= */
.content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    padding: 40px 50px;
    align-items: start;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ================= BOX ================= */
.box {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(122, 15, 27, 0.6);
    border-radius: 14px;
    padding: 25px;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 20px rgba(122, 15, 27, 0.25);
}

.box h3,
.box h4 {
    margin-top: 0;
    color: var(--marun-soft);
}

.box.besar {
    min-height: 240px;
    /* fleksibel */
}


/* ================= BUTTON ================= */
.button-group .btn {
    display: inline-block;
    margin-right: 12px;
    padding: 10px 18px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--marun), #3b0007);
    color: var(--putih);
    text-decoration: none;
    font-size: 14px;
}

.button-group .btn:hover {
    background: linear-gradient(135deg, var(--marun-soft), #5a000d);
}

/* ================= BIODATA LAYOUT ================= */
.biodata-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    align-items: flex-start;
}

/* ================= FOTO KIRI ================= */
.biodata-photo {
    position: relative;
    /* tidak sticky */
}

.biodata-photo img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 0 25px rgba(122, 15, 27, 0.45);
}

/* ================= KONTEN KANAN ================= */
.biodata-info {
    padding-left: 30px;
    max-width: 820px;
}

/* BAGIAN BAWAH (Profil + Keahlian) */
.biodata-bottom {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

/* ================= TABLE BIODATA ================= */
.biodata-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.biodata-table td {
    padding: 8px 6px;
    font-size: 14px;
}

.biodata-table td:first-child {
    width: 170px;
    color: #cd3344;
    font-weight: 500;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .biodata-layout {
        grid-template-columns: 1fr;
    }

    .biodata-photo {
        text-align: center;
        margin-bottom: 20px;
    }

    .biodata-photo img {
        height: 300px;
        max-width: 240px;
    }

    .biodata-info {
        padding-left: 0;
    }

    .biodata-bottom {
        grid-template-columns: 1fr;
    }
}


/* ================= SKILLS ================= */
.skills-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.skill-item {
    background: #1c1c1c;
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(122, 15, 27, 0.35);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

    .hero,
    .content,
    .biodata-layout {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 36px;
        text-align: center;
    }

    .hero-image {
        margin: 0 auto;
    }

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

    .biodata-info {
        padding-left: 0;
    }
}

/* ================= FOOTER ================= */
.footer {
    text-align: center;
    padding: 22px;
    background: linear-gradient(90deg, var(--marun), var(--hitam));
    margin-top: 40px;
    font-size: 14px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.6);
}

/* ================= PAGE HEADER ================= */
.page-header {
    padding: 40px 50px 20px 100px;
    /* kiri digeser ke kanan */
}

.page-header h1 {
    margin-bottom: 8px;
}

.page-header p {
    color: #ffffff;
    max-width: 520px;
}

/* ================= EDUCATION ================= */
.education-filter {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 15px;
    padding: 0 80px 30px;
}

.education-filter input,
.education-filter select {
    padding: 12px 14px;
    border-radius: 12px;
    background: #141414;
    border: 1px solid rgba(122, 15, 27, 0.4);
    color: #fff;
}

.education-filter button {
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--marun), var(--marun-soft));
    border: none;
    color: #fff;
    cursor: pointer;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* PAKSA 3 KOLOM */
    gap: 24px;
    padding: 30px 50px;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .education-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.edu-card {
    background: linear-gradient(180deg, #101010, #0a0a0a);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(122, 15, 27, 0.35);
}

.edu-image {
    position: relative;
    height: 140px;
}

.edu-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0px;
    /* DIPERKECIL */
}

.edu-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #000000;
}

.edu-badge.s1 {
    background: #4ddcff;
}

.edu-badge.sma {
    background: #ffd84d;
}

.edu-badge.smp {
    background: #4ddcff;
}

.edu-badge.sd {
    background: #ffd84d;
}

.edu-badge.TK {
    background: #4ddcff;
}

.edu-content {
    padding: 20px;
}

.edu-content h3 {
    margin: 0 0 6px;
    color: var(--putih);
}

.edu-content p {
    margin: 0;
    color: hsl(0, 0%, 100%);
}

.edu-year {
    display: block;
    margin-top: 10px;
    color: hsl(0, 0%, 100%);
    font-size: 13px;
}

/* ================= ACTIVITY ================= */

.activity-hero,
.activity-filter,
.activity-grid {
    padding: 0 50px;
}

/* HERO */
.activity-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 35px;
}

.activity-hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.activity-hero p {
    max-width: 520px;
    color: hsl(0, 0%, 100%);
}

.summary {
    display: flex;
    gap: 20px;
}

.summary div {
    background: linear-gradient(180deg, #0f1627, #0a0f1d);
    padding: 18px 22px;
    border-radius: 16px;
    text-align: center;
    min-width: 110px;
    box-shadow: 0 0 18px rgba(122, 15, 27, 0.4);
}

.summary strong {
    display: block;
    font-size: 22px;
}

.summary span {
    font-size: 13px;
    color: #bbb;
}

/* FILTER */
.activity-filter {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 14px;
    margin-bottom: 40px;
}

.activity-filter input,
.activity-filter select {
    padding: 12px 14px;
    border-radius: 12px;
    background: #141414;
    border: 1px solid rgba(122, 15, 27, 0.4);
    color: #fff;
}

.activity-filter button {
    padding: 12px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--marun), var(--marun-soft));
    border: none;
    color: #fff;
    cursor: pointer;
    transition: .3s;
}

.activity-filter button:hover {
    box-shadow: 0 0 18px rgba(196, 22, 42, 0.8);
}

/* GRID */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 60px;
}

/* CARD */
.activity-card {
    background: linear-gradient(180deg, #000000, #000000);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(122, 15, 27, 0.35);
    transition: .3s;
}

.activity-card:hover {
    transform: translateY(-6px);
}

/* IMAGE */
.activity-image {
    position: relative;
    height: 180px;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TAG */
.tag {
    position: absolute;
    bottom: 14px;
    left: 14px;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 600;
    color: #000;
}

.tag.foto {
    background: #00e5ff;
}

.tag.video {
    background: #ff7043;
}

/* INFO */
.activity-info {
    padding: 18px 20px;
}

.activity-info h4 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #fff;
}

.activity-info p {
    font-size: 13px;
    color: #b0b8c9;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .activity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .activity-filter {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .activity-hero {
        flex-direction: column;
        text-align: center;
    }

    .summary {
        justify-content: center;
    }

    .activity-grid {
        grid-template-columns: 1fr;
    }

    .activity-filter {
        grid-template-columns: 1fr;
    }
}

/* ================= LOGIN ================= */

.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #0d0d0d, #1a0005);
}

.login-container {
    width: 900px;
    max-width: 95%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(122, 15, 27, 0.5);
}

/* LEFT */
.login-form {
    padding: 60px 50px;
    color: #000;
}

.login-form h2 {
    margin-bottom: 30px;
    font-size: 28px;
}

.login-form input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    border: none;
    background: #f0f0f0;
    font-size: 14px;
    box-sizing: border-box;
}

.login-form button {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, var(--marun), var(--marun-soft));
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: .3s;
}

.login-form button:hover {
    box-shadow: 0 0 20px rgba(164, 22, 42, 0.8);
}

/* RIGHT */
.login-side {
    background: linear-gradient(135deg, var(--marun), #3b0007);
    color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-side h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.login-side p {
    font-size: 15px;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
    }

    .login-side {
        display: none;
    }
}



/* ================= BIODATA V2 (RE-DESIGN) ================= */
:root {
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-red: #ff2a42;
    --dark-bg: #050505;
}

body {
    background: radial-gradient(circle at top right, #1a0508, #050505 60%);
    font-family: 'Outfit', sans-serif;
}

/* BACKGROUND GLOW */
.glow-bg {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(122, 15, 27, 0.3), transparent 70%);
    z-index: -1;
    filter: blur(80px);
    animation: pulseGlow 10s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* LAYOUT */
.biodata-layout-modern {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    padding: 60px 80px;
    align-items: start;
    min-height: 80vh;
}

/* SIDEBAR & PROFILE CARD */
.profile-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 40px;
    transition: transform 0.3s;
}

.profile-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 42, 66, 0.3);
}

.img-frame {
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
    border-radius: 50%;
    /* Circle */
    padding: 6px;
    background: linear-gradient(135deg, var(--marun), transparent);
    position: relative;
    box-shadow: 0 0 30px rgba(122, 15, 27, 0.3);
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #1a1a1a;
}

.profile-name-tag h2 {
    font-size: 28px;
    margin: 0;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.profile-name-tag span {
    display: block;
    margin-top: 8px;
    color: var(--marun-soft);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.social-links-profile {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links-profile a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid transparent;
}

.social-links-profile a:hover {
    background: var(--marun);
    border-color: var(--neon-red);
    box-shadow: 0 0 15px var(--marun);
    transform: scale(1.1);
}

/* RIGHT CONTENT */
.biodata-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* CARDS */
.bio-card {
    background: linear-gradient(160deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.bio-card.full-width {
    grid-column: span 2;
}

.bio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--marun), transparent);
    opacity: 0.6;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.card-header i {
    font-size: 20px;
    color: var(--neon-red);
}

.card-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #eee;
}

/* DETAILS GRID */
.bio-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.bio-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

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

.bio-item .label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bio-item .value {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

/* ROW SPLIT */
.bio-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.bio-desc {
    color: #bbb;
    line-height: 1.7;
    margin: 0;
}

.bio-desc strong {
    color: #fff;
}

.bio-desc em {
    color: var(--marun-soft);
    font-style: normal;
}

/* SKILLS */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-pill {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    color: #ddd;
    border: 1px solid transparent;
    transition: 0.3s;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-pill:hover {
    background: rgba(122, 15, 27, 0.2);
    border-color: var(--marun);
    color: #fff;
    box-shadow: 0 0 10px rgba(122, 15, 27, 0.3);
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .biodata-layout-modern {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .profile-card {
        position: static;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .bio-row {
        grid-template-columns: 1fr;
    }
}

/* ================= EDUCATION V2 (RE-DESIGN) ================= */

/* CONTAINER */
.education-modern-container {
    padding: 0 80px 80px;
    min-height: 80vh;
    position: relative;
}

.glow-bg-edu {
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(42, 100, 255, 0.15), transparent 70%);
    z-index: -1;
    filter: blur(80px);
}

/* FILTER GLASS BAR */
.filter-glass-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 15px 25px;
    border-radius: 50px;
    backdrop-filter: blur(15px);
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    flex-wrap: wrap;
}

.filter-group {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-group i {
    position: absolute;
    left: 15px;
    color: #888;
    pointer-events: none;
    z-index: 1;
}

.filter-group.search {
    flex-grow: 1;
}

.filter-group input,
.filter-group select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffffff;
    padding: 12px 15px 12px 40px;
    /* space for icon */
    border-radius: 25px;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: 0.3s;
    width: 100%;
}

.filter-group select option {
    background-color: #1a1a1a;
    color: #fff;
    padding: 10px;
}

.filter-group input:focus,
.filter-group select:focus {
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--marun);
}

.btn-filter-apply {
    background: linear-gradient(135deg, var(--marun), #a4162a);
    color: rgba(255, 255, 255, 1);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-filter-apply:hover {
    box-shadow: 0 0 15px var(--marun);
    transform: translateY(-2px);
}

/* GRID MODERN */
.education-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.edu-card-modern {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
}

.edu-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
}

/* BADGE CORNER */
.edu-badge-corner {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--marun);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-bottom-left-radius: 16px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* S1, SMA colors */
.edu-card-modern[data-jenjang="S1"] .edu-badge-corner {
    background: #00bcd4;
}

.edu-card-modern[data-jenjang="SMA"] .edu-badge-corner {
    background: #ff9800;
}

.edu-card-modern[data-jenjang="SMP"] .edu-badge-corner {
    background: #9c27b0;
}

.edu-card-modern[data-jenjang="SD"] .edu-badge-corner {
    background: #4caf50;
}

.edu-visual {
    flex-shrink: 0;
}

.logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.edu-info h3 {
    margin: 0 0 5px;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
}

.edu-info .jurusan {
    margin: 0 0 15px;
    font-size: 14px;
    color: #bbb;
}

.edu-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.year {
    font-size: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 12px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 6px;
}

.year i {
    color: var(--marun-soft);
}

/* EMPTY STATE */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: #666;
}

.empty-state i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

/* PAGINATION MODERN */
.pagination-modern {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.pagination-modern ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-modern li a,
.pagination-modern li span {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 600;
    font-size: 14px;
}

.pagination-modern li a:hover,
.pagination-modern li.active span {
    background: var(--marun);
    box-shadow: 0 0 15px var(--marun);
    transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .education-modern-container {
        padding: 0 20px 60px;
    }

    .filter-glass-bar {
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
    }

    .filter-group.search {
        width: 100%;
    }

    .education-grid-modern {
        grid-template-columns: 1fr;
    }

    .edu-card-modern {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .edu-meta {
        justify-content: center;
    }

    .edu-badge-corner {
        border-bottom-left-radius: 0;
        border-radius: 0 0 0 10px;
        /* simple fix */
    }
}

/* ================= ACTIVITY V2 (MODERN PRO) ================= */

/* CONTAINER */
.activity-modern-container {
    padding: 0 80px 100px;
    min-height: 100vh;
    position: relative;
    /* Rich dark background */
    background: radial-gradient(circle at 50% 10%, #1a0508, #050505 40%);
}

.glow-bg-act {
    position: fixed;
    top: -20%;
    left: 20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(164, 22, 42, 0.15), transparent 70%);
    z-index: -1;
    filter: blur(100px);
    animation: drift 20s infinite alternate ease-in-out;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(100px, 50px) rotate(10deg);
    }
}

/* HERO MODERN */
.activity-hero-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 60px 0 70px;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 16px;
    color: #b0b0b0;
    max-width: 550px;
    line-height: 1.7;
    margin: 0;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, #ff4d61);

    background-clip: text;
    /* standard */
    -webkit-background-clip: text;
    /* webkit */

    color: transparent;
    /* standard */
    -webkit-text-fill-color: transparent;
}


/* STATS WITH ICONS */
.hero-stats {
    display: flex;
    gap: 20px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Finer border */
    padding: 16px 24px;
    border-radius: 18px;
    backdrop-filter: blur(10px);
    transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.stat-box:hover .stat-icon {
    background: var(--marun);
    color: #fff;
    box-shadow: 0 0 20px rgba(164, 22, 42, 0.6);
}

.stat-box .count {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.stat-box .label {
    font-size: 13px;
    color: #888;
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

/* FILTER ISLAND */
.filter-island-wrapper {
    display: flex;
    justify-content: center;
    /* Center the filter bar */
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.filter-glass-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* Reduced from 15px */
    padding: 8px 10px;
    /* Reduced padding */
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    /* Slightly tighter radius */
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    /* Prevent horizontal wrapping */
}

.filter-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 5px;
}

.filter-group {
    position: relative;
}

.filter-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    /* Changed from #666 to white */
    font-size: 14px;
    pointer-events: none;
    transition: 0.3s;
}

/* Fix native date/time picker icons to be white on dark background */
.filter-group input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.filter-group input,
.filter-group select {
    background: transparent;
    border: 1px solid transparent;
    color: #eee;
    padding: 12px 15px 12px 38px;
    /* Reduced padding */
    border-radius: 12px;
    font-size: 13px;
    /* Slightly smaller font */
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: 0.2s;
    min-width: 110px;
    /* Reduced min-width */
}

.filter-group.search input {
    min-width: 180px;
    /* Significantly reduced */
}

.filter-group input:hover,
.filter-group select:hover,
.filter-group input:focus,
.filter-group select:focus {
    background: rgba(255, 255, 255, 0.04);
}

.filter-group input:focus+i,
.filter-group input:focus~i {
    color: #fff;
}

.filter-group select option {
    background-color: #1a1a1a;
    color: #fff;
}

/* Custom Select Arrow Fix */
.filter-group select {
    appearance: none;
    -webkit-appearance: none;
}

/* Button Apply */
.btn-filter-apply {
    background: linear-gradient(135deg, var(--marun), #a4162a);
    color: #fff;
    border: none;
    padding: 12px 20px;
    /* Reduced padding */
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    margin-left: 5px;
    box-shadow: 0 5px 15px rgba(164, 22, 42, 0.3);
}

.btn-filter-apply span {
    font-size: 14px;
}

.btn-filter-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(164, 22, 42, 0.5);
    background: linear-gradient(135deg, #a4162a, var(--marun));
}

/* GRID MODERN */
.activity-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 35px;
}

/* CARD DESIGN PRO - IMMERSIVE */
.act-card {
    background: #0f0f0f;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Lighter border */
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    /* Immersive height */
    height: 400px;
}

.act-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.act-img {
    height: 100%;
    /* Full height */
    width: 100%;
    position: absolute;
    /* Absolute for full cover */
    top: 0;
    left: 0;
    z-index: 0;
}

.act-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.act-card:hover .act-img img {
    transform: scale(1.15);
}

/* Gradient Overlay - Stronger at bottom for text readability */
.act-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0.9;
    transition: 0.5s;
}

.act-card:hover .act-img::after {
    background: linear-gradient(to top, rgba(164, 22, 42, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
}

/* Badge */
.act-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    /* Moved to right for magazine feel */
    left: auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 5;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.act-badge.video {
    background: rgba(255, 42, 66, 0.9);
    border: none;
    box-shadow: 0 0 20px rgba(255, 42, 66, 0.4);
}

/* Play Icon */
.play-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 24px;
    /* Center it */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.8;
}

.act-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
    color: var(--marun);
    opacity: 1;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

/* Body floats at viewport bottom */
.act-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 5;
    background: transparent;
    transform: translateY(10px);
    transition: 0.5s;
}

.act-card:hover .act-body {
    transform: translateY(0);
}

.act-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.act-date i {
    color: var(--neon-red);
}

.act-body h3 {
    margin: 0 0 15px;
    font-size: 24px;
    line-height: 1.3;
    color: #fff;
    font-weight: 800;
    /* Shadow for better readability if needed */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.act-card:hover .act-body h3 {
    transform: translateX(5px);
}

.act-body p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0 0 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0;
    /* Hide initially for cleaner look */
    height: 0;
    transition: 0.4s;
}

.act-card:hover .act-body p {
    opacity: 1;
    height: auto;
    margin-bottom: 20px;
}

/* Read More Link */
.act-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.act-card:hover .act-link {
    opacity: 1;
    transform: translateY(0);
    background: var(--marun);
    border-color: var(--marun);
    box-shadow: 0 5px 20px rgba(164, 22, 42, 0.4);
}

.act-link i {
    transition: 0.3s;
}

.act-link:hover i {
    transform: translateX(3px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .activity-modern-container {
        padding: 0 40px 60px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .filter-glass-bar {
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .activity-hero-modern {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 40px;
    }

    .hero-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-box {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        gap: 10px;
    }

    .filter-glass-bar {
        flex-direction: column;
        align-items: stretch;
        border-radius: 24px;
        padding: 20px;
    }

    .filter-divider {
        display: none;
    }

    .btn-filter-apply {
        justify-content: center;
        margin-top: 10px;
        margin-left: 0;
    }

    .activity-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* ================= HOME V2 (MODERN PRO) ================= */

.home-modern-wrapper {
    min-height: 100vh;
    padding: 0 80px 80px;
    position: relative;
    overflow: hidden;
    background: #0d0d0d;
}

/* BACKGROUND GLOWS */
.glow-home-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(164, 22, 42, 0.2), transparent 70%);
    filter: blur(100px);
    z-index: 0;
    animation: drift 25s infinite alternate;
}

.glow-home-2 {
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 42, 66, 0.1), transparent 70%);
    filter: blur(80px);
    z-index: 0;
    animation: drift 20s infinite alternate-reverse;
}

/* HERO SECTION */
.hero-modern-section {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90vh;
    gap: 50px;
}

.hero-text-modern {
    flex: 1.2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--marun-soft);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 30px;
    color: #fff;
}

.outline-text {
    -webkit-text-stroke: 2px #fff;
    color: transparent;
    transition: 0.3s;
}

.hero-title:hover .outline-text {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.gradient-text-home {
    background: linear-gradient(90deg, #ff2a42, #fff);

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: #b0b0b0;
    max-width: 550px;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* ACTIONS */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-primary-glow {
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--marun), #a4162a);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(164, 22, 42, 0.4);
    transition: 0.3s;
    cursor: default;
}

/* .btn-primary-glow:hover removed to make it static */
.social-mini {
    display: flex;
    gap: 15px;
}

.social-mini a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 18px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-mini a:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

/* PROFILE FLOATING */
.hero-visual-modern {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.profile-card-floating {
    position: relative;
    width: 450px;
    height: 550px;
}

.profile-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    transform: rotate(3deg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: 0.5s;
}

.profile-card-floating:hover .profile-main-img {
    transform: rotate(0deg) scale(1.02);
}

.floating-badge {
    position: absolute;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(15px);
    padding: 12px 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.badge-1 {
    top: 40px;
    left: -40px;
    animation: floatBadge 4s infinite alternate ease-in-out;
}

.badge-2 {
    bottom: 60px;
    right: -20px;
    animation: floatBadge 5s infinite alternate-reverse ease-in-out;
}

@keyframes floatBadge {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-15px);
    }
}

.floating-badge i {
    color: var(--neon-red);
}

/* BENTO GRID */
.bento-grid-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 24px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.bento-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    background: rgba(30, 30, 30, 0.8);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Spans */
.span-1 {
    grid-column: span 1;
}

.span-2 {
    grid-column: span 2;
}

.span-3 {
    grid-column: span 3;
}

.row-2 {
    grid-row: span 2;
}

/* Highlight Card (About) */
.highlight-card {
    justify-content: center;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
}

.bento-card h3 {
    font-size: 24px;
    margin: 0 0 15px;
    color: #fff;
    font-weight: 700;
}

.bento-card p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.link-arrow {
    color: var(--marun-soft);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.link-arrow:hover {
    gap: 15px;
    color: #ff4d61;
}

/* Skill Cloud */
.skill-bento {
    background: linear-gradient(160deg, #151515, #0a0a0a);
}

.skill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.skill-cloud span {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 13px;
    color: #ccc;
    border: 1px solid transparent;
    transition: 0.3s;
}

.skill-cloud span:hover {
    background: var(--marun);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Hobby List */
.hobby-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
}

.hobby-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #bbb;
}

.hobby-list li:last-child {
    border-bottom: none;
}

.hobby-list li i {
    color: var(--neon-red);
}

/* CTA Card */
.cta-card {
    background: linear-gradient(90deg, #7a0f1b, #3b0007);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.cta-card:hover {
    background: linear-gradient(90deg, #a4162a, #5a000d);
}

.cta-content h3 {
    margin: 0;
}

.cta-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.btn-circle-arrow {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--marun);
    font-size: 20px;
    transition: 0.3s;
    text-decoration: none;
}

.btn-circle-arrow:hover {
    transform: rotate(-45deg);
    background: #000;
    color: #fff;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .bento-grid-section {
        grid-template-columns: repeat(3, 1fr);
    }

    .span-2 {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .hero-modern-section {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual-modern {
        justify-content: center;
        width: 100%;
    }

    .profile-card-floating {
        width: 100%;
        max-width: 400px;
        height: 400px;
    }

    .bento-grid-section {
        grid-template-columns: 1fr;
    }

    .span-1,
    .span-2,
    .row-2 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .home-modern-wrapper {
        padding: 0 30px 60px;
    }

    .hero-title {
        font-size: 48px;
    }
}

/* PASSWORD TOGGLE */
.password-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
}

.password-wrapper input {
    width: 100%;
    padding-right: 45px !important;
    /* Space for icon */
    margin-bottom: 0 !important;
    /* Wrapper handles margin */
    box-sizing: border-box !important;
}

#togglePassword {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    z-index: 20;
    transition: 0.3s;
}

#togglePassword:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

/* IMMERSIVE CARD FINAL FIX */
.immersive-card {
    background: #0f0f0f;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 400px;
    /* Fixed height for consistency */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease;
}

.immersive-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--marun);
}

.immersive-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.immersive-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.immersive-card:hover .immersive-img img {
    transform: scale(1.1);
}

.immersive-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.5), transparent);
    z-index: 1;
    opacity: 0.9;
}

.immersive-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.immersive-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 10;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.immersive-card:hover .immersive-body {
    transform: translateY(0);
}

.immersive-date {
    font-size: 12px;
    color: #fff;
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
}

.immersive-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.immersive-desc {
    font-size: 14px;
    color: #ccc;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
    opacity: 0;
    height: 0;
    transition: all 0.4s ease;
}

.immersive-card:hover .immersive-desc {
    opacity: 1;
    height: auto;
}

.immersive-link {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--marun);
    padding: 8px 16px;
    border-radius: 20px;
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.immersive-card:hover .immersive-link {
    opacity: 1;
}

/* ================= MODAL PREVIEW ================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

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

.close-modal:hover {
    background: var(--marun);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}

.modal-visual {
    position: relative;
    height: 500px;
    background: #000;
}

.modal-visual img,
.modal-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.modal-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--marun);
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    width: fit-content;
}

.modal-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-date i {
    color: var(--neon-red);
}

.modal-info h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 20px 0;
    color: #fff;
    line-height: 1.2;
}

.modal-desc {
    font-size: 16px;
    color: #bbb;
    line-height: 1.8;
    margin: 0;
}

/* Scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-visual {
        height: 300px;
    }

    .modal-info {
        padding: 30px;
    }

    .modal-info h2 {
        font-size: 24px;
    }
}