/* ==========================================================================
   Gurubhai's Lab (gkl-core) - Main Stylesheet
   Theme: Slate Black Header/Footer + Deep Royal Cosmic Violet Body
   ========================================================================== */

:root {
    --gkl-bg-header: #0f1117;
    --gkl-bg-footer: #0c0e14;
    --gkl-bg-cosmic-1: #0d061f;
    --gkl-bg-cosmic-2: #1b0c3f;
    --gkl-bg-card: rgba(27, 12, 63, 0.85);
    --gkl-border-gold: #d4af37;
    --gkl-glow-gold: #fbbf24;
    --gkl-coral-red: #e05638;
    --gkl-cosmic-cyan: #38bdf8;
    --gkl-text-bright: #f8fafc;
    --gkl-text-muted: #cbd5e1;
}

body.gkl-custom-body {
    background: linear-gradient(180deg, var(--gkl-bg-cosmic-1) 0%, var(--gkl-bg-cosmic-2) 50%, var(--gkl-bg-cosmic-1) 100%) !important;
    color: var(--gkl-text-bright) !important;
    font-family: 'Poppins', 'Tiro Devanagari Hindi', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Navbar Style */
.gkl-navbar {
    background: var(--gkl-bg-header);
    border-bottom: 2px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 20px;
}

.gkl-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.gkl-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.gkl-header-logo-img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
}

.gkl-brand-text {
    display: flex;
    flex-direction: column;
}

.gkl-site-title {
    color: var(--gkl-glow-gold);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.gkl-site-domain {
    color: var(--gkl-cosmic-cyan);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Category Navigation Bar */
.gkl-menu-bar {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
    list-style: none;
    margin: 0;
}

.gkl-menu-bar li a {
    color: var(--gkl-text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(22, 25, 34, 0.6);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.gkl-menu-bar li a:hover {
    color: var(--gkl-glow-gold);
    border-color: var(--gkl-glow-gold);
    background: rgba(251, 191, 36, 0.15);
}

/* Hero Section */
.gkl-hero-banner {
    text-align: center;
    padding: 40px 20px;
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.15) 0%, rgba(13, 6, 31, 0) 70%);
}

.gkl-hero-poster-wrapper {
    max-width: 850px;
    margin: 0 auto 25px;
    border: 2px solid var(--gkl-border-gold);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(251, 191, 36, 0.25);
}

.gkl-hero-poster-img {
    width: 100%;
    height: auto;
    display: block;
}

.gkl-gold-title {
    color: var(--gkl-glow-gold);
    font-size: 2.4rem;
    font-family: 'Tiro Devanagari Hindi', serif;
    text-shadow: 0 0 18px rgba(251, 191, 36, 0.4);
    margin: 10px 0;
}

.gkl-subheading-gold {
    color: #fde047;
    font-size: 1.3rem;
    font-style: italic;
}

/* Typewriter Animated Quote Box */
.gkl-typewriter-box {
    max-width: 900px;
    margin: 20px auto 30px;
    background: linear-gradient(90deg, #161922 0%, #1b0c3f 50%, #161922 100%);
    border-top: 2px solid var(--gkl-border-gold);
    border-bottom: 2px solid var(--gkl-border-gold);
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.gkl-typewriter-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gkl-glow-gold);
    font-family: 'Tiro Devanagari Hindi', serif;
    min-height: 2.2rem;
}

.gkl-typewriter-cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--gkl-glow-gold);
    margin-left: 4px;
    animation: blink 0.75s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.gkl-typewriter-sub {
    font-size: 0.85rem;
    color: var(--gkl-cosmic-cyan);
    margin-top: 6px;
    font-style: italic;
}

/* Card Containers */
.gkl-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.gkl-card-gold {
    background: var(--gkl-bg-card);
    border: 1px solid var(--gkl-border-gold);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.gkl-card-gold:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.25);
}

.gkl-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gkl-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

/* Tabs */
.gkl-tab-btn {
    background: rgba(15, 17, 23, 0.8);
    border: 1px solid var(--gkl-border-gold);
    color: var(--gkl-text-muted);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gkl-tab-btn.active, .gkl-tab-btn:hover {
    background: linear-gradient(135deg, #d4af37 0%, #e05638 100%);
    color: #ffffff;
    border-color: #fbbf24;
}

.tab-content.hidden {
    display: none;
}

/* Footer */
.gkl-footer {
    background: var(--gkl-bg-footer);
    border-top: 2px solid rgba(212, 175, 55, 0.35);
    padding: 30px 20px;
    text-align: center;
    color: var(--gkl-text-muted);
    font-size: 0.85rem;
}