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

:root {
    --bg-dark: #0B0E14;
    --bg-grid: rgba(30, 41, 59, 0.3);
    --primary-blue: #3B82F6;
    --primary-glow: rgba(59, 130, 246, 0.4);
    --accent-sky: #93C5FD;
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --nav-bg: rgba(11, 14, 20, 0.8);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hidden {
    display: none !important;
}

body.light-mode {
    --bg-dark: #F8FAFC;
    --bg-grid: rgba(148, 163, 184, 0.1);
    --primary-blue: #2563EB;
    --primary-glow: rgba(37, 99, 235, 0.1);
    --accent-sky: #1D4ED8;
    --text-main: #0F172A;
    --text-muted: #475569;
    --nav-bg: rgba(248, 250, 252, 0.8);
    --card-bg: #FFFFFF;
    --card-border: rgba(0, 0, 0, 0.08);
}

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

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

/* Technical Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--bg-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

/* Background Glows */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.glow-top-right {
    top: -200px;
    right: -200px;
}

.glow-bottom-left {
    bottom: -200px;
    left: -200px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    height: 70px;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-main);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
}

.logo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-discord {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5865F2;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.theme-toggle,
.menu-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.menu-toggle {
    display: none;
}

.theme-toggle:hover,
.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border-color: var(--text-muted);
}

.btn-login {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-login:hover {
    background: #2563EB;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Hero Section */
.hero {
    padding: 6rem 0 3rem;
    text-align: center;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
}

.text-gradient {
    color: var(--accent-sky);
    display: inline;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

/* --- Enhanced Animations --- */
@keyframes revealScaleUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1) !important;
}

/* Staggered Delay Classes */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

/* FAQ Smooth Transition */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item[open] {
    background: rgba(59, 130, 246, 0.05) !important;
    border-color: var(--primary-blue) !important;
}

.faq-content {
    animation: slideDown 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    transform-origin: top;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: scaleY(0.9);
    }

    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* Feature Spotlight Effect */
.admin-card {
    position: relative;
    overflow: hidden;
}

.admin-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(59, 130, 246, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

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

.btn {
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

/* Input Bar */
.input-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.input-container input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 1rem;
    outline: none;
}

.btn-bypass {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-bypass:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-bypass:active {
    transform: translateY(0) scale(0.96);
}

/* Service Cards & Grid */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    backdrop-filter: blur(8px);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.service-type {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.type-adlink {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-sky);
}

.type-keysystem {
    background: rgba(168, 85, 247, 0.1);
    color: #C084FC;
}

.type-paste {
    background: rgba(236, 72, 153, 0.1);
    color: #F472B6;
}

.service-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-active .status-dot {
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
}

.status-inactive .status-dot {
    background: #EF4444;
}

.domain-tag {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--text-muted);
}

.domains-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* --- Premium Animation Engine --- */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(8px);
    will-change: transform, opacity, filter;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Staggered Delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

/* FAQ Physics */
.faq-item[open] .faq-content {
    animation: slideDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform-origin: top;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px) scaleY(0.9);
        max-height: 0;
    }

    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
        max-height: 1000px;
    }
}

/* Premium Spotlight Effect */
.spotlight {
    position: relative;
    overflow: hidden;
}

.spotlight::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0),
            rgba(59, 130, 246, 0.08),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.spotlight:hover::before {
    opacity: 1;
}

/* Text Shimmer Effect */
.text-shimmer {
    background: linear-gradient(90deg,
            var(--text-main) 0%,
            #ffffff 20%,
            var(--text-main) 40%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* Blog Section */
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-blue);
}

.blog-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--card-border);
}

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

.blog-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    color: var(--text-main);
    line-height: 1.3;
}

.blog-card-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Pagination */
#pagination button {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

#pagination button:hover:not(:disabled) {
    border-color: var(--primary-blue);
    color: var(--text-main);
}

#pagination button.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

#pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Post Content Styling */
.post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.post-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.post-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.post-body {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    color: var(--text-main);
    line-height: 1.8;
}

.post-body h2,
.post-body h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--accent-sky);
    margin: 2rem 0 1rem;
}

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

/* Admin Dashboard Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--nav-bg);
    border-right: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.sidebar-nav {
    padding: 1.5rem;
    flex: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 0.5rem;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.sidebar-link.active {
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.1);
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 2rem;
}

.admin-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
}

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

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.stat-value {
    font-family: 'Space Grotesk';
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
}



/* Footer Styles */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--card-border);
    margin-top: 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

.footer-links a:hover {
    color: var(--text-main);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.social-circle:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

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

/* Infographic Section */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.info-step {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    position: relative;
    transition: var(--transition);
    z-index: 2;
    backdrop-filter: blur(10px);
}

.info-step:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), #8B5CF6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk';
    font-weight: 700;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px var(--primary-glow);
    color: white;
}

.info-step h3 {
    font-family: 'Space Grotesk';
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

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

/* Connector lines (Desktop only) */
@media (min-width: 1025px) {
    .info-grid::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 15%;
        right: 15%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
        opacity: 0.3;
        z-index: 1;
    }
}

@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-step {
        padding: 2rem 1.5rem;
    }
}


@media (max-width: 768px) {
    .footer-links {
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    .admin-sidebar {
        width: 80px;
    }

    .sidebar-link span {
        display: none;
    }

    .admin-main {
        margin-left: 80px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 4rem 0 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        padding: 0 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
        border-bottom: 1px solid var(--card-border);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .menu-toggle {
        display: flex;
    }

    .input-container {
        flex-direction: column;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.05);
    }

    .btn-bypass {
        width: 100%;
        padding: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-links {
        gap: 1rem;
    }

    .logo span {
        font-size: 1.1rem;
    }

    /* FAQ padding for mobile */
    .faq-item summary {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .faq-content {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }

    /* Admin Mobile */
    .admin-sidebar {
        display: none;
    }

    .admin-main {
        margin-left: 0;
        padding: 1rem;
    }

    /* Captcha & Result Mobile */
    .h-captcha {
        transform: scale(0.85);
        transform-origin: center;
        margin: 0 auto;
    }

    #result-section {
        width: 100% !important;
        padding: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .admin-main {
        padding: 1rem;
    }
}