/* ==========================================
            GOOGLE FONT & RESET
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

:root{

    --bg:#050816;
    --bg2:#0f172a;
    --card:rgba(255,255,255,.06);
    --border:rgba(255,255,255,.12);

    --primary:#38bdf8;
    --secondary:#7c3aed;
    --accent:#22d3ee;

    --text:#f8fafc;
    --text2:#cbd5e1;
    --muted:#94a3b8;

    --shadow:
    0 15px 35px rgba(0,0,0,.35);

    --radius:22px;

}

body{

    background:
    radial-gradient(circle at top left,#1e3a8a20,transparent 35%),
    radial-gradient(circle at bottom right,#7c3aed20,transparent 35%),
    linear-gradient(135deg,#050816,#0f172a);

    color:var(--text);

    min-height:100vh;

    overflow-x:hidden;

}



/* ==========================================
            CUSTOM SCROLLBAR
========================================== */

::-webkit-scrollbar{

    width:12px;

}

::-webkit-scrollbar-track{

    background:#08101f;

}

::-webkit-scrollbar-thumb{

    background:
    linear-gradient(
        var(--primary),
        var(--secondary)
    );

    border-radius:50px;

}



/* ==========================================
        FLOATING BACKGROUND EFFECT
========================================== */

body::before{

    content:"";

    position:fixed;

    width:420px;
    height:420px;

    border-radius:50%;

    background:#38bdf825;

    filter:blur(120px);

    top:-150px;
    left:-150px;

    z-index:-2;

}

body::after{

    content:"";

    position:fixed;

    width:380px;
    height:380px;

    border-radius:50%;

    background:#7c3aed22;

    filter:blur(120px);

    bottom:-120px;
    right:-120px;

    z-index:-2;

}



/* ==========================================
                NAVBAR
========================================== */

header{

    position:sticky;

    top:0;

    z-index:999;

    backdrop-filter:blur(18px);

    background:rgba(5,8,22,.75);

    border-bottom:1px solid var(--border);

}



.navbar{

    width:90%;

    max-width:1300px;

    margin:auto;

    padding:18px 0;

    display:flex;

    justify-content:space-between;

    align-items:center;

}



.logo{

    font-size:2rem;

    font-weight:700;

    background:

    linear-gradient(
        90deg,
        var(--primary),
        var(--accent),
        white
    );

    -webkit-background-clip:text;

    color:transparent;

    letter-spacing:1px;

}



.nav-links{

    display:flex;

    gap:35px;

    list-style:none;

}



.nav-links a{

    color:var(--text2);

    text-decoration:none;

    font-weight:500;

    transition:.35s;

    position:relative;

}



.nav-links a::after{

    content:"";

    position:absolute;

    width:0;

    height:2px;

    left:0;

    bottom:-6px;

    background:var(--primary);

    transition:.35s;

}



.nav-links a:hover{

    color:white;

}



.nav-links a:hover::after{

    width:100%;

}



/* ==========================================
                HERO
========================================== */

.hero{

    width:90%;

    max-width:1250px;

    margin:70px auto;

}



.hero-content{

    background:var(--card);

    border:1px solid var(--border);

    backdrop-filter:blur(18px);

    border-radius:30px;

    padding:70px;

    text-align:center;

    box-shadow:var(--shadow);

    position:relative;

    overflow:hidden;

}



.hero-content::before{

    content:"";

    position:absolute;

    width:500px;
    height:500px;

    background:#38bdf815;

    border-radius:50%;

    top:-220px;
    right:-180px;

}



.hero-content::after{

    content:"";

    position:absolute;

    width:350px;
    height:350px;

    background:#7c3aed18;

    border-radius:50%;

    bottom:-180px;
    left:-120px;

}



.hero h1{

    position:relative;

    z-index:2;

    font-size:4rem;

    margin-bottom:25px;

    background:

    linear-gradient(
        90deg,
        white,
        var(--primary),
        var(--accent)
    );

    -webkit-background-clip:text;

    color:transparent;

}



.hero p{

    position:relative;

    z-index:2;

    max-width:900px;

    margin:auto;

    color:var(--text2);

    line-height:2;

    font-size:1.05rem;

}



/* ==========================================
            PROJECT INFO
========================================== */

.project-info{

    width:90%;

    max-width:1250px;

    margin:80px auto;

}



.project-info h2{

    font-size:2.3rem;

    margin-bottom:45px;

    text-align:center;

}



.info-container{

    display:grid;

    grid-template-columns:

    repeat(auto-fit,minmax(240px,1fr));

    gap:30px;

}



.info-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:22px;

    padding:35px;

    text-align:center;

    backdrop-filter:blur(18px);

    transition:.35s;

    box-shadow:var(--shadow);

}



.info-card:hover{

    transform:

    translateY(-12px);

    border-color:var(--primary);

}



.info-card h3{

    color:var(--primary);

    margin-bottom:18px;

    font-size:1.3rem;

}



.info-card p{

    color:var(--text2);

}



/* ==========================================
          TABLE OF CONTENTS
========================================== */

.contents{

    width:90%;

    max-width:1250px;

    margin:90px auto;

}



.contents h2{

    text-align:center;

    font-size:2.3rem;

    margin-bottom:45px;

}



.content-list{

    display:grid;

    grid-template-columns:

    repeat(auto-fit,minmax(280px,1fr));

    gap:28px;

}



.content-card{

    background:var(--card);

    border:1px solid var(--border);

    backdrop-filter:blur(16px);

    border-radius:22px;

    padding:30px;

    transition:.35s;

    box-shadow:var(--shadow);

}



.content-card:hover{

    transform:translateY(-10px);

    border-color:var(--accent);

}



.content-card span{

    width:60px;

    height:60px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    margin-bottom:22px;

    font-weight:700;

    color:white;

    background:

    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

}



.content-card h3{

    margin-bottom:15px;

    color:white;

}



.content-card p{

    color:var(--muted);

    line-height:1.8;

}
/* ==========================================
            SECTION DEFAULTS
========================================== */

section{

    width:90%;

    max-width:1250px;

    margin:90px auto;

}


section h2{

    text-align:center;

    font-size:2.5rem;

    margin-bottom:45px;

    background:
    linear-gradient(
        90deg,
        #ffffff,
        var(--primary)
    );

    -webkit-background-clip:text;

    color:transparent;

}


section>p{

    max-width:950px;

    margin:0 auto 45px;

    text-align:center;

    color:var(--text2);

    line-height:2;

}



/* ==========================================
            OVERVIEW
========================================== */

.overview{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:30px;

    padding:60px;

    backdrop-filter:blur(20px);

    box-shadow:var(--shadow);

}


.overview p{

    color:var(--text2);

    line-height:2;

    margin-bottom:25px;

    font-size:1.02rem;

}



/* ==========================================
          TECHNOLOGIES USED
========================================== */

.tech-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}


.tech-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:24px;

    padding:35px;

    backdrop-filter:blur(18px);

    transition:.35s;

    box-shadow:var(--shadow);

    position:relative;

    overflow:hidden;

}


.tech-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        135deg,
        transparent,
        rgba(255,255,255,.05)
    );

    opacity:0;

    transition:.35s;

}


.tech-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

}


.tech-card:hover::before{

    opacity:1;

}


.tech-card h3{

    color:var(--primary);

    margin-bottom:18px;

    font-size:1.4rem;

}


.tech-card p{

    color:var(--text2);

    line-height:1.9;

}



/* ==========================================
            FEATURES
========================================== */

.feature-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:28px;

}


.feature-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:24px;

    padding:35px;

    transition:.35s;

    backdrop-filter:blur(16px);

    box-shadow:var(--shadow);

}


.feature-card:hover{

    transform:
    translateY(-12px)
    scale(1.02);

    border-color:var(--accent);

}


.feature-card h3{

    color:var(--primary);

    margin-bottom:18px;

    font-size:1.3rem;

}


.feature-card p{

    color:var(--text2);

    line-height:1.9;

}



/* ==========================================
            WEBSITE WORKFLOW
========================================== */

.workflow-box{

    background:#08111f;

    border:1px solid var(--border);

    border-radius:24px;

    padding:40px;

    overflow:auto;

    box-shadow:var(--shadow);

}


.workflow-box pre{

    color:#67e8f9;

    font-size:1rem;

    line-height:2.1;

    white-space:pre-wrap;

}



/* ==========================================
             WEBSITE PAGES
========================================== */

.page-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:28px;

}


.page-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:22px;

    padding:35px;

    backdrop-filter:blur(16px);

    transition:.35s;

    box-shadow:var(--shadow);

}


.page-card:hover{

    transform:translateY(-10px);

    border-color:var(--secondary);

}


.page-card h3{

    color:var(--primary);

    margin-bottom:18px;

}


.page-card p{

    color:var(--text2);

    line-height:1.9;

}



/* ==========================================
        QUIZ CREATION PROCESS
========================================== */

.process{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}


.step{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:24px;

    padding:35px;

    text-align:center;

    backdrop-filter:blur(18px);

    transition:.35s;

    box-shadow:var(--shadow);

}


.step:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

}


.step span{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:65px;

    height:65px;

    border-radius:50%;

    margin-bottom:20px;

    font-weight:700;

    color:white;

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

}


.step h3{

    color:white;

    margin-bottom:15px;

}


.step p{

    color:var(--text2);

    line-height:1.8;

}



/* ==========================================
        QUIZ PLAYING PROCESS
========================================== */

.play-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}


.play-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:24px;

    padding:35px;

    backdrop-filter:blur(18px);

    transition:.35s;

    box-shadow:var(--shadow);

}


.play-card:hover{

    transform:translateY(-10px);

    border-color:var(--accent);

}


.play-card h3{

    color:var(--primary);

    margin-bottom:18px;

    font-size:1.3rem;

}


.play-card p{

    color:var(--text2);

    line-height:1.9;

}
/* ==========================================
            SCORING SYSTEM
========================================== */

.score-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}


.score-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:24px;

    padding:35px;

    backdrop-filter:blur(18px);

    box-shadow:var(--shadow);

    transition:.35s;

}


.score-card:hover{

    transform:translateY(-10px);

    border-color:#22d3ee;

}


.score-card h3{

    color:var(--primary);

    margin-bottom:18px;

}


.score-card p{

    color:var(--text2);

    line-height:1.9;

}



/* ==========================================
        RESULT REVIEW SYSTEM
========================================== */

.review-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:28px;

}


.review-item{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:22px;

    padding:32px;

    backdrop-filter:blur(18px);

    transition:.35s;

    box-shadow:var(--shadow);

}


.review-item:hover{

    transform:translateY(-10px);

    border-color:#4ade80;

}


.review-item h3{

    color:var(--primary);

    margin-bottom:15px;

}


.review-item p{

    color:var(--text2);

    line-height:1.8;

}



/* ==========================================
          QUIZ DATA STRUCTURE
========================================== */

.data-structure{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:28px;

    padding:55px;

    backdrop-filter:blur(18px);

    box-shadow:var(--shadow);

}


.data-structure p{

    color:var(--text2);

    line-height:2;

    margin-bottom:30px;

}


.data-structure pre{

    background:#08111f;

    color:#67e8f9;

    padding:35px;

    border-radius:18px;

    overflow:auto;

    font-size:1rem;

    line-height:2;

    border-left:5px solid var(--primary);

}



/* ==========================================
         JAVASCRIPT MODULES
========================================== */

.module-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(270px,1fr));

    gap:30px;

}


