/* ==========================================================================
   Versite Theme & Design System (High-Fidelity Cyberpunk Dark Theme)
   ========================================================================== */

:root {
    /* Color Palette */
    --color-app-bg: #0b0d16;
    --color-sidebar-bg: #040508;
    --color-card-bg: rgba(14, 18, 30, 0.55);
    --color-card-border: rgba(255, 255, 255, 0.05);

    /* Techno Blue Accents */
    --color-blue-main: #3aa6ff;
    --color-blue-dim: #1e6bb3;
    --color-blue-glow: rgba(58, 166, 255, 0.15);
    --color-blue-light: #6fbaff;

    /* Techno Purple Accents (for Graphics) */
    --color-purple-main: #a855f7;
    --color-purple-dim: #7c3aed;
    --color-purple-glow: rgba(168, 85, 247, 0.15);
    --color-purple-light: #c084fc;

    /* Techno Yellow Accents (for Strony, aplikacje i wtyczki) */
    --color-yellow-main: #eab308;
    --color-yellow-dim: #ca8a04;
    --color-yellow-glow: rgba(234, 179, 8, 0.15);
    --color-yellow-light: #fde047;

    /* Status & Text Colors */
    --color-text-primary: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-text-dim: #64748b;
    --color-success: #10b981;
    --color-danger: #f43f5e;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-tech: 'Orbitron', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Animations & Metrics */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 14px;
}

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

.hidden {
    display: none !important;
}

body {
    background-color: var(--color-app-bg);
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Cyber Atmospheric Background Nebulas */
.glow-bg {
    position: fixed;
    top: -150px;
    left: -150px;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 166, 255, 0.22) 0%, rgba(168, 85, 247, 0.1) 45%, rgba(11, 13, 22, 0) 75%);
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

/* Layout Framework */
.app-container {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.top-header {
    height: 60px;
    background-color: var(--color-sidebar-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 10;
}

.status-indicator {
    font-size: 11px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--color-success);
    box-shadow: 0 0 8px var(--color-success);
    animation: blink 2.5s infinite ease-in-out;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.45;
    }

    50% {
        opacity: 1;
    }
}

.app-layout {
    display: flex;
    flex-grow: 1;
    width: 100vw;
    height: calc(100vh - 60px);
    overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
    width: 280px;
    background-color: var(--color-sidebar-bg);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    padding: 30px 20px;
    z-index: 5;
}

.sidebar-header {
    margin-bottom: 45px;
    padding-left: 8px;
}

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

.logo-lockup {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    user-select: none;
}

.logo-symbol-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    margin-right: -1px;
}

.versite-v-symbol {
    height: 34px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.75)) drop-shadow(0 0 16px rgba(0, 240, 255, 0.4));
    animation: vGlowPulse 4s infinite ease-in-out;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.logo-lockup:hover .versite-v-symbol {
    transform: scale(1.08) translateY(-1px);
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 1)) drop-shadow(0 0 24px rgba(0, 240, 255, 0.7));
}

@keyframes vGlowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.75)) drop-shadow(0 0 16px rgba(0, 240, 255, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.95)) drop-shadow(0 0 22px rgba(0, 240, 255, 0.65));
    }
}

.logo-main {
    font-family: var(--font-tech);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 0.12em;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 30%, var(--color-blue-light) 50%, #ffffff 70%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(58, 166, 255, 0.45);
    filter: drop-shadow(0 0 8px rgba(58, 166, 255, 0.25));
    animation: logoShimmer 4s infinite linear;
    line-height: 1;
}

.logo-suffix {
    letter-spacing: 0.08em;
}

@keyframes logoShimmer {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}

.logo::after {
    content: '';
    display: block;
    width: 100%;
    max-width: 160px;
    height: 3px;
    background: var(--color-blue-main);
    clip-path: polygon(0 50%, 10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%);
    filter: drop-shadow(0 0 4px var(--color-blue-main));
    margin-top: 10px;
    opacity: 0.9;
}

/* Sidebar navigation */
.sidebar-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.tab-btn {
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--color-text-muted);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 500;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--color-blue-light);
    background-color: rgba(58, 166, 255, 0.03);
}

.tab-btn.active {
    color: var(--color-blue-light);
    background-color: var(--color-blue-glow);
    border-left: 3px solid var(--color-blue-main);
    box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.05);
    padding-left: 13px;
    /* avoid jumpiness */
}

.tab-icon {
    opacity: 0.65;
    transition: var(--transition);
}

