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

:root {
    --bg: #0a0c14;
    --bg2: #0f111a;
    --card-bg: #161926;
    --card-bg2: #1c2033;
    --primary: #e84057;
    --primary-dark: #c0304a;
    --primary-glow: rgba(232, 64, 87, 0.3);
    --accent: #7b2fff;
    --accent-glow: rgba(123, 47, 255, 0.3);
    --text: #f0f2ff;
    --text-muted: #8892a4;
    --hover: #1e2236;
    --border: rgba(255,255,255,0.07);
    --green: #2ecc71;
    --yellow: #f39c12;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* ============================
   TOAST NOTIFICATIONS
   ============================ */
#toast-container {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    min-width: 280px;
    max-width: 380px;
    pointer-events: all;
    backdrop-filter: blur(10px);
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    animation: toastIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    cursor: pointer;
}

.toast.toast-exit {
    animation: toastOut 0.3s ease forwards;
}

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-msg { flex: 1; line-height: 1.4; }

.toast-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.6;
    font-size: 1rem;
    padding: 0;
    flex-shrink: 0;
}

.toast-close:hover { opacity: 1; }

.toast.error {
    background: rgba(232, 64, 87, 0.15);
    border-color: rgba(232, 64, 87, 0.4);
    color: #ff8099;
}

.toast.success {
    background: rgba(46, 204, 113, 0.15);
    border-color: rgba(46, 204, 113, 0.4);
    color: #5dde9a;
}

.toast.info {
    background: rgba(123, 47, 255, 0.15);
    border-color: rgba(123, 47, 255, 0.4);
    color: #a87fff;
}

.toast.warning {
    background: rgba(243, 156, 18, 0.15);
    border-color: rgba(243, 156, 18, 0.4);
    color: #f9c74f;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(60px) scale(0.9); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to { opacity: 0; transform: translateX(60px) scale(0.9); }
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 2rem;
    background: rgba(10, 12, 20, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo { font-size: 1.4rem; font-weight: 900; letter-spacing: -0.5px; }
.logo span { color: var(--primary); }

.search-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    padding: 0 2rem;
}

#search-input {
    width: 100%;
    max-width: 480px;
    background: var(--card-bg);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.controls { display: flex; gap: 0.75rem; align-items: center; }

/* ============================
   BUTTONS
   ============================ */
.btn {
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn.secondary {
    background: var(--hover);
    color: var(--text);
    padding: 0.65rem 1.2rem;
    border: 1px solid var(--border);
}

.btn.secondary:hover {
    background: var(--card-bg2);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.btn.primary {
    background: var(--primary);
    color: white;
    padding: 0.65rem 1.2rem;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn.primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn.icon-btn:hover {
    color: var(--text);
    background: var(--hover);
    transform: none;
}

.cart-btn {
    background: var(--card-bg2) !important;
    border: 1px solid var(--border) !important;
    position: relative;
    font-size: 0.9rem;
}

/* ============================
   LAYOUT
   ============================ */
.container {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================
   CATEGORY TABS
   ============================ */
.category-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 14px;
    border: 1px solid var(--border);
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.category-tab:hover {
    color: var(--text);
    background: var(--hover);
}

.category-tab.active {
    color: var(--primary);
    background: rgba(232, 64, 87, 0.12);
    border-color: rgba(232, 64, 87, 0.3);
}

.category-tab .tab-icon { font-size: 1rem; }

/* ============================
   GRID
   ============================ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
}

/* ============================
   HERO CARDS
   ============================ */
.hero-card {
    background: var(--card-bg);
    border-radius: 14px;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s, border 0.25s;
    cursor: pointer;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.hero-card:hover img { transform: scale(1.08); }

.hero-name {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.92));
    padding: 12px 10px 10px;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.hero-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 28px rgba(0,0,0,0.5), 0 0 0 1px var(--primary-glow);
}

/* ============================
   SLOT SECTIONS
   ============================ */
.slot-section { margin-bottom: 3rem; }

.slot-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.6rem;
    margin-bottom: 1.5rem;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    gap: 8px;
}

.slot-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.2rem;
    background: var(--primary);
    border-radius: 4px;
}

/* ============================
   MOD CARDS
   ============================ */
.mod-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mod-card::after {
    content: '✓';
    position: absolute;
    top: 8px; right: 8px;
    width: 24px; height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; font-weight: 700;
    opacity: 0; transform: scale(0.5);
    transition: all 0.2s ease;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(232, 64, 87, 0.4);
}

.mod-card.selected::after {
    opacity: 1;
    transform: scale(1);
}

.mod-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    background: var(--card-bg2);
}

.mod-card.selected {
    border-color: var(--primary);
    background: rgba(232, 64, 87, 0.08);
    box-shadow: 0 0 20px rgba(232, 64, 87, 0.25);
}

.mod-image {
    width: 100%;
    height: 140px;
    object-fit: contain;
    background: var(--bg);
}

.mod-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* needed for text-overflow to work in flex */
}

.mod-info h3 { margin: 0 0 0.4rem 0; font-size: 0.95rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mod-info p { margin: 0; color: var(--text-muted); font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ============================
   SIDEBAR CART
   ============================ */
.sidebar {
    position: fixed;
    top: 0; right: -420px;
    width: 380px; height: 100vh;
    background: var(--bg2);
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 40px rgba(0,0,0,0.6);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex; flex-direction: column;
}

.sidebar.open { right: 0; }

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--card-bg);
}

.sidebar-header h2 { margin: 0; font-size: 1.1rem; font-weight: 700; }

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex; flex-direction: column; gap: 0.75rem;
}

.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb { background: var(--hover); border-radius: 4px; }

.cart-item {
    display: flex; align-items: center; gap: 0.75rem;
    background: var(--card-bg);
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    animation: fadeInUp 0.2s ease;
}

.cart-item img { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; background: var(--bg); }
.cart-item-info { flex-grow: 1; }
.cart-item-info h4 { margin: 0 0 0.2rem 0; font-size: 0.9rem; font-weight: 600; }
.cart-item-info p { margin: 0; font-size: 0.75rem; color: var(--text-muted); }

.remove-item-btn {
    background: transparent; border: none;
    color: var(--text-muted); cursor: pointer;
    font-size: 1.1rem; padding: 4px 6px; border-radius: 4px;
    transition: all 0.2s;
}
.remove-item-btn:hover { color: var(--primary); background: rgba(232,64,87,0.1); }

.empty-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 3rem;
    font-size: 0.9rem;
}

.sidebar-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn.build-btn {
    background: linear-gradient(135deg, var(--primary), #c0304a);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 20px var(--primary-glow);
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.2s, box-shadow 0.2s;
    letter-spacing: 0.5px;
}

.btn.build-btn.active {
    opacity: 1;
    pointer-events: all;
}

.btn.build-btn.active:hover {
    box-shadow: 0 6px 28px var(--primary-glow);
    transform: translateY(-1px);
}

#sub-warning {
    text-align: center;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 10px;
    background: rgba(232,64,87,0.08);
    border-radius: 6px;
    border: 1px solid rgba(232,64,87,0.2);
}

.cart-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

/* ============================
   MODALS
   ============================ */
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    width: 420px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
    animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

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

.modal-header h2 { margin: 0; font-size: 1.2rem; font-weight: 700; }

/* Profile modal upgrades */
.profile-avatar {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; font-weight: 800;
    margin: 0 auto 1rem auto;
}

.profile-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.profile-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.profile-field span {
    font-size: 0.95rem;
    font-weight: 500;
}

