:root {
    --color-bg: #21201e;
    --color-card-bg: #393b38;
    --color-card-border: rgba(214, 178, 114, 0.25);
    --color-sand: #d6b276;
    --color-sand-glow: rgba(214, 178, 118, 0.4);
    --color-sand-muted: #a38758;
    --color-cyan: #00f3ff;
    --color-cyan-glow: rgba(0, 243, 255, 0.4);
    --color-cyan-dark: #009cb3;
    --color-text: #fdfaf7;
    --color-text-muted: #c5beba;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Top indicator bar */
.top-glow-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-cyan), var(--color-sand), var(--color-cyan), transparent);
    background-size: 200% auto;
    z-index: 1000;
    animation: shimmer 5s linear infinite;
    box-shadow: 0 0 12px var(--color-cyan);
}
@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: -200% center;
    }
}

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

html {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 2rem;
    line-height: 1.6;
    width: 100%;
}

/* Background Glowing Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.35;
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background-color: var(--color-sand);
    top: -100px;
    left: -150px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background-color: var(--color-cyan-dark);
    bottom: -150px;
    right: -100px;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    gap: 2.5rem;
}

/* Header styling */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.app-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-cyan), var(--color-sand));
}

.header-logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Neon Logo Border matching banner swirl */
.server-logo-wrapper {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--color-cyan) 0%, transparent 60%, var(--color-sand) 100%);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.25);
    animation: rotateSwirl 6s linear infinite;
}

.server-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-bg);
}

@keyframes rotateSwirl {
    100% {
        transform: rotate(360deg);
    }
}

.server-info {
    display: flex;
    flex-direction: column;
}

.server-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-cyan);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.7);
    }
    70% {
        transform: scale(1.1);
        opacity: 1;
        box-shadow: 0 0 0 8px rgba(0, 243, 255, 0);
    }
    100% {
        transform: scale(0.9);
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0);
    }
}

.join-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-cyan-dark) 100%);
    color: #0b0908;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3);
    transition: var(--transition);
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 243, 255, 0.5);
    background: linear-gradient(135deg, #33f7ff 0%, var(--color-cyan) 100%);
}

.join-btn svg {
    transition: var(--transition);
}

.join-btn:hover svg {
    transform: rotate(8deg) scale(1.1);
}

/* Hero Layout */
.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: center;
    padding: 3rem 0;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
}

.hero-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-cyan);
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.hero-btn.btn-primary {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-cyan-dark) 100%);
    color: #0b0908;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.35);
}

.hero-btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 243, 255, 0.5);
    background: linear-gradient(135deg, #33f7ff 0%, var(--color-cyan) 100%);
}

.hero-btn.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-btn.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--color-cyan);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.1);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
}

.hero-logo-box {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.15) 0%, rgba(214, 178, 114, 0.08) 50%, transparent 100%);
    filter: blur(20px);
    z-index: 1;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

.hero-logo-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid rgba(214, 178, 114, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
    transition: var(--transition);
}

.hero-logo-box:hover .hero-logo-img {
    transform: scale(1.03) rotate(2deg);
    border-color: var(--color-cyan);
    box-shadow: 0 15px 40px rgba(0, 243, 255, 0.25);
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
    }
}

.hero-right .voice-card {
    width: 100%;
    max-width: 450px;
}

/* Cards Base */
.dashboard-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 20px;
    padding: 1.8rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.dashboard-card:hover {
    border-color: rgba(0, 243, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 243, 255, 0.1);
}

.card-glow-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-cyan), var(--color-sand), var(--color-cyan), transparent);
    opacity: 0.8;
    animation: flowLine 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes flowLine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Stats Cards Specifics */
.stat-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-sand);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0.3rem 0;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.stat-icon-wrapper {
    background: rgba(200, 177, 138, 0.08);
    border: 1px solid rgba(200, 177, 138, 0.15);
    color: var(--color-sand);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(200, 177, 138, 0.05);
}

.stat-icon-wrapper.cyan-glow {
    background: rgba(0, 243, 255, 0.06);
    border-color: rgba(0, 243, 255, 0.2);
    color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.08);
}

/* Voice Channels Card */
.voice-card {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 250px;
}

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

.card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.card-title .icon {
    color: var(--color-cyan);
}

.badge {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    background: rgba(0, 243, 255, 0.1);
    color: var(--color-cyan);
    border: 1px solid rgba(0, 243, 255, 0.25);
    letter-spacing: 0.5px;
}

.badge-sand {
    background: rgba(200, 177, 138, 0.1);
    color: var(--color-sand);
    border-color: rgba(200, 177, 138, 0.25);
}

.voice-channels-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    max-height: 300px;
    padding-right: 5px;
}

/* Scrollbar styles */
.voice-channels-list::-webkit-scrollbar,
.news-details::-webkit-scrollbar {
    width: 6px;
}
.voice-channels-list::-webkit-scrollbar-thumb,
.news-details::-webkit-scrollbar-thumb {
    background-color: rgba(200, 177, 138, 0.2);
    border-radius: 10px;
}