.tab-btn.active .tab-icon,
.tab-btn:hover .tab-icon {
    opacity: 1;
    color: var(--color-blue-main);
    filter: drop-shadow(0 0 5px var(--color-blue-main));
}

.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.owner-status-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--color-text-dim);
    font-family: var(--font-mono);
    background: rgba(255, 255, 255, 0.01);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.owner-status-box a {
    color: var(--color-text-dim);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.owner-status-box a:hover {
    color: var(--color-blue-light);
    filter: drop-shadow(0 0 4px var(--color-blue-main));
}

/* Main Content Panel */
.main-content {
    flex-grow: 1;
    min-width: 0;
    height: 100%;
    overflow-y: auto;
    padding: 40px;
    background-color: var(--color-app-bg);
}

.tab-content {
    display: none;
    width: 100%;
    animation: fadeIn 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.tab-content.active {
    display: block;
}


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

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

.content-header {
    margin-bottom: 30px;
}

.content-header h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
    color: var(--color-text-primary);
}

.subtitle {
    font-size: 14.5px;
    color: var(--color-text-muted);
}

/* Glassmorphism Cards */
.card {
    border-radius: var(--border-radius);
    border: 1px solid var(--color-card-border);
    position: relative;
    overflow: hidden;
}

.card.glass {
    background: var(--color-card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.highlight-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, transparent, var(--color-blue-main), transparent);
    opacity: 0.8;
}

.highlight-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, transparent, var(--color-purple-main), transparent);
    opacity: 0.8;
}

/* Grids & Layout Formats */
.grid-layout {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}

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

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

/* Buttons and Inputs */
.btn {
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-blue-dim) 0%, var(--color-blue-main) 100%);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(58, 166, 255, 0.25);
}

.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 22px rgba(58, 166, 255, 0.45);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-danger {
    background: linear-gradient(135deg, #be123c 0%, var(--color-danger) 100%);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.2);
}

.btn-danger:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.4);
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-full {
    width: 100%;
}

.btn-techno {
    font-family: var(--font-tech);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Input Fields */
.input-dark,
.select-dark {
    background: rgba(8, 10, 16, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.input-dark:focus,
.select-dark:focus {
    border-color: var(--color-blue-main);
    box-shadow: 0 0 0 3px rgba(58, 166, 255, 0.2);
}

/* ==========================================================================
   TAB: E-BOOKI (Skopiowany layout)
   ========================================================================== */
.ebook-cover-wrapper {
    width: 110px;
    height: 155px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.ebook-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .ebook-img {
    transform: scale(1.05);
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.8;
    color: #e2e8f0;
}

.bullet-list li {
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
}

.bullet-list li span {
    color: var(--color-blue-light);
    margin-right: 8px;
    font-size: 14px;
}

.purple-bullets li span {
    color: var(--color-purple-light);
}

.bullet-list li.nested-li {
    margin-bottom: 4px;
    padding-left: 20px;
    color: #cbd5e1;
}

.bullet-list li.nested-li span {
    color: var(--color-blue-light);
}

.badge-tag {
    font-size: 9.5px;
    background: rgba(58, 166, 255, 0.15);
    padding: 2.5px 7px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6fbaff;
    letter-spacing: 0.05em;
    margin-left: 6px;
}

.purple-tag {
    background: rgba(168, 85, 247, 0.15);
    color: var(--color-purple-light);
}

.course-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 20px;
    margin-top: auto;
}

/* Soon badges for Course footers */
.soon-badge {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    color: var(--color-text-dim);
    font-family: var(--font-tech);
    position: relative;
    user-select: none;
}

.soon-badge.highlight-blue {
    border-color: rgba(58, 166, 255, 0.3);
    color: var(--color-blue-light);
    text-shadow: 0 0 10px rgba(58, 166, 255, 0.5);
    background: rgba(58, 166, 255, 0.04);
    box-shadow: inset 0 0 8px rgba(58, 166, 255, 0.05);
}

.soon-badge.highlight-purple {
    border-color: rgba(168, 85, 247, 0.3);
    color: var(--color-purple-light);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
    background: rgba(168, 85, 247, 0.04);
    box-shadow: inset 0 0 8px rgba(168, 85, 247, 0.05);
}

/* ==========================================================================
   TAB: PORTFOLIO (Muzyka, Grafika & WebApps Split)
   ========================================================================== */
.portfolio-split-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    align-items: stretch;
    max-width: 1100px;
    margin: 40px auto;
    width: 100%;
}

@media (max-width: 1150px) {
    .portfolio-split-grid {
        grid-template-columns: 1fr;
        margin: 20px auto;
    }
}

.portfolio-panel-half {
    padding: 30px;
    background: rgba(10, 12, 20, 0.35);
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-height: 280px;
}

.portfolio-panel-half.yellow-panel {
    border-color: rgba(234, 179, 8, 0.2);
}

.portfolio-panel-half.yellow-panel:hover {
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.15);
}

/* Button variants for WebApps */
.yellow-btn {
    background: linear-gradient(135deg, var(--color-yellow-dim) 0%, var(--color-yellow-main) 100%) !important;
    box-shadow: 0 0 15px var(--color-yellow-glow) !important;
    color: #0b0d16 !important;
    font-weight: 700 !important;
}

.yellow-btn:hover {
    box-shadow: 0 0 25px rgba(234, 179, 8, 0.5) !important;
    transform: translateY(-2px);
}

.green-btn {
    background: linear-gradient(135deg, #15803d 0%, #22c55e 100%) !important;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.2) !important;
    color: #ffffff !important;
}

.green-btn:hover {
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.5) !important;
    transform: translateY(-2px);
}

.red-btn {
    background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%) !important;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2) !important;
    color: #ffffff !important;
}

