:root {
    --primary: #5B5FFF;
    --primary-dark: #4a4dcc;
    --primary-light: #7b7eff;
    --secondary: #00C2FF;
    --accent: #111827;
    --bg-dark: #0a0f1e;
    --bg-card: rgba(255,255,255,0.05);
    --glass: rgba(255,255,255,0.08);
    --glass-border: rgba(255,255,255,0.12);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --gradient-1: linear-gradient(135deg, #5B5FFF 0%, #00C2FF 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 30px rgba(91,95,255,0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; }

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

::selection { background: var(--primary); color: white; }

.glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.glass-alert {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    min-width: 300px;
}

.navbar {
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 15, 30, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.brand-icon { font-size: 1.8rem; margin-right: 8px; }
.brand-text { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover { color: var(--text-primary) !important; background: var(--glass); }

.btn-nav-cta {
    background: var(--gradient-1) !important;
    color: white !important;
    border: none !important;
    padding: 8px 24px !important;
    border-radius: 50px !important;
    font-weight: 600;
    transition: var(--transition);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.glass-dropdown {
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 200px;
}

.glass-dropdown .dropdown-item {
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    transition: var(--transition);
}

.glass-dropdown .dropdown-item:hover {
    background: var(--glass);
    color: var(--text-primary);
}

.maintenance-bar {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(91,95,255,0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0,194,255,0.1) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-2%, -2%) rotate(2deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(91,95,255,0.15);
    border: 1px solid rgba(91,95,255,0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.url-shortener-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-lg);
}

.url-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.input-wrap {
    flex: 1;
    display: flex;
    gap: 8px;
    align-items: stretch;
    position: relative;
}

.url-input-group .form-control {
    flex: 1;
    min-width: 0;
    background: rgba(255,255,255,0.06);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.url-input-group .form-control:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(91,95,255,0.15);
    outline: none;
}

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

.btn-paste {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-paste:hover {
    background: rgba(255,255,255,0.12);
    color: var(--text-primary);
}

.btn-shorten {
    background: var(--gradient-1);
    border: none;
    color: white;
    padding: 14px 36px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.btn-shorten:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-shorten:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.short-result {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: rgba(91,95,255,0.1);
    border: 1px solid rgba(91,95,255,0.3);
    border-radius: var(--radius-md);
}

.short-result.show { display: block; }

.short-result .short-url {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-light);
    word-break: break-all;
}

.short-result .short-actions { display: flex; gap: 10px; margin-top: 12px; }

.short-result .btn-copy, .short-result .btn-qr {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.short-result .btn-copy:hover, .short-result .btn-qr:hover {
    background: rgba(255,255,255,0.12);
    color: var(--text-primary);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.hero-stat-item { text-align: center; }

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 4px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(91,95,255,0.12);
    border: 1px solid rgba(91,95,255,0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.feature-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(91,95,255,0.3);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.demo-section {
    background: linear-gradient(135deg, rgba(91,95,255,0.05) 0%, rgba(0,194,255,0.05) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.analytics-preview {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-top: 30px;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.analytics-item {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
}

.analytics-item .number {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.analytics-item .label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

.testimonial-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(91,95,255,0.3);
}

.testimonial-stars { color: #fbbf24; margin-bottom: 16px; }
.testimonial-text { color: var(--text-secondary); font-style: italic; line-height: 1.7; }
.testimonial-author { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--gradient-1);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem;
}
.testimonial-name { font-weight: 600; margin-bottom: 2px; }
.testimonial-role { color: var(--text-muted); font-size: 0.85rem; }

.faq-accordion .accordion-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md) !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    padding: 20px 24px;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(91,95,255,0.08);
    color: var(--primary-light);
}

.faq-accordion .accordion-button::after {
    filter: brightness(0) invert(1);
}

.faq-accordion .accordion-body {
    color: var(--text-secondary);
    padding: 0 24px 20px;
    line-height: 1.7;
}

.cta-section {
    background: linear-gradient(135deg, rgba(91,95,255,0.1) 0%, rgba(0,194,255,0.1) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.footer {
    background: rgba(10, 15, 30, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 0;
}

.footer-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-social { display: flex; gap: 12px; margin-top: 20px; }

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li { margin-bottom: 10px; }

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

.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }

.btn-newsletter {
    background: var(--gradient-1) !important;
    color: white !important;
    border: none !important;
    font-weight: 500;
    padding: 10px 20px;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 24px 0;
    margin-top: 40px;
}

.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-bottom a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; }
.footer-bottom a:hover { color: var(--primary-light); }

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    position: relative;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.auth-card .auth-header { text-align: center; margin-bottom: 32px; }
.auth-card .auth-header h3 { font-weight: 700; }
.auth-card .auth-header p { color: var(--text-secondary); font-size: 0.95rem; }

.form-floating {
    margin-bottom: 16px;
}

.form-control {
    background: rgba(255,255,255,0.06);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    height: 56px;
    padding: 16px 20px;
    color: var(--text-primary);
    transition: var(--transition);
    width: 100%;
    font-size: 0.95rem;
}

.form-control:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(91,95,255,0.15);
    outline: none;
}

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

textarea.form-control { height: auto; resize: vertical; padding-top: 14px; }
select.form-control { appearance: auto; }

.btn-auth {
    width: 100%;
    background: var(--gradient-1);
    border: none;
    color: white;
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--glass-border);
}

.auth-divider span {
    background: var(--bg-dark);
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

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

.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(91,95,255,0.08) 0%, rgba(0,194,255,0.08) 100%);
}

.page-header h1 { font-size: 2.5rem; font-weight: 700; }
.page-header p { color: var(--text-secondary); margin-top: 12px; }

.content-section {
    padding: 60px 0;
}

.content-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-bottom: 24px;
}

.content-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.content-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-card ul {
    color: var(--text-secondary);
    padding-left: 20px;
    line-height: 2;
}

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

.blog-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(91,95,255,0.3);
    box-shadow: var(--shadow-lg);
}

.blog-card-img {
    height: 200px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.7;
}

.blog-card-body { padding: 24px; }

.blog-card-body .blog-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.blog-card-body h5 {
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-card-body h5 a {
    color: var(--text-primary);
    text-decoration: none;
}

.blog-card-body h5 a:hover { color: var(--primary-light); }

.blog-card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.blog-card-body .btn-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0;
}

.blog-card-body .btn-link:hover { text-decoration: underline; }

.dashboard {
    background: var(--bg-dark);
    min-height: 100vh;
}

.dashboard-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    padding: 24px 16px;
    z-index: 1000;
    overflow-y: auto;
    transition: var(--transition);
}

.dashboard-sidebar .sidebar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px 24px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 20px;
}

.sidebar-nav { list-style: none; padding: 0; }

.sidebar-nav .nav-item { margin-bottom: 4px; }

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-nav .nav-link:hover {
    background: var(--glass);
    color: var(--text-primary);
}

.sidebar-nav .nav-link.active {
    background: rgba(91,95,255,0.15);
    color: var(--primary-light);
    border: 1px solid rgba(91,95,255,0.2);
}

.sidebar-nav .nav-link i { font-size: 1.1rem; width: 20px; text-align: center; }

.dashboard-main {
    margin-left: 260px;
    padding: 24px 32px;
    min-height: 100vh;
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.dashboard-topbar h4 { font-weight: 600; }

.dashboard-topbar .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-topbar .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.stat-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    height: 100%;
}

.stat-card:hover {
    border-color: rgba(91,95,255,0.3);
    transform: translateY(-2px);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.stat-card .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.table-dashboard {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table-dashboard .table {
    color: var(--text-primary);
    margin-bottom: 0;
}

.table-dashboard .table thead th {
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px;
}

.table-dashboard .table tbody td {
    border-bottom: 1px solid var(--glass-border);
    padding: 14px 16px;
    vertical-align: middle;
}

.table-dashboard .table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

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

.btn-table {
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-table:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
}

.btn-table.btn-danger-table:hover { background: rgba(239,68,68,0.2); color: #ef4444; border-color: rgba(239,68,68,0.3); }
.btn-table.btn-success-table:hover { background: rgba(34,197,94,0.2); color: #22c55e; border-color: rgba(34,197,94,0.3); }

.chart-container {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: 100%;
}

.chart-container h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

.redirect-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    padding: 20px;
}

.redirect-card {
    width: 100%;
    max-width: 600px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.redirect-card .redirect-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.redirect-card h4 {
    font-weight: 600;
    margin-bottom: 8px;
}

.redirect-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.redirect-card .progress {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}

.redirect-card .progress-bar {
    background: var(--gradient-1);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.redirect-card .timer-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.redirect-card .timer-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.redirect-card .skip-btn {
    margin-top: 20px;
    padding: 10px 32px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: none;
}

.redirect-card .skip-btn.show { display: inline-block; }
.redirect-card .skip-btn:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }

.ad-container {
    margin: 20px 0;
    min-height: 90px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--glass-border);
    padding: 16px;
}

.ad-container .ad-placeholder {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.redirect-adsense {
    margin: 24px 0 16px;
    min-height: 100px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 8px 0;
    display: block;
    overflow: hidden;
}

.ad-position-popup {
    margin: 0;
    min-height: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: block;
}

@media (max-width: 991px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
    }
    .dashboard-sidebar.show {
        transform: translateX(0);
    }
    .dashboard-main {
        margin-left: 0;
        padding: 80px 16px 24px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-stats {
        gap: 30px;
        flex-wrap: wrap;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .auth-card {
        padding: 28px 24px;
    }
    .redirect-card {
        padding: 32px 24px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 100px 16px 60px;
        min-height: auto;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
    }
    .url-shortener-box {
        padding: 16px;
        border-radius: var(--radius-md);
    }
    .url-input-group {
        flex-direction: column;
        gap: 10px;
    }
    .input-wrap {
        width: 100%;
        gap: 8px;
    }
    .url-input-group .form-control {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    .btn-paste {
        padding: 14px 16px;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    .btn-shorten {
        width: 100%;
        padding: 16px 36px;
        font-size: 1.05rem;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .hero-stats {
        gap: 24px;
        margin-top: 40px;
    }
    .hero-stat-number {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .feature-card {
        padding: 28px 20px;
    }
    .analytics-preview {
        padding: 24px 16px;
    }
    .content-card {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 90px 12px 50px;
    }
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
    .hero-title {
        font-size: 1.6rem;
    }
    .hero-title .gradient-text {
        display: block;
        margin-top: 2px;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .url-shortener-box {
        padding: 12px;
        border-radius: var(--radius-sm);
    }
    .input-wrap {
        flex-direction: column;
        gap: 8px;
    }
    .btn-paste {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
    .btn-paste .paste-text {
        display: inline;
    }
    .url-input-group .form-control {
        padding: 14px 14px;
        font-size: 0.9rem;
    }
    .btn-shorten {
        padding: 14px 24px;
        font-size: 1rem;
    }
    .short-result .short-url {
        font-size: 0.95rem;
    }
    .short-result .short-actions {
        flex-wrap: wrap;
    }
    .short-result .short-actions .btn-copy,
    .short-result .short-actions .btn-qr,
    .short-result .short-actions .btn-table {
        flex: 1;
        text-align: center;
        font-size: 0.85rem;
        padding: 10px 12px;
    }
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        margin-top: 32px;
    }
    .hero-stat-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: var(--glass);
        border: 1px solid var(--glass-border);
        border-radius: var(--radius-sm);
        padding: 12px 20px;
    }
    .hero-stat-number {
        font-size: 1.4rem;
    }
    .hero-stat-label {
        font-size: 0.85rem;
        margin-top: 0;
    }
    .section {
        padding: 50px 0;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .section-label {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
    .footer {
        padding: 40px 0 0;
    }
    .footer-bottom {
        text-align: center;
    }
    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 8px;
    }
    .auth-card {
        padding: 24px 16px;
    }
    .redirect-card {
        padding: 24px 16px;
    }
    .redirect-card .timer-text {
        font-size: 2rem;
    }
    .table-dashboard {
        overflow-x: auto;
    }
    .table-dashboard .table {
        font-size: 0.85rem;
    }
    .table-dashboard .table thead th,
    .table-dashboard .table tbody td {
        padding: 10px 12px;
    }
}
