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

:root {
    --primary: #B8D800;
    --primary-light: #E2FF00;
    --accent: #FFD700;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(12px);
}

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

body {
    background-color: #050a15;
    color: var(--text-main);
    overflow-x: hidden;
}

/* Background Slider */
.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    transition: opacity 1s ease-in-out;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 400;
    /* Non Bold */
    font-style: italic;
    /* Miring */
    color: #ffffff;
    /* Putih */
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-light);
    border-radius: 8px;
    display: grid;
    place-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

nav {
    display: flex;
    gap: 10px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    padding: 8px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover,
nav a.active {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.auth-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.login-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

.login-link:hover {
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.btn-register {
    background: var(--primary);
    color: #050a15;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn-register:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 216, 0, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 240px 8% 0 8%;
    gap: 5%;
}

.hero-content {
    flex: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.members-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatars {
    display: flex;
}

.user-avatars img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #050a15;
    margin-left: -10px;
}

.user-avatars img:first-child {
    margin-left: 0;
}

.members-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Booking Card */
.booking-card {
    flex: 0.6;
    max-width: 420px;
    background: transparent;
    /* Fully transparent background */
    backdrop-filter: blur(2px);
    /* Near zero blur */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Very subtle border */
    padding: 1.8rem;
    border-radius: 24px;
    animation: fadeInRight 1s ease-out;
}

.booking-card h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.input-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    /* Minimal ghosting */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.input-wrapper i {
    font-size: 0.85rem;
}

.input-wrapper select,
.input-wrapper input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    outline: none;
    font-size: 0.9rem;
    font-weight: 300;
}

.input-wrapper:focus-within {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.input-wrapper select option {
    background: rgba(5, 10, 21, 0.9);
    color: white;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-book {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 400;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-book:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

/* Responsive - Clean Vertical Layout */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        padding-top: 100px;
        height: auto;
        gap: 40px;
        padding-bottom: 50px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-group {
        justify-content: center;
    }

    header {
        padding: 1rem 5%;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-content {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 10px);
        /* Sedikit terpisah dari header */
        left: 5%;
        width: 90%;
        /* Memberikan margin di kiri dan kanan */
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(25px);
        padding: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 24px;
        /* Sudut membulat */
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        gap: 1.5rem;
    }

    .header-content.active {
        display: flex;
        animation: fadeIn 0.3s ease-out;
    }

    nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: transparent;
        backdrop-filter: none;
        border: none;
        padding: 0;
        border-radius: 0;
        align-items: center;
        gap: 20px;
    }

    nav a {
        font-size: 1.1rem;
        padding: 10px;
        width: 100%;
        text-align: center;
        border-radius: 12px;
    }

    .auth-group {
        flex-direction: column;
        width: 100%;
        gap: 20px;
        margin-top: 10px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .btn-register {
        text-align: center;
        width: 100%;
        max-width: 250px;
    }
}

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

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

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .form-group input,
    .form-group select {
        font-size: 0.95rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .booking-card {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
        text-align: left;
        /* Ensuring form labels stay left-aligned */
    }

    .cta-group {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* =========================================
   PREMIUM SECTIONS CSS
   ========================================= */

/* --- Shared Defaults --- */
.s-about,
.s-courts,
.s-membership {
    position: relative;
    z-index: 10;
    background: rgba(5, 10, 21, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 120px 0;
}

.s-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6%;
}

.label-tag {
    display: inline-block;
    background: rgba(184, 216, 0, 0.12);
    color: var(--primary);
    border: 1px solid rgba(184, 216, 0, 0.3);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary);
}

/* --- About Section --- */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-left h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-left>p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.stat-row {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    transition: 0.3s;
}

.feature-item:hover {
    border-color: rgba(184, 216, 0, 0.3);
    background: rgba(184, 216, 0, 0.04);
}

.feature-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: rgba(184, 216, 0, 0.1);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.feature-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Courts Section --- */
.s-courts {
    background: rgba(3, 7, 18, 0.95);
}

.section-tag-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 14px;
}

.section-tag-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto;
}

.courts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.court-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 36px 28px;
    position: relative;
    transition: 0.35s ease;
}

.court-card:hover {
    transform: translateY(-8px);
    border-color: rgba(184, 216, 0, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.court-featured {
    border-color: var(--primary);
    background: rgba(184, 216, 0, 0.05);
    transform: scale(1.02);
}

.court-featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #000;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 50px;
    white-space: nowrap;
}

.court-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 18px;
}

.court-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.court-card>p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.court-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.court-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.court-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

.court-price {
    font-size: 0.95rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 18px;
}

.court-price strong {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
}

/* --- Membership Section --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    transition: 0.3s;
}

.pricing-card:hover {
    border-color: rgba(184, 216, 0, 0.25);
    transform: translateY(-5px);
}

.pricing-popular {
    border-color: var(--primary);
    background: rgba(184, 216, 0, 0.05);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #000;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 50px;
    white-space: nowrap;
}

.plan-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.plan-cycle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    margin-top: 4px;
}

.plan-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
    padding: 0;
}

.plan-perks li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-perks li i {
    color: var(--primary);
}

.plan-perks li.muted {
    color: var(--text-muted);
}

.plan-perks li.muted i {
    color: rgba(255, 255, 255, 0.2);
}

.btn-plan {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.btn-plan-solid {
    background: var(--primary);
    color: #000;
}

.btn-plan-solid:hover {
    background: var(--primary-light);
    box-shadow: 0 8px 25px rgba(184, 216, 0, 0.3);
}

.btn-plan-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.btn-plan-outline:hover {
    border-color: var(--primary) !important;
    color: var(--primary);
}

/* --- Responsive --- */
@media (max-width: 1024px) {

    .courts-grid,
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .court-featured {
        transform: none;
    }
}

@media (max-width: 768px) {

    .s-about,
    .s-courts,
    .s-membership {
        padding: 80px 0;
    }

    .about-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .courts-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .stat-row {
        gap: 24px;
    }
}


.info-section {
    padding: 100px 10%;
    position: relative;
    z-index: 10;
    background: rgba(5, 10, 21, 0.85);
    /* Slightly transparent dark */
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: 0.4s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(184, 216, 0, 0.1);
}

.card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.5;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(184, 216, 0, 0.3);
}

/* Responsive adjustments for sections */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .info-section {
        padding: 70px 5%;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

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

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

/* Video Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 21, 0.4);
    /* Reduced from 0.85 to 0.4 for more transparency */
    backdrop-filter: blur(8px);
    /* Reduced from 15px to 8px */
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.1);
    /* Slightly increased for better glass visibility */
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* More visible border */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.close-modal:hover {
    background: var(--primary);
    color: #000;
    transform: rotate(90deg);
}

#video-modal .modal-content {
    max-width: 400px; /* Better size for vertical Shorts */
    max-height: 85vh;
}

