﻿:root {
    --primary-color: #0f0f0f;
    --secondary-color: #1e1e1e;
    --accent-color: #c5a059;
    --text-color: #f0f0f0;
    --text-muted: #a0a0a0;
    --font-main: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    /* Reduced line height slightly */
    overflow-x: hidden;
    font-size: 15px;
    /* Base font size reduction */
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
}

/* Header */
header {
    background-color: rgba(15, 15, 15, 0.9);
    padding: 1rem 3rem;
    /* Reduced padding */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding 0.3s ease;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 15px;
    /* Increase touch target */
    z-index: 1200;
    /* Ensure it's on top of everything */
    position: relative;
    /* Ensure z-index works */
    touch-action: manipulation;
    /* Improve touch responsiveness */
    -webkit-tap-highlight-color: transparent;
    /* Remove tap highlight on iOS */
}

header.scrolled {
    padding: 0.6rem 3rem;
    background-color: rgba(15, 15, 15, 0.98);
}

.logo {
    font-size: 1.5rem;
    /* Reduced */
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    /* Reduced gap */
}

nav a {
    font-size: 0.8rem;
    /* Reduced */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    position: relative;
}

nav a:hover {
    opacity: 1;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width var(--transition-speed);
}

nav a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
    /* Or flex item depending on parent */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(15, 15, 15, 0.95);
    min-width: 200px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1100;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    top: 150%;
    /* Offset slightly for animation effect */
    left: 0;
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    opacity: 0;
    transition: all 0.2s ease;
    transform: translateY(10px);
}

.dropdown:hover .dropdown-content {
    display: block;
    top: 100%;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--text-muted);
    padding: 10px 16px;
    text-decoration: none;
    display: flex !important;
    /* Force flex for alignment if needed */
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-color);
    padding-left: 20px;
    /* Slide effect */
}

.dropdown-content a::after {
    display: none;
    /* Remove underline effect for dropdown items */
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(to bottom, rgba(15, 15, 15, 0.3), rgba(15, 15, 15, 1)), url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, #0f0f0f 150%);
    pointer-events: none;
}

.hero-content {
    z-index: 1;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.3s;
}

.hero h1 {
    font-size: 3.5rem;
    /* Reduced from 5rem */
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-weight: 800;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1rem;
    /* Reduced */
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Button Styles - Restored Gold Animation */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    /* Slightly smaller padding */
    background-color: transparent;
    color: var(--accent-color);
    /* Gold text */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--accent-color);
    /* Gold border */
    cursor: pointer;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 0.9rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--accent-color);
    /* Gold fill */
    transition: width var(--transition-speed);
    z-index: -1;
}

