/* ═══════════════════════════════════════════════
   WeLoveLotto.in — Global Stylesheet
   ═══════════════════════════════════════════════ */

:root {
    --saffron: #FF6B00;
    --saffron-light: #FF8A33;
    --deep-green: #046A38;
    --green-light: #0A8C4A;
    --navy: #0C1B33;
    --navy-mid: #162544;
    --navy-light: #1E3158;
    --gold: #FFD700;
    --gold-soft: #FFECB3;
    --white-warm: #FFF9F0;
    --purple-accent: #7B2D8E;
    --red-hot: #E53935;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--navy);
    color: #fff;
    overflow-x: hidden;
}

/* ─── NAVBAR ─── */
.navbar-main {
    background: rgba(12, 27, 51, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 0, 0.15);
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar-brand-logo {
    height: 22px;
    width: auto;
}
.nav-link-custom {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    transition: color 0.2s;
    text-decoration: none;
}
.nav-link-custom:hover, .nav-link-custom.active { color: var(--gold); }

/* ─── HERO ─── */
.hero-section {
    position: relative;
    padding: 3.5rem 0 3rem;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(4, 106, 56, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.25);
    color: var(--saffron-light);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    animation: fadeSlideDown 0.6s ease-out;
}
.hero-tag .pulse-dot {
    width: 6px; height: 6px;
    background: var(--saffron);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}
.hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    animation: fadeSlideDown 0.6s ease-out 0.1s both;
}
.hero-title .highlight-saffron { color: var(--saffron); }
.hero-title .highlight-green { color: #2ECC71; }
.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
    max-width: 520px;
    line-height: 1.6;
    animation: fadeSlideDown 0.6s ease-out 0.2s both;
}
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── JACKPOT TICKER ─── */
.jackpot-ticker {
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    animation: fadeSlideDown 0.6s ease-out 0.3s both;
}
.ticker-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.ticker-amount {
    font-family: 'DM Serif Display', serif;
    font-size: 2.6rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.15rem;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.2);
}
.ticker-game {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}
.ticker-divider {
    width: 1px;
    background: rgba(255,255,255,0.1);
    align-self: stretch;
    margin: 0 0.5rem;
}

/* ─── SECTION STYLES ─── */
.section-heading {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}
.section-sub {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

/* ─── PAGE HEADER (internal pages) ─── */
.page-header {
    padding: 2.5rem 0 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 2rem;
}
.page-header h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}
.page-header .lead {
    color: rgba(255,255,255,0.55);
    font-size: 0.95rem;
}
.breadcrumb-custom {
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
}
.breadcrumb-custom a {
    color: var(--saffron-light);
    text-decoration: none;
}
.breadcrumb-custom a:hover { color: var(--gold); }
.breadcrumb-custom span { color: rgba(255,255,255,0.4); }

