/* TatkalHub - Global Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #050505;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
}

/* News Scroller */
.news-scroller {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    height: 40px;
    overflow: hidden;
    position: relative;
    z-index: 1200;
}

.news-label {
    flex-shrink: 0;
    background: #991b1b;
    padding: 0 16px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 12px;
}

.news-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.news-content marquee {
    width: 100%;
    line-height: 40px;
}

.scroll-white { color: #ffffff; }
.scroll-yellow { color: #facc15; }
.scroll-red { color: #fecaca; }

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.logo img {
    height: 40px;
    width: auto;
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    cursor: pointer;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1090;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 6px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.18s ease, color 0.18s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.nav-link i {
    font-size: 0.85em;
}

.has-submenu i {
    transition: transform 0.2s ease;
}

.nav-item:hover .has-submenu i {
    transform: rotate(180deg);
}

/* Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 10px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    z-index: 1200;
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    font-weight: 800;
    padding: 8px 12px;
}

.submenu-section-list {
    list-style: none;
}

.submenu-section-list li a {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.15s ease, color 0.15s ease;
}

.submenu-section-list li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.nav-btns {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #050505;
    font-weight: 800;
    font-size: 0.9rem;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.nav-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: inline-flex;
    }

    .nav-backdrop.active {
        display: block;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(11, 18, 32, 0.98);
        backdrop-filter: blur(16px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        padding: 80px 20px 30px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .nav-container.open {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 6px;
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.03);
        width: 100%;
        margin-top: 6px;
    }

    .nav-item.open .submenu {
        display: block;
    }

    .nav-btns {
        margin-top: 20px;
        width: 100%;
    }

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

/* Glass card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
}

.glass-card:hover {
    border-color: rgba(255, 215, 0, 0.25);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.18s ease, background 0.18s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #fff;
}

.btn-gold {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #050505;
}

/* Footer */
footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 60px;
    padding-bottom: 30px;
}

footer a {
    color: #9ca3af;
    transition: color 0.15s ease;
}

footer a:hover {
    color: #facc15;
}

/* Utility helpers */
.text-primary { color: #facc15; }
.bg-dark { background-color: #050505; }
.gradient-text {
    background: linear-gradient(to right, #38bdf8, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Smooth reveal */
.spx-fade-up {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.spx-fade-up--visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .spx-fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Form elements base */
input, select, textarea {
    font-family: inherit;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}
