/* ========================================================
   gasm.me — Core Styles
   ======================================================== */

:root {
    --gasm-purple: #1A05A2;
    --gasm-magenta: #8F0177;
    --gasm-pink: #DE1A58;
    --gasm-orange: #F67D31;
    --gasm-gradient: linear-gradient(135deg, #1A05A2, #DE1A58, #F67D31);
    --gasm-gradient-reverse: linear-gradient(135deg, #F67D31, #DE1A58, #1A05A2);
    --gasm-dark: #0a0a0a;
    --gasm-card: rgba(255, 255, 255, 0.04);
    --gasm-card-border: rgba(255, 255, 255, 0.08);
    --gasm-radius: 16px;
    --gasm-radius-sm: 10px;
    --gasm-radius-full: 50px;
    --font-main: 'Outfit', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background: var(--gasm-dark);
    color: #f0f0f0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--gasm-pink);
    color: #fff;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }

/* ========================================================
   Brand & Gradient Text
   ======================================================== */
.brand-gradient {
    background: var(--gasm-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: var(--gasm-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================================
   Navbar
   ======================================================== */
.gasm-navbar {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gasm-card-border);
    padding: 0.6rem 0;
    z-index: 1050;
}

.gasm-navbar .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.9rem;
    border-radius: var(--gasm-radius-sm);
    transition: all 0.2s ease;
}

.gasm-navbar .nav-link:hover,
.gasm-navbar .nav-link.active {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.gasm-navbar .dropdown-menu {
    background: #151515;
    border: 1px solid var(--gasm-card-border);
    border-radius: var(--gasm-radius-sm);
}

/* ========================================================
   Buttons
   ======================================================== */
.btn-gasm {
    background: var(--gasm-gradient);
    color: #fff;
    border: none;
    padding: 0.65rem 1.8rem;
    border-radius: var(--gasm-radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gasm:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(222, 26, 88, 0.35);
}

.btn-gasm:active { transform: translateY(0); }

.btn-gasm-outline {
    background: transparent;
    color: #fff;
    border: 2px solid transparent;
    border-image: var(--gasm-gradient);
    border-image-slice: 1;
    padding: 0.6rem 1.6rem;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gasm-outline:hover {
    background: var(--gasm-gradient);
    color: #fff;
}

.btn-gasm-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid var(--gasm-card-border);
    padding: 0.6rem 1.4rem;
    border-radius: var(--gasm-radius-sm);
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-gasm-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
}

/* ========================================================
   Cards
   ======================================================== */
.gasm-card {
    background: var(--gasm-card);
    border: 1px solid var(--gasm-card-border);
    border-radius: var(--gasm-radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.gasm-card:hover { border-color: rgba(255, 255, 255, 0.12); }

.gasm-card-highlight {
    background: var(--gasm-card);
    border: 1px solid rgba(222, 26, 88, 0.2);
    border-radius: var(--gasm-radius);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.gasm-card-highlight::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gasm-gradient);
}

/* ========================================================
   Forms
   ======================================================== */
.gasm-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gasm-card-border);
    border-radius: var(--gasm-radius-sm);
    color: #fff;
    padding: 0.75rem 1rem;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    width: 100%;
}

.gasm-input:focus {
    outline: none;
    border-color: var(--gasm-pink);
    box-shadow: 0 0 0 3px rgba(222, 26, 88, 0.15);
    background: rgba(255, 255, 255, 0.07);
}

.gasm-input::placeholder { color: rgba(255, 255, 255, 0.3); }

select.gasm-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    cursor: pointer;
    color: #fff;
}

select.gasm-input option {
    background: #1a1a2e;
    color: #fff;
    padding: 0.5rem;
}

select.gasm-input option:checked {
    background: var(--gasm-pink);
    color: #fff;
}

select.gasm-input option:hover {
    background: rgba(222, 26, 88, 0.3);
}

select.gasm-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gasm-input.is-valid { border-color: #22c55e; }
.gasm-input.is-invalid { border-color: #ef4444; }

.gasm-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.4rem;
    display: block;
}

.input-with-suffix {
    display: flex;
    align-items: center;
    gap: 0;
}

.input-with-suffix .gasm-input {
    border-radius: var(--gasm-radius-sm) 0 0 var(--gasm-radius-sm);
    flex: 1;
}

.input-suffix {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--gasm-card-border);
    border-left: none;
    border-radius: 0 var(--gasm-radius-sm) var(--gasm-radius-sm) 0;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.username-feedback {
    font-size: 0.82rem;
    margin-top: 0.3rem;
    font-weight: 500;
}

.username-feedback.available { color: #22c55e; }
.username-feedback.taken { color: #ef4444; }

.form-check-input:checked {
    background-color: var(--gasm-pink);
    border-color: var(--gasm-pink);
}

/* ========================================================
   Auth Pages
   ======================================================== */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--gasm-dark);
    position: relative;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    top: -30%; left: -20%;
    width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(26, 5, 162, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.auth-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20%; right: -10%;
    width: 50%; height: 50%;
    background: radial-gradient(circle, rgba(222, 26, 88, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.auth-box {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

.auth-box .gasm-card {
    padding: 2.5rem;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo .brand-gradient { font-size: 2rem; }

/* ========================================================
   Dashboard Layout
   ======================================================== */
.dash-content {
    padding: 2rem 0;
    min-height: calc(100vh - 70px);
}

.dash-stat {
    text-align: center;
    padding: 1.5rem;
}

.dash-stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.dash-stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
}

.page-header p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

/* ========================================================
   Link Cards (Dashboard)
   ======================================================== */
.link-card {
    background: var(--gasm-card);
    border: 1px solid var(--gasm-card-border);
    border-radius: var(--gasm-radius);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.2s ease;
    cursor: grab;
    margin-bottom: 0.75rem;
}

.link-card .drag-handle,
.link-card .link-icon,
.link-card .link-clicks,
.link-card .link-actions {
    margin-top: 0.15rem;
}

.link-card:active { cursor: grabbing; }

.link-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.link-card.sortable-ghost {
    opacity: 0.4;
    border-color: var(--gasm-pink);
}

.link-card .drag-handle {
    color: rgba(255, 255, 255, 0.2);
    cursor: grab;
    font-size: 1.1rem;
}

.link-card .link-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.link-card .link-info { flex: 1; min-width: 0; }

.link-card .link-title {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.link-card .link-url {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.link-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    line-height: 1.4;
    white-space: nowrap;
}

.badge-group {
    background: rgba(99, 102, 241, 0.12);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.badge-schedule {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.12);
}

.badge-scheduled {
    background: rgba(234, 179, 8, 0.1);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.12);
}

.badge-remaining {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.12);
}

.badge-warning {
    background: rgba(249, 115, 22, 0.12);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.15);
}

.badge-expired {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.12);
}

.badge-always {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.badge-pinned {
    background: rgba(222, 26, 88, 0.12);
    color: var(--gasm-pink);
    border: 1px solid rgba(222, 26, 88, 0.15);
    font-size: 0.6rem;
    padding: 0.1rem 0.35rem;
}

.link-card .link-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.link-card .link-clicks {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

.link-card .btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
    cursor: pointer;
}

.link-card .btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.link-card .btn-icon.delete:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Toggle switch */
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    left: 3px; bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--gasm-pink);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

/* ========================================================
   Add Link Modal
   ======================================================== */
.modal-content {
    background: #151515;
    border: 1px solid var(--gasm-card-border);
    border-radius: var(--gasm-radius);
}

.modal-header {
    border-bottom-color: var(--gasm-card-border);
    padding: 1.25rem 1.5rem;
}

.modal-body { padding: 1.5rem; }

.modal-footer {
    border-top-color: var(--gasm-card-border);
    padding: 1rem 1.5rem;
}

/* ========================================================
   Profile Page (Public)
   ======================================================== */
.profile-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1rem;
}

.profile-container {
    width: 100%;
    max-width: 680px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto 1rem;
    display: block;
}

.profile-username {
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.25rem;
}

.profile-bio {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 400px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
}

.profile-meta {
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.profile-social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.25s ease;
}

.profile-social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    color: #fff;
}

.profile-link-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.profile-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: inherit;
}

.profile-link-btn .link-btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.profile-link-btn .link-btn-title { flex: 1; }

.profile-link-btn .link-btn-arrow {
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.25s ease;
}

.profile-link-btn:hover .link-btn-arrow {
    opacity: 0.5;
    transform: translateX(0);
}

.profile-link-group {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.profile-link-group-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    padding-left: 0.5rem;
}

.profile-pinned-badge {
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
}

.profile-footer a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: color 0.2s;
}

.profile-footer a:hover { color: rgba(255, 255, 255, 0.6); }

/* ========================================================
   Theme Cards
   ======================================================== */
.theme-card {
    border: 2px solid var(--gasm-card-border);
    border-radius: var(--gasm-radius);
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.theme-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.theme-card.active {
    border-color: var(--gasm-pink);
    box-shadow: 0 0 20px rgba(222, 26, 88, 0.2);
}

.theme-card .theme-preview {
    width: 50px; height: 50px;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.theme-card .theme-name {
    font-weight: 600;
    font-size: 0.875rem;
}

/* ========================================================
   Analytics
   ======================================================== */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* ========================================================
   QR Code
   ======================================================== */
.qr-display {
    background: #fff;
    border-radius: var(--gasm-radius);
    padding: 2rem;
    display: inline-block;
}

.qr-display img { max-width: 250px; }

/* ========================================================
   Admin
   ======================================================== */
.admin-table {
    font-size: 0.9rem;
}

.admin-table td { vertical-align: middle; }

.badge-status {
    padding: 0.3rem 0.7rem;
    border-radius: var(--gasm-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* ========================================================
   Landing Page
   ======================================================== */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(26, 5, 162, 0.2) 0%, rgba(222, 26, 88, 0.08) 50%, transparent 70%);
    pointer-events: none;
    animation: heroPulse 8s ease-in-out infinite alternate;
}

@keyframes heroPulse {
    0% { transform: translateX(-50%) scale(1); opacity: 0.8; }
    100% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 550px;
    line-height: 1.6;
}

.hero-input-group {
    display: flex;
    gap: 0;
    max-width: 450px;
}

.hero-input-group .gasm-input {
    border-radius: var(--gasm-radius-full) 0 0 var(--gasm-radius-full);
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
}

.hero-input-group .btn-gasm {
    border-radius: 0 var(--gasm-radius-full) var(--gasm-radius-full) 0;
    padding: 1rem 2rem;
    white-space: nowrap;
}

.feature-section { padding: 5rem 0; }

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.feature-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: var(--gasm-card);
    border: 1px solid var(--gasm-card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    color: var(--gasm-pink);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.example-profiles {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.cta-section {
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(222, 26, 88, 0.05), transparent);
    pointer-events: none;
}

.site-footer {
    padding: 3rem 0;
    border-top: 1px solid var(--gasm-card-border);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.site-footer a:hover { color: #fff; }

/* ========================================================
   Age Gate
   ======================================================== */
.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.age-gate-content {
    max-width: 400px;
}

.age-gate h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.age-gate p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

/* ========================================================
   Alerts / Toasts
   ======================================================== */
.gasm-alert {
    padding: 0.85rem 1.25rem;
    border-radius: var(--gasm-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.gasm-alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.gasm-alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.gasm-alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
}

/* ========================================================
   Utilities
   ======================================================== */
.divider {
    height: 1px;
    background: var(--gasm-card-border);
    margin: 1.5rem 0;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.4);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.skeleton {
    background: linear-gradient(90deg, var(--gasm-card) 25%, rgba(255,255,255,0.08) 50%, var(--gasm-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--gasm-radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================================
   Password Strength Meter
   ======================================================== */
.password-strength {
    display: flex;
    gap: 4px;
    margin-top: 0.5rem;
}

.password-strength-bar {
    height: 4px;
    flex: 1;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.password-strength-bar.active-weak { background: #ef4444; }
.password-strength-bar.active-fair { background: #f97316; }
.password-strength-bar.active-good { background: #eab308; }
.password-strength-bar.active-strong { background: #22c55e; }

/* ========================================================
   Steps (Registration)
   ======================================================== */
.steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
}

.step-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.step-dot.active { background: var(--gasm-pink); transform: scale(1.3); }
.step-dot.completed { background: #22c55e; }

.step-line {
    width: 40px; height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.step-line.completed { background: #22c55e; }

.reg-step { display: none; }
.reg-step.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   Responsive
   ======================================================== */
@media (max-width: 768px) {
    .auth-box .gasm-card { padding: 1.75rem; }

    .hero-input-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-input-group .gasm-input,
    .hero-input-group .btn-gasm {
        border-radius: var(--gasm-radius-full);
    }

    .link-card { padding: 0.85rem; gap: 0.75rem; flex-wrap: wrap; }

    .link-card .link-clicks { display: none; }

    .link-card .link-info { min-width: calc(100% - 120px); }

    .link-card .link-actions { margin-left: auto; }

    .link-meta-badges { gap: 0.25rem; }

    .link-badge { font-size: 0.62rem; padding: 0.1rem 0.4rem; }

    .dash-content { padding: 1rem 0; }

    .profile-page { padding: 2rem 1rem; }
}

@media (max-width: 480px) {
    .brand-gradient { font-size: 1.2rem; }

    .hero-title { font-size: 2rem; }

    .page-header h1 { font-size: 1.4rem; }

    .profile-avatar { width: 80px; height: 80px; }
}
