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

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #16151d;
    --bg-card-hover: #1c1b26;
    --border-col: #24232e;
    --accent: #ff2d78;
    --accent-2: #7b2ff7;
    --accent-3: #26d97a;
    --text-muted: #9d9ca8;
    --radius: 16px;
}
* { box-sizing: border-box; }
body.dark-theme {
    background-color: var(--bg-dark);
    color: #f4f4f7;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; }

.text-muted,
.dark-theme .text-muted,
.dark-theme small,
.dark-theme p {
    color: #b7b6c2 !important;
}
.dark-theme small.text-muted,
.dark-theme .card-creator small {
    color: #a7a6b3 !important;
}

.text-accent { color: var(--accent); }
.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border: none;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 20px rgba(255,45,120,0.25);
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn-accent:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255,45,120,0.35);
}
.btn-outline-light { border-radius: 8px; }

.main-navbar {
    background-color: rgba(16,15,22,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-col);
    padding: 14px 0;
}
.main-navbar .navbar-brand { font-family: 'Poppins', sans-serif; font-size: 1.4rem; letter-spacing: 0.5px; }
.main-navbar .nav-link { font-weight: 500; color: #cfcfd8; transition: color .15s ease; }
.main-navbar .nav-link:hover { color: #fff; }

.site-footer {
    background-color: #0d0c13;
    border-top: 1px solid var(--border-col);
}
.site-footer a { color: var(--text-muted); text-decoration: none; transition: color .15s ease; }
.site-footer a:hover { color: var(--accent); }

/* Hero video */
.hero-video-wrap {
    position: relative;
    width: 100%;
    height: 68vh;
    min-height: 420px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0f2e, #2b0f22);
}
.hero-video-fallback-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle at 30% 30%, rgba(123,47,247,0.35), transparent 60%),
                radial-gradient(circle at 70% 70%, rgba(255,45,120,0.35), transparent 60%),
                #100f16;
}
.hero-video {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) saturate(1.1);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(10,10,15,0.25) 0%, rgba(10,10,15,0.75) 60%, rgba(10,10,15,0.98) 100%);
}
.hero-title {
    text-shadow: 0 4px 24px rgba(0,0,0,0.6);
    background: linear-gradient(135deg, #ffffff, #ffd6e8);
    -webkit-background-clip: text;
    background-clip: text;
}
.hero-subtitle { color: #d8d8e0; text-shadow: 0 2px 10px rgba(0,0,0,0.5); max-width: 640px; margin: 0 auto 1rem; }

.hero-banner {
    background: linear-gradient(135deg, rgba(123,47,247,0.22), rgba(255,45,120,0.22)), #100f16;
    border-radius: var(--radius);
    padding: 60px 40px;
}

.card-creator {
    background-color: var(--bg-card);
    border: 1px solid var(--border-col);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card-creator:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 14px 30px rgba(0,0,0,0.4);
}
.card-creator img { height: 220px; object-fit: cover; width: 100%; }
.creator-thumb-fallback {
    height: 220px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.category-thumb-fallback {
    height: 100px;
    width: 100%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
}
.blog-thumb-fallback {
    height: 180px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: rgba(255,255,255,0.6);
    background: linear-gradient(135deg, #241f33, #1a1926);
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.status-online { background-color: var(--accent-3); box-shadow: 0 0 8px rgba(38,217,122,0.6); }
.status-offline { background-color: #5c5c68; }

.category-card {
    background: linear-gradient(160deg, var(--bg-card), #1a1926);
    border-radius: var(--radius);
    border: 1px solid var(--border-col);
    padding: 22px;
    text-align: center;
    font-weight: 600;
    transition: transform .2s ease, border-color .2s ease;
}
.category-card:hover { border-color: var(--accent-2); transform: translateY(-4px); }

.section-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.3px;
    position: relative;
    padding-left: 16px;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0; top: 4px; bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.age-gate {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, rgba(123,47,247,0.22), var(--bg-dark) 65%);
}
.age-gate-card {
    background-color: var(--bg-card);
    border-radius: 24px;
    padding: 50px;
    max-width: 520px;
    text-align: center;
    border: 1px solid var(--border-col);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.form-control, .form-select {
    background-color: #1a1926;
    border: 1px solid #302e3d;
    color: #f4f4f7;
    border-radius: 10px;
    padding: 10px 14px;
}
.form-control:focus, .form-select:focus {
    background-color: #1a1926;
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(255,45,120,0.2);
}
.form-control::placeholder { color: #7a7a88; }

.job-pay-badge {
    display: inline-block;
    background: rgba(38,217,122,0.15);
    color: var(--accent-3);
    border: 1px solid rgba(38,217,122,0.4);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}
.job-card, .blog-card, .auth-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-col);
    border-radius: var(--radius);
    transition: transform .2s ease, border-color .2s ease;
}
.job-card:hover, .blog-card:hover { transform: translateY(-4px); border-color: var(--accent-2); }

/* ---- Admin ---- */
.admin-sidebar {
    background: linear-gradient(180deg, #100f16, #0a0a0f);
    border-right: 1px solid var(--border-col);
}
.admin-sidebar h5 { font-family: 'Poppins', sans-serif; }
.admin-sidebar a {
    color: #9d9ca8;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    margin-bottom: 2px;
    transition: background .15s ease, color .15s ease;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
    background: linear-gradient(135deg, rgba(255,45,120,0.18), rgba(123,47,247,0.18));
    color: #fff;
}
.admin-topbar {
    background: rgba(23,23,31,0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-col);
}
.stat-card {
    background: linear-gradient(160deg, var(--bg-card), #1a1926);
    border: 1px solid var(--border-col);
    border-radius: var(--radius);
    padding: 22px;
    transition: transform .15s ease;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card h3 { font-family: 'Poppins', sans-serif; margin-top: 6px; }
table { color: #f4f4f7; }
.table > :not(caption) > * > * { background-color: transparent; color: #f4f4f7; border-color: var(--border-col); vertical-align: middle; }
.table-hover > tbody > tr:hover > * { background-color: #1c1b26; }

/* Homepage light hero section (reference design) */
.hero-light-wrap {
    padding: 40px 0 10px;
}
.hero-light-card {
    background: linear-gradient(135deg, #fdf1f0, #f3edfb);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.hero-light-title { color: #241f3d; }
.hero-light-subtitle { color: #4a4560; font-size: 1.05rem; }
.hero-light-img { box-shadow: 0 12px 30px rgba(0,0,0,0.2); }
.hero-section-heading { color: #f4f4f7; }
.why-card {
    background: #ffffff;
    color: #241f3d;
    border-radius: 16px;
    padding: 22px 16px;
    text-align: center;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.why-card i { font-size: 1.8rem; color: var(--accent); margin-bottom: 10px; display: block; }
.why-card h6 { font-weight: 700; margin-bottom: 6px; }
.why-card p { color: #6a6580; }
.testimonial-card {
    background: #ffffff;
    color: #241f3d;
    border-radius: 20px;
    padding: 36px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* ===== Premium homepage polish ===== */
.hero-light-wrap { padding: 50px 0 20px; }
.hero-light-card {
    background: linear-gradient(135deg, #fdf1f0 0%, #f6eef8 50%, #eef1fb 100%);
    border-radius: 32px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.4);
    position: relative;
    overflow: hidden;
}
.hero-light-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(255,45,120,0.18), transparent 70%);
    border-radius: 50%;
}
.hero-light-title {
    color: #1c1830;
    letter-spacing: -1px;
    line-height: 1.15;
}
.hero-light-subtitle { color: #55506b; font-size: 1.1rem; line-height: 1.6; }
.hero-light-img {
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
    transition: transform .3s ease;
}
.hero-light-card:hover .hero-light-img { transform: scale(1.02); }

.hero-section-heading {
    color: #f4f4f7;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.why-card {
    background: linear-gradient(180deg, #ffffff, #fbfaff);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 18px;
    padding: 28px 18px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(123,47,247,0.18);
}
.why-card i {
    font-size: 1.6rem;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.why-card h6 { font-weight: 700; font-size: 1rem; }
.why-card p { color: #7c7893; font-size: 0.88rem; }

.testimonial-card {
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.3);
    position: relative;
}
.testimonial-card i.bi-quote {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.job-card {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.job-card:hover {
    box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}