.btn:hover {
    color: #000;
    /* Black text on hover */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.btn:hover::before {
    width: 100%;
}

/* Section General */
.section {
    padding: 5rem 2rem;
    /* Reduced padding */
    max-width: 1200px;
    /* Reduced max-width */
    margin: 0 auto;
}

.section h2 {
    font-size: 2rem;
    /* Reduced */
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

/* Split Layout (FAQ) */
.split-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.split-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.split-image img {
    max-width: 70%;
    /* Reduced image size */
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.split-content {
    flex: 2;
    min-width: 300px;
}

.faq-item {
    margin-bottom: 1.5rem;
    /* Reduced margin */
}

.faq-item h3 {
    font-size: 1.2rem;
    /* Reduced */
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    /* Reduced */
}

/* Branch Sections */
.branch-section {
    position: relative;
    padding: 6rem 2rem;
    /* Reduced padding */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh;
    /* Reduced height */
    display: flex;
    align-items: center;
}

.branch-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    margin: 2rem auto;
    /* Reduced margin */
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: transparent;
    border-left: 2px dashed var(--text-muted);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    /* Compact spacing */
    width: 50%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 2.5rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 2.5rem;
    text-align: left;
}

.timeline-icon {
    position: absolute;
    top: 0;
    width: 40px;
    /* Smaller icon */
    height: 40px;
    background: var(--secondary-color);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -20px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -20px;
}

.timeline-content h3 {
    color: var(--accent-color);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    /* Reduced */
}

.timeline-content p {
    font-size: 0.9rem;
    /* Reduced */
    line-height: 1.5;
}

/* Footer */
footer {
    background-color: transparent;
    padding: 3rem 2rem;
    /* Reduced */
    text-align: center;
    color: var(--text-muted);
    border-top: none;
}

footer a {
    color: var(--text-muted);
    margin: 0 1rem;
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Modern Scroll Reveal System ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1) translateX(0);
}

/* Directional Variants */
.reveal.reveal-left {
    transform: translateX(-60px) translateY(20px);
}

.reveal.reveal-right {
    transform: translateX(60px) translateY(20px);
}

.reveal.reveal-scale {
    transform: scale(0.92);
}

.reveal.reveal-fade {
    transform: none;
}

/* Stagger Children */
.reveal-child {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-child.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .split-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .branch-content.align-left,
    .branch-content.align-right {
        margin: 0 auto;
        text-align: left;
        border: none;
        border-left: 3px solid var(--accent-color);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
        margin-bottom: 2rem;
    }

    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
        right: auto;
    }

    .menu-toggle {
        display: block !important;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.98);
        /* Slightly darker/more opaque */
        padding: 2rem;
        backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        height: calc(100vh - 60px);
        /* Adjust based on approx header height to prevent overscroll issues */
        overflow-y: auto;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    nav a {
        font-size: 1.2rem;
        /* Larger font for touch targets */
    }

    nav.active {
        display: block;
    }



    /* Branch Sections */
    .branch-section {
        position: relative;
        padding: 6rem 2rem;
        /* Reduced padding */
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        min-height: 60vh;
        /* Reduced height */
        display: flex;
        align-items: center;
    }

    .branch-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        margin: 2rem auto;
        /* Reduced margin */
        padding: 1rem 0;
    }

    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        background: transparent;
        border-left: 2px dashed var(--text-muted);
        transform: translateX(-50%);
    }

    .timeline-item {
        position: relative;
        margin-bottom: 2rem;
        /* Compact spacing */
        width: 50%;
    }

    .timeline-item:last-child {
        margin-bottom: 0;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
        padding-right: 2.5rem;
        text-align: right;
    }

    .timeline-item:nth-child(even) {
        left: 50%;
        padding-left: 2.5rem;
        text-align: left;
    }

    .timeline-icon {
        position: absolute;
        top: 0;
        width: 40px;
        /* Smaller icon */
        height: 40px;
        background: var(--secondary-color);
        border: 2px solid var(--accent-color);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.2rem;
        z-index: 2;
    }

    .timeline-item:nth-child(odd) .timeline-icon {
        right: -20px;
    }

    .timeline-item:nth-child(even) .timeline-icon {
        left: -20px;
    }

    .timeline-content h3 {
        color: var(--accent-color);
        margin-bottom: 0.3rem;
        font-size: 1.1rem;
        /* Reduced */
    }

    .timeline-content p {
        font-size: 0.9rem;
        /* Reduced */
        line-height: 1.5;
    }

    /* Footer */
    footer {
        background-color: #050505;
        padding: 3rem 2rem;
        /* Reduced */
        text-align: center;
        color: var(--text-muted);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    footer a {
        color: var(--text-muted);
        margin: 0 1rem;
        font-size: 0.85rem;
    }

    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(40px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .reveal {
        opacity: 0;
        transform: translateY(50px);
        transition: all 1s ease;
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive */
    @media (max-width: 768px) {
        .hero h1 {
            font-size: 2.5rem;
        }

        .split-layout {
            flex-direction: column;
            gap: 2rem;
        }

        .branch-content.align-left,
        .branch-content.align-right {
            margin: 0 auto;
            text-align: left;
            border: none;
            border-left: 3px solid var(--accent-color);
        }

        .timeline::before {
            left: 20px;
        }

        .timeline-item {
            width: 100%;
            left: 0;
            padding-left: 50px;
            padding-right: 0;
            text-align: left;
            margin-bottom: 2rem;
        }

        .timeline-item:nth-child(odd) .timeline-icon,
        .timeline-item:nth-child(even) .timeline-icon {
            left: 0;
            right: auto;
        }

        .menu-toggle {
            display: block !important;
        }

        nav {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: #000;
            padding: 2rem;
        }
    }

    nav.active {
        display: block;
    }



    /* Branch Sections */
    .branch-section {
        position: relative;
        padding: 6rem 2rem;
        /* Reduced padding */
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        min-height: 60vh;
        /* Reduced height */
        display: flex;
        align-items: center;
    }

    .branch-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        margin: 2rem auto;
        /* Reduced margin */
        padding: 1rem 0;
    }

    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        background: transparent;
        border-left: 2px dashed var(--text-muted);
        transform: translateX(-50%);
    }

    .timeline-item {
        position: relative;
        margin-bottom: 2rem;
        /* Compact spacing */
        width: 50%;
    }

    .timeline-item:last-child {
        margin-bottom: 0;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
        padding-right: 2.5rem;
        text-align: right;
    }

    .timeline-item:nth-child(even) {
        left: 50%;
        padding-left: 2.5rem;
        text-align: left;
    }

    .timeline-icon {
        position: absolute;
        top: 0;
        width: 40px;
        /* Smaller icon */
        height: 40px;
        background: var(--secondary-color);
        border: 2px solid var(--accent-color);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.2rem;
        z-index: 2;
    }

    .timeline-item:nth-child(odd) .timeline-icon {
        right: -20px;
    }

    .timeline-item:nth-child(even) .timeline-icon {
        left: -20px;
    }

    .timeline-content h3 {
        color: var(--accent-color);
        margin-bottom: 0.3rem;
        font-size: 1.1rem;
        /* Reduced */
    }

    .timeline-content p {
        font-size: 0.9rem;
        /* Reduced */
        line-height: 1.5;
    }

    /* Footer */
    footer {
        background-color: transparent;
        padding: 3rem 2rem;
        /* Reduced */
        text-align: center;
        color: var(--text-muted);
        border-top: none;
    }

    footer a {
        color: var(--text-muted);
        margin: 0 1rem;
        font-size: 0.85rem;
    }

    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(40px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .reveal {
        opacity: 0;
        transform: translateY(50px);
        transition: all 1s ease;
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .split-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .branch-content.align-left,
    .branch-content.align-right {
        margin: 0 auto;
        text-align: left;
        border: none;
        border-left: 3px solid var(--accent-color);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
        margin-bottom: 2rem;
    }

    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
        right: auto;
    }

    .menu-toggle {
        display: block !important;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        padding: 2rem;
    }

    .branch-section {
        /* Reduced padding */
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        min-height: 60vh;
        /* Reduced height */
        display: flex;
        align-items: center;
    }

    .branch-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        margin: 2rem auto;
        /* Reduced margin */
        padding: 1rem 0;
    }

    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        background: transparent;
        border-left: 2px dashed var(--text-muted);
        transform: translateX(-50%);
    }

    .timeline-item {
        position: relative;
        margin-bottom: 2rem;
        /* Compact spacing */
        width: 50%;
    }

    .timeline-item:last-child {
        margin-bottom: 0;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
        padding-right: 2.5rem;
        text-align: right;
    }

    .timeline-item:nth-child(even) {
        left: 50%;
        padding-left: 2.5rem;
        text-align: left;
    }

    .timeline-icon {
        position: absolute;
        top: 0;
        width: 40px;
        /* Smaller icon */
        height: 40px;
        background: var(--secondary-color);
        border: 2px solid var(--accent-color);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.2rem;
        z-index: 2;
    }

    .timeline-item:nth-child(odd) .timeline-icon {
        right: -20px;
    }

    .timeline-item:nth-child(even) .timeline-icon {
        left: -20px;
    }

    .timeline-content h3 {
        color: var(--accent-color);
        margin-bottom: 0.3rem;
        font-size: 1.1rem;
        /* Reduced */
    }

    .timeline-content p {
        font-size: 0.9rem;
        /* Reduced */
        line-height: 1.5;
    }

    /* Footer */
    footer {
        background-color: #050505;
        padding: 3rem 2rem;
        /* Reduced */
        text-align: center;
        color: var(--text-muted);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    footer a {
        color: var(--text-muted);
        margin: 0 1rem;
        font-size: 0.85rem;
    }

    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(40px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .reveal {
        opacity: 0;
        transform: translateY(50px);
        transition: all 1s ease;
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive */
    @media (max-width: 768px) {
        .hero h1 {
            font-size: 2.5rem;
        }

        .split-layout {
            flex-direction: column;
            gap: 2rem;
        }

        .branch-content.align-left,
        .branch-content.align-right {
            margin: 0 auto;
            text-align: left;
            border: none;
            border-left: 3px solid var(--accent-color);
        }

        .timeline::before {
            left: 20px;
        }

        .timeline-item {
            width: 100%;
            left: 0;
            padding-left: 50px;
            padding-right: 0;
            text-align: left;
            margin-bottom: 2rem;
        }

        .timeline-item:nth-child(odd) .timeline-icon,
        .timeline-item:nth-child(even) .timeline-icon {
            left: 0;
            right: auto;
        }

        .menu-toggle {
            display: block !important;
        }

        nav {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: #000;
            padding: 2rem;
        }

        nav.active {
            display: block;
        }

        nav ul {
            /* Reduced height */
            display: flex;
            align-items: center;
        }

        .branch-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            margin: 2rem auto;
            /* Reduced margin */
            padding: 1rem 0;
        }

        .timeline::before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 2px;
            background: transparent;
            border-left: 2px dashed var(--text-muted);
            transform: translateX(-50%);
        }

        .timeline-item {
            position: relative;
            margin-bottom: 2rem;
            /* Compact spacing */
            width: 50%;
        }

        .timeline-item:last-child {
            margin-bottom: 0;
        }

        .timeline-item:nth-child(odd) {
            left: 0;
            padding-right: 2.5rem;
            text-align: right;
        }

        .timeline-item:nth-child(even) {
            left: 50%;
            padding-left: 2.5rem;
            text-align: left;
        }

        .timeline-icon {
            position: absolute;
            top: 0;
            width: 40px;
            /* Smaller icon */
            height: 40px;
            background: var(--secondary-color);
            border: 2px solid var(--accent-color);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.2rem;
            z-index: 2;
        }

        .timeline-item:nth-child(odd) .timeline-icon {
            right: -20px;
        }

        .timeline-item:nth-child(even) .timeline-icon {
            left: -20px;
        }

        .timeline-content h3 {
            color: var(--accent-color);
            margin-bottom: 0.3rem;
            font-size: 1.1rem;
            /* Reduced */
        }

        .timeline-content p {
            font-size: 0.9rem;
            /* Reduced */
            line-height: 1.5;
        }

        /* Footer */
        footer {
            background-color: #050505;
            padding: 3rem 2rem;
            /* Reduced */
            text-align: center;
            color: var(--text-muted);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        footer a {
            color: var(--text-muted);
            margin: 0 1rem;
            font-size: 0.85rem;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 1s ease;
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .split-layout {
                flex-direction: column;
                gap: 2rem;
            }

            .branch-content.align-left,
            .branch-content.align-right {
                margin: 0 auto;
                text-align: left;
                border: none;
                border-left: 3px solid var(--accent-color);
            }

            .timeline::before {
                left: 20px;
            }

            .timeline-item {
                width: 100%;
                left: 0;
                padding-left: 50px;
                padding-right: 0;
                text-align: left;
                margin-bottom: 2rem;
            }

            .timeline-item:nth-child(odd) .timeline-icon,
            .timeline-item:nth-child(even) .timeline-icon {
                left: 0;
                right: auto;
            }

            .menu-toggle {
                display: block !important;
            }

            nav {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: #000;
                padding: 2rem;
            }

            nav.active {
                display: block;
            }

            nav ul {
                flex-direction: column;
                text-align: center;
            }
        }


    }

    /* Login Modal & Page Styles */
    .login-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2000;
        animation: gradientShift 15s ease infinite;
        background-size: 200% 200%;
    }

    @keyframes gradientShift {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }

    .login-overlay::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 20% 50%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(102, 192, 244, 0.1) 0%, transparent 50%);
        backdrop-filter: blur(2px);
    }

    .login-modal {
        position: relative;
        background: linear-gradient(135deg, rgba(30, 30, 40, 0.95) 0%, rgba(20, 20, 30, 0.98) 100%);
        width: 90%;
        max-width: 480px;
        border-radius: 24px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7),
            0 0 1px rgba(255, 255, 255, 0.1) inset,
            0 0 80px rgba(76, 175, 80, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.15);
        overflow: hidden;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        animation: modalSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
        color: #fff;
        transform-style: preserve-3d;
    }

    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translateY(50px) scale(0.9);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .login-modal::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #4caf50, #66c0f4, #4caf50);
        background-size: 200% 100%;
        animation: shimmer 3s linear infinite;
    }

    @keyframes shimmer {
        0% {
            background-position: -200% 0;
        }

        100% {
            background-position: 200% 0;
        }
    }

    .login-header {
        padding: 2rem 2rem 1rem 2rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    }

    .login-header h2 {
        margin: 0;
        font-size: 2rem;
        background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .login-body {
        padding: 2rem 2rem 2.5rem 2rem;
    }

    .login-section {
        margin-bottom: 2rem;
    }

    .login-section:last-child {
        margin-bottom: 0;
    }

    .login-section-title {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1.5px;
    }

    .login-section label {
        display: block;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 0.6rem;
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    .login-divider {
        display: flex;
        align-items: center;
        text-align: center;
        margin: 2rem 0;
        color: rgba(255, 255, 255, 0.4);
    }

    .login-divider::before,
    .login-divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .login-divider span {
        padding: 0 15px;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .form-group {
        margin-bottom: 0;
    }

    .login-input {
        background: rgba(255, 255, 255, 0.06);
        border: 1.5px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        padding: 1rem 1.2rem;
        color: #fff;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        font-size: 1rem;
        width: 100%;
        margin-bottom: 1.2rem;
        font-weight: 400;
    }

    .login-input:focus {
        background: rgba(255, 255, 255, 0.1);
        border-color: #4caf50;
        box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15),
            0 4px 12px rgba(76, 175, 80, 0.2);
        outline: none;
        transform: translateY(-2px);
    }

    .login-input::placeholder {
        color: rgba(255, 255, 255, 0.3);
    }

    .btn-steam {
        background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
        border: 1.5px solid #66c0f4;
        border-radius: 12px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 1rem 1.5rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        color: #66c0f4;
        text-decoration: none;
        font-size: 1rem;
        position: relative;
        overflow: hidden;
        letter-spacing: 0.5px;
    }

    .btn-steam::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(102, 192, 244, 0.3), transparent);
        transition: left 0.6s;
    }

    .btn-steam:hover::before {
        left: 100%;
    }

    .btn-steam:hover {
        background: linear-gradient(135deg, #2a475e 0%, #66c0f4 100%);
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(102, 192, 244, 0.4),
            0 0 30px rgba(102, 192, 244, 0.2);
        border-color: #66c0f4;
    }

    .btn-steam:active {
        transform: translateY(-1px);
    }

    .btn-login {
        width: 100%;
        background: linear-gradient(135deg, #2d5016 0%, #4caf50 100%);
        color: #fff;
        padding: 1rem 1.5rem;
        border: 1.5px solid #4caf50;
        border-radius: 12px;
        cursor: pointer;
        font-size: 1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
        margin-top: 0.5rem;
        position: relative;
        overflow: hidden;
    }

    .btn-login::before {
        content: '';

    }

    .login-modal::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #4caf50, #66c0f4, #4caf50);
        background-size: 200% 100%;
        animation: shimmer 3s linear infinite;
    }

    @keyframes shimmer {
        0% {
            background-position: -200% 0;
        }

        100% {
            background-position: 200% 0;
        }
    }

    .login-header {
        padding: 2rem 2rem 1rem 2rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    }

    .login-header h2 {
        margin: 0;
        font-size: 2rem;
        background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .login-body {
        padding: 2rem 2rem 2.5rem 2rem;
    }

    .login-section {
        margin-bottom: 2rem;
    }

    .login-section:last-child {
        margin-bottom: 0;
    }

    .login-section-title {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1.5px;
    }

    .login-section label {
        display: block;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 0.6rem;
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    .login-divider {
        display: flex;
        align-items: center;
        text-align: center;
        margin: 2rem 0;
        color: rgba(255, 255, 255, 0.4);
    }

    .login-divider::before,
    .login-divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .login-divider span {
        padding: 0 15px;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .form-group {
        margin-bottom: 0;
    }

    .login-input {
        background: rgba(255, 255, 255, 0.06);
        border: 1.5px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        padding: 1rem 1.2rem;
        color: #fff;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        font-size: 1rem;
        width: 100%;
        margin-bottom: 1.2rem;
        font-weight: 400;
    }

    .login-input:focus {
        background: rgba(255, 255, 255, 0.1);
        border-color: #4caf50;
        box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15),
            0 4px 12px rgba(76, 175, 80, 0.2);
        outline: none;
        transform: translateY(-2px);
    }

    .login-input::placeholder {
        color: rgba(255, 255, 255, 0.3);
    }

    .btn-steam {
        background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
        border: 1.5px solid #66c0f4;
        border-radius: 12px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 1rem 1.5rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        color: #66c0f4;
        text-decoration: none;
        font-size: 1rem;
        position: relative;
        overflow: hidden;
        letter-spacing: 0.5px;
    }

    .btn-steam::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(102, 192, 244, 0.3), transparent);
        transition: left 0.6s;
    }

    .btn-steam:hover::before {
        left: 100%;
    }



    .btn-steam:hover {
        background: linear-gradient(135deg, #2a475e 0%, #66c0f4 100%);
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(102, 192, 244, 0.4),
            0 0 30px rgba(102, 192, 244, 0.2);
        border-color: #66c0f4;
    }

    .btn-steam:active {
        transform: translateY(-1px);
    }

    .btn-login {
        width: 100%;
        background: linear-gradient(135deg, #2d5016 0%, #4caf50 100%);
        color: #fff;
        padding: 1rem 1.5rem;
        border: 1.5px solid #4caf50;
        border-radius: 12px;
        cursor: pointer;
        font-size: 1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
        margin-top: 0.5rem;
        position: relative;
        overflow: hidden;
    }

    .btn-login::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.6s;
    }

    .btn-login:hover::before {
        left: 100%;
    }

    .btn-login:hover {
        background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5),
            0 0 40px rgba(76, 175, 80, 0.3);
        border-color: #66bb6a;
    }

    .btn-login:active {
        transform: translateY(-1px);
    }

    /* Responsive adjustments for login */
    @media (max-width: 768px) {
        .login-modal {
            max-width: 95%;
            border-radius: 20px;
        }

        .login-header h2 {
            font-size: 1.6rem;
        }

        .login-body {
            padding: 1.5rem;
        }
    }
}

