@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    /* Dark Theme Variables (Default) */
    --bg-color: #08080a;
    --card-bg: rgba(20, 20, 25, 0.7);
    --card-hover: rgba(30, 30, 40, 0.8);
    --border-color: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #9499ab;
    --accent: #7c77ff;
    --accent-hover: #5d58ff;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --grid-color: rgba(124, 119, 255, 0.03);
    --shadow-color: rgba(0, 0, 0, 0.6);
    --page-top-space: clamp(7.5rem, 12vw, 8.75rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background: linear-gradient(rgba(8, 10, 18, 0.76), rgba(8, 10, 18, 0.92)),
                url('minecraft_bg_new.png') center/cover no-repeat fixed;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: scroll; /* Prevent layout shift when switching categories */
    transition: color 0.3s ease;
}

/* Background Grid Animation */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    z-index: -1;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
    transition: background-image 0.3s ease;
    opacity: 0.15;
}

.bg-grid::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,119,255,0.04) 0%, transparent 70%);
    animation: glowPulse 8s ease-in-out infinite;
    pointer-events: none;
}

/* Logo */
.logo-icon {
    color: var(--text-main);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.logo-link:hover .logo-icon {
    color: var(--accent);
    filter: drop-shadow(0 0 10px var(--accent));
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    transition: all 0.3s ease;
}

.logo-link:hover .logo-text {
    color: var(--accent);
    letter-spacing: 4px;
}

/* Hero Title */
.hero-title {
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 60%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Badge */
.badge {
    background: rgba(124,119,255,0.08);
    border: 1px solid rgba(124,119,255,0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(124,119,255,0.1);
    transition: all 0.3s ease;
    animation: float 4s ease-in-out infinite;
}


/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(124,119,255,0.1); }
    50%       { box-shadow: 0 0 40px rgba(124,119,255,0.3), 0 0 80px rgba(124,119,255,0.1); }
}
@keyframes orbitGlow {
    0%   { transform: rotate(0deg) translateX(80px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}

.fade-in-up {
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.fade-in-up-delay-1 { animation: fadeInUp 0.7s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both; }
.fade-in-up-delay-2 { animation: fadeInUp 0.7s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both; }
.fade-in-up-delay-3 { animation: fadeInUp 0.7s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1.35rem 5%;
    background: transparent;
    border-bottom: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
    background: rgba(9, 11, 18, 0.72);
    padding: 0.9rem 5%;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}


.nav-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.1rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.3rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    max-width: min(100%, 820px);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    border-radius: 50px;
    position: relative;
    letter-spacing: 0.3px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
    background: rgba(124, 119, 255, 0.15);
    box-shadow: 0 4px 15px rgba(124, 119, 255, 0.2);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    justify-content: flex-end;
    min-width: max-content;
}



/* Buttons */
.btn {
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 46px;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

.btn-dark {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-dark:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(124, 119, 255, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 119, 255, 0.5);
    background: var(--accent-hover);
}

.btn-accent:active {
    transform: translateY(0);
}

.icon-btn {
    width: 46px;
    min-width: 46px;
    padding: 0;
    border-radius: 14px;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding: var(--page-top-space) 1rem 3.5rem;
}

.badge {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px var(--shadow-color);
}

.badge i {
    color: var(--accent);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    max-width: 900px;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Cards & Modals */
.card {
    background: rgba(14, 18, 28, 0.68);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124,119,255,0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.card:hover::after {
    opacity: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124,119,255,0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    border-color: rgba(124, 119, 255, 0.25);
    background: rgba(18, 22, 34, 0.82);
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(124,119,255,0.1);
}

.card:hover::before {
    opacity: 1;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 40px var(--shadow-color);
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

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

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    color: var(--text-muted);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--text-main);
}

.input-field {
    width: 100%;
    padding: 0.85rem 1.1rem;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    color: var(--text-main);
    border-radius: 10px;
    outline: none;
    transition: all 0.25s ease;
    font-size: 0.9rem;
}

.input-field::placeholder {
    color: rgba(255,255,255,0.2);
}

.input-field:focus {
    border-color: rgba(124,119,255,0.6);
    background: rgba(124,119,255,0.04);
    box-shadow: 0 0 0 3px rgba(124,119,255,0.1);
}

.input-field:hover:not(:focus) {
    border-color: rgba(255,255,255,0.12);
}

.full-width {
    width: 100%;
}

.modal-footer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.modal-footer a {
    color: var(--accent);
    text-decoration: none;
}

/* Dashboard Layout */
.dashboard-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--page-top-space) 5% 2.5rem;
    display: grid;
    grid-template-columns: minmax(300px, 350px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.dashboard-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.avatar-wrapper {
    position: relative;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-color);
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00ff88;
    border: 2px solid var(--card-bg);
}

.status-dot.inactive {
    background: #ff4444;
}

.profile-info h3 {
    font-size: 1rem;
    font-weight: 600;
}

.profile-info span {
    font-size: 0.8rem;
    color: var(--accent);
}

.profile-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.activate-card {
    padding: 1.5rem;
}

.activate-card h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.input-group {
    display: flex;
    gap: 0.5rem;
}

.dashboard-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

/* Dashboard Tab View */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-content.active {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 1;
    transform: translateY(0);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: rgba(255,255,255,0.02);
    padding: 0.4rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.05);
}

.tab {
    flex: 1;
    min-width: 130px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.7rem;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tab.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(124,119,255,0.3);
    transform: translateY(-1px);
}

.tab:hover:not(.active) {
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
}

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

.stat-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.stat-card i {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.stat-card h4 {
    font-size: 1rem;
    font-weight: 600;
    word-break: break-all;
}

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

.info-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
}

.info-card div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-card h2 {
    font-size: 2rem;
    font-weight: 600;
}

.settings-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Policy Pages */
.policy-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: var(--page-top-space) 5% 4rem;
}

.policy-header {
    text-align: center;
    margin-bottom: 4rem;
}

.policy-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.policy-header p {
    color: var(--text-muted);
}

.policy-section {
    display: flex;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: flex-start;
}

.policy-number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    min-width: 100px;
}

.policy-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.policy-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Products Page */
.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--page-top-space) 5% 4rem;
    text-align: center;
}

