/* --------------------------------------------------
   CSS Design System & Variables (cPanel Domain Tracker)
   -------------------------------------------------- */
@layer reset, base, theme, components, layout, utilities;

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

@layer base {
    :root {
        --color-bg: #090d16;
        --color-surface: rgba(17, 25, 40, 0.65);
        --color-surface-hover: rgba(23, 33, 53, 0.8);
        --color-border: rgba(255, 255, 255, 0.08);
        --color-border-focus: #6366f1;
        
        /* Typography */
        --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
        --font-display: 'Outfit', sans-serif;
        
        /* Palettes */
        --color-text-primary: #f3f4f6;
        --color-text-secondary: #9ca3af;
        --color-text-muted: #6b7280;
        
        --color-primary: #6366f1;
        --color-primary-hover: #4f46e5;
        --color-primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
        --color-primary-glow: rgba(99, 102, 241, 0.15);
        
        --color-success: #10b981;
        --color-success-bg: rgba(16, 185, 129, 0.1);
        --color-warning: #f59e0b;
        --color-warning-bg: rgba(245, 158, 11, 0.1);
        --color-error: #ef4444;
        --color-error-bg: rgba(239, 68, 68, 0.1);
        
        /* Animation Speeds */
        --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body {
        font-family: var(--font-sans);
        background-color: var(--color-bg);
        color: var(--color-text-primary);
        line-height: 1.5;
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    /* Ambient background glow */
    .bg-glow {
        position: fixed;
        top: -10%;
        left: 50%;
        transform: translateX(-50%);
        width: 1000px;
        height: 600px;
        background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(168, 85, 247, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
        pointer-events: none;
        z-index: -1;
    }

    a {
        color: inherit;
        text-decoration: none;
        transition: color var(--transition-fast);
    }
}

@layer layout {
    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1.5rem;
    }

    .app-main-content {
        flex: 1;
        padding: 3rem 0;
    }

    /* Grid layout for domain spec details page */
    .domain-grid-layout, .admin-grid-layout {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
        align-items: start;
        margin-top: 2rem;
    }

    @media (max-width: 968px) {
        .domain-grid-layout, .admin-grid-layout {
            grid-template-columns: 1fr;
        }
    }
}

/* --------------------------------------------------
   Header & Navigation
   -------------------------------------------------- */
@layer components {
    .app-header {
        border-bottom: 1px solid var(--color-border);
        background-color: rgba(9, 13, 22, 0.8);
        backdrop-filter: blur(12px);
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 64px;
        gap: 0.5rem;
    }

    .app-logo {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1.45rem;
    }

    .logo-icon {
        color: var(--color-primary);
        display: flex;
        align-items: center;
    }

    .logo-text {
        letter-spacing: -0.5px;
    }

    .logo-text span {
        background: var(--color-primary-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .app-nav ul {
        display: flex;
        align-items: center;
        list-style: none;
        gap: 1.5rem;
    }

    .app-nav a {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--color-text-secondary);
        padding: 0.5rem 0.75rem;
        border-radius: 6px;
    }

    .app-nav a:hover, .app-nav a.active {
        color: var(--color-text-primary);
    }

    /* Buttons */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all var(--transition-fast);
        border: none;
        outline: none;
    }

    .btn-primary {
        background: var(--color-primary-gradient);
        color: #ffffff;
        box-shadow: 0 4px 14px 0 var(--color-primary-glow);
    }

    .btn-primary:hover {
        opacity: 0.95;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px 0 var(--color-primary-glow);
    }

    .btn-secondary {
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--color-text-primary);
        border: 1px solid var(--color-border);
    }

    .btn-secondary:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .btn-nav {
        padding: 0.5rem 1rem !important;
        background-color: rgba(99, 102, 241, 0.1);
        border: 1px solid rgba(99, 102, 241, 0.2);
        color: var(--color-primary) !important;
    }

    .btn-nav:hover {
        background-color: var(--color-primary);
        color: #ffffff !important;
    }

    .btn-sm {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-radius: 10px;
    }

    .w-full {
        width: 100%;
    }

    /* Mobile Menu Toggle */
    .menu-toggle {
        display: none;
        background: none;
        border: none;
        color: var(--color-text-primary);
        cursor: pointer;
        padding: 0.5rem;
    }

    @media (max-width: 768px) {
        .app-nav {
            display: none;
        }
        .menu-toggle {
            display: block;
        }
    }
}

/* --------------------------------------------------
   Mobile Navigation Popover
   -------------------------------------------------- */
.mobile-nav-panel {
    border: none;
    background-color: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    height: 100%;
    max-height: 100vh;
    padding: 1.5rem;
    color: var(--color-text-primary);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

.menu-close {
    background: none;
    border: none;
    color: var(--color-text-primary);
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    font-size: 1.25rem;
    font-weight: 600;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

/* --------------------------------------------------
   Glassmorphic Panels (Cards)
   -------------------------------------------------- */
.glass-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------
   Landing Page (Home)
   -------------------------------------------------- */
.hero-section {
    text-align: center;
    padding: 4rem 0 3rem;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--color-text-secondary);
    max-width: 780px;
    margin: 0 auto 3rem;
    text-wrap: pretty;
}

/* Search bar with glass design */
.search-container-glass {
    max-width: 680px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.input-group {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-icon {
    padding: 0 1rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
}

.input-group input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 1.1rem;
    color: var(--color-text-primary);
    padding: 0.8rem 0;
    font-family: var(--font-sans);
}

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

.btn-search {
    border-radius: 8px;
    padding: 0.8rem 2rem;
}

.search-tip {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

@media (max-width: 600px) {
    .input-group {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem;
    }
    .input-group input {
        width: 100%;
        text-align: center;
    }
    .btn-search {
        width: 100%;
    }
}

/* Steps Grid */
.info-section, .features-section, .home-trending-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

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

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.step-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 4rem;
    color: rgba(99, 102, 241, 0.08);
    position: absolute;
    top: 10px;
    right: 20px;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.step-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

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

/* --------------------------------------------------
   Domain Details Page Content
   -------------------------------------------------- */
.domain-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1rem;
}

.domain-main-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
}

.domain-status-badge {
    display: inline-flex;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.75rem;
}

.domain-status-badge.registered {
    background-color: var(--color-error-bg);
    color: var(--color-error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.domain-status-badge.available {
    background-color: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.follower-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.follower-count-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.follower-count-lbl {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

@media (max-width: 600px) {
    .domain-title-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .follower-stats {
        align-items: flex-start;
    }
}

/* Countdown Card */
.countdown-card {
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.card-subtitle {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.countdown-timer {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    min-width: 90px;
    padding: 1rem 0.5rem;
}

.timer-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    color: #ffffff;
    line-height: 1.1;
}

.timer-label {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-top: 0.25rem;
}

@media (max-width: 500px) {
    .countdown-timer {
        gap: 0.75rem;
    }
    .timer-box {
        min-width: 70px;
        padding: 0.75rem 0.25rem;
    }
    .timer-number {
        font-size: 1.8rem;
    }
}

/* Expiration lifecycle bar */
.lifecycle-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.lifecycle-bar {
    height: 100%;
    background: linear-gradient(to right, var(--color-primary), var(--color-error));
    border-radius: 10px;
}

.lifecycle-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Specification details list/table */
.specs-card {
    margin-bottom: 2rem;
}

.specs-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-family: var(--font-display);
}

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

.specs-table td {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.specs-table td:first-child {
    color: var(--color-text-secondary);
    font-weight: 500;
    width: 40%;
}

.specs-table td:last-child {
    color: #ffffff;
    font-weight: 600;
}

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

.highlight-text {
    color: var(--color-primary) !important;
}

.status-tags, .ns-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.status-tag {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--color-text-secondary) !important;
    font-family: var(--font-sans);
}

.ns-list code {
    background-color: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* History Timeline */
.history-timeline {
    list-style: none;
    position: relative;
    padding-left: 20px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 4px;
    width: 2px;
    background-color: var(--color-border);
}

.history-timeline li {
    position: relative;
    padding-bottom: 1.5rem;
}

.history-timeline li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-text-muted);
    border: 2px solid var(--color-bg);
}

.history-timeline li:first-child::before {
    background-color: var(--color-primary);
}

.timeline-date {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.timeline-event {
    font-size: 0.9rem;
    color: var(--color-text-primary);
}

/* Available TLD State styling */
.available-card {
    padding: 4rem 2rem;
}

.available-icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 2rem;
}

.available-desc {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin: 1rem 0 2rem;
}

.available-desc code {
    color: var(--color-success);
    background-color: var(--color-success-bg);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: bold;
}

.registration-cta-box {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.cta-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

/* Follow & Sidebar Cards */
.follow-card, .affiliate-card {
    margin-bottom: 2rem;
}

.follow-card h3, .affiliate-card h3 {
    font-size: 1.2rem;
    font-family: var(--font-display);
    margin-bottom: 0.75rem;
}

.follow-card p, .affiliate-card p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text-secondary);
}

.form-group input, .form-group textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    transition: all var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-border-focus);
    background-color: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    outline: none;
}

/* Form validation styling */
.form-group input:user-invalid {
    border-color: var(--color-error);
}

.follow-notice {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.75rem;
    text-align: center;
}

/* Alert Boxes */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.alert-success {
    background-color: var(--color-success-bg);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
    background-color: var(--color-error-bg);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Affiliate layout */
.affiliate-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.affiliate-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.affiliate-btn {
    text-align: left;
    justify-content: flex-start;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    border-left: 3px solid var(--color-primary);
}

.affiliate-btn.hostinger {
    border-left-color: #673ab7;
}

.affiliate-btn.bluehost {
    border-left-color: #00bcd4;
}

/* --------------------------------------------------
   Trending Page Layout
   -------------------------------------------------- */
.trending-page, .docs-page {
    max-width: 1000px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 3rem;
}

.page-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
}

.table-responsive-container {
    overflow-x: auto;
    padding: 0;
}

.trending-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.trending-table th, .trending-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.trending-table th {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(255, 255, 255, 0.01);
}

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

.table-row-hover:hover {
    background-color: rgba(255, 255, 255, 0.01);
}

.domain-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.domain-icon-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: inline-block;
}

.countdown-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
}

.countdown-badge.expired {
    background-color: var(--color-error-bg);
    color: var(--color-error);
}

.table-date-txt {
    color: var(--color-text-primary);
    font-size: 0.9rem;
}

.table-registrar-txt {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

.follower-bubble {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #ffffff;
}

.hide-mobile {
    display: table-cell;
}

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

/* --------------------------------------------------
   API Docs Layout
   -------------------------------------------------- */
.api-method-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.method-badge {
    background-color: var(--color-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.endpoint-url {
    font-family: monospace;
    font-size: 1.1rem;
    color: #ffffff;
}

.endpoint-url span {
    color: #a5b4fc;
}

.docs-content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.docs-content p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.docs-content h3 {
    margin: 2.5rem 0 1rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.docs-content pre {
    background-color: #0b0f19;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.25rem;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #e5e7eb;
}

/* --------------------------------------------------
   Admin Panel Layout
   -------------------------------------------------- */
.login-card {
    max-width: 420px;
    margin: 6rem auto;
}

.login-tip {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 1rem;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

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

.stat-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.stat-lbl {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.stat-val {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.form-section {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
}

/* Admin domain tracking panel items */
.admin-domains-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 550px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.admin-domain-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.dom-info {
    display: flex;
    flex-direction: column;
}

.dom-info strong {
    font-size: 0.95rem;
    color: #ffffff;
}

.dom-info span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.dom-actions {
    display: flex;
    gap: 0.5rem;
}

/* Custom scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

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

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.3);
}

/* Helper utility styles */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--color-text-muted); }
.margin-top { margin-top: 2rem; }

/* --------------------------------------------------
   Home Trending List (Compact grid)
   -------------------------------------------------- */
.trending-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.trending-item-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-fast);
}

.trending-item-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.trending-meta {
    display: flex;
    flex-direction: column;
}

.trending-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: #ffffff;
}

.trending-followers {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.trending-countdown {
    font-size: 0.8rem;
    font-weight: 700;
    color: #a5b4fc;
    background-color: rgba(99, 102, 241, 0.1);
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    text-align: right;
}

.trending-countdown.expired {
    background-color: var(--color-error-bg);
    color: var(--color-error);
}

/* Reliability Card styling */
.reliability-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(168, 85, 247, 0.03) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 20px;
    padding: 3rem;
}

.reliability-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.reliability-content p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
}

.reliability-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.badge-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* --------------------------------------------------
   App Footer Layout & Styling (Fixing Broken Footer)
   -------------------------------------------------- */
.app-footer {
    background: linear-gradient(180deg, rgba(9, 13, 22, 0.4) 0%, rgba(13, 19, 33, 0.95) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 5rem 0 2rem 0;
    margin-top: 6rem;
    color: var(--color-text-secondary);
    position: relative;
    overflow: hidden;
}

/* Accent glow inside footer top border */
.app-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0) 0%, rgba(99, 102, 241, 0.4) 50%, rgba(168, 85, 247, 0) 100%);
    filter: blur(1px);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: 340px;
}

/* Pulsing status indicator badge */
.system-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #34d399;
    width: fit-content;
    margin-top: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-success);
    border-radius: 50%;
    display: inline-block;
}

.pulsing {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 2.5rem;
}

.link-group h4 {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.link-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.link-group a {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    display: inline-block;
    transition: all var(--transition-fast);
}

.link-group a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 2.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.meta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-links {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 2rem;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --------------------------------------------------
   Auth Pages Layout
   -------------------------------------------------- */
.login-signup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

.auth-card {
    width: 100%;
    max-width: 440px;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 0.75rem 0;
    font-weight: 600;
    color: var(--color-text-secondary);
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
}

.auth-tab:hover, .auth-tab.active {
    color: #ffffff;
    border-bottom-color: var(--color-primary);
}

.auth-helper-txt {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 1.5rem;
}

.auth-helper-txt a {
    color: var(--color-primary);
    font-weight: 600;
}

/* --------------------------------------------------
   User Initials Bubble & Dropdown
   -------------------------------------------------- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.theme-dot {
    cursor: pointer;
    font-size: 1.25rem;
    user-select: none;
}

.user-bubble-dropdown {
    position: relative;
}

.user-initials-bubble {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary-gradient);
    color: #ffffff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.user-initials-bubble:hover {
    transform: scale(1.05);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 0 12px var(--color-primary-glow);
}

.dropdown-menu-list {
    position: absolute;
    top: 50px;
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    width: 200px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    z-index: 200;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s;
}

.dropdown-menu-list.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-username {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
}

.dropdown-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0.5rem 0;
}

.dropdown-item {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.item-logout {
    color: #ef4444 !important;
}

.item-logout:hover {
    background-color: rgba(239, 68, 68, 0.1) !important;
}

/* --------------------------------------------------
   Dashboard Layout Elements
   -------------------------------------------------- */
.dashboard-greet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.greet-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.2rem;
    color: #ffffff;
    line-height: 1.1;
}

.greet-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .dashboard-greet-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .dashboard-greet-header .btn {
        width: 100%;
    }
    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
}

.panel-stat-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.panel-stat-card .stat-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.panel-stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.expiring-warn {
    border-color: rgba(239, 68, 68, 0.3) !important;
    background: linear-gradient(135deg, rgba(17, 25, 40, 0.65) 0%, rgba(239, 68, 68, 0.03) 100%);
}

.expiring-warn .stat-num {
    color: var(--color-error);
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 968px) {
    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }
}

.content-list-card {
    padding: 1.75rem;
}

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

.card-header-flex h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.header-link-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
}

.empty-list-notice {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding: 1rem 0;
}

.expiring-list-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.expiring-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255,255,255,0.01);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    transition: all var(--transition-fast);
}

.expiring-list-item:hover {
    background-color: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.15);
    transform: translateX(3px);
}

.expiring-list-item .item-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
}

.expiring-list-item .item-countdown {
    font-size: 0.8rem;
    font-weight: 700;
    color: #a5b4fc;
    background-color: rgba(99, 102, 241, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
}

.expiring-list-item .item-countdown.expired {
    background-color: var(--color-error-bg);
    color: var(--color-error);
}

/* Cloudflare Integration list status */
.integration-status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.integration-icon-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cf-logo-icon {
    font-size: 1.8rem;
    color: #f38020;
}

.int-info {
    display: flex;
    flex-direction: column;
}

.int-info strong {
    font-size: 0.95rem;
    color: #ffffff;
}

.int-status-lbl {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.int-description {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Favorites compact list */
.favorites-list-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.favorite-item {
    display: flex;
    align-items: center;
    background-color: rgba(255,255,255,0.01);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.fav-star-icon {
    color: #f59e0b;
    margin-right: 0.5rem;
}

.fav-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    flex: 1;
}

.fav-name:hover {
    color: var(--color-primary);
}

.fav-days {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Activity Logs List */
.activity-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.activity-timeline-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.activity-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-primary);
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.activity-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.activity-text strong {
    color: #ffffff;
    font-weight: 500;
}

.activity-time {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.15rem;
}

/* --------------------------------------------------
   Domains List Layout Toolbar
   -------------------------------------------------- */
.toolbar-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0 1rem;
}

.search-input-wrapper input {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: #ffffff;
    padding: 0.65rem 0;
    margin-left: 0.5rem;
    font-family: var(--font-sans);
}

.toolbar-options {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.active-filter {
    background-color: rgba(245, 158, 11, 0.15) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
    color: #f59e0b !important;
}

.sort-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.sort-selector-wrapper select {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: #ffffff;
    padding: 0.4rem 1.5rem 0.4rem 0.5rem;
    outline: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.layout-toggle-btns {
    display: flex;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 3px;
}

.layout-btn {
    border: none;
    background: none;
    color: var(--color-text-secondary);
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    border-radius: 6px;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.layout-btn.active, .layout-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

@media (max-width: 968px) {
    .toolbar-controls {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
    }
    .toolbar-options {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .search-input-wrapper {
        width: 100%;
    }
}

/* --------------------------------------------------
   Domain Card Grid & Browser Mockup Preview
   -------------------------------------------------- */
.domains-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Handle lists layout (flex instead of grid) */
.domains-cards-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.domains-cards-grid.list-view .domain-info-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
}

.domains-cards-grid.list-view .card-screenshot-frame {
    display: none; /* Hide screenshot mockups in list view */
}

.domains-cards-grid.list-view .card-body-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1.5rem;
}

.domains-cards-grid.list-view .card-title-row {
    width: 250px;
    margin-bottom: 0;
}

.domains-cards-grid.list-view .card-countdown-section {
    margin: 0;
}

.domains-cards-grid.list-view .card-meta-desc {
    margin: 0;
}

.domains-cards-grid.list-view .card-badge-row {
    margin: 0;
}

.domains-cards-grid.list-view .card-footer-info {
    margin: 0;
    border-top: none;
    padding-top: 0;
}

/* Card details standard */
.domain-info-card {
    padding: 0;
    overflow: hidden;
}

.card-screenshot-frame {
    width: 100%;
    height: 180px;
    background-color: #0b0f19;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.card-screenshot-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-normal);
}

.domain-info-card:hover .card-screenshot-frame img {
    transform: scale(1.03);
}

.card-body-content {
    padding: 1.75rem;
}

.card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.card-domain-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
}

.card-action-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-icon-btn {
    border: none;
    background: none;
    font-size: 1.15rem;
    cursor: pointer;
    color: var(--color-text-muted);
    padding: 4px;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.action-icon-btn:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

.fav-btn.active {
    color: #f59e0b !important;
}

.delete-btn:hover {
    color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.1) !important;
}

.card-countdown-section {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.days-remaining-num {
    font-family: var(--font-display);
    font-size: 2.10rem;
    font-weight: 800;
    color: var(--color-success);
    line-height: 1;
}

.days-remaining-num.expired {
    color: var(--color-error);
}

.days-remaining-lbl {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.card-meta-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.meta-dot {
    margin: 0 0.25rem;
    color: rgba(255,255,255,0.1);
}

.card-badge-row {
    margin-bottom: 1.5rem;
}

.card-badge {
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--color-success);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.card-footer-info {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.card-footer-info strong {
    color: var(--color-text-secondary);
}

/* Handle toggle previews view class */
.previews-hidden .card-screenshot-frame {
    display: none !important;
}

/* --------------------------------------------------
   Glassmorphism Overlay Dialog Modals
   -------------------------------------------------- */
.glass-modal {
    border: none;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(25px);
    width: 90%;
    max-width: 480px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    margin: auto;
    padding: 0;
    color: var(--color-text-primary);
}

.glass-modal::backdrop {
    background-color: rgba(7, 10, 17, 0.7);
    backdrop-filter: blur(8px);
}

.modal-container {
    padding: 2.25rem;
}

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

.modal-header h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
}

.modal-close-btn {
    border: none;
    background: none;
    color: var(--color-text-muted);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close-btn:hover {
    color: #ffffff;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.75rem;
}

.modal-tab-selector {
    display: flex;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 1.75rem;
}

.modal-tab-btn {
    flex: 1;
    border: none;
    background: none;
    padding: 0.5rem 0;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    border-radius: 7px;
    transition: all var(--transition-fast);
}

.modal-tab-btn.active {
    background-color: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--color-primary);
}

.input-helper {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.4rem;
}

.label-row-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.csv-upload-lbl {
    font-size: 0.8rem;
    color: var(--color-primary);
    cursor: pointer;
    font-weight: 600;
}

/* Alert tags button selector styles */
.alert-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.alert-tag-btn {
    border: 1px solid var(--color-border);
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--color-text-secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 1.15rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.alert-tag-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.alert-tag-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 2px 10px var(--color-primary-glow);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.25rem;
}

.modal-actions .btn {
    flex: 1;
}

/* Cloudflare Integration views styling */
.integration-provider-card {
    padding: 2rem;
}

.provider-main-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.provider-logo-title {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cf-logo-orange {
    font-size: 2.5rem;
    color: #f38020;
    background-color: rgba(243, 128, 32, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.provider-logo-title h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #ffffff;
}

.provider-desc-txt {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-top: 0.25rem;
    line-height: 1.5;
}

.provider-status-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-badge-active {
    background-color: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.connection-meta-details {
    border-top: 1px solid var(--color-border);
    margin-top: 2rem;
    padding-top: 1rem;
}

@media (max-width: 600px) {
    .provider-main-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .provider-status-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* Language Dropdown Styles */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    height: 36px;
    width: 75px;
    padding: 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.lang-btn svg {
    color: var(--color-primary);
}

.lang-current-code {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 150px;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 1000;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s;
}

.lang-dropdown-menu.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-secondary);
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.lang-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.lang-item.active {
    background: rgba(99, 102, 241, 0.15);
    color: var(--color-primary);
    font-weight: 600;
}

.flag-icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* --------------------------------------------------
   Light Theme Color Overrides
   -------------------------------------------------- */
html[data-theme="light"] {
    --color-bg: #f8fafc;
    --color-surface: rgba(255, 255, 255, 0.85);
    --color-surface-hover: rgba(241, 245, 249, 0.9);
    --color-border: rgba(0, 0, 0, 0.08);
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #64748b;
    --color-primary-glow: rgba(99, 102, 241, 0.08);
}

/* Specific light mode styling adjustments */
html[data-theme="light"] .bg-glow {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.03) 50%, rgba(0, 0, 0, 0) 100%);
}

html[data-theme="light"] .app-header {
    background-color: rgba(248, 250, 252, 0.8);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .app-footer {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.4) 0%, rgba(226, 232, 240, 0.95) 100%);
    border-top-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .glass-panel {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .glass-panel:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    color: #0f172a;
}

html[data-theme="light"] input:focus,
html[data-theme="light"] select:focus,
html[data-theme="light"] textarea:focus {
    background: #ffffff;
    border-color: var(--color-primary);
}

html[data-theme="light"] .logo-text {
    color: #0f172a;
}

html[data-theme="light"] .app-logo {
    color: #0f172a;
}

html[data-theme="light"] .trending-table th,
html[data-theme="light"] .specs-table td {
    color: var(--color-text-secondary);
}

html[data-theme="light"] .table-row-hover:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

html[data-theme="light"] .domain-main-name {
    color: #0f172a;
}

html[data-theme="light"] .card-subtitle {
    color: var(--color-text-secondary);
}

html[data-theme="light"] .timer-number {
    color: #0f172a;
}

html[data-theme="light"] .timer-box {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .history-timeline::before {
    background: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .timeline-event {
    color: var(--color-text-primary);
}

html[data-theme="light"] .btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    color: #0f172a;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------
   Theme Dropdown Picker Styles
   -------------------------------------------------- */
.theme-dropdown {
    position: relative;
    display: inline-block;
}

.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    height: 36px;
    width: 75px;
    padding: 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

html[data-theme="light"] .theme-btn, html[data-theme="light"] .lang-btn {
    background: transparent;
    border-color: rgba(0, 0, 0, 0.08);
    color: #0f172a;
}

html[data-theme="light"] .theme-btn:hover, html[data-theme="light"] .lang-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.15);
}

.theme-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(17, 25, 40, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0.5rem;
    width: 140px;
    display: none;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.theme-dropdown-menu.show {
    display: flex;
}

html[data-theme="light"] .theme-dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.theme-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--color-text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    width: 100%;
    transition: all var(--transition-fast);
}

.theme-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
}

html[data-theme="light"] .theme-item {
    color: #475569;
}

html[data-theme="light"] .theme-item:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #0f172a;
}

.theme-item.active {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
}

html[data-theme="light"] .theme-item.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
}

/* Social Media Icons Grid in Footer */
.social-icons-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.social-icons-grid a:hover {
    color: var(--color-primary);
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

html[data-theme="light"] .social-icons-grid a {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
    color: var(--color-text-secondary);
}

html[data-theme="light"] .social-icons-grid a:hover {
    color: var(--color-primary);
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--color-primary);
}

/* --------------------------------------------------
   Blog System Styles
   -------------------------------------------------- */
.blog-page-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

html[data-theme="light"] .blog-page-title {
    color: #0f172a;
}

.blog-page-desc {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.blog-card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.blog-category {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    padding: 4px 10px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.2px;
}

html[data-theme="light"] .blog-category {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
    color: var(--color-primary-hover);
}

html[data-theme="light"] .blog-card-title {
    color: #0f172a;
}

html[data-theme="light"] .blog-card:hover .blog-card-title {
    color: var(--color-primary);
}

.blog-card-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.blog-read-more svg {
    transition: transform var(--transition-fast);
}

.blog-card:hover .blog-read-more svg {
    transform: translateX(4px);
}

/* Blog Article Detail Layout */
.blog-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.blog-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: color var(--transition-fast);
}

.blog-detail-back:hover {
    color: var(--color-primary);
}

.blog-detail-hero-image-wrapper {
    width: 100%;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 1px solid var(--color-border);
}

.blog-detail-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-header {
    margin-bottom: 2rem;
}

.blog-detail-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

html[data-theme="light"] .blog-detail-title {
    color: #0f172a;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.blog-detail-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.blog-detail-body h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 2.5rem 0 1rem 0;
    letter-spacing: -0.5px;
}

html[data-theme="light"] .blog-detail-body h2 {
    color: #0f172a;
}

.blog-detail-body h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    margin: 2rem 0 0.75rem 0;
}

html[data-theme="light"] .blog-detail-body h3 {
    color: #0f172a;
}

.blog-detail-body p {
    margin-bottom: 1.5rem;
}

.blog-detail-body ul, .blog-detail-body ol {
    margin: 1rem 0 1.5rem 2rem;
}

.blog-detail-body li {
    margin-bottom: 0.5rem;
}

.blog-detail-body strong {
    color: #ffffff;
    font-weight: 600;
}

html[data-theme="light"] .blog-detail-body strong {
    color: #0f172a;
}

/* Light Theme overrides for Blog Cards */
html[data-theme="light"] .blog-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

html[data-theme="light"] .blog-card:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .blog-detail-title {
        font-size: 2.2rem;
    }
    .blog-detail-hero-image-wrapper {
        height: 240px;
    }
}

/* --------------------------------------------------
   Home Blog Slider Section
   -------------------------------------------------- */
.home-blog-slider-section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
    background: radial-gradient(circle at bottom center, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
}

.blog-slider-outer {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.blog-slider-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1.5rem 0.5rem;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -webkit-overflow-scrolling: touch;
}

.blog-slider-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

.blog-slider-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-medium);
    backdrop-filter: blur(10px);
}

.blog-slider-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.1);
}

.blog-card-image-link {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.blog-slider-card:hover .blog-card-image-link img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(99, 102, 241, 0.9);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-date {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.blog-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.blog-slider-card:hover .blog-card-title a {
    color: var(--color-primary);
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    margin-top: auto;
    width: fit-content;
}

.blog-card-link svg {
    transition: transform var(--transition-fast);
}

.blog-card-link:hover svg {
    transform: translateX(4px);
}

.blog-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.blog-slider-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.blog-slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.blog-slider-btn.prev {
    left: -1rem;
}

.blog-slider-btn.next {
    right: -1rem;
}

/* Light Mode Overrides */
html[data-theme="light"] .blog-slider-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .blog-slider-card:hover {
    background: #ffffff;
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.05);
}

html[data-theme="light"] .blog-card-title a {
    color: #0f172a;
}

html[data-theme="light"] .blog-slider-btn {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .blog-slider-btn:hover {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

@media (max-width: 1250px) {
    .blog-slider-btn.prev {
        left: 0.5rem;
    }
    
    .blog-slider-btn.next {
        right: 0.5rem;
    }
}

@media (max-width: 768px) {
    .home-blog-slider-section {
        padding: 4rem 0;
    }
    
    .blog-slider-card {
        flex: 0 0 290px;
    }
    
    .blog-slider-btn {
        display: none; /* Hide buttons on mobile touch screens for gesture swipe navigation */
    }
}

/* Category badging links */
.blog-category-link {
    text-decoration: none;
    transition: opacity var(--transition-fast);
    display: inline-flex;
}

.blog-category-link:hover {
    opacity: 0.85;
}

/* --------------------------------------------------
   Upgrade Pricing Plans CSS
   -------------------------------------------------- */
.pricing-plans-section {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.pricing-section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-medium);
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: background 0.3s;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Plan Specific Glow Borders and Tops */
.pricing-card.free-tier::before {
    background: var(--color-text-muted);
}
.pricing-card.free-tier.active {
    border-color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.03);
}

.pricing-card.bronze-tier::before {
    background: linear-gradient(90deg, #d97706, #f59e0b);
}
.pricing-card.bronze-tier.active {
    border-color: #d97706;
    background: rgba(217, 119, 6, 0.05);
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.08);
}
.pricing-card.bronze-tier:hover {
    border-color: rgba(217, 119, 6, 0.4);
}

.pricing-card.silver-tier::before {
    background: linear-gradient(90deg, #94a3b8, #cbd5e1);
}
.pricing-card.silver-tier.active {
    border-color: #94a3b8;
    background: rgba(148, 163, 184, 0.05);
    box-shadow: 0 0 20px rgba(148, 163, 184, 0.08);
}
.pricing-card.silver-tier:hover {
    border-color: rgba(148, 163, 184, 0.4);
}

.pricing-card.gold-tier::before {
    background: linear-gradient(90deg, #eab308, #ca8a04);
}
.pricing-card.gold-tier.active {
    border-color: #eab308;
    background: rgba(234, 179, 8, 0.05);
    box-shadow: 0 0 25px rgba(234, 179, 8, 0.12);
}
.pricing-card.gold-tier:hover {
    border-color: rgba(234, 179, 8, 0.40);
}

/* Card Active States */
.pricing-card.active {
    border-width: 2px;
}

.pricing-card-header {
    margin-bottom: 1.5rem;
}

.pricing-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.free-tier .pricing-badge {
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.05);
}

.bronze-tier .pricing-badge {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.silver-tier .pricing-badge {
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.1);
}

.gold-tier .pricing-badge {
    color: #eab308;
    background: rgba(234, 179, 8, 0.1);
}

.pricing-plan-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.pricing-period {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-text-secondary);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.pricing-features li.feature-excluded {
    opacity: 0.4;
}

.feature-icon-check {
    color: var(--color-success);
    font-weight: bold;
    font-size: 1rem;
    margin-right: 0.25rem;
}

.feature-icon-cross {
    color: var(--color-error);
    font-weight: bold;
    font-size: 1rem;
    margin-right: 0.25rem;
}

.pricing-popular-tag {
    position: absolute;
    top: 12px;
    right: -32px;
    background: var(--color-success);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.25rem 2.5rem;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.pricing-popular-tag.best-value {
    background: var(--color-primary);
}

.active-plan-btn {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    color: var(--color-text-muted) !important;
    cursor: not-allowed;
}

/* Light Theme Overrides */
html[data-theme="light"] .pricing-plans-section {
    border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .pricing-section-title {
    color: #0f172a;
}
html[data-theme="light"] .pricing-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .pricing-card:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
html[data-theme="light"] .pricing-plan-name,
html[data-theme="light"] .pricing-price {
    color: #0f172a;
}
html[data-theme="light"] .pricing-card.free-tier.active {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.02);
}
html[data-theme="light"] .pricing-card.bronze-tier.active {
    border-color: #d97706;
    background: rgba(245, 158, 11, 0.02);
}
html[data-theme="light"] .pricing-card.silver-tier.active {
    border-color: #94a3b8;
    background: rgba(148, 163, 184, 0.02);
}
html[data-theme="light"] .pricing-card.gold-tier.active {
    border-color: #eab308;
    background: rgba(234, 179, 8, 0.02);
}

/* --------------------------------------------------
   Subheader / Second Row Navigation for Panel Users
   -------------------------------------------------- */
.header-subheader {
    border-bottom: 1px solid var(--color-border);
    background-color: rgba(9, 13, 22, 0.5);
    backdrop-filter: blur(12px);
    padding: 0.5rem 0;
}

html[data-theme="light"] .header-subheader {
    background-color: rgba(248, 250, 252, 0.5);
}

.subheader-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.subheader-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1rem;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.subheader-nav a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.subheader-nav a:hover, .subheader-nav a.active {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.05);
}

html[data-theme="light"] .subheader-nav a:hover, html[data-theme="light"] .subheader-nav a.active {
    background: rgba(0, 0, 0, 0.04);
}

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


/* ==================================================
   Hero Section Entrance Animation
   Slides up + fades in on page load
   ================================================== */
@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-content {
    animation: heroSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ==================================================
   Light Mode — Comprehensive Text Color Fixes
   All rules scoped to html[data-theme="light"]
   Dark mode is completely untouched.
   ================================================== */

/* Section titles */
html[data-theme="light"] .section-title   { color: #0f172a; }
html[data-theme="light"] .section-subtitle { color: #475569; }

/* Step cards (Three Steps for Your Peace of Mind) */
html[data-theme="light"] .step-card h3 { color: #0f172a; }
html[data-theme="light"] .step-card p  { color: #475569; }

/* Feature cards (Designed for Domain Enthusiasts) */
html[data-theme="light"] .feature-card h3 { color: #0f172a; }
html[data-theme="light"] .feature-card p  { color: #475569; }
html[data-theme="light"] .feature-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
}

/* Currently Trending — domain names */
html[data-theme="light"] .trending-name { color: #0f172a; }
html[data-theme="light"] .trending-item-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .trending-item-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.14);
}

/* Reliability / infrastructure section */
html[data-theme="light"] .reliability-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04) 0%, rgba(168, 85, 247, 0.02) 100%);
    border-color: rgba(99, 102, 241, 0.1);
}
html[data-theme="light"] .reliability-content h2 { color: #0f172a; }
html[data-theme="light"] .reliability-content p  { color: #475569; }
html[data-theme="light"] .badge-item { color: #0f172a; }

/* Footer headings */
html[data-theme="light"] .link-group h4  { color: #0f172a; }
html[data-theme="light"] .link-group a   { color: #475569; }
html[data-theme="light"] .link-group a:hover { color: var(--color-primary); }
html[data-theme="light"] .footer-desc    { color: #475569; }
html[data-theme="light"] .footer-bottom  { color: #64748b; }
html[data-theme="light"] .meta-badge {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.07);
    color: #64748b;
}

/* Generic: glass-panel headings (admin, panel, domain-sale, api pages) */
html[data-theme="light"] .glass-panel h2,
html[data-theme="light"] .glass-panel h3,
html[data-theme="light"] .glass-panel h4 { color: #0f172a; }
html[data-theme="light"] .glass-panel p  { color: #475569; }
html[data-theme="light"] .glass-panel strong { color: #0f172a; }

/* Trending table cells */
html[data-theme="light"] .trending-table td      { color: #334155; }
html[data-theme="light"] .trending-table td a    { color: #0f172a; }
html[data-theme="light"] .trending-table td a:hover { color: var(--color-primary); }

/* Page-level headings (domains-for-sale, api, etc.) */
html[data-theme="light"] h1 { color: #0f172a; }
html[data-theme="light"] h2 { color: #0f172a; }
html[data-theme="light"] h3 { color: #1e293b; }

/* Preserve gradient on hero title span */
html[data-theme="light"] .hero-title span {
    background: var(--color-primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Specs / highlight */
html[data-theme="light"] .highlight-text  { color: #0f172a; }
html[data-theme="light"] .specs-table td  { color: #334155; }

/* Dashboard stat cards */
html[data-theme="light"] .panel-stat-card .stat-num   { color: #0f172a; }
html[data-theme="light"] .panel-stat-card .stat-label { color: #64748b; }

/* Admin table headers */
html[data-theme="light"] .trending-table th {
    color: #475569;
    background: rgba(0, 0, 0, 0.02);
}

/* Affiliate cards */
html[data-theme="light"] .affiliate-card h3 { color: #0f172a; }
html[data-theme="light"] .affiliate-card p  { color: #475569; }

/* Follow / watch card */
html[data-theme="light"] .follow-card h3,
html[data-theme="light"] .follow-card p { color: #0f172a; }
html[data-theme="light"] .follow-notice { color: #64748b; }

/* Countdown */
html[data-theme="light"] .timer-label { color: #64748b; }
html[data-theme="light"] .countdown-badge {
    background: rgba(99, 102, 241, 0.08);
    color: var(--color-primary);
}

/* Expiring & favorites list */
html[data-theme="light"] .expiring-list-item .item-name { color: #0f172a; }
html[data-theme="light"] .fav-name { color: #0f172a; }
html[data-theme="light"] .fav-days { color: #64748b; }

/* Activity log */
html[data-theme="light"] .activity-text strong { color: #0f172a; }
html[data-theme="light"] .activity-time { color: #64748b; }

/* Domain available state */
html[data-theme="light"] .available-card h2 { color: #0f172a; }
html[data-theme="light"] .available-desc    { color: #475569; }

/* API / docs page */
html[data-theme="light"] .docs-section h2,
html[data-theme="light"] .docs-section h3,
html[data-theme="light"] .docs-section p { color: #334155; }

/* Mobile nav */
html[data-theme="light"] .mobile-nav-panel {
    background-color: rgba(248, 250, 252, 0.98);
    color: #0f172a;
}
html[data-theme="light"] .mobile-menu a { color: #0f172a; }

/* Dashboard greeting */
html[data-theme="light"] .greet-title    { color: #0f172a; }
html[data-theme="light"] .greet-subtitle { color: #475569; }

/* Card header flex */
html[data-theme="light"] .card-header-flex h3 { color: #0f172a; }
html[data-theme="light"] .header-link-btn     { color: var(--color-primary); }

/* Integration info */
html[data-theme="light"] .int-description { color: #64748b; }
html[data-theme="light"] .int-info strong { color: #0f172a; }

/* Status tags / NS code */
html[data-theme="light"] .status-tag {
    background: rgba(0, 0, 0, 0.05);
    color: #334155;
    border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .ns-list code {
    background: rgba(0, 0, 0, 0.05);
    color: #334155;
    border-color: rgba(0, 0, 0, 0.08);
}

/* Alert banners */
html[data-theme="light"] .alert-success {
    background: rgba(16, 185, 129, 0.08);
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.2);
}
html[data-theme="light"] .alert-error {
    background: rgba(239, 68, 68, 0.08);
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.2);
}

/* Domain-for-sale page inline headers */
html[data-theme="light"] .domains-sale-page h1,
html[data-theme="light"] .domains-sale-page h2,
html[data-theme="light"] .domains-sale-page h3,
html[data-theme="light"] .domains-sale-page p { color: #1e293b; }

/* Section title on pages outside glass-panel */
html[data-theme="light"] .page-title,
html[data-theme="light"] .page-subtitle { color: #0f172a; }

/* ==================================================
   Light Mode — Inline style overrides for
   domains_for_sale.php hardcoded color:#fff
   ================================================== */

/* Marketplace card headings (h3 with inline color:#fff) */
html[data-theme="light"] .marketplace-card h3 {
    color: #0f172a !important;
}
html[data-theme="light"] .marketplace-card .status-tag {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #334155 !important;
}
html[data-theme="light"] .marketplace-card .mkt-icon-badge {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* domains-for-sale page intro h1 (inline color:#fff) */
html[data-theme="light"] .domains-for-sale-page .page-intro h1,
html[data-theme="light"] .domains-for-sale-page .glow-text {
    color: #0f172a !important;
    text-shadow: none !important;
}
html[data-theme="light"] .domains-for-sale-page .text-muted {
    color: #475569 !important;
}

/* Section headers inside domains-for-sale page */
html[data-theme="light"] .domains-for-sale-page h2,
html[data-theme="light"] .domains-for-sale-page h3 {
    color: #0f172a !important;
}

/* Glass panel inline-styled headings (color:#fff hardcoded) */
html[data-theme="light"] .glass-panel h1[style*="color"],
html[data-theme="light"] .glass-panel h2[style*="color"],
html[data-theme="light"] .glass-panel h3[style*="color"],
html[data-theme="light"] .glass-panel h4[style*="color"] {
    color: #0f172a !important;
}
html[data-theme="light"] .glass-panel p[style*="color: #"],
html[data-theme="light"] .glass-panel p[style*="color:#"] {
    color: #475569 !important;
}

/* API docs / integrations page headings */
html[data-theme="light"] .api-section h2,
html[data-theme="light"] .api-section h3,
html[data-theme="light"] .integrations-page h2,
html[data-theme="light"] .integrations-page h3 {
    color: #0f172a;
}

/* User dashboard activity log + content cards */
html[data-theme="light"] .content-list-card h3 { color: #0f172a; }
html[data-theme="light"] .activity-log-card h3  { color: #0f172a; }
html[data-theme="light"] .activity-log-card p   { color: #64748b; }

/* Admin panel section headers */
html[data-theme="light"] .admin-section h3,
html[data-theme="light"] .admin-section h4 { color: #0f172a; }

/* Trending table domain name cells (explicitly color:#fff inline) */
html[data-theme="light"] td[style*="color: #fff"],
html[data-theme="light"] td[style*="color:#fff"],
html[data-theme="light"] td[style*="color: #ffffff"],
html[data-theme="light"] td[style*="color:#ffffff"] {
    color: #0f172a !important;
}
html[data-theme="light"] a[style*="color: inherit"] {
    color: #0f172a !important;
}

/* Marketplace badge tag — adaptive to theme */
.mkt-badge-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
html[data-theme="light"] .mkt-badge-tag {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #334155;
}
html[data-theme="light"] .mkt-icon-badge {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}