.red-btn:hover {
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.5) !important;
    transform: translateY(-2px);
}

.orange-btn {
    background: linear-gradient(135deg, #c2410c 0%, #f97316 100%) !important;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.2) !important;
    color: #ffffff !important;
}

.orange-btn:hover {
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.5) !important;
    transform: translateY(-2px);
}

/* Category cards hover themes */
.webapp-cat-card.green-cat {
    border-color: rgba(34, 197, 94, 0.25) !important;
}

.webapp-cat-card.green-cat:hover {
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.25) !important;
}

.webapp-cat-card.red-cat {
    border-color: rgba(239, 68, 68, 0.25) !important;
}

.webapp-cat-card.red-cat:hover {
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.25) !important;
}

.webapp-cat-card.orange-cat {
    border-color: rgba(249, 115, 22, 0.25) !important;
}

.webapp-cat-card.orange-cat:hover {
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.25) !important;
}

/* WebApps 4-photo Window Frame */
.webapp-window-frame {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    margin: 18px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

.webapp-window-header {
    background: rgba(30, 41, 59, 0.7);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.window-dot.red {
    background-color: #ff5f56;
}

.window-dot.yellow {
    background-color: #ffbd2e;
}

.window-dot.green {
    background-color: #27c93f;
}

.window-title {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-text-dim);
    margin-left: 6px;
}

.webapp-photos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
    background: #06080e;
}

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

.webapp-photo-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #000;
    aspect-ratio: 16/9;
    transition: var(--transition);
}

.webapp-photo-item:hover {
    border-color: var(--color-yellow-main);
    transform: scale(1.02);
}

.webapp-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.webapp-photo-item:hover img {
    filter: brightness(0.85);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-tech);
    font-size: 12px;
    letter-spacing: 0.05em;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.webapp-photo-item:hover .photo-overlay {
    opacity: 1;
}

.webapp-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-primary);
    margin: 15px 0 12px 0;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--color-yellow-main);
    border-radius: 4px;
}

.webapp-link-box {
    margin: 12px 0 18px 0;
    padding: 12px 16px;
    background: rgba(234, 179, 8, 0.06);
    border: 1px dashed rgba(234, 179, 8, 0.3);
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.webapp-external-link {
    color: var(--color-yellow-light);
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition);
}

.webapp-external-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.8);
}

.portfolio-detail-view {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.panel-section-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 18px;
}

.panel-decor-icon {
    font-size: 26px;
    display: inline-block;
    margin-bottom: 8px;
}

.panel-section-header h2 {
    font-family: var(--font-tech);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}

.section-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.admin-only-action {
    display: flex;
    justify-content: center;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    margin-top: 10px;
}

/* --- MUSIC: Discord style custom audio player --- */
.tracks-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.track-player-card {
    background: rgba(6, 8, 14, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.track-player-card:hover {
    border-color: rgba(58, 166, 255, 0.15);
    box-shadow: 0 4px 20px rgba(58, 166, 255, 0.05);
}

.btn-delete-track-absolute {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--color-danger);
    font-size: 16px;
    cursor: pointer;
    opacity: 0.85;
    transform: scale(1);
    pointer-events: auto;
    transition: var(--transition);
    z-index: 10;
}

.btn-delete-track-absolute:hover {
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px var(--color-danger));
}