/* Social Section */
.social-section {
    position: relative;
    padding: 6rem 2rem;
    background: url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    color: #ffffff;
}

.social-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    /* Dark overlay */
    z-index: 0;
}

.social-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.social-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #ffffff;
}

.social-content p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 80px;
    height: 80px;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.social-icon svg {
    width: 40px;
    height: 40px;
    fill: #ffffff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.social-icon:hover svg {
    fill: #000000;
}

@media (max-width: 768px) {
    .social-icon {
        width: 60px;
        height: 60px;
    }

    .social-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* --- MODERN UI KIT (Glassmorphism & New Components) --- */

/* Glass Panel */
.glass-panel {
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Stats Card Modern */
.stat-card-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card-modern:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-card-modern:hover::before {
    opacity: 1;
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modern Table */
.modern-table-container {
    overflow-x: auto;
    border-radius: 12px;
}

.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.modern-table th {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    transition: background 0.2s;
}

.modern-table tbody tr {
    transition: all 0.2s;
}

.modern-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.modern-table tbody tr:last-child td {
    border-bottom: none;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-cell img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.user-info .name {
    font-weight: 600;
    display: block;
    color: #fff;
}

.user-info .username {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Status Badges */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-badge.active {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.status-badge.inactive {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

.status-badge.loa {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

/* Modern Form Elements */
.modern-form .form-group {
    margin-bottom: 20px;
}

.modern-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.modern-form input[type="text"],
.modern-form input[type="email"],
.modern-form input[type="password"],
.modern-form select,
.modern-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
}

/* Search Bar */
.search-bar-container {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}

/* Grid Layouts */
.admin-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 1100px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

/* Modern Roster Grid */
.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.roster-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
}

.roster-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.roster-card .card-header {
    position: relative;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent);
}

.roster-card .status-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
}

.roster-card .status-indicator.active {
    background-color: #4caf50;
    color: #4caf50;
}

.roster-card .status-indicator.inactive {
    background-color: #f44336;
    color: #f44336;
}

.roster-card .status-indicator.loa {
    background-color: #ff9800;
    color: #ff9800;
}

.roster-card .avatar-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    padding: 3px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.15);
    margin-bottom: 12px;
}

.roster-card .avatar-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.roster-card .rank-badge {
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.roster-card .card-body {
    padding: 15px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
}

.roster-card .operator-name {
    margin: 0 0 5px 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.roster-card .operator-role {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.roster-card .tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.roster-card .tag-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    color: #fff;
    border-left: 2px solid var(--tag-color);
}

.roster-card .card-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
}

.roster-card .status-text {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roster-card .status-text.active {
    color: #4caf50;
}

.roster-card .status-text.inactive {
    color: #f44336;
}

.roster-card .status-text.loa {
    color: #ff9800;
}

.roster-card .btn-resume {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}


/* Global Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-content {
    /* Base style for modal content wrapper if needed, 
       but we often use .glass-panel directly */
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content,
.modal-overlay.show .glass-panel {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
}

/* Dashboard Container Responsive Layout */
.dashboard-container {
    padding-top: 100px;
    padding-bottom: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    transition: max-width 0.3s ease;
}

/* 1600x900 Support */
@media (min-width: 1600px) {
    .dashboard-container {
        max-width: 1550px;
    }
}

/* 2K/4K Support (2560x1440) */
@media (min-width: 2500px) {
    .dashboard-container {
        max-width: 2300px;
    }

    .admin-grid {
        grid-template-columns: 400px 1fr;
        /* Slightly wider sidebar for huge screens */
    }
}

/* 1366x768 and 1280x1024 Optimization (Auto-Scaling) */
@media (max-width: 1400px) {
    :root {
        font-size: 13px;
        /* Scales UI down to ~80% of standard 16px base, acting as 'Auto Zoom' */
    }

    .dashboard-container,
    .media-grid,
    .section,
    .container {
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .admin-grid {
        gap: 20px;
    }
}

/* Profile Action Buttons (Global) */
.profile-action-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.profile-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.profile-action-btn.accent {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.profile-action-btn.accent:hover {
    background: rgba(197, 160, 89, 0.1);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
}

.profile-action-btn.primary {
    border-color: #fff;
    color: #fff;
}

.profile-action-btn.primary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Profile Page View Separation */
.dashboard-container.member-view {
    padding-top: 85px !important;
    /* Reduced offset for Fixed Header */
}

.dashboard-container.admin-view {
    padding-top: 10px !important;
    /* Reduced padding for Sticky Header */
}