.page-shell {
    margin: 0 auto;
    padding: var(--page-top-space) 5% 2.5rem;
}

.products-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.3rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
}

.toggle-btn {
    background: transparent;
    border: none;
    padding: 0.8rem 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-btn.active {
    background: var(--accent);
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.products-grid.hidden {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    pointer-events: none;
}

.products-grid.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.product-card {
    padding: 2.5rem 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Admin Responsive Fixes */
@media (max-width: 1200px) {
    .admin-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 800px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

/* User Badges */
.badge-admin {
    background: linear-gradient(135deg, #ffaa00, #ff4400);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.3);
    letter-spacing: 0.5px;
}
.badge-media {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
    letter-spacing: 0.5px;
}
.badge-partner {
    background: linear-gradient(135deg, #00ff88, #008855);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    letter-spacing: 0.5px;
}

.product-price {
    font-size: 3rem;
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.product-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.product-title {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.product-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features li i {
    color: var(--accent);
}

.status-msg {
    margin-top: 1rem;
    font-weight: 600;
}
.status-msg.error { color: #ff4444; }
.status-msg.success { color: #00ff88; }

/* Responsive */
@media (max-width: 1200px) {
    .header {
        flex-wrap: wrap;
    }

    .logo-link {
        flex: 0 0 auto;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .header-actions {
        flex: 1 1 auto;
    }
}

@media (max-width: 900px) {
    .dashboard-container {
        grid-template-columns: 1fr;
        padding: calc(var(--page-top-space) - 0.5rem) 1rem 2rem;
    }

    .products-container,
    .policy-container {
        padding: calc(var(--page-top-space) - 0.5rem) 1rem 3rem;
    }

    .stats-grid { grid-template-columns: 1fr; }
    .info-cards { grid-template-columns: 1fr; }
    .policy-section { flex-direction: column; gap: 1rem; }
    .hero h1 { font-size: 3rem; }
    .header { padding: 1rem; }
    .header.scrolled { padding: 0.85rem 1rem; }
    .nav-links { display: none; }
    .support-messenger {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
    }
    .support-sidebar {
        min-height: 280px;
    }
}

/* Support Messenger Styles */
.support-messenger {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 1.5rem;
    height: min(720px, calc(100vh - 220px));
    min-height: 560px;
    margin-top: 1rem;
}

.support-sidebar {
    background: rgba(14, 18, 28, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.support-sidebar-header {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.support-ticket-list {
    flex: 1;
    overflow-y: auto;
}

.support-ticket-item {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.support-ticket-item:hover, .support-ticket-item.active {
    background: rgba(255,255,255,0.03);
}

.support-ticket-item.active {
    border-left: 3px solid var(--accent);
}

.support-chat-area {
    background: rgba(14, 18, 28, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.support-chat-header {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.support-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(0,0,0,0.1);
}

.support-msg {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.support-msg.admin {
    background: rgba(161, 158, 245, 0.1);
    border: 1px solid var(--accent);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.support-msg.user {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.support-chat-input {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    background: var(--card-bg);
}

.priority-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    padding: 4rem 5% 2rem;
    background: rgba(8, 8, 10, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--text-main);
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

@media (max-width: 1024px) {
    .header {
        padding: 1rem 3%;
    }
    .nav-links {
        display: none; /* Hide nav on small screens or use a burger menu */
    }
}