.sub-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sub-badge.active {
    background: rgba(46, 204, 113, 0.15);
    color: var(--green);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.sub-badge.inactive {
    background: rgba(232, 64, 87, 0.12);
    color: var(--primary);
    border: 1px solid rgba(232,64,87,0.25);
}

.builds-list {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.saved-build {
    background: var(--hover);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
    transition: border-color 0.2s;
}

.saved-build:hover { border-color: var(--primary); }
.saved-build h4 { margin: 0; font-size: 0.95rem; }
.saved-build p { margin: 0.25rem 0 0 0; font-size: 0.8rem; color: var(--text-muted); }
.build-actions { display: flex; gap: 0.5rem; }

/* ============================
   LOADING & RESULT
   ============================ */
.overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 12, 20, 0.9);
    backdrop-filter: blur(12px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    z-index: 2000;
    gap: 1.5rem;
}

.spinner {
    width: 52px; height: 52px;
    border: 4px solid rgba(255,255,255,0.08);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

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

.result {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
}

/* ============================
   FORM INPUTS
   ============================ */
.form-input {
    width: 100%;
    padding: 0.8rem 1.1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-input::placeholder { color: var(--text-muted); }

/* ============================
   ADMIN PANEL
   ============================ */
.admin-wrapper {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-header h1 {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-card .stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
}

.stat-card.primary .stat-value { color: var(--primary); }
.stat-card.green .stat-value { color: var(--green); }
.stat-card.accent .stat-value { color: var(--accent); }

.admin-section {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}

.admin-section-header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.admin-search {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.admin-search input {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.admin-search input:focus {
    outline: none;
    border-color: var(--primary);
}

table { width: 100%; border-collapse: collapse; }

th, td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.02);
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }

.user-row-info { display: flex; flex-direction: column; gap: 2px; }
.user-row-name { font-weight: 600; font-size: 0.9rem; }
.user-row-email { font-size: 0.78rem; color: var(--text-muted); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.admin { background: rgba(123,47,255,0.15); color: #a87fff; border: 1px solid rgba(123,47,255,0.3); }
.badge.user { background: rgba(255,255,255,0.05); color: var(--text-muted); }
.badge.active { background: rgba(46,204,113,0.15); color: var(--green); border: 1px solid rgba(46,204,113,0.3); }
.badge.expired { background: rgba(232,64,87,0.1); color: var(--primary); border: 1px solid rgba(232,64,87,0.2); }
.badge.none { background: rgba(255,255,255,0.04); color: var(--text-muted); }

.action-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.btn-sm {
    padding: 5px 12px;
    font-size: 0.78rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.btn-sm:hover { transform: translateY(-1px); }

.btn-sm.green { background: rgba(46,204,113,0.15); color: var(--green); border: 1px solid rgba(46,204,113,0.3); }
.btn-sm.green:hover { background: rgba(46,204,113,0.25); }
.btn-sm.blue { background: rgba(52,152,219,0.15); color: #5dade2; border: 1px solid rgba(52,152,219,0.3); }
.btn-sm.blue:hover { background: rgba(52,152,219,0.25); }
.btn-sm.red { background: rgba(232,64,87,0.12); color: var(--primary); border: 1px solid rgba(232,64,87,0.25); }
.btn-sm.red:hover { background: rgba(232,64,87,0.2); }
.btn-sm.purple { background: rgba(123,47,255,0.12); color: #a87fff; border: 1px solid rgba(123,47,255,0.25); }
.btn-sm.purple:hover { background: rgba(123,47,255,0.2); }
.btn-sm.yellow { background: rgba(243,156,18,0.12); color: var(--yellow); border: 1px solid rgba(243,156,18,0.25); }
.btn-sm.yellow:hover { background: rgba(243,156,18,0.2); }

/* Sub modal for admin */
.sub-modal-backdrop {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
    z-index: 9000;
    display: flex; align-items: center; justify-content: center;
}

.sub-modal {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    width: 380px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
    animation: modalIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sub-modal h3 { margin: 0 0 1.5rem 0; font-size: 1.1rem; }
.sub-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1rem; }
.sub-modal-grid .btn-sm { padding: 10px 6px; text-align: center; cursor: pointer; }
.sub-custom { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.sub-custom input {
    flex: 1; padding: 8px 12px; border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg); color: var(--text);
    font-family: 'Inter', sans-serif; font-size: 0.9rem;
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.view { animation: fadeInUp 0.3s ease; }

/* SECTION titles */
.view h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.view h2 .hero-section-name {
    color: var(--text);
}