.video-container {
    width: 100%;
    aspect-ratio: 9 / 16;
}

.video-container video,
.video-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }

    .close-modal {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

/* Modern About Section (Ref: Padelo) */
.about-modern {
    padding: 120px 0;
    background: #ffffff;
    /* White background like reference */
    color: #000000;
    /* Dark text for this section */
}

.about-modern-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6%;
    display: flex;
    gap: 80px;
}

.about-left-col {
    flex: 0.3;
}

.founded-label {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.year-box {
    background: var(--primary);
    /* Lime Green */
    color: #000;
    font-size: 6rem;
    font-weight: 700;
    padding: 40px 20px;
    border-radius: 24px;
    display: inline-block;
    line-height: 1;
}

.about-right-col {
    flex: 0.7;
}

.about-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.badge-num {
    background: #000;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-text {
    border: 1px solid #ddd;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.about-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.about-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.img-vertical img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 24px;
}

.img-horizontal-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.img-horizontal img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 24px;
}

.about-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    max-width: 450px;
}

.btn-learn-more {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    border: 1px solid #ddd;
    padding: 12px 24px;
    border-radius: 50px;
    width: fit-content;
    transition: 0.3s;
}

.btn-learn-more:hover {
    background: #f5f5f5;
    gap: 15px;
}

/* Responsive for About Modern */
@media (max-width: 1024px) {
    .about-modern-container {
        flex-direction: column;
        gap: 50px;
    }

    .year-box {
        font-size: 4rem;
    }
}

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

    .img-vertical img {
        height: 400px;
    }
}

/* Custom Popup Notification */
.custom-popup {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    z-index: 1000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.custom-popup.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.popup-content {
    background: rgba(5, 10, 21, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 15px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    min-width: 320px;
}

.custom-popup.error .popup-content {
    border-left: 4px solid #ff6b6b;
}

.custom-popup.error .popup-icon {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.custom-popup.success .popup-content {
    border-left: 4px solid var(--primary);
}

.custom-popup.success .popup-icon {
    color: var(--primary);
    background: rgba(184, 216, 0, 0.1);
}

.popup-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.popup-text h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.popup-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.popup-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: auto;
    padding: 5px;
    transition: 0.2s;
}

.popup-close:hover {
    color: #fff;
    transform: scale(1.1);
}

/* =========================================
   FULL SCREEN CONFLICT MODAL
   ========================================= */
.conflict-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.conflict-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.conflict-content {
    position: relative;
    z-index: 10;
    background: linear-gradient(145deg, rgba(30, 35, 50, 0.95), rgba(15, 20, 30, 0.98));
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.conflict-modal.show {
    pointer-events: all;
}

.conflict-modal.show .conflict-overlay {
    opacity: 1;
}

.conflict-modal.show .conflict-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.conflict-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 25px;
    color: #ff6b6b;
    font-size: 3.5rem;
    position: relative;
}

.conflict-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px dashed rgba(255, 107, 107, 0.3);
    border-radius: 50%;
    animation: rotateDash 10s linear infinite;
}

@keyframes rotateDash {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.conflict-content h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

.conflict-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

.btn-conflict-primary {
    background: #ff6b6b;
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
}

.btn-conflict-primary:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 107, 107, 0.4);
}

/* =========================================
   AUTH MODAL (LOGIN / REGISTER)
   ========================================= */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2500;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-form {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 25px 30px 35px;
    width: 90%;
    max-width: 420px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: scale(0.95) translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.auth-close-row {
    display: flex;
    justify-content: flex-end;
}

.auth-form ::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-family: inherit;
}

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

.flex-column > label {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.auth-inputForm {
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    transition: 0.2s ease-in-out;
    color: var(--text-muted);
}

.auth-inputForm:focus-within {
    border: 1.5px solid var(--primary);
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.auth-input {
    margin-left: 10px;
    border-radius: 10px;
    border: none;
    width: 100%;
    height: 100%;
    background: transparent;
    color: #fff;
    font-size: 1rem;
}

.auth-input:focus {
    outline: none;
}

.auth-span {
    font-size: 14px;
    margin-left: 5px;
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
}

.auth-button-submit {
    margin: 20px 0 10px 0;
    background-color: var(--primary);
    border: none;
    color: #000;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    height: 50px;
    width: 100%;
    cursor: pointer;
    transition: 0.3s;
}

.auth-button-submit:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.auth-p {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin: 5px 0;
}

.btn-auth-google {
    margin-top: 10px;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.btn-auth-google:hover {
    border: 1px solid var(--primary);
    background-color: rgba(255, 255, 255, 0.1);
}

.auth-modal.show .auth-form {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.auth-modal.show {
    pointer-events: all;
}

.auth-modal.show .auth-overlay {
    opacity: 1;
}

.close-auth {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
    padding: 0;
    align-self: flex-end;
}

.close-auth:hover {
    color: #fff;
    transform: rotate(90deg);
}

.auth-header {
    text-align: center;
    margin-bottom: 20px;
}

.auth-header h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 700;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.user-profile-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.user-profile-link:hover {
    color: var(--primary);
}