@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
    --bg-primary: #050508;
    --bg-secondary: #0a0a12;
    --glass-bg: rgba(15, 15, 30, 0.45);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-border-hover: rgba(0, 212, 255, 0.25);
    --accent: #00d4ff;
    --accent-glow: rgba(0, 212, 255, 0.4);
    --accent-secondary: #7c3aed;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(0, 212, 255, 0.025) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(124, 58, 237, 0.025) 0%, transparent 50%),
        var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(0, 212, 255, 0.01) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 24px;
    position: relative;
    z-index: 1;
}

/* ========== EPIC HEADER ========== */
.top-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
    margin-bottom: 32px;
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 500px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), rgba(124, 58, 237, 0.3), transparent);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 6px;
    backdrop-filter: blur(10px);
}

.header-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.header-nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 12px;
}

.header-nav a:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

.header-nav a:hover::before {
    opacity: 1;
}

.header-nav a.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(124, 58, 237, 0.08));
    color: var(--accent);
    border: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
}

.header-nav a svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    position: relative;
    z-index: 1;
}

.header-nav a span {
    position: relative;
    z-index: 1;
}

/* Hero section below header */
.hero {
    text-align: center;
    padding: 48px 0 40px;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, #a855f7 50%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    margin-bottom: 12px;
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Glass Panel Base */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
    border-color: var(--glass-border-hover);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.45),
        0 0 25px rgba(0, 212, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Two Column Layout */
.paste-form {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 28px;
    margin-bottom: 48px;
}

@media (max-width: 960px) {
    .paste-form {
        grid-template-columns: 1fr;
    }
}

/* Left Column - Settings */
.settings-panel {
    composes: glass-panel;
    padding: 28px;
    height: fit-content;
}

.settings-panel h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.settings-panel h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
    border-radius: 2px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input[type="text"]::placeholder {
    color: var(--text-muted);
}

.form-group input[type="text"]:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), 0 0 20px rgba(0, 212, 255, 0.05);
    background: rgba(0, 0, 0, 0.45);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group select option {
    background: #0a0a12;
    color: var(--text-primary);
    padding: 10px;
}

/* Visibility Toggle */
.visibility-options {
    display: flex;
    gap: 12px;
}

.visibility-options label {
    flex: 1;
    padding: 14px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: none;
    letter-spacing: 0;
}

.visibility-options input[type="radio"] {
    display: none;
}

.visibility-options input[type="radio"]:checked + label {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(124, 58, 237, 0.08));
    color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.visibility-options label:hover {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
}

/* Right Column - Editor */
.editor-panel {
    composes: glass-panel;
    padding: 28px;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.editor-panel h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.editor-panel h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
    border-radius: 2px;
}

.editor-panel textarea {
    width: 100%;
    flex: 1;
    min-height: 420px;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.45);
    color: var(--text-primary);
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.92rem;
    line-height: 1.7;
    resize: vertical;
    transition: all 0.3s ease;
    outline: none;
}

.editor-panel textarea::placeholder {
    color: var(--text-muted);
}

.editor-panel textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), 0 0 30px rgba(0, 212, 255, 0.05);
    background: rgba(0, 0, 0, 0.55);
}

/* Submit Button */
.submit-btn {
    margin-top: 24px;
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3), 0 0 60px rgba(0, 212, 255, 0.1);
}

.submit-btn:hover::before {
    left: 100%;
}

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

/* Recent Pastes */
.recent-pastes {
    composes: glass-panel;
    padding: 28px;
}

.recent-pastes h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.recent-pastes h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
    border-radius: 2px;
}

.paste-list {
    display: grid;
    gap: 12px;
}

.paste-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
}

.paste-item:hover {
    border-color: var(--glass-border-hover);
    background: rgba(0, 212, 255, 0.05);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.08);
}

.paste-info h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.paste-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.paste-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-public {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-private {
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Paste View Page */
.paste-view {
    composes: glass-panel;
    padding: 32px;
}

.paste-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 16px;
}

.paste-header h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.paste-actions {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 24px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    border: none;
    color: #fff;
}

.btn-primary:hover {
    color: #fff;
    box-shadow: 0 5px 25px rgba(0, 212, 255, 0.3);
    transform: translateY(-1px);
}

.paste-content {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: auto;
}

.paste-content pre {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-wrap: break-word;
}

.paste-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 12px;
    font-family: 'JetBrains Mono', monospace;
}

/* Alert Messages */
.alert {
    padding: 16px 24px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
    color: var(--danger);
}

.alert-info {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.25);
    color: var(--accent);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px;
    color: var(--text-muted);
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.4;
}

/* ========== EPIC FOOTER ========== */
.site-footer {
    margin-top: 56px;
    padding: 40px 24px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    max-width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), rgba(124, 58, 237, 0.2), transparent);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    color: #fff;
    border-color: transparent;
}

.social-link.telegram:hover::before {
    background: linear-gradient(135deg, #229ED9, #0088cc);
    opacity: 1;
}

.social-link.discord:hover::before {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    opacity: 1;
}

.social-link.github:hover::before {
    background: linear-gradient(135deg, #333, #1a1a1a);
    opacity: 1;
}

.social-link svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
    stroke-width: 1.8;
}

/* Syntax dot indicator */
.syntax-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px currentColor;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

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

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.glass-panel, .paste-view, .recent-pastes, .settings-panel, .editor-panel {
    animation: fadeIn 0.6s ease-out;
}

/* Selection */
::selection {
    background: rgba(0, 212, 255, 0.3);
    color: #fff;
}


/* ========== TABLE STYLES ========== */
.table-container {
    composes: glass-panel;
    padding: 32px;
    overflow-x: auto;
}

.table-container h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-container h2 svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
    stroke-width: 1.5;
}

.table-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.92rem;
}

.data-table thead th {
    text-align: left;
    padding: 14px 18px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.03);
    white-space: nowrap;
}

.data-table thead th:first-child {
    border-radius: 12px 0 0 0;
}

.data-table thead th:last-child {
    border-radius: 0 12px 0 0;
}

.data-table tbody tr {
    transition: all 0.3s ease;
}

.data-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.04);
}

.data-table tbody td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    vertical-align: middle;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 12px;
}

.data-table tbody tr:last-child td:last-child {
    border-radius: 0 0 12px 0;
}

/* Paste column */
.paste-cell {
    display: flex;
    align-items: center;
    gap: 14px;
}

.paste-cell .syntax-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
}

.paste-cell-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.paste-cell-title {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.paste-cell-title:hover {
    color: var(--accent);
}

.paste-cell-lang {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
}

/* Views column */
.views-cell {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
}

.views-cell svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

/* Creator column */
.creator-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.creator-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.creator-name {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Time column */
.time-cell {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ========== SEARCH PAGE ========== */
.search-section {
    composes: glass-panel;
    padding: 40px;
    text-align: center;
    margin-bottom: 32px;
}

.search-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.search-section p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 12px;
}

.search-box input[type="text"] {
    flex: 1;
    padding: 16px 22px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.search-box input[type="text"]::placeholder {
    color: var(--text-muted);
}

.search-box input[type="text"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), 0 0 25px rgba(0, 212, 255, 0.05);
}

.search-box button {
    padding: 16px 28px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.25);
}

.search-box button svg {
    width: 18px;
    height: 18px;
}

.search-stats {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
}

.pagination .current {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.pagination .disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Responsive table */


/* ========== MOBILE HEADER FIX ========== */
@media (max-width: 768px) {
    .header-inner {
        justify-content: space-between !important;
        padding: 0 16px;
    }
    .header-logo {
        position: static !important;
        left: auto !important;
        order: 1;
        flex-shrink: 0;
    }
    .hamburger {
        order: 3;
        margin-left: auto;
    }
    .header-nav {
        order: 2;
        display: none;
    }
    .header-auth {
        order: 4;
    }
}

@media (max-width: 768px) {
    .data-table thead {
        display: none;
    }
    .data-table tbody tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 14px;
        padding: 16px;
        background: rgba(0, 0, 0, 0.2);
    }
    .data-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
    .data-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--accent);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .data-table tbody td:last-child {
        border-bottom: none;
    }
    .search-box {
        flex-direction: column;
    }
    .search-box button {
        justify-content: center;
    }
}


/* ========== PASTE VIEW - 2 COLUMN LAYOUT ========== */
.paste-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: start;
}

@media (max-width: 900px) {
    .paste-layout {
        grid-template-columns: 1fr;
    }
}

/* Paste Title Header (above columns) */
.paste-title-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.paste-title-header h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.paste-title-header .syntax-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
}

/* Left Column - Info Panel */
.paste-info-panel {
    composes: glass-panel;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 90px;
}

/* User / Creator Section */
.creator-section {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.creator-avatar-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 12px;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.creator-username {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.creator-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Stats Grid */
.paste-stats {
    display: grid;
    gap: 12px;
}

.stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stat-row:hover {
    border-color: rgba(0, 212, 255, 0.15);
    background: rgba(0, 212, 255, 0.03);
}

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

.stat-label svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.stat-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.stat-value.public {
    color: var(--success);
}

.stat-value.private {
    color: var(--danger);
}

/* Action Buttons */
.paste-actions-vertical {
    display: grid;
    gap: 10px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    outline: none;
}

.action-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.action-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.08);
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    border: none;
    color: #fff;
}

.action-btn.primary:hover {
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
}

/* Right Column - Content Panel */
.paste-content-panel {
    composes: glass-panel;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.content-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.content-header-left .syntax-dot {
    width: 10px;
    height: 10px;
}

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

.content-header-right button {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.content-header-right button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.paste-content-body {
    padding: 24px;
    overflow-x: auto;
    flex: 1;
}

.paste-content-body pre {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}


/* ========== AUTH PAGES (Login / Register) ========== */
.auth-container {
    max-width: 420px;
    margin: 0 auto;
    padding: 40px 0;
}

.auth-box {
    composes: glass-panel;
    padding: 40px 36px;
    text-align: center;
}

.auth-box h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.auth-box p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.auth-form .form-group {
    text-align: left;
    margin-bottom: 18px;
}

.auth-form .form-group label {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.85rem;
}

.auth-form .form-group input {
    padding: 14px 16px;
}

.auth-btn {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}

.auth-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ========== PROFILE PAGE ========== */
.profile-header {
    composes: glass-panel;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 32px;
}

@media (max-width: 600px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
}

.profile-avatar-xl {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.2);
}

.profile-info h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-info .profile-role {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.profile-role.admin {
    background: rgba(245, 158, 11, 0.12);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.profile-role.user {
    background: rgba(0, 212, 255, 0.12);
    color: var(--accent);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.profile-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
}

.profile-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

@media (max-width: 600px) {
    .profile-stats-row {
        grid-template-columns: 1fr;
    }
}

.profile-stat-card {
    composes: glass-panel;
    padding: 24px;
    text-align: center;
}

.profile-stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
}

.profile-stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== SETTINGS PAGE ========== */
.settings-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    width: fit-content;
}

.settings-tabs a {
    padding: 10px 22px;
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.settings-tabs a:hover {
    color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
}

.settings-tabs a.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(124, 58, 237, 0.08));
    color: var(--accent);
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.color-picker-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.color-option:hover {
    transform: scale(1.15);
}

.color-option.selected {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.color-option input {
    display: none;
}

/* ========== HEADER USER MENU ========== */
.header-user {
    position: absolute;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .header-user {
        display: none;
    }
}

.header-user a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-user a:hover {
    color: var(--accent);
}

.header-user .user-avatar-sm {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.header-user .user-avatar-sm:hover {
    transform: scale(1.1);
}


/* ========== AUTH HEADER ========== */
.header-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .header-auth { position: static; transform: none; margin-top: 12px; justify-content: center; }
    .header-inner { flex-wrap: wrap; }
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
}

.auth-btn.primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    border: none;
    color: #fff;
}

.auth-btn.primary:hover {
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.25);
}

.user-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.user-menu:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
}


/* ========== ACCOUNT DROPDOWN ========== */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

.dropdown-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
}

.dropdown-toggle .user-avatar-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.dropdown-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
    stroke-width: 2.5;
}

.dropdown:hover .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 255, 0.05);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: rgba(15, 15, 30, 0.85);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: rotate(45deg);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.dropdown-item svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    flex-shrink: 0;
}

.dropdown-item:hover {
    background: rgba(0, 212, 255, 0.08);
    color: var(--accent);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 6px 8px;
}

.dropdown-header {
    padding: 8px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}


/* ========== RESPONSIVE HEADER / HAMBURGER ========== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    gap: 5px;
    transition: all 0.3s ease;
    z-index: 110;
    position: relative;
}

.hamburger:hover {
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.08);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--accent);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--accent);
}

/* Mobile overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile menu panel */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
    padding: 80px 20px 30px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(124, 58, 237, 0.08));
    color: var(--accent);
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.mobile-menu-nav a svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.mobile-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 16px 0;
}

.mobile-menu-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 20px;
}

.mobile-menu-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}

.mobile-menu-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-menu-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mobile-menu-user-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-menu-user-email {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-menu-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-auth a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-menu-auth a.signin {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-secondary);
}

.mobile-menu-auth a.signin:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
}

.mobile-menu-auth a.getstarted {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: #fff;
    border: none;
}

.mobile-menu-auth a.getstarted:hover {
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
    transform: translateY(-1px);
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    .header-auth {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu {
        display: block;
    }
    .header-inner {
        justify-content: space-between;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .paste-form {
        grid-template-columns: 1fr;
    }
    .profile-layout,
    .settings-layout,
    .paste-layout {
        grid-template-columns: 1fr;
    }
    .paste-info-panel {
        position: static;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .chart-bars {
        gap: 10px;
    }
    .auth-container {
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .admin-stats {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 1.6rem;
    }
    .container {
        padding: 0 16px 16px;
    }
    .settings-sidebar {
        position: static;
    }
}


/* ========== PROFILE LAYOUT ========== */
.profile-hero {
    composes: glass-panel;
    padding: 40px;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.profile-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08));
    border-radius: 20px 20px 0 0;
}

.profile-hero-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
    border: 4px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.profile-hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-hero-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.profile-hero-username {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

.profile-hero-title {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

.profile-hero-joined {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.profile-hero-joined svg {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 4px;
}

.profile-hero-banned {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.25);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Two column grid for stats + contacts */
.profile-mid-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .profile-mid-grid {
        grid-template-columns: 1fr;
    }
}

.profile-card {
    composes: glass-panel;
    padding: 28px;
}

.profile-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-card h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
    border-radius: 2px;
}

/* Statistics */
.profile-stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.profile-stat-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.profile-stat-label svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    stroke-width: 2;
}

.profile-stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

/* Contacts */
.profile-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.profile-contact-item:hover {
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.04);
    transform: translateX(4px);
}

.profile-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    stroke-width: 1.8;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.profile-contact-item:hover svg {
    color: var(--accent);
}

.profile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.profile-contact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-contact-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-contact-empty {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Bottom grid for pastes */
.profile-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .profile-bottom-grid {
        grid-template-columns: 1fr;
    }
}

.profile-pastes-card {
    composes: glass-panel;
    padding: 28px;
}

.profile-pastes-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-pastes-card h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
    border-radius: 2px;
}

.profile-paste-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.profile-paste-item:hover {
    border-color: rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.03);
    transform: translateX(4px);
}

.profile-paste-item:last-child {
    margin-bottom: 0;
}

.profile-paste-info h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.profile-paste-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.profile-paste-views {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.profile-paste-views svg {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
}

/* ========== HEADER LOGO ========== */
.header-logo {
    position: absolute;
    left: 24px;
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    z-index: 10;
}
.header-logo:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .header-logo {
        left: 16px;
        font-size: 1.1rem;
    }
    .header-inner {
        justify-content: space-between;
    }
}

/* ========== ADS SECTION ========== */
.ads-section {
    margin-bottom: 32px;
    animation: fadeIn 0.6s ease-out;
}
.ads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.ad-item {
    display: block;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.ad-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.15);
}
.ad-item img {
    width: 290px;
    height: 80px;
    object-fit: cover;
    display: block;
}
.ad-item::after {
    content: 'AD';
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

@media (max-width: 900px) {
    .ads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .ads-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== ADMIN ADS TAB ========== */
.ads-form {
    composes: glass-panel;
    padding: 28px;
    margin-bottom: 24px;
}
.ads-form h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ads-form h3 svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}
.ads-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 120px auto;
    gap: 12px;
    align-items: end;
}
@media (max-width: 768px) {
    .ads-form-row {
        grid-template-columns: 1fr;
    }
}
.ads-form-row .form-group {
    margin-bottom: 0;
}
.ads-form-row .form-group input {
    padding: 12px 14px;
    font-size: 0.9rem;
}
.ads-form-row .submit-btn {
    margin-top: 0;
    padding: 12px 20px;
    font-size: 0.9rem;
}

.ads-list-table .action-btns {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.ad-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ad-status.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.ad-status.expired {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.25);
}
.ad-gif-preview {
    width: 80px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
}


/* ========== PAGINATION ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding: 16px;
    flex-wrap: wrap;
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}
.page-link:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}
.page-link.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    color: #0a0a0a;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}
.page-link.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}


/* ========== ADS PAGE CHECKBOXES ========== */
.ads-pages-select {
    animation: fadeIn 0.4s ease-out;
}
.ads-pages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ad-page-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}
.ad-page-checkbox:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
}
.ad-page-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}
.ad-page-checkbox span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.ad-page-checkbox:has(input:checked) {
    background: rgba(0, 212, 255, 0.12);
    border-color: var(--accent);
}
.ad-page-checkbox:has(input:checked) span {
    color: var(--accent);
}

/* ========== AD PAGE TAGS ========== */
.ad-page-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 1px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}