/* ─── RESULT CARDS ─── */
.result-card {
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.result-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 14px 14px 0 0;
}
.result-card.kerala::before { background: linear-gradient(90deg, var(--saffron), var(--gold)); }
.result-card.nagaland::before { background: linear-gradient(90deg, #E53935, #FF7043); }
.result-card.punjab::before { background: linear-gradient(90deg, var(--deep-green), #2ECC71); }
.result-card.lotto-india::before { background: linear-gradient(90deg, var(--purple-accent), #AB47BC); }
.result-card.powerball::before { background: linear-gradient(90deg, #1565C0, #42A5F5); }
.result-card.mega::before { background: linear-gradient(90deg, #FFD700, #FFA000); }
.result-card.sikkim::before { background: linear-gradient(90deg, #00897B, #4DB6AC); }
.result-card.goa::before { background: linear-gradient(90deg, #F4511E, #FF8A65); }
.result-card.westbengal::before { background: linear-gradient(90deg, #5C6BC0, #9FA8DA); }
.result-card.euromillions::before { background: linear-gradient(90deg, #1565C0, #7B2D8E); }
.result-card.uklotto::before { background: linear-gradient(90deg, #1565C0, #0A8C4A); }

.result-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}
.result-name {
    font-weight: 700;
    font-size: 0.9rem;
}
.result-date {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
}
.result-badge {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
}
.badge-state { background: rgba(4, 106, 56, 0.2); color: #2ECC71; }
.badge-national { background: rgba(123, 45, 142, 0.2); color: #CE93D8; }
.badge-international { background: rgba(21, 101, 192, 0.2); color: #64B5F6; }

.result-balls {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-bottom: 0.7rem;
}
.ball {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
}
.ball.saffron { background: var(--saffron); color: #fff; border-color: var(--saffron); }
.ball.green { background: var(--deep-green); color: #fff; border-color: var(--deep-green); }
.ball.gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.ball.red { background: var(--red-hot); color: #fff; border-color: var(--red-hot); }
.ball.purple { background: var(--purple-accent); color: #fff; border-color: var(--purple-accent); }
.ball.blue { background: #1565C0; color: #fff; border-color: #1565C0; }

.result-prize {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
}
.result-prize strong {
    color: var(--gold);
    font-size: 0.85rem;
}
.result-link {
    font-size: 0.75rem;
    color: var(--saffron-light);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    transition: gap 0.2s;
}
.result-link:hover { color: var(--gold); gap: 0.45rem; }

/* ─── STATE LOTTERIES GRID ─── */
.states-section {
    padding: 2.5rem 0;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.state-card {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 1.1rem;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: all 0.25s ease;
}
.state-card:hover {
    transform: translateY(-2px);
    border-color: var(--saffron);
    color: #fff;
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.1);
}
.state-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.state-card .state-name { font-weight: 600; font-size: 0.85rem; }
.state-card .state-draws {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
}

/* ─── PLAY INTERNATIONAL ─── */
.intl-section { padding: 2.5rem 0; }
.intl-card {
    background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}
.intl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0,0,0,0.3);
}
.intl-jackpot {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin: 0.5rem 0 0.15rem;
}
.intl-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.15rem;
}
.intl-converted {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
}
.intl-draw-day {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.06);
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    margin-top: 0.7rem;
}
.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--saffron);
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 0.8rem;
    transition: all 0.2s;
    border: none;
}
.btn-play:hover {
    background: var(--saffron-light);
    color: #fff;
    transform: scale(1.03);
}
.btn-play-green { background: var(--deep-green); }
.btn-play-green:hover { background: var(--green-light); }

/* ─── BUMPER DRAWS ─── */
.bumper-section { padding: 2.5rem 0; }
.bumper-banner {
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1250 50%, #1a0a2e 100%);
    border: 1px solid rgba(123, 45, 142, 0.3);
    border-radius: 18px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.bumper-banner::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.bumper-tag {
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 0.7rem;
}
.bumper-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
}
.bumper-prize {
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    color: var(--gold);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
}
.bumper-meta {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.3rem;
}
.countdown-box {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}
.cd-unit {
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    text-align: center;
    min-width: 58px;
}
.cd-num {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--gold);
    line-height: 1;
}
.cd-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    margin-top: 0.15rem;
}

/* ─── TOOLS / FEATURES ─── */
.tools-section {
    padding: 2.5rem 0;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.tool-card {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 1.4rem;
    height: 100%;
    transition: all 0.25s ease;
}
.tool-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}
.tool-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}
.tool-card h5 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}
.tool-card p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    margin: 0;
}

/* ─── CONTENT PANELS ─── */
.content-panel {
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.content-panel h2, .content-panel h3 {
    font-family: 'DM Serif Display', serif;
    margin-bottom: 0.8rem;
}
.content-panel h2 { font-size: 1.4rem; }
.content-panel h3 { font-size: 1.15rem; }
.content-panel p, .content-panel li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}
.content-panel ul { padding-left: 1.2rem; }
.content-panel a { color: var(--saffron-light); }
.content-panel a:hover { color: var(--gold); }

/* ─── SIDEBAR ─── */
.sidebar-card {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.sidebar-card h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

/* ─── SEO CONTENT ─── */
.seo-section { padding: 2.5rem 0; }
.seo-block {
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 2rem;
}
.seo-block h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}
.seo-block p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

/* ─── FOOTER ─── */
.footer-main {
    background: var(--navy-mid);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 2.5rem 0 1.5rem;
}
.footer-brand {
    margin-bottom: 0.4rem;
}
.footer-brand img { height: 28px; width: auto; }
.footer-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
    max-width: 320px;
}
.footer-heading {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.8rem;
}
.footer-link {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    padding: 0.18rem 0;
    transition: color 0.2s;
}
.footer-link:hover { color: var(--saffron-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.2rem;
    margin-top: 2rem;
}
.footer-legal {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    line-height: 1.6;
}
.lang-switcher {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.lang-switcher a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}
.lang-switcher a:hover, .lang-switcher a.active { color: var(--saffron-light); }

/* ─── LUCKY NUMBER GENERATOR ─── */
.lucky-generator {
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1250 50%, #1a0a2e 100%);
    border: 1px solid rgba(123, 45, 142, 0.3);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
}
.lucky-balls {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}
.lucky-ball {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--saffron), var(--gold));
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
    transition: transform 0.3s;
}
.lucky-ball:hover { transform: scale(1.15) rotate(5deg); }
.lucky-ball.bonus {
    background: linear-gradient(135deg, var(--purple-accent), #CE93D8);
    color: #fff;
    box-shadow: 0 4px 20px rgba(123, 45, 142, 0.3);
}

/* ─── TAX CALCULATOR ─── */
.calc-input {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    transition: border-color 0.2s;
}
.calc-input:focus {
    outline: none;
    border-color: var(--saffron);
}
.calc-input::placeholder { color: rgba(255,255,255,0.3); }
.calc-result-box {
    background: linear-gradient(135deg, var(--navy-light), rgba(4, 106, 56, 0.15));
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 14px;
    padding: 1.25rem;
    margin-top: 1rem;
}
.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.calc-row:last-child { border-bottom: none; }
.calc-row .label { color: rgba(255,255,255,0.5); }
.calc-row .value { font-weight: 600; }
.calc-row.total .value {
    color: var(--gold);
    font-size: 1.1rem;
}

/* ─── RESULTS FILTER ─── */
.filter-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.filter-btn {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--saffron);
    color: #fff;
    border-color: var(--saffron);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 767px) {
    .hero-title { font-size: 2.2rem; }
    .ticker-amount { font-size: 1.6rem; }
    .bumper-prize { font-size: 1.6rem; }
    .intl-jackpot { font-size: 1.4rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .page-header h1 { font-size: 1.8rem; }
}

/* ─── ANIMATIONS ON SCROLL ─── */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
