/* ==========================================================================
   LAMP LINK SHORTENER — ULTRA-DARK CYBERDROP THEME
   Domain: link.free-warez.win
   ========================================================================== */

/* 1. Global Setup, Font & Background */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

html, body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background: #03060c url('/content/cyber_bg.jpg') no-repeat center center fixed !important;
    background-size: cover !important;
    color: #f8fafc !important;
    min-height: 100vh !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Atmospheric ultra-dark mesh overlay */
body::before {
    content: '' !important;
    position: fixed !important;
    inset: 0 !important;
    background: 
        radial-gradient(ellipse at 50% 10%, rgba(0, 242, 254, 0.07) 0%, transparent 65%),
        radial-gradient(ellipse at 85% 75%, rgba(16, 185, 129, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, rgba(3, 6, 12, 0.86) 0%, rgba(3, 6, 12, 0.96) 100%) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

/* Typography High-Contrast */
h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4 {
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

p, span, .fs-5, .lead, label, .text-muted {
    color: #cbd5e1 !important;
}

.text-dark {
    color: #f8fafc !important;
}

a {
    color: #00f2fe !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

a:hover {
    color: #38bdf8 !important;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5) !important;
}

code, pre, .mono, #output-result input {
    font-family: 'JetBrains Mono', monospace !important;
}

/* 2. Top Navigation Bar */
header, .navbar, nav {
    background: rgba(4, 8, 18, 0.94) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    border-bottom: 1px solid rgba(0, 242, 254, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
    padding: 10px 0 !important;
}

.navbar-logo img#navbar-logo, .navbar-logo img {
    height: 42px !important;
    max-height: 44px !important;
    width: auto !important;
    filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.55)) !important;
    transition: transform 0.3s ease !important;
}

.navbar-logo:hover img {
    transform: scale(1.04) !important;
}

.nav-link {
    color: #cbd5e1 !important;
    font-weight: 600 !important;
    font-size: 0.98rem !important;
    transition: color 0.2s ease !important;
}

.nav-link:hover, .nav-link.active {
    color: #00f2fe !important;
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.5) !important;
}

.dropdown-menu {
    background: rgba(8, 12, 24, 0.96) !important;
    backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(0, 242, 254, 0.25) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8) !important;
}

.dropdown-item {
    color: #cbd5e1 !important;
    font-weight: 500 !important;
}

.dropdown-item:hover {
    background: rgba(0, 242, 254, 0.12) !important;
    color: #00f2fe !important;
}

/* 3. Hero Section & Shorten Box */
#hero {
    position: relative;
    padding: 50px 0 70px;
    z-index: 1;
}

#hero h1 strong {
    background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-primary {
    background: linear-gradient(135deg, #00f2fe 0%, #10b981 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

form[data-trigger="shorten-form"] {
    background: rgba(9, 14, 28, 0.94) !important;
    backdrop-filter: blur(30px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(190%) !important;
    border: 1px solid rgba(0, 242, 254, 0.35) !important;
    border-radius: 24px !important;
    box-shadow: 
        0 25px 60px -15px rgba(0, 0, 0, 0.85),
        0 0 35px rgba(0, 242, 254, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    padding: 12px 18px !important;
    transition: all 0.3s ease !important;
}

form[data-trigger="shorten-form"]:focus-within {
    border-color: #00f2fe !important;
    box-shadow: 
        0 30px 70px -15px rgba(0, 0, 0, 0.9),
        0 0 45px rgba(0, 242, 254, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

form[data-trigger="shorten-form"] input#url {
    background: transparent !important;
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    padding: 12px 18px !important;
    border: none !important;
    box-shadow: none !important;
}

form[data-trigger="shorten-form"] input#url::placeholder {
    color: #64748b !important;
}

form[data-trigger="shorten-form"] button[type="submit"],
.btn-primary {
    background: linear-gradient(135deg, #00f2fe 0%, #10b981 100%) !important;
    color: #020617 !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    padding: 14px 32px !important;
    border-radius: 14px !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    letter-spacing: 0.02em !important;
}

form[data-trigger="shorten-form"] button[type="submit"]:hover,
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.6) !important;
    filter: brightness(1.15) !important;
    color: #000000 !important;
}

#output-result {
    background: rgba(9, 14, 28, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(16, 185, 129, 0.5) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.25) !important;
    color: #f8fafc !important;
}

/* 4. Glassmorphism Cards */
.bg-primary, .bg-light, .bg-white, .section {
    background: transparent !important;
}

.card {
    background: rgba(8, 13, 26, 0.92) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    border: 1px solid rgba(0, 242, 254, 0.22) !important;
    border-radius: 22px !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.65) !important;
    color: #f8fafc !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(0, 242, 254, 0.5) !important;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 242, 254, 0.2) !important;
}

.card h2, .card h3, .card h4, .card h5 {
    color: #ffffff !important;
}

.card p, .card span {
    color: #cbd5e1 !important;
}

.icon, .icon-lg, .icon-md {
    background: rgba(0, 242, 254, 0.12) !important;
    border: 1px solid rgba(0, 242, 254, 0.3) !important;
    color: #00f2fe !important;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25) !important;
}

/* 5. Modern Redesigned Login Page */
.cyber-auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.cyber-auth-logo-box {
    animation: floatGlow 4s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    0% { transform: translateY(0); filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.4)); }
    100% { transform: translateY(-6px); filter: drop-shadow(0 0 30px rgba(0, 242, 254, 0.65)); }
}

.cyber-auth-logo {
    max-width: 440px;
    width: 90vw;
    height: auto;
    object-fit: contain;
}

.cyber-auth-card {
    width: min(480px, 94vw);
    background: rgba(8, 13, 26, 0.94) !important;
    backdrop-filter: blur(32px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(200%) !important;
    border: 1px solid rgba(0, 242, 254, 0.3) !important;
    border-radius: 28px !important;
    box-shadow: 
        0 30px 70px -15px rgba(0, 0, 0, 0.9),
        0 0 45px rgba(0, 242, 254, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    padding: 42px 40px !important;
    position: relative;
    overflow: hidden;
}

/* Glowing Top Accent Line on Card */
.cyber-auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00f2fe 0%, #38bdf8 50%, #10b981 100%);
    box-shadow: 0 0 18px #00f2fe;
}

/* Inputs & Addons */
.cyber-input-addon {
    background: rgba(6, 10, 22, 0.9) !important;
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
    border-right: none !important;
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
    color: #00f2fe !important;
    padding: 14px 18px !important;
}

.cyber-input {
    background: rgba(6, 10, 22, 0.8) !important;
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
    border-left: none !important;
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    padding: 14px 16px !important;
    transition: all 0.25s ease !important;
}

.cyber-input:focus {
    background: rgba(6, 10, 22, 0.98) !important;
    border-color: #00f2fe !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.25) !important;
}

.input-group:focus-within .cyber-input-addon {
    border-color: #00f2fe !important;
    color: #38bdf8 !important;
}

/* Primary Button */
.btn-cyber-primary {
    background: linear-gradient(135deg, #00f2fe 0%, #10b981 100%) !important;
    color: #020617 !important;
    font-weight: 800 !important;
    border: none !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 25px rgba(0, 242, 254, 0.45) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}

.btn-cyber-primary:hover {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 10px 35px rgba(0, 242, 254, 0.65) !important;
    filter: brightness(1.15) !important;
    color: #000000 !important;
}

/* Social Login Buttons */
.btn-outline-cyber {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    transition: all 0.25s ease !important;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-cyber:hover {
    background: rgba(0, 242, 254, 0.2) !important;
    border-color: #00f2fe !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.35) !important;
}

.cyber-badge-or {
    background: #080d1a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
}

.cyber-checkbox {
    background-color: rgba(6, 10, 22, 0.8) !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
}

.cyber-checkbox:checked {
    background-color: #00f2fe !important;
    border-color: #00f2fe !important;
}

.cyber-link {
    color: #00f2fe !important;
    transition: all 0.2s ease !important;
}

.cyber-link:hover {
    color: #38bdf8 !important;
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.6) !important;
}

/* 6. Footer */
footer {
    background: rgba(4, 8, 18, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(0, 242, 254, 0.2) !important;
    color: #94a3b8 !important;
    padding: 40px 0 !important;
    margin-top: 60px !important;
}

footer a {
    color: #cbd5e1 !important;
}

footer a:hover {
    color: #00f2fe !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(3, 6, 12, 0.95);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.4);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.7);
}