.voice-channel-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: var(--transition);
}

.voice-channel-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(200, 177, 138, 0.2);
}

.voice-channel-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-sand);
    display: flex;
    align-items: center;
    gap: 8px;
}

.voice-channel-users {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.voice-user {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 243, 255, 0.06);
    border: 1px solid rgba(0, 243, 255, 0.15);
    padding: 4px 10px 4px 6px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.voice-user:hover {
    background: rgba(0, 243, 255, 0.15);
    border-color: var(--color-cyan);
}

.voice-user-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.voice-user-name {
    font-weight: 500;
    color: #ffffff;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* News Panel Card */
.news-card-panel {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
}

.news-card-panel:hover {
    border-color: rgba(200, 177, 138, 0.3);
    box-shadow: 0 12px 35px rgba(200, 177, 138, 0.08);
}

.news-header .card-title {
    font-size: 1.4rem;
}

.text-glow {
    color: var(--color-sand);
    text-shadow: 0 0 15px rgba(200, 177, 138, 0.3);
}

.news-content-area {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    height: 100%;
}

.news-image-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--color-card-border);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
    aspect-ratio: 1;
    max-height: 400px;
    align-self: center;
}

.news-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

#news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-image-container:hover #news-img {
    transform: scale(1.03);
}

.news-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    overflow-y: auto;
    max-height: 500px;
    padding-right: 5px;
}

.news-headline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    border-bottom: 2px solid var(--color-sand);
    padding-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.news-bullets-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.news-bullets-list li {
    position: relative;
    padding-left: 1.8rem;
    font-size: 0.95rem;
    color: var(--color-text);
}

.news-bullets-list li::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--color-cyan);
    transform: rotate(45deg);
    box-shadow: 0 0 8px var(--color-cyan);
}

.news-caption-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.news-caption-box h4 {
    font-family: var(--font-heading);
    color: var(--color-sand);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.news-caption-box p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    white-space: pre-wrap;
    word-break: break-word;
}

/* Footer Section */
.app-footer {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    .hero-left {
        align-items: center;
        text-align: center;
    }
    .hero-stats {
        justify-content: center;
        gap: 2.5rem;
    }
    .hero-logo-box {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
        gap: 1.5rem;
    }
    .app-header {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }
    .header-logo-container {
        flex-direction: column;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        padding-top: 1.5rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }
    .hero-btn {
        width: 100%;
    }
}

/* Page Layer & About Section styling */
.page-layer {
    width: 100%;
    position: relative;
    overflow: hidden;
}

#layer-dashboard {
    border-bottom: 1px solid rgba(214, 178, 114, 0.1);
}

#layer-about {
    background: #1e1d1b;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.about-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-cyan);
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.about-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.about-desc {
    max-width: 650px;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
}

.about-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 243, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 243, 255, 0.12);
}

.about-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.about-card:hover .about-card-icon {
    background: rgba(0, 243, 255, 0.1);
    transform: scale(1.05);
}

/* Color icons dynamically */
.about-card:nth-child(1) .about-card-icon { color: var(--color-cyan); }
.about-card:nth-child(2) .about-card-icon { color: #bb86fc; }
.about-card:nth-child(3) .about-card-icon { color: #ff7597; }
.about-card:nth-child(4) .about-card-icon { color: #03dac6; }
.about-card:nth-child(5) .about-card-icon { color: var(--color-sand); }
.about-card:nth-child(6) .about-card-icon { color: #ffb74d; }

.about-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
}

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

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

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-title {
        font-size: 2.2rem;
    }
    #layer-about {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Layer 3: Rukun Warga Styles */
#layer-officers {
    background: #181716;
    padding-top: 4rem;
    padding-bottom: 5rem;
    border-top: 1px solid rgba(214, 178, 114, 0.08);
}

.officers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
}

.officer-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.officer-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 243, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 243, 255, 0.12);
}

.officer-card .card-glow-line {
    background: linear-gradient(to right, transparent, var(--color-sand), var(--color-cyan), var(--color-sand), transparent);
}

.officer-avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--color-sand) 0%, transparent 50%, var(--color-cyan) 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.officer-card:hover .officer-avatar-wrapper {
    background: linear-gradient(135deg, var(--color-cyan) 0%, transparent 30%, var(--color-sand) 100%);
    box-shadow: 0 8px 25px rgba(0, 243, 255, 0.25);
    transform: scale(1.05);
}

.officer-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-bg);
}

.officer-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.officer-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 750;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.officer-username {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.officer-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-cyan);
    text-transform: uppercase;
    background: rgba(0, 243, 255, 0.06);
    border: 1px solid rgba(0, 243, 255, 0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-top: 0.2rem;
}

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

@media (max-width: 576px) {
    .officers-grid {
        grid-template-columns: 1fr;
    }
    #layer-officers {
        padding-top: 3rem;
        padding-bottom: 4rem;
    }
}
