:root {
    --bg-primary: #000000;
    --bg-gradient: linear-gradient(to bottom right, #000, #001a33);
    --bg-secondary: #0a0a0a;
    --surface: #050505;
    --surface-hover: #111111;
    --surface-secondary: linear-gradient(145deg, rgba(0, 20, 40, 0.8), rgba(0, 45, 90, 0.8));
    --surface-secondary-hover: linear-gradient(145deg, rgba(10, 50, 100, 0.9), rgba(0, 70, 130, 0.9));
    --color-primary: #5ab0ff;
    --color-primary-hover: #5ab0ff;
    --color-primary-dim: rgba(16, 185, 129, 0.1);
    --color-border: #001a33;
    --color-border-secondary: #6cbcff;
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-danger: #ef4444;
    --color-danger-hover: #dc2626;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.5);
    --shadow-md: 0 4px 12px rgba(16, 185, 129, 0.08);
    --neon: 0 0 12px #5ab0ff;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
    cursor: pointer;
}

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

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    background-size: cover;
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

img, picture, video, canvas, svg { 
    display: block;
    max-width: 100%; 
}

input, button, textarea, select { 
    font: inherit; 
}

.btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.input-field:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.script-card, .admin-item, .btn, .stat-card {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.navbar {
    position: fixed; 
    top: 0; 
    width: 100%; 
    height: 64px;
    background: rgba(0,0,0,0.85); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border); 
    z-index: 1000;
}

@supports not (backdrop-filter: blur(16px)) {
    .navbar { background: rgba(0,0,0,0.95); }
}

.nav-content {
    max-width: 1400px; 
    margin: 0 auto; 
    height: 100%; 
    padding: 0 32px;
    display: flex; 
    align-items: center;
    justify-content: space-between;
}

.nav-left { flex: 0 0 auto; }

.brand { 
    display: flex;
    align-items: center; 
    gap: 12px; 
    cursor: pointer;
    transition: 0.2s;
    background: none;
    border: none;
    padding: 0;
}

.brand:hover { opacity: 0.8; }

.nav-icon { 
    width: 32px; 
    height: 32px; 
    border-radius: 50%;
    object-fit: cover;
}

.nav-title { 
    font-weight: 700; 
    font-size: 18px; 
    letter-spacing: -0.5px; 
    display: block !important; 
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff;
}

.nav-center { 
    flex: 1; 
    display: flex; 
    justify-content: center; 
    padding: 0 32px;
}

.search-wrapper { 
    position: relative; 
    width: 100%; 
    max-width: none; 
}

.search-icon { 
    position: absolute;
    left: 14px; 
    top: 50%; 
    transform: translateY(-50%); 
    color: var(--color-text-muted);
    pointer-events: none;
}

#search {
    width: 100%; 
    background: var(--surface);
    border: 1px solid var(--color-border);
    color: var(--color-text); 
    padding: 10px 16px 10px 42px; 
    border-radius: 99px;
    font-size: 14px; 
    transition: 0.2s;
}

#search:focus { 
    border-color: var(--color-primary); 
    background: var(--bg-secondary); 
}

.nav-right { 
    flex: 0 0 auto;
    display: flex; 
    gap: 12px; 
    align-items: center; 
}

.container {
    max-width: 1400px; 
    margin: 100px auto 16px; 
    padding: 0 32px;
    min-height: calc(100vh - 120px);
}

.content-wrapper { 
    display: grid; 
    grid-template-columns: 240px 1fr; 
    gap: 40px;
}

.sidebar { 
    position: sticky; 
    top: 100px; 
    height: fit-content; 
}

.sidebar-section { margin-bottom: 24px; }

.sidebar-title { 
    font-size: 11px; 
    font-weight: 700; 
    color: var(--color-text-muted); 
    text-transform: uppercase; 
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px; 
    color: var(--color-text-muted); 
    text-decoration: none;
    font-size: 14px;
    font-weight: 600; 
    border-radius: 8px; 
    margin-bottom: 4px; 
    transition: 0.2s;
}

.sidebar-link svg { opacity: 0.6; }
.sidebar-link:hover { color: var(--color-text); background: var(--surface); }

.select-sm {
    padding: 8px 12px;
    font-size: 13px;
    height: 36px;
}

.script-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 16px;
}

.script-card {
    background: var(--surface-secondary); 
    border: 1px solid var(--color-border-secondary); 
    border-radius: 12px;
    padding: 24px; 
    backdrop-filter: blur(6px);
    transition: all 0.3s ease; 
    display: flex; 
    flex-direction: column;
}

.script-card:hover { 
    background: var(--surface-secondary-hover);
    transform: translateY(-2px); 
    border-color: var(--color-primary);
    box-shadow: var(--neon);
}