.module-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:24px;

    padding:35px;

    backdrop-filter:blur(18px);

    transition:.35s;

    box-shadow:var(--shadow);

}


.module-card:hover{

    transform:
    translateY(-10px)
    rotate(.5deg);

    border-color:#f59e0b;

}


.module-card h3{

    color:var(--primary);

    margin-bottom:18px;

}


.module-card p{

    color:var(--text2);

    line-height:1.9;

}



/* ==========================================
         LOCAL STORAGE SYSTEM
========================================== */

.storage-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));

    gap:28px;

}


.storage-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:24px;

    padding:35px;

    backdrop-filter:blur(18px);

    transition:.35s;

    box-shadow:var(--shadow);

}


.storage-card:hover{

    transform:translateY(-10px);

    border-color:#38bdf8;

}


.storage-card h3{

    color:var(--primary);

    margin-bottom:18px;

}


.storage-card p{

    color:var(--text2);

    line-height:1.8;

}



/* ==========================================
      APPLICATION ARCHITECTURE
========================================== */

.architecture{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:28px;

    padding:60px;

    backdrop-filter:blur(18px);

    box-shadow:var(--shadow);

}


.architecture pre{

    background:#08111f;

    color:#22d3ee;

    padding:40px;

    border-radius:18px;

    overflow:auto;

    border-left:5px solid var(--secondary);

    line-height:2;

    font-size:1rem;

}



/* ==========================================
      PREMIUM CODE BLOCKS
========================================== */

pre{

    font-family:

    "Consolas",
    "Courier New",
    monospace;

    letter-spacing:.5px;

    scrollbar-width:thin;

}


pre::-webkit-scrollbar{

    height:10px;

}


pre::-webkit-scrollbar-thumb{

    background:

    linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

    border-radius:50px;

}



/* ==========================================
          FADE HOVER EFFECT
========================================== */

.score-card,
.review-item,
.module-card,
.storage-card{

    position:relative;

    overflow:hidden;

}


.score-card::before,
.review-item::before,
.module-card::before,
.storage-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(
        135deg,
        transparent,
        rgba(255,255,255,.05),
        transparent
    );

    opacity:0;

    transition:.4s;

}


.score-card:hover::before,
.review-item:hover::before,
.module-card:hover::before,
.storage-card:hover::before{

    opacity:1;

}
/* ==========================================
          RESPONSIVE DESIGN
========================================== */

.responsive-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}


.responsive-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:24px;

    padding:35px;

    backdrop-filter:blur(18px);

    box-shadow:var(--shadow);

    transition:.35s;

}


.responsive-card:hover{

    transform:
    translateY(-10px)
    scale(1.02);

    border-color:var(--primary);

}


.responsive-card h3{

    color:var(--primary);

    margin-bottom:18px;

}


.responsive-card p{

    color:var(--text2);

    line-height:1.9;

}



/* ==========================================
        BROWSER SUPPORT
========================================== */

.browser-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:28px;

}


.browser-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:22px;

    padding:32px;

    text-align:center;

    backdrop-filter:blur(18px);

    box-shadow:var(--shadow);

    transition:.35s;

}


.browser-card:hover{

    transform:translateY(-10px);

    border-color:#22c55e;

}


.browser-card h3{

    color:var(--primary);

    margin-bottom:15px;

}


.browser-card p{

    color:#22c55e;

    font-weight:600;

}



/* ==========================================
        FOLDER STRUCTURE
========================================== */

.folder-structure{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:28px;

    padding:60px;

    backdrop-filter:blur(18px);

    box-shadow:var(--shadow);

}


.folder-structure pre{

    background:#08111f;

    color:#67e8f9;

    padding:40px;

    border-radius:18px;

    overflow:auto;

    line-height:2;

    border-left:5px solid var(--accent);

}



/* ==========================================
        CODING STANDARDS
========================================== */

.standard-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}


.standard-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:22px;

    padding:35px;

    backdrop-filter:blur(18px);

    box-shadow:var(--shadow);

    transition:.35s;

}


.standard-card:hover{

    transform:translateY(-10px);

    border-color:#f59e0b;

}


.standard-card h3{

    color:var(--primary);

    margin-bottom:18px;

}


.standard-card p{

    color:var(--text2);

    line-height:1.9;

}



/* ==========================================
        FUTURE IMPROVEMENTS
========================================== */

.future-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

}


.future-card{

    background:linear-gradient(
        135deg,
        rgba(56,189,248,.12),
        rgba(124,58,237,.12)
    );

    border:1px solid var(--border);

    border-radius:18px;

    padding:28px;

    text-align:center;

    font-weight:600;

    color:var(--text);

    backdrop-filter:blur(18px);

    transition:.35s;

    box-shadow:var(--shadow);

}


.future-card:hover{

    transform:
    translateY(-10px)
    scale(1.03);

    border-color:var(--secondary);

}



/* ==========================================
          PROJECT SUMMARY
========================================== */

.summary{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:30px;

    padding:60px;

    backdrop-filter:blur(18px);

    box-shadow:var(--shadow);

    text-align:center;

}


.summary p{

    max-width:900px;

    margin:25px auto;

    color:var(--text2);

    line-height:2;

    font-size:1.02rem;

}



/* ==========================================
             PREMIUM FOOTER
========================================== */

footer{

    margin-top:120px;

    padding:70px 20px;

    text-align:center;

    border-top:1px solid var(--border);

    background:
    linear-gradient(
        180deg,
        rgba(15,23,42,.4),
        rgba(5,8,22,.95)
    );

    backdrop-filter:blur(20px);

}


footer h2{

    font-size:2.2rem;

    margin-bottom:15px;

    background:
    linear-gradient(
        90deg,
        var(--primary),
        var(--accent),
        white
    );

    -webkit-background-clip:text;

    color:transparent;

}


footer p{

    color:var(--muted);

    margin-top:12px;

    line-height:1.8;

}



/* ==========================================
          SMOOTH ANIMATIONS
========================================== */

.info-card,
.content-card,
.tech-card,
.feature-card,
.page-card,
.step,
.play-card,
.score-card,
.review-item,
.module-card,
.storage-card,
.responsive-card,
.browser-card,
.standard-card,
.future-card{

    animation:fadeUp .8s ease both;

}


@keyframes fadeUp{

    from{

        opacity:0;

        transform:
        translateY(40px);

    }

    to{

        opacity:1;

        transform:
        translateY(0);

    }

}



/* ==========================================
        PREMIUM TEXT SELECTION
========================================== */

::selection{

    background:var(--primary);

    color:#fff;

}



/* ==========================================
          RESPONSIVE DESIGN
========================================== */

@media(max-width:992px){

    .hero-content{

        padding:50px;

    }

    .hero h1{

        font-size:3rem;

    }

    section{

        margin:70px auto;

    }

}


@media(max-width:768px){

    .navbar{

        flex-direction:column;

        gap:20px;

    }

    .nav-links{

        flex-wrap:wrap;

        justify-content:center;

        gap:20px;

    }

    .hero-content{

        padding:40px 25px;

    }

    .hero h1{

        font-size:2.4rem;

    }

    section h2{

        font-size:2rem;

    }

    .overview,
    .architecture,
    .folder-structure,
    .summary,
    .data-structure{

        padding:35px;

    }

}


@media(max-width:500px){

    .hero h1{

        font-size:2rem;

    }

    .hero p{

        font-size:.95rem;

    }

    section h2{

        font-size:1.7rem;

    }

    .info-card,
    .content-card,
    .feature-card,
    .page-card,
    .step,
    .play-card,
    .score-card,
    .review-item,
    .module-card,
    .storage-card,
    .responsive-card,
    .browser-card,
    .standard-card,
    .future-card{

        padding:25px;

    }

    pre{

        font-size:.85rem;

    }

}