/* =========================
   RESET + GLOBAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #0b1020;
    --bg-secondary: #111827;
    --bg-card: rgba(255, 255, 255, 0.08);
    --bg-card-strong: rgba(255, 255, 255, 0.12);
    --text-main: #f8fafc;
    --text-soft: #cbd5e1;
    --text-muted: #94a3b8;

    --primary: #4f46e5;
    --primary-2: #7c3aed;
    --secondary: #06b6d4;
    --accent: #ec4899;
    --accent-2: #f43f5e;

    --success: #10b981;
    --warning: #f59e0b;

    --border-light: rgba(255, 255, 255, 0.12);
    --border-strong: rgba(255, 255, 255, 0.18);

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
    --shadow-medium: 0 18px 45px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 25px rgba(124, 58, 237, 0.25);
    --shadow-pink: 0 0 30px rgba(236, 72, 153, 0.18);

    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;

    --transition: all 0.35s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.18), transparent 28%),
        radial-gradient(circle at top left, rgba(6, 182, 212, 0.12), transparent 30%),
        linear-gradient(135deg, #070b17, #0b1020 35%, #111827 100%);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font-family: inherit;
}

/* =========================
   HERO / FIRST BLOCK
========================= */
.first-block {
    min-height: 760px;
    width: 100%;
    border-bottom-left-radius: 70px;
    border-bottom-right-radius: 70px;
    background:
        linear-gradient(135deg, rgba(79, 70, 229, 0.88), rgba(124, 58, 237, 0.88), rgba(6, 182, 212, 0.72)),
        url("banner-bg.jpg") center/cover no-repeat;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    box-shadow: inset 0 -60px 100px rgba(0, 0, 0, 0.18);
}

.first-block::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    top: 80px;
    right: -80px;
    background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 65%);
    filter: blur(10px);
    pointer-events: none;
}

.first-block::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    bottom: 80px;
    left: -60px;
    background: radial-gradient(circle, rgba(236,72,153,0.18), transparent 65%);
    filter: blur(12px);
    pointer-events: none;
}

/* =========================
   NAVBAR
========================= */
.nav {
    color: #ffffff;
    padding: 12px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed !important;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 15, 30, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1000;
    width: calc(100% - 24px);
    max-width: 1450px;
    min-height: 78px;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.first-block .logo-img img {
    height: 58px;
    width: 58px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.first-block .nav .logo {
    font-size: 32px;
    font-weight: 800;
    margin-left: 12px;
    letter-spacing: 0.8px;
    background: linear-gradient(135deg, #ffffff, #c4b5fd, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.first-block .nav .name {
    display: flex;
    align-items: center;
}

.nav .nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nav .nav-links a {
    color: #e2e8f0;
    font-weight: 600;
    transition: var(--transition);
    font-size: 16px;
    padding: 10px 14px;
    border-radius: 12px;
    position: relative;
}

.nav .nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.nav .nav-links input {
    width: 170px;
    height: 42px;
    border-radius: 14px;
    margin-left: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0 14px;
    outline: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
    transition: var(--transition);
}

.nav .nav-links input::placeholder {
    color: #cbd5e1;
}

.nav .nav-links input:focus {
    border-color: rgba(103, 232, 249, 0.5);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
    background: rgba(255,255,255,0.12);
}

.nav .nav-links button,
#logoutBtn,
#loginBtn {
    height: 44px;
    border-radius: 14px;
    width: 112px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 6px;
    box-shadow: 0 10px 22px rgba(236, 72, 153, 0.28);
}

.nav .nav-links button:hover,
#logoutBtn:hover,
#loginBtn:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(135deg, #f472b6, #e11d48);
    box-shadow: 0 14px 28px rgba(236, 72, 153, 0.35);
}

#userWelcome {
    background: rgba(255, 255, 255, 0.08);
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 14px;
    white-space: nowrap;
    color: #e2e8f0;
    border: 1px solid rgba(255,255,255,0.08);
}

/* =========================
   HERO CONTENT
========================= */
.first-block h2 {
    margin-left: 40px;
    font-size: 52px;
    color: white;
    margin-top: 50px;
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1.15;
    text-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.first-block .content {
    color: #ffffff;
    font-size: 24px;
    font-weight: 500;
    margin: 35px 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.first-block .content p {
    width: 100%;
    max-width: 620px;
    line-height: 1.8;
    font-size: 20px;
    color: #eef6ff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 24px;
    border-radius: 22px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.first-block .content .content-img img {
    height: 340px;
    width: auto;
    margin-right: 20px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35), var(--shadow-pink);
    transition: var(--transition);
}

.first-block .content .content-img img:hover {
    transform: translateY(-8px) scale(1.02);
}

/* =========================
   SEARCH BAR (if used later)
========================= */
.first-block .search-input {
    margin: 35px;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    height: 60px;
    display: inline-flex;
    align-items: center;
    position: absolute;
    left: 4%;
    top: 60%;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow-medium);
}

.first-block .search-input input {
    height: 60px;
    width: 280px;
    margin: 0;
    border-radius: 0;
    border: none;
    outline: none;
    padding: 0 20px;
    font-size: 15px;
    background: transparent;
    color: white;
}

.first-block .search-input input::placeholder {
    color: #dbeafe;
}

.first-block .search-input button {
    height: 60px;
    width: 135px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: none;
    color: white;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
}

.first-block .search-input button:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

/* =========================
   OPTIONS / QUICK ACCESS
========================= */
.container2 {
    margin-top: -110px;
    position: relative;
    z-index: 5;
    padding: 0 10px;
}

.container2 .row2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0 20px;
}

.container2 .item {
    padding: 30px 22px;
    width: 260px;
    min-height: 240px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 28px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.10);
    position: relative;
    overflow: hidden;
}

.container2 .item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), transparent 45%);
    pointer-events: none;
}

.container2 .item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-medium), var(--shadow-glow);
    border-color: rgba(124, 58, 237, 0.25);
}

.options .item .images {
    width: 95px;
    height: 95px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.35);
}

.options .item:hover .images {
    background: linear-gradient(135deg, var(--accent), var(--primary-2));
    transform: scale(1.08) rotate(3deg);
}

.options .item .images img {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    object-fit: cover;
}

.options .item h4 {
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 22px;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.options a {
    text-decoration: none;
}

/* =========================
   FEATURES SECTION
========================= */
.features {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.03));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    min-height: auto;
    border-radius: 40px;
    margin: 70px 20px 0;
    padding: 45px 20px 75px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-soft);
}

.feature-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
    padding: 0 15px;
}

.features .features-container .feature-heading h1 {
    color: #ffffff;
    font-weight: 900;
    font-size: 38px;
    margin: 0;
    letter-spacing: 0.3px;
}

.feature-heading button {
    height: 50px;
    width: 135px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    transition: var(--transition);
    border-radius: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(236, 72, 153, 0.28);
}

.feature-heading button:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: translateY(-3px);
}

.features .features-container .row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin: 10px 10px 0;
}

.features .features-container .row .col {
    width: 230px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 24px;
    padding: 14px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.10);
    position: relative;
    overflow: hidden;
}

.features .features-container .row .col::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.04), transparent 50%);
    pointer-events: none;
}

.features .features-container .row .col:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-medium), var(--shadow-pink);
    border-color: rgba(236, 72, 153, 0.22);
}

.features .features-container .row .col img {
    height: 180px;
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    transition: var(--transition);
}

.features .features-container .row .col:hover img {
    transform: scale(1.04);
}

.features .features-container .row .col .feature {
    text-align: center;
    margin-top: 16px;
}

.features .features-container .row .col .feature a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

.features .features-container .row .col .feature button {
    margin-top: 12px;
    height: 44px;
    width: 145px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    font-weight: 800;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.25);
}

.features .features-container .row .col .feature button:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    transform: translateY(-2px);
}

/* =========================
   FOOTER
========================= */
footer {
    margin-top: 80px;
    background:
        linear-gradient(135deg, rgba(79, 70, 229, 0.95), rgba(124, 58, 237, 0.95), rgba(6, 182, 212, 0.85)),
        url("footer-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 130px;
    border-radius: 70px 70px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.18);
}

footer p {
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    opacity: 0.95;
}

/* =========================
   PREMIUM SCROLLBAR
========================= */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 999px;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 1200px) {
    .first-block .content {
        justify-content: center;
        text-align: center;
    }

    .first-block .content p {
        max-width: 100%;
    }

    .first-block .content .content-img img {
        margin-right: 0;
        height: 300px;
    }

    .first-block h2 {
        text-align: center;
        margin-left: 0;
        font-size: 46px;
    }

    .first-block .search-input {
        position: static;
        margin: 30px auto 0;
        display: flex;
    }
}

@media (max-width: 992px) {
    .nav {
        padding: 12px 20px;
        flex-wrap: wrap;
        gap: 10px;
        top: 8px;
        width: calc(100% - 16px);
    }

    .nav .nav-links {
        justify-content: center;
        width: 100%;
        gap: 10px;
        margin-top: 6px;
    }

    .first-block {
        min-height: auto;
        padding-bottom: 70px;
        border-bottom-left-radius: 45px;
        border-bottom-right-radius: 45px;
    }

    .first-block h2 {
        font-size: 40px;
        margin-top: 60px;
    }

    .first-block .content {
        margin-top: 25px;
    }

    .container2 {
        margin-top: -60px;
    }
}

@media (max-width: 768px) {
    .first-block {
        border-bottom-left-radius: 32px;
        border-bottom-right-radius: 32px;
        padding-top: 130px;
    }

    .first-block .nav .logo {
        font-size: 26px;
    }

    .first-block .logo-img img {
        height: 50px;
        width: 50px;
    }

    .nav .nav-links a {
        font-size: 14px;
        margin-left: 0;
        padding: 8px 10px;
    }

    .nav .nav-links button,
    #logoutBtn,
    #loginBtn {
        width: 95px;
        height: 38px;
        font-size: 14px;
    }

    .nav .nav-links input {
        width: 140px;
        height: 38px;
    }

    .first-block h2 {
        font-size: 32px;
        margin-top: 25px;
    }

    .first-block .content {
        font-size: 18px;
        margin: 25px 20px 0;
    }

    .first-block .content p {
        font-size: 16px;
        line-height: 1.7;
        padding: 18px;
    }

    .first-block .content .content-img img {
        height: 220px;
    }

    .first-block .search-input {
        width: calc(100% - 30px);
        max-width: 420px;
        height: 54px;
    }

    .first-block .search-input input {
        width: 100%;
        height: 54px;
    }

    .first-block .search-input button {
        width: 120px;
        height: 54px;
    }

    .container2 .item {
        width: 100%;
        max-width: 320px;
    }

    .features {
        border-radius: 28px;
        margin: 40px 10px 0;
        padding: 30px 12px 50px;
    }

    .features .features-container .feature-heading h1 {
        font-size: 28px;
    }

    .features .features-container .row .col {
        width: 100%;
        max-width: 300px;
    }

    footer {
        border-radius: 36px 36px 0 0;
        margin-top: 50px;
    }
}

@media (max-width: 480px) {
    .nav {
        border-radius: 18px;
        top: 6px;
    }

    .first-block {
        padding-top: 145px;
    }

    .first-block h2 {
        font-size: 28px;
    }

    .first-block .content p {
        font-size: 15px;
    }

    .feature-heading {
        justify-content: center;
        text-align: center;
    }

    .feature-heading button {
        width: 120px;
        height: 44px;
    }

    #userWelcome {
        font-size: 12px;
        padding: 6px 10px;
    }

    .nav .nav-links {
        gap: 8px;
    }
}
/* ================= TOTAL POINTS CIRCLE ================= */
.first-block {
    position: relative;
}

.points-circle {
    position: absolute;
    top: 210px;      /* ऊपर-नीचे adjust kar sakta hai */
    left: 620px;     /* यहीं se circle wali jagah pe aayega */
    
    width: 180px;
    height: 180px;
    border-radius: 50%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 3px solid rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 0 25px rgba(255, 0, 200, 0.35),
        0 0 45px rgba(0, 170, 255, 0.25),
        inset 0 0 20px rgba(255, 255, 255, 0.08);

    z-index: 20;

    animation: floatCircle 3s ease-in-out infinite;
}

.points-circle::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 3px solid rgba(255, 215, 0, 0.35);
    animation: pulseRing 2.5s linear infinite;
}

.points-label {
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: 0.5px;
    z-index: 2;
}

.points-value {
    font-size: 42px;
    font-weight: 800;
    color: #ffd700;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.7);
    z-index: 2;
}

/* Floating animation */
@keyframes floatCircle {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Outer pulse ring */
@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.06);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
    .points-circle {
        left: 55%;
        top: 220px;
        width: 160px;
        height: 160px;
    }

    .points-value {
        font-size: 36px;
    }
}

@media (max-width: 900px) {
    .points-circle {
        position: static;
        margin: 30px auto 0 auto;
    }
}