.card-header-section { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    margin-bottom: 8px;
    gap: 12px;
}

.script-title { 
    font-size: 16px; 
    font-weight: 700; 
    color: #fff; 
    word-break: break-word;
    line-height: 1.4;
}

.card-meta { 
    margin-top: auto; 
    padding-top: 12px;
    font-size: 12px; 
    color: var(--color-text-muted); 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.badge { 
    font-size: 10px; 
    font-weight: 800; 
    padding: 4px 8px; 
    border-radius: 6px; 
    text-transform: uppercase;
    white-space: nowrap;
}

.badge-sm { font-size: 9px; padding: 3px 6px; }
.badge-public { background: var(--color-primary); color: #000; }
.badge-private { background: var(--surface-hover); color: var(--color-text-muted); border: 1px solid var(--color-border); }
.badge-unlisted { background: #f59e0b; color: #000; }

.script-header-lg { 
    display: flex; 
    justify-content: space-between;
    align-items: flex-start; 
    margin-bottom: 24px; 
    flex-wrap: wrap; 
    gap: 16px; 
}

.script-header-lg h1 { 
    font-size: 32px; 
    letter-spacing: -1px;
    line-height: 1.2; 
    margin-bottom: 12px;
    font-weight: 800;
}

.meta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.meta-badge {
    font-size: 13px; 
    color: var(--color-text-muted); 
    background: var(--surface);
    padding: 6px 12px; 
    border-radius: 6px; 
    border: 1px solid var(--color-border);
    display: inline-flex; 
    align-items: center; 
    gap: 6px;
}

.script-description { 
    color: var(--color-text-muted); 
    margin-bottom: 32px; 
    font-size: 15px; 
    max-width: 800px;
    line-height: 1.7; 
}

.code-box { 
    background: var(--surface); 
    border: 1px solid var(--color-border); 
    border-radius: 12px; 
    overflow: hidden;
}

.toolbar {
    background: var(--bg-secondary); 
    border-bottom: 1px solid var(--color-border);
    padding: 14px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap; 
    gap: 12px;
}

.toolbar-right { display: flex; gap: 8px; }

.file-info { 
    font-size: 16px; 
    color: var(--color-text-muted); 
    font-family: 'JetBrains Mono', monospace;
}

pre { 
    margin: 0; 
    padding: 24px; 
    overflow-x: auto; 
    background: #000000 !important;
}

code { 
    font-family: 'Courier New', monospace; 
    font-size: 13px; 
    text-shadow: none !important;
    line-height: 1.6;
    tab-size: 2;
    -moz-tab-size: 2;
    -o-tab-size: 2;
}

.admin-panel { 
    max-width: 900px; 
    margin: 0 auto;
}

.admin-top-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.2s;
}

.btn-back:hover {
    color: var(--color-text);
    background: var(--surface);
}

.admin-header-flex { 
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 30px; 
    border-bottom: 1px solid var(--color-border); 
    padding-bottom: 20px; 
    flex-wrap: wrap; 
    gap: 16px;
}

.admin-header-flex h2 {
    font-size: 24px;
    font-weight: 800;
}

.tab-switcher { 
    background: var(--bg-secondary); 
    padding: 4px;
    border-radius: 8px; 
    border: 1px solid var(--color-border); 
    display: flex; 
    gap: 4px; 
}

.tab-btn { 
    background: transparent; 
    border: none;
    color: var(--color-text-muted); 
    padding: 8px 14px; 
    border-radius: 6px;
    font-weight: 600; 
    font-size: 13px; 
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tab-btn:hover { color: #fff; }
.tab-btn.active { background: var(--surface); color: #fff; box-shadow: var(--shadow-sm); }

.modal-overlay { 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.8); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 2000;
    backdrop-filter: blur(5px); 
    padding: 20px;
    overflow-y: auto;
}

.modal { 
    background: var(--surface); 
    border: 1px solid var(--color-border); 
    border-radius: 16px;
    width: 100%; 
    max-width: 400px; 
    padding: 28px; 
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
}

.modal-header { 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    margin-bottom: 24px; 
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

.close-btn { 
    background: none; 
    border: none; 
    color: var(--color-text-muted); 
    font-size: 28px; 
    cursor: pointer; 
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    line-height: 1; 
    transition: 0.2s;
}

.close-btn:hover { color: #fff; background: var(--surface-hover); }

.editor-container, .bot-form-container {
    background: var(--surface);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    margin-top: 24px;
}

.editor-container h3 {
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 700;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 140px;
}

.form-group-flex {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-field { 
    width: 100%; 
    padding: 12px 14px; 
    background: var(--bg-secondary);
    border: 1px solid var(--color-border); 
    color: #fff; 
    border-radius: 8px; 
    font-family: inherit; 
    font-size: 14px; 
    transition: 0.2s;
}

.input-field:focus { 
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-dim);
}

.input-field::placeholder {
    color: var(--color-text-muted);
    opacity: 0.5;
}

textarea.input-field { 
    resize: vertical; 
    min-height: 120px;
}

/* CodeMirror AMOLED Integration */
.CodeMirror {
    background: #000000 !important;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    height: 400px !important;
    color: #fff;
}
.CodeMirror-gutters {
    background: #050505 !important;
    border-right: 1px solid var(--color-border) !important;
}

.editor-actions, .bot-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.action-buttons { display: flex; gap: 12px; }

.btn {
    background: var(--color-primary); 
    color: #000; 
    border: none; 
    padding: 10px 18px;
    border-radius: 6px; 
    font-weight: 700;
    display: inline-flex;
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    font-size: 13px; 
    transition: 0.2s; 
    text-decoration: none;
}

.btn:hover { background: var(--color-primary-hover); transform: scale(1.02); }
.btn-secondary { background: transparent; border: 1px solid var(--color-border); color: #fff; }
.btn-secondary:hover { border-color: var(--color-text-muted); background: var(--surface); }
.btn-delete { background: var(--color-danger) !important; color: white !important; border: 1px solid var(--color-danger) !important; }
.btn-delete:hover { background: var(--color-danger-hover) !important; border-color: var(--color-danger-hover) !important; }
.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-full { width: 100%; margin-top: 10px; }
.btn:active { transform: scale(0.98); }

.admin-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-list-header h3 { font-size: 18px; font-weight: 700; }
.admin-list-header span { color: var(--color-text-muted); font-size: 14px; }

.admin-item {
    position: relative;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid transparent;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.admin-item:hover { 
    border-color: var(--color-border); 
    background: var(--surface);
    transform: translateX(4px);
}

.admin-item-left { flex: 1; }
.admin-item-left strong {
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.admin-item-right { color: var(--color-text-muted); display: flex; align-items: center; }
.admin-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.text-muted { color: var(--color-text-muted); }
.empty-admin-state { text-align: center; padding: 60px 20px; color: var(--color-text-muted); }

.bot-status { font-size: 10px; padding: 4px 8px; border-radius: 6px; font-weight: 800; text-transform: uppercase; }
.status-scheduled { background: #f59e0b; color: #000; }
.status-sent { background: var(--color-primary); color: #000; }
.status-pending { background: #6b7280; color: #fff; }
.status-cancelled { background: #ef4444; color: #fff; }

.schedule-fields {
    display: none;
    margin-top: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.swipe-hint {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-danger);
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.admin-item.swiping .swipe-hint { opacity: 0.7; }
.admin-item.swipe-delete { transform: translateX(300px); opacity: 0; }

.spinner { 
    width: 32px; 
    height: 32px;
    border: 3px solid var(--color-border); 
    border-top-color: var(--color-primary); 
    border-radius: 50%; 
    animation: spin 1s linear infinite; 
    margin: 0 auto 16px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.empty-state { text-align: center; padding: 80px 20px; grid-column: 1/-1; }
.empty-state h2 { color: var(--color-text-muted); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.empty-state p { color: var(--color-text-muted); font-size: 14px; opacity: 0.7; }

.swal2-popup { background: var(--surface) !important; color: var(--color-text) !important; border: 1px solid var(--color-border) !important; }
.swal2-title { color: var(--color-text) !important; }
.swal2-html-container { color: var(--color-text-muted) !important; }
.swal2-confirm { background: var(--color-primary) !important; color: #000 !important; }
.swal2-cancel { background: transparent !important; border: 1px solid var(--color-border) !important; color: var(--color-text) !important; }

#nprogress .bar { background: var(--color-primary) !important; height: 3px !important; }
#nprogress .peg { box-shadow: 0 0 10px var(--color-primary), 0 0 5px var(--color-primary) !important; }
#nprogress .spinner-icon { border-top-color: var(--color-primary) !important; border-left-color: var(--color-primary) !important; }

.Toastify__toast { background: #111 !important; border: 1px solid var(--color-border); color: #fff; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-wrapper { grid-template-columns: 1fr; gap: 24px; }
    .sidebar { display: none; }
    .nav-content { padding: 0 16px; flex-wrap: nowrap; }
    .nav-title { display: block !important; visibility: visible !important; opacity: 1 !important; font-size: 16px; }
    .nav-center { display: flex; padding: 0 12px; flex: 1; max-width: none; }
    .search-wrapper { width: 100%; max-width: none; }
    #search { padding: 8px 12px 8px 36px; font-size: 13px; height: 36px; }
    .search-icon { left: 12px; width: 14px; height: 14px; }
    .nav-right { gap: 8px; }
    .nav-icon { width: 28px; height: 28px; }
    .container { margin-top: 100px; padding: 0 16px; }
    .toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
    .toolbar-right { display: flex; gap: 8px; margin-top: 0; }
    .file-info { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    code { font-size: 8px; }
    .toolbar-right .btn { flex: 1; }
    .script-grid { grid-template-columns: 1fr; }
    .admin-header-flex { flex-direction: column; align-items: stretch; }
    .tab-switcher { width: 100%; }
    .tab-btn { flex: 1; justify-content: center; }
    .editor-container, .bot-form-container { padding: 20px; }
    .form-row { flex-direction: column; gap: 16px; }
    .editor-actions, .bot-actions { flex-direction: column; align-items: stretch; }
    .action-buttons { width: 100%; flex-direction: column; gap: 8px; }
    .action-buttons .btn { width: 100%; }
    .CodeMirror { height: 300px !important; }
}

@media (orientation: landscape) and (max-height: 500px) {
    .navbar { position: absolute; height: 56px; }
    .container { margin-top: 100px; }
    .modal-overlay { padding: 10px; align-items: flex-start; }
    .modal { max-height: 80vh; margin-top: 20px; margin-bottom: 20px; }
    .CodeMirror { height: 250px !important; }
  }


/* ===== LIQUID GLASS UI ===== */

.navbar {
    position: fixed !important;
    top: 16px !important;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1380px;
    height: 68px;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 22px;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.08);
    z-index: 1000;
}

.script-card,
.modal,
.editor-container,
.bot-form-container,
.admin-item {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    box-shadow:
        0 8px 30px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

#search {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

#search:focus {
    border-color: var(--color-primary) !important;
    box-shadow:
        0 0 0 4px rgba(90,176,255,.08),
        0 0 18px rgba(90,176,255,.25);
}

.sidebar-link {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: var(--color-text-muted);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 4px 20px rgba(0,0,0,0.25);
    transition: all .25s ease;
}

.sidebar-link:hover {
    transform: translateY(-2px);
    color: var(--color-text);
    box-shadow:
        0 14px 40px rgba(0,0,0,.45),
        0 0 25px rgba(90,176,255,.18);
    background: rgba(255,255,255,0.09) !important;
}

.sidebar-link.active { color: var(--color-primary); border-color: var(--color-primary) !important; }
.sidebar-link.active svg { opacity: 1; }
.sidebar-link:hover svg { opacity: 1; }

.script-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
        0 14px 40px rgba(0,0,0,.45),
        0 0 25px rgba(90,176,255,.18);
}

.btn {
    background: rgba(90,176,255,0.94) !important;
    border: 1px solid rgba(211,211,211,0.5) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #000;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 4px 20px rgba(0,0,0,0.25);
    transition: all .25s ease;
}

.btn:hover {
transform: translateY(-2px);
    border: 1px solid rgba(211,211,211,0.75) !important;
    box-shadow:
        0 0 18px rgba(90,176,255,.35),
        inset 0 1px 0 rgba(255,255,255,.08);
    background: rgba(90,176,255,0.94) !important;
}

.tab-btn,
.btn-secondary {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: white !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 4px 20px rgba(0,0,0,0.25);
    transition: all .25s ease;
}

.tab-btn:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.25) !important;
    box-shadow:
        0 14px 40px rgba(0,0,0,.45),
        0 0 25px rgba(90,176,255,.18);
    background: rgba(255,255,255,0.09) !important;
}

.footer {
    margin-top: 80px;
    padding: 50px 20px 30px;
    background: rgba(255,255,255,0.03);
    border-top: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 28px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: .2s;
}

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

.footer-socials {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);

    transition: all .25s ease;
}

.footer-socials a:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary);
    box-shadow: 0 0 18px rgba(90,176,255,.25);
}

.footer-socials .ro:hover {
    border-color: #5ab0ff;
    box-shadow: 0 0 18px rgba(90,176,255,.55);
}

.footer-socials .yt:hover {
    border-color: #ff3b3b;
    box-shadow: 0 0 18px rgba(255,59,59,.55);
}

.footer-socials .ig:hover {
    border-color: #c135ff;
    box-shadow: 0 0 18px rgba(193,53,255,.55);
}

.footer-socials .tt:hover {
    border-color: #000000;
    box-shadow: 0 0 18px rgba(0,0,0,.35);
}

.footer-socials img {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 13px;
}

a {
    cursor: default;
}