.track-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.track-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
}

.track-controls-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-play-pause {
    background: var(--color-blue-main);
    color: #ffffff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--color-blue-glow);
}

.btn-play-pause:hover {
    transform: scale(1.08);
    background: var(--color-blue-light);
}

/* Custom progress ranges */
.timeline-slider-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    cursor: pointer;
    transition: background 0.3s;
}

.range-slider:hover {
    background: rgba(255, 255, 255, 0.15);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--color-blue-main);
    box-shadow: 0 0 6px var(--color-blue-main);
    transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.time-display {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--color-text-muted);
    min-width: 75px;
    text-align: right;
    user-select: none;
}

/* Volume row */
.volume-control-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100px;
    flex-shrink: 0;
}

.btn-mute-toggle {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.btn-mute-toggle:hover {
    color: var(--color-blue-light);
}

.volume-slider {
    height: 4px;
}

.volume-slider::-webkit-slider-thumb {
    width: 9px;
    height: 9px;
}

/* Thumbs Up/Down bar */
.track-voting-row {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 10px;
    margin-top: 4px;
}

.btn-vote {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.btn-vote:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-vote.vote-up.voted {
    color: var(--color-success);
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.btn-vote.vote-down.voted {
    color: var(--color-danger);
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.25);
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.1);
}

.btn-vote.btn-feedback-toggle.active {
    color: var(--color-blue-light);
    background: rgba(58, 166, 255, 0.08);
    border-color: rgba(58, 166, 255, 0.25);
    box-shadow: 0 0 10px rgba(58, 166, 255, 0.15);
}

.btn-vote.btn-feedback-toggle.active[data-type="graphic"] {
    color: var(--color-purple-light);
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.15);
}

.feedback-toggle-container {
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.track-owner-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
}

/* --- GRAPHICS: Categories selection & viewers --- */
.graphics-categories-grid-tetris {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.category-card-btn-tetris {
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    cursor: pointer;
    background: rgba(10, 12, 20, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-card-btn-tetris:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.08);
    background: rgba(168, 85, 247, 0.03);
}

.cat-icon-tetris {
    font-size: 36px;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.3));
    transition: var(--transition);
}

.category-card-btn-tetris:hover .cat-icon-tetris {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.6));
}

.category-card-btn-tetris h3 {
    font-family: var(--font-tech);
    color: var(--color-text-primary);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-card-btn-tetris .cat-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Sub-panel graphic display */
.graphics-content-wrapper {
    background: rgba(6, 8, 14, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.graphics-viewer-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 10px;
}

.graphics-viewer-header h3 {
    font-size: 12px;
    color: var(--color-purple-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.graphics-items-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.graphic-item-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.graphic-preview-box {
    position: relative;
    width: 100%;
    max-height: 300px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    background: #020305;
}

.graphic-preview-img {
    width: 100%;
    height: 100%;
    max-height: 298px;
    object-fit: contain;
    transition: var(--transition);
}

.graphic-preview-box:hover .graphic-preview-img {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.graphic-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.graphic-preview-box:hover .graphic-preview-overlay {
    opacity: 1;
}

.zoom-hint {
    font-family: var(--font-tech);
    font-size: 10px;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid #fff;
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.4);
}

.graphic-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.graphic-card-title {
    font-size: 13.5px;
    font-weight: 600;
}

.graphic-feedback-box {
    border-top: 1px dashed rgba(255, 255, 255, 0.04);
    padding-top: 12px;
    margin-top: 4px;
}

.feedback-header-lbl {
    font-size: 11px;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 6px;
}

.feedback-input-row {
    display: flex;
    gap: 10px;
}

.feedback-textarea {
    flex-grow: 1;
    height: 38px;
    min-height: 38px;
    resize: none;
    font-size: 12.5px;
    border-radius: 6px;
    padding: 8px 12px;
    line-height: 1.4;
}

.btn-send-feedback {
    padding: 0 14px;
    border-radius: 6px;
    background: rgba(168, 85, 247, 0.12);
    color: var(--color-purple-light);
    border: 1px solid rgba(168, 85, 247, 0.25);
    font-size: 12px;
}

.btn-send-feedback:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.4);
}

.graphic-reviews-report {
    background: rgba(168, 85, 247, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.08);
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 6px;
}

.report-title-admin {
    font-size: 10.5px;
    font-family: var(--font-tech);
    color: var(--color-purple-light);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.report-item {
    font-size: 12px;
    color: var(--color-text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 4px 0;
}

.report-item:last-child {
    border-bottom: none;
}

/* ==========================================================================
   TAB: OPINIE
   ========================================================================== */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.review-card {
    padding: 24px;
    background: rgba(12, 16, 28, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

.btn-delete-review-absolute {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--color-danger);
    font-size: 16px;
    cursor: pointer;
    opacity: 0.85;
    transform: scale(1);
    pointer-events: auto;
    transition: var(--transition);
    z-index: 10;
}

.btn-delete-review-absolute:hover {
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px var(--color-danger));
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 14px;
}

.review-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(58, 166, 255, 0.08);
    border: 1.5px solid var(--color-blue-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 10px var(--color-blue-glow);
}

.review-author-meta h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.review-rating-stars {
    color: #fbbf24;
    font-size: 13px;
    margin-top: 2px;
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
    font-style: italic;
    background: rgba(255, 255, 255, 0.01);
    padding: 14px 18px;
    border-radius: 8px;
    border-left: 2.5px solid var(--color-blue-main);
    margin-bottom: 12px;
}

/* ==========================================================================
   TAB: USŁUGI (Niebieski i fioletowy podział)
   ========================================================================== */
.services-direct-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
    width: 100%;
}

@media (max-width: 900px) {
    .services-direct-grid {
        grid-template-columns: 1fr;
        margin: 20px auto;
    }
}

.service-direct-panel {
    background: rgba(12, 15, 26, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius);
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    min-height: 480px;
}

.service-direct-panel:hover {
    transform: translateY(-4px);
}

.service-direct-panel.highlight-blue:hover {
    border-color: var(--color-blue-main);
    box-shadow: 0 15px 35px rgba(58, 166, 255, 0.08);
}

.service-direct-panel.highlight-purple:hover {
    border-color: var(--color-purple-main);
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.08);
}

.purple-btn {
    background: linear-gradient(135deg, var(--color-purple-dim) 0%, var(--color-purple-main) 100%);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.25);
}

.purple-btn:hover {
    box-shadow: 0 0 22px rgba(168, 85, 247, 0.45);
}

.service-description-text {
    font-size: 13.5px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.pitch-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.price-box {
    background: rgba(58, 166, 255, 0.08);
    border: 1px solid rgba(58, 166, 255, 0.15);
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.price-tag {
    font-family: var(--font-tech);
    font-size: 20px;
    color: var(--color-blue-light);
}

.detail-section {
    margin-bottom: 20px;
}

.detail-section h4 {
    font-family: var(--font-tech);
    font-size: 12px;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

/* Exact brackets layout list styling */
.custom-bracket-list {
    list-style: none;
    padding: 0;
}

.custom-bracket-list li {
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.custom-bracket-list li::before {
    content: '〕';
    position: absolute;
    left: 0;
    color: var(--color-blue-light);
    font-weight: 700;
}

.custom-bracket-list.purple-brackets li::before {
    color: var(--color-purple-light);
}

.prices-dot-list {
    list-style: none;
    padding-left: 20px;
}

.prices-dot-list li {
    margin-bottom: 6px;
    position: relative;
}

.prices-dot-list li::before {
    content: '●';
    position: absolute;
    left: -20px;
    color: var(--color-purple-light);
    font-size: 12px;
}

.warning-alert {
    background: rgba(244, 63, 94, 0.08);
    border-left: 4px solid var(--color-danger);
    padding: 16px;
    border-radius: 0 8px 8px 0;
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.5;
}

.warning-alert strong {
    color: var(--color-text-primary);
    display: block;
    margin-bottom: 4px;
}

.service-footer-note {
    margin-top: 25px;
    font-size: 13px;
    color: var(--color-text-primary);
}

.service-action-bar {
    display: flex;
    gap: 12px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 18px;
    flex-shrink: 0;
}

/* ==========================================================================
   TAB: SOCIALE
   ========================================================================== */
.socials-container-box {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 40px auto 0 auto;
}

.socials-col-card {
    width: 100%;
    padding: 30px;
    background: rgba(12, 15, 26, 0.55);
}

.socials-avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-blue-main);
    box-shadow: 0 0 12px var(--color-blue-glow);
}

.socials-col-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 16px;
}

.socials-meta h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-blue-light);
    letter-spacing: 0.05em;
}

.socials-meta span {
    font-size: 11px;
    color: var(--color-text-muted);
}

.socials-buttons-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.btn-social {
    justify-content: flex-start;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: var(--color-text-primary);
    font-size: 14.5px;
    border-radius: 8px;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-blue-main);
    transform: translateX(3px);
}

.btn-yt:hover {
    border-color: #ef4444;
    color: #fca5a5;
}

.btn-ig:hover {
    border-color: #e1306c;
    color: #f472b6;
}

.btn-tt:hover {
    border-color: #00f2fe;
    color: #a5f3fc;
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 4, 7, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    width: 100%;
    max-width: 500px;
    background: #090c14;
    border: 1px solid var(--color-card-border);
    padding: 30px;
    border-radius: var(--border-radius);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.show .modal-box {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: var(--color-text-primary);
}

.modal-title {
    font-size: 18px;
    color: var(--color-blue-light);
    margin-bottom: 6px;
    font-weight: 700;
}

.modal-subtitle {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.4;
}

.modal-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.modal-form-group label {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.modal-form-group textarea,
.modal-form-group input[type="text"] {
    width: 100%;
}

.error-msg {
    font-size: 11.5px;
    color: var(--color-danger);
    margin-top: 4px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 16px;
}

/* File Upload Zone */
.file-upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
    border-color: var(--color-blue-main);
    background: rgba(58, 166, 255, 0.02);
}

.purple-upload:hover,
.purple-upload.dragover {
    border-color: var(--color-purple-main);
    background: rgba(168, 85, 247, 0.02);
}

.upload-icon {
    font-size: 24px;
}

.upload-text {
    font-size: 13px;
    font-weight: 600;
}

.upload-sub {
    font-size: 10.5px;
    color: var(--color-text-dim);
}

.file-status {
    font-size: 12px;
    color: var(--color-success);
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 10px;
}

/* Preset reviews avatars selector */
.avatar-presets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 4px;
}

.avatar-preset-item {
    height: 48px;
    border: 1.5px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.01);
    transition: var(--transition);
}

.avatar-preset-item:hover {
    border-color: var(--color-blue-main);
    background: rgba(58, 166, 255, 0.03);
}

.avatar-preset-item.active {
    border-color: var(--color-blue-main);
    background: var(--color-blue-glow);
    box-shadow: 0 0 10px var(--color-blue-glow);
}

/* Rating Stars Selector */
.rating-stars-selector {
    display: flex;
    gap: 8px;
}

.rating-stars-selector .star {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: var(--transition);
}

.rating-stars-selector .star.active {
    color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
}

/* Owner Banner */
.owner-banner {
    background: linear-gradient(90deg, #1e3a8a 0%, #312e81 100%);
    border-bottom: 2px solid var(--color-blue-main);
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 12px;
    z-index: 101;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* --- LIGHTBOX OVERLAY --- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 3, 5, 0.95);
    backdrop-filter: blur(12px);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 30px;
}

.lightbox-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    object-fit: contain;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-overlay.show .lightbox-img {
    transform: scale(1);
}

.lightbox-close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.lightbox-close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lightbox-title {
    font-family: var(--font-tech);
    color: #fff;
    font-size: 16px;
    letter-spacing: 0.05em;
    margin-top: 20px;
    text-transform: uppercase;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* FAQ accordion styling */
.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.faq-card {
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-card-border);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.faq-q-indicator {
    background: var(--color-blue-glow);
    color: var(--color-blue-light);
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 12px;
}

.faq-question h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.faq-answer p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
    padding-left: 36px;
}

.faq-section-divider {
    margin: 30px 0 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
}

.faq-section-divider h4 {
    font-family: var(--font-tech);
    text-transform: uppercase;
    color: var(--color-blue-light);
    font-size: 14px;
    letter-spacing: 0.05em;
}

.ceo-card-btn {
    cursor: pointer;
    transition: var(--transition);
}

.ceo-card-btn:hover {
    transform: translateY(-2px);
    border-color: var(--color-blue-main);
    box-shadow: 0 8px 20px rgba(58, 166, 255, 0.1);
}

.ceo-card-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ceo-avatar {
    font-size: 28px;
}

.ceo-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ceo-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.ceo-sub {
    font-size: 11px;
    color: var(--color-text-dim);
}

.faq-footer-version {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: center;
}

/* FAQ Social Media view */
.faq-socials-view {
    animation: fadeIn 0.4s ease-out;
}

.socials-col-card {
    padding: 24px;
    border: 1px solid var(--color-card-border);
}

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

.socials-col-header h3 {
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-tech);
    color: var(--color-blue-light);
    letter-spacing: 0.05em;
}

.socials-buttons-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   DISCORD LOGIN & PROFILE BUTTONS
   ========================================================================== */
.btn-discord-login {
    background: #5865F2;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.2);
    transition: var(--transition);
    height: 38px;
    font-family: var(--font-sans);
}

.btn-discord-login:hover {
    background: #4752c4;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
    transform: translateY(-1px);
}

.btn-discord-login:active {
    transform: translateY(1px);
}

.user-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(88, 101, 242, 0.08);
    border: 1.5px solid rgba(88, 101, 242, 0.2);
    padding: 5px 14px 5px 6px;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 38px;
    user-select: none;
}

.user-profile-btn:hover {
    background: rgba(88, 101, 242, 0.16);
    border-color: var(--color-blue-main);
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.25);
    transform: scale(1.03);
}

.user-profile-btn:active {
    transform: scale(0.97);
}

.user-avatar-wrapper {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-profile-btn:hover .user-avatar-wrapper {
    transform: rotate(12deg) scale(1.06);
}

.user-profile-dropdown {
    position: absolute;
    top: 44px;
    right: 0;
    background: #090c14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    width: 160px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.user-profile-dropdown.hidden {
    display: none;
}

.dropdown-item {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-item:hover {
    background: rgba(58, 166, 255, 0.08);
    color: var(--color-blue-light);
}

.btn-settings {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
    border-radius: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-settings:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--color-blue-light);
    transform: rotate(45deg);
}

/* ==========================================================================
   SETTINGS MODAL
   ========================================================================== */
.settings-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 4, 7, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.settings-modal-box {
    width: 600px;
    height: 400px;
    background: #090c14;
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    display: flex;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.settings-modal-overlay.active .settings-modal-box {
    transform: scale(1);
}

.settings-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.settings-close-btn:hover {
    color: var(--color-text-primary);
    transform: rotate(90deg);
}

.settings-modal-sidebar {
    width: 180px;
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-tab-btn {
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--color-text-muted);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.settings-tab-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-primary);
}

.settings-tab-btn.active {
    background: var(--color-blue-glow);
    color: var(--color-blue-light);
    border-left: 2px solid var(--color-blue-main);
    padding-left: 12px;
}

.settings-modal-content {
    flex-grow: 1;
    padding: 32px;
    overflow-y: auto;
}

.settings-tab-content {
    display: none;
}

.settings-tab-content.active {
    display: block;
}

.setting-item {
    margin-bottom: 24px;
}

.setting-item span {
    display: block;
    margin-bottom: 8px;
}

/* ==========================================================================
   SIMULATOR BUTTONS (DEV STYLES)
   ========================================================================== */
.btn-sim-profile {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.01);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.btn-sim-profile:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

/* ==========================================================================
   LIGHT THEME OVERRIDES
   ========================================================================== */
body.light-theme {
    --color-app-bg: #f9f8f6;
    --color-sidebar-bg: #f1ede8;
    --color-card-bg: rgba(255, 255, 255, 0.75);
    --color-card-border: rgba(0, 0, 0, 0.07);
    --color-text-primary: #1c1d22;
    --color-text-muted: #5e6675;
    --color-text-dim: #8b95a5;

    --color-blue-main: #2563eb;
    --color-blue-dim: #1d4ed8;
    --color-blue-glow: rgba(37, 99, 235, 0.1);
    --color-blue-light: #1e40af;

    --color-purple-main: #7c3aed;
    --color-purple-dim: #6d28d9;
    --color-purple-glow: rgba(124, 58, 237, 0.1);
    --color-purple-light: #5b21b6;

    background-color: var(--color-app-bg);
}

body.light-theme .glow-bg {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.04) 40%, rgba(249, 248, 246, 0) 70%);
}

body.light-theme .logo-main {
    background: linear-gradient(135deg, #1c1d22 30%, var(--color-blue-main) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

body.light-theme .input-dark,
body.light-theme .select-dark {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--color-text-primary);
}

body.light-theme .input-dark:focus,
body.light-theme .select-dark:focus {
    border-color: var(--color-blue-main);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

body.light-theme .btn-secondary {
    background: rgba(0, 0, 0, 0.03);
    color: var(--color-text-primary);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-theme .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.15);
}

body.light-theme .settings-modal-sidebar {
    background: rgba(0, 0, 0, 0.02);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-theme .btn-social {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-theme .track-player-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-theme .btn-vote {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-theme .btn-vote:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-text-primary);
}

body.light-theme .warning-alert {
    background: rgba(244, 63, 94, 0.06);
}

body.light-theme .sidebar {
    background-color: var(--color-sidebar-bg);
}

body.light-theme .top-header {
    background-color: var(--color-sidebar-bg);
}

body.light-theme .user-profile-btn {
    background: rgba(37, 99, 235, 0.06);
    border: 1.5px solid rgba(37, 99, 235, 0.15);
    color: var(--color-text-primary);
}

body.light-theme .user-profile-btn:hover {
    background: rgba(37, 99, 235, 0.12);
    border-color: var(--color-blue-main);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.15);
}

body.light-theme .user-profile-dropdown {
    background: #f1ede8;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-theme .settings-modal-box {
    background: #f9f8f6;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

/* ==========================================================================
   CLEAN MOBILE RESPONSIVENESS (< 768px)
   ========================================================================== */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        height: auto !important;
        min-height: 100vh !important;
    }

    .app-container {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        height: auto !important;
        min-height: 100vh !important;
    }

    .top-header {
        padding: 0 16px !important;
        height: 60px !important;
    }

    .top-header-left {
        display: flex !important;
        align-items: center !important;
    }

    /* Hide admin login & profile controls on mobile */
    .btn-discord-login,
    #btn-discord-login,
    .user-profile-btn,
    #user-profile-menu,
    .owner-banner,
    #owner-mode-banner,
    #music-admin-actions,
    #graphics-admin-actions,
    #graphics-categories-admin-actions,
    .btn-delete-track-absolute,
    .btn-delete-review-absolute,
    .btn-delete-comment,
    .btn-reset-votes,
    .graphic-reviews-report,
    .report-title-admin {
        display: none !important;
    }

    /* Stack app layout vertically on phones */
    .app-layout {
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
        overflow-x: hidden !important;
    }

    /* Sidebar navigation bar at top of layout */
    .sidebar {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        position: static !important;
        transform: none !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        padding: 16px 14px !important;
        box-shadow: none !important;
    }

    .sidebar-header {
        margin-bottom: 15px !important;
    }

    .sidebar-tabs {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .tab-btn {
        padding: 8px 12px !important;
        font-size: 13px !important;
        gap: 8px !important;
        border-radius: 8px !important;
        flex-grow: 1 !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Main Content filling 100% width on phones */
    .main-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 14px !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        height: auto !important;
    }

    .content-header {
        margin-bottom: 18px !important;
    }

    .content-header h2 {
        font-size: 20px !important;
    }

    .subtitle {
        font-size: 13px !important;
    }

    /* Cards & Grids stack cleanly */
    .grid-layout,
    .grid-layout.col-2,
    .portfolio-split-grid,
    .services-direct-grid,
    .graphics-categories-grid-tetris {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin: 15px 0 !important;
        width: 100% !important;
    }

    .card,
    .card.glass,
    .service-direct-panel {
        padding: 16px 14px !important;
        border-radius: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Track Cards responsive optimization */
    .track-player-card {
        padding: 12px 14px !important;
        gap: 10px !important;
        border-radius: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .track-title {
        font-size: 13px !important;
        max-width: 80% !important;
    }

    .track-controls-row {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .timeline-slider-wrapper {
        width: 100% !important;
        order: 3 !important;
        gap: 8px !important;
        margin-top: 4px !important;
    }

    .volume-control-wrapper {
        margin-left: auto !important;
        width: 85px !important;
    }

    .track-voting-row {
        flex-wrap: wrap !important;
        gap: 8px !important;
        padding-top: 8px !important;
    }

    .btn-vote {
        padding: 5px 10px !important;
        font-size: 12px !important;
    }

    /* Reviews responsive padding */
    .reviews-list {
        width: 100% !important;
        max-width: 100% !important;
        gap: 14px !important;
    }

    .review-card {
        padding: 16px 14px !important;
        border-radius: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .review-text {
        padding: 10px 12px !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    /* Settings & Modals */
    .settings-modal-box {
        width: 94vw !important;
        max-width: 94vw !important;
        height: auto !important;
        max-height: 85vh !important;
        flex-direction: column !important;
    }

    .settings-modal-sidebar {
        width: 100% !important;
        height: auto !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        padding: 8px !important;
    }

    .modal-box {
        width: 94vw !important;
        max-width: 94vw !important;
        padding: 18px 14px !important;
    }
}