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

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;

    background:#08111f;

    color:#ffffff;

    overflow-x:hidden;

    transition:.4s;

}

/* ---------- VARIABLES ---------- */

:root{

    --primary:#4F7DFF;
    --secondary:#6CE5FF;

    --success:#00E5A8;

    --purple:#8B5CF6;

    --dark:#08111f;

    --dark2:#111b2e;

    --light:#ffffff;

    --text:#d8e2ff;

    --border:rgba(255,255,255,.08);

    --glass:rgba(255,255,255,.05);

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

    --radius:20px;

}

/* ---------- LIGHT MODE ---------- */

body.light{

    background:#F5F8FF;

    color:#08111f;

}

body.light .navbar{

    background:rgba(255,255,255,.7);

}

body.light .dashboard-card,
body.light .stats-card,
body.light .reward-card,
body.light .governance-card{

    background:#ffffff;

    color:#08111f;

}

body.light p{

    color:#555;

}

/* ---------- BACKGROUND ---------- */

.gradient-bg{

    position:fixed;

    inset:0;

    background:
    radial-gradient(circle at 20% 20%,rgba(79,125,255,.25),transparent 35%),
    radial-gradient(circle at 80% 30%,rgba(108,229,255,.15),transparent 35%),
    radial-gradient(circle at 50% 80%,rgba(139,92,246,.18),transparent 35%);

    z-index:-3;

}

.grid-bg{

    position:fixed;

    inset:0;

    background-image:

    linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),

    linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);

    background-size:45px 45px;

    opacity:.3;

    z-index:-2;

}

/* ---------- NAVBAR ---------- */

header{

    width:100%;

    position:fixed;

    top:0;

    left:0;

    z-index:999;

}

.navbar{

    width:92%;

    margin:18px auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 30px;

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

    border-radius:20px;

    backdrop-filter:blur(18px);

    background:rgba(8,17,31,.65);

    box-shadow:var(--shadow);

}

.logo{

    display:flex;

    align-items:center;

    gap:12px;

    font-weight:700;

    font-size:20px;

}

.logo-icon{

    width:45px;

    height:45px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

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

    font-weight:700;

    font-size:18px;

}

.nav-links{

    display:flex;

    list-style:none;

    gap:28px;

}

.nav-links a{

    text-decoration:none;

    color:#fff;

    font-weight:500;

    transition:.3s;

}

.nav-links a:hover{

    color:var(--secondary);

}

.nav-right{

    display:flex;

    gap:12px;

    align-items:center;

}

/* ---------- BUTTONS ---------- */

.theme-btn{

    width:48px;

    height:48px;

    border:none;

    cursor:pointer;

    border-radius:50%;

    color:#fff;

    background:rgba(255,255,255,.08);

    transition:.35s;

}

.theme-btn:hover{

    transform:rotate(25deg);

    background:var(--primary);

}

.wallet-btn{

    border:none;

    cursor:pointer;

    padding:15px 26px;

    border-radius:50px;

    color:#fff;

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

    font-weight:600;

    transition:.35s;

}

.wallet-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(79,125,255,.4);

}

.primary-btn{

    border:none;

    cursor:pointer;

    padding:16px 34px;

    border-radius:50px;

    font-size:16px;

    color:#fff;

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

    transition:.35s;

}

.primary-btn:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 35px rgba(79,125,255,.45);

}

.secondary-btn{

    border:1px solid rgba(255,255,255,.15);

    background:transparent;

    color:#fff;

    cursor:pointer;

    padding:16px 34px;

    border-radius:50px;

    transition:.35s;

}

.secondary-btn:hover{

    background:rgba(255,255,255,.08);

}

/* ---------- HERO ---------- */

.hero{

    width:90%;

    margin:auto;

    min-height:100vh;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.hero-content h1{

    font-size:68px;

    line-height:1.1;

    margin:25px 0;

    font-weight:800;

}

.hero-content h1 span{

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

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}

.hero-content p{

    max-width:620px;

    color:var(--text);

    line-height:1.9;

    font-size:18px;

}

.badge{

    display:inline-flex;

    padding:10px 18px;

    border-radius:40px;

    background:rgba(108,229,255,.12);

    border:1px solid rgba(108,229,255,.3);

    color:var(--secondary);

    font-size:14px;

    font-weight:600;

}

.hero-buttons{

    display:flex;

    gap:18px;

    margin-top:40px;

}

/* ---------- HERO STATS ---------- */

.hero-stats{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

    margin-top:55px;

}

.stat-card{

    padding:25px;

    border-radius:18px;

    background:var(--glass);

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

    backdrop-filter:blur(15px);

}

.stat-card h3{

    font-size:28px;

    margin-bottom:8px;

}

.stat-card span{

    color:var(--text);

    font-size:14px;

}

/* ---------- HERO IMAGE ---------- */

.hero-image{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

}

.coin{

    width:230px;

    height:230px;

    border-radius:50%;

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

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:90px;

    font-weight:800;

    color:#fff;

    animation:float 5s ease-in-out infinite;

    box-shadow:

    0 0 60px rgba(79,125,255,.45);

}

.circle{

    position:absolute;

    border-radius:50%;

    border:1px solid rgba(255,255,255,.15);

}

.circle.one{

    width:320px;

    height:320px;

    animation:spin 25s linear infinite;

}

.circle.two{

    width:430px;

    height:430px;

    animation:spinReverse 35s linear infinite;

}

.circle.three{

    width:520px;

    height:520px;

    animation:spin 50s linear infinite;

}

.network-line{

    position:absolute;

    height:2px;

    background:linear-gradient(90deg,var(--secondary),transparent);

}

.line1{

    width:180px;

    transform:rotate(20deg);

}

.line2{

    width:150px;

    transform:rotate(-45deg);

}

.line3{

    width:200px;

    transform:rotate(90deg);

}

/* ---------- ANIMATIONS ---------- */

@keyframes float{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-18px);

    }

}

@keyframes spin{

    from{

        transform:rotate(0);

    }

    to{

        transform:rotate(360deg);

    }

}

@keyframes spinReverse{

    from{

        transform:rotate(360deg);

    }

    to{

        transform:rotate(0);

    }

}
/* ==========================================================
   DASHBOARD
========================================================== */

.dashboard{

    width:90%;
    margin:120px auto;
    padding:80px 0;

}

.section-title{

    text-align:center;
    margin-bottom:60px;

}

.section-title h2{

    font-size:48px;
    font-weight:800;
    margin-bottom:18px;

}

.section-title p{

    color:var(--text);
    font-size:18px;
    max-width:700px;
    margin:auto;
    line-height:1.8;

}

/* ==========================================================
   DASHBOARD GRID
========================================================== */

.dashboard-grid{

    display:grid;

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

    gap:28px;

}

.dashboard-card{

    position:relative;

    padding:35px;

    border-radius:24px;

    overflow:hidden;

    background:var(--glass);

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

    backdrop-filter:blur(20px);

    transition:.35s;

    box-shadow:var(--shadow);

}

.dashboard-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg,
        rgba(79,125,255,.12),
        rgba(108,229,255,.03)
    );

    opacity:0;

    transition:.35s;

}

.dashboard-card:hover{

    transform:translateY(-10px);

    border-color:rgba(108,229,255,.45);

}

.dashboard-card:hover::before{

    opacity:1;

}

.dashboard-card h4{

    font-size:15px;

    font-weight:600;

    color:var(--text);

    margin-bottom:18px;

    letter-spacing:.5px;

}

.dashboard-card h2{

    font-size:38px;

    font-weight:800;

    margin-bottom:12px;

}

.dashboard-card span{

    color:var(--secondary);

    font-size:15px;

    font-weight:600;

}

.dashboard-card::after{

    content:"";

    position:absolute;

    width:120px;

    height:120px;

    border-radius:50%;

    top:-40px;

    right:-40px;

    background:

    radial-gradient(
        circle,
        rgba(79,125,255,.25),
        transparent 70%
    );

}

/* ==========================================================
   ACTION BUTTONS
========================================================== */

.action-buttons{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:20px;

    margin-top:60px;

}

.action-buttons button{

    min-width:180px;

    padding:16px 28px;

    font-size:16px;

    font-weight:600;

    transition:.35s;

}

.action-buttons .secondary-btn{

    background:rgba(255,255,255,.03);

}

.action-buttons .secondary-btn:hover{

    background:rgba(255,255,255,.08);

}

/* ==========================================================
   PRIMARY BUTTON EFFECT
========================================================== */

.primary-btn{

    position:relative;

    overflow:hidden;

}

.primary-btn::after{

    content:"";

    position:absolute;

    width:0;

    height:0;

    left:50%;

    top:50%;

    background:rgba(255,255,255,.25);

    border-radius:50%;

    transform:translate(-50%,-50%);

    transition:.55s;

}

.primary-btn:hover::after{

    width:320px;

    height:320px;

}

/* ==========================================================
   CARD ICON PLACEHOLDER
========================================================== */

.dashboard-card i{

    width:56px;

    height:56px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:25px;

    border-radius:18px;

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

    font-size:22px;

    color:#fff;

}

/* ==========================================================
   FLOAT ANIMATION
========================================================== */

.dashboard-card:nth-child(1){

    animation:floatCard 6s ease-in-out infinite;

}

.dashboard-card:nth-child(2){

    animation:floatCard 7s ease-in-out infinite;

}

.dashboard-card:nth-child(3){

    animation:floatCard 8s ease-in-out infinite;

}

.dashboard-card:nth-child(4){

    animation:floatCard 6.5s ease-in-out infinite;

}

.dashboard-card:nth-child(5){

    animation:floatCard 7.5s ease-in-out infinite;

}

.dashboard-card:nth-child(6){

    animation:floatCard 8.5s ease-in-out infinite;

}

@keyframes floatCard{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-8px);

    }

    100%{

        transform:translateY(0);

    }

}

/* ==========================================================
   GLOW BORDER
========================================================== */

.dashboard-card:hover{

    box-shadow:
        0 0 20px rgba(79,125,255,.25),
        0 0 40px rgba(79,125,255,.15),
        0 20px 45px rgba(0,0,0,.35);

}

/* ==========================================================
   SECTION SPACING
========================================================== */

.dashboard + section{

    margin-top:100px;

}
/* ==========================================================
   NETWORK STATS
========================================================== */

.network-stats{

    width:90%;

    margin:120px auto;

    padding:40px 0;

}

.stats-grid{

    display:grid;

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

    gap:28px;

}

.stats-card{

    position:relative;

    padding:35px;

    overflow:hidden;

    border-radius:24px;

    background:var(--glass);

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

    backdrop-filter:blur(18px);

    transition:.35s;

    box-shadow:var(--shadow);

}

.stats-card:hover{

    transform:translateY(-8px);

    border-color:rgba(108,229,255,.4);

}

.stats-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg,
        rgba(79,125,255,.08),
        transparent
    );

    opacity:0;

    transition:.35s;

}

.stats-card:hover::before{

    opacity:1;

}

.stats-card h3{

    font-size:40px;

    font-weight:800;

    margin-bottom:12px;

    color:#ffffff;

}

.stats-card span{

    font-size:15px;

    color:var(--text);

}

/* ==========================================================
   CALCULATOR
========================================================== */

.calculator{

    width:90%;

    margin:120px auto;

}

.calculator-container{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:45px;

    align-items:flex-start;

}

.calculator-left{

    padding:35px;

    border-radius:24px;

    background:var(--glass);

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

    backdrop-filter:blur(20px);

    box-shadow:var(--shadow);

}

.calculator-left label{

    display:block;

    margin-bottom:12px;

    font-size:15px;

    font-weight:600;

}

.calculator-left input[type="number"]{

    width:100%;

    padding:18px;

    margin-bottom:30px;

    border-radius:16px;

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

    background:rgba(255,255,255,.04);

    color:#fff;

    outline:none;

    font-size:18px;

}

.calculator-left input[type="number"]:focus{

    border-color:var(--secondary);

}

/* ==========================================================
   RANGE SLIDER
========================================================== */

.calculator-left input[type="range"]{

    width:100%;

    margin:20px 0;

    cursor:pointer;

    appearance:none;

    height:8px;

    border-radius:50px;

    background:rgba(255,255,255,.12);

}

.calculator-left input[type="range"]::-webkit-slider-thumb{

    appearance:none;

    width:24px;

    height:24px;

    border-radius:50%;

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

    cursor:pointer;

    box-shadow:0 0 15px rgba(79,125,255,.45);

}

.calculator-left input[type="range"]::-moz-range-thumb{

    width:24px;

    height:24px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    cursor:pointer;

}

/* ==========================================================
   APY VALUE
========================================================== */

.apy-display{

    margin-top:25px;

    display:flex;

    justify-content:center;

    align-items:center;

}

.apy-display span{

    font-size:34px;

    font-weight:800;

    color:var(--secondary);

}

/* ==========================================================
   CALCULATOR RIGHT
========================================================== */

.calculator-right{

    display:grid;

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

    gap:25px;

}

.reward-card{

    position:relative;

    overflow:hidden;

    padding:35px;

    border-radius:22px;

    background:var(--glass);

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

    backdrop-filter:blur(18px);

    transition:.35s;

}

.reward-card:hover{

    transform:translateY(-8px);

    border-color:rgba(79,125,255,.45);

}

.reward-card::before{

    content:"";

    position:absolute;

    top:-40px;

    right:-40px;

    width:120px;

    height:120px;

    border-radius:50%;

    background:radial-gradient(
        rgba(108,229,255,.25),
        transparent
    );

}

.reward-card h4{

    color:var(--text);

    margin-bottom:18px;

    font-size:16px;

}

.reward-card h2{

    font-size:36px;

    font-weight:800;

    color:#fff;

}

/* ==========================================================
   CALCULATOR ANIMATION
========================================================== */

.reward-card{

    animation:rewardFloat 6s ease-in-out infinite;

}

.reward-card:nth-child(2){

    animation-delay:.3s;

}

.reward-card:nth-child(3){

    animation-delay:.6s;

}

.reward-card:nth-child(4){

    animation-delay:.9s;

}

@keyframes rewardFloat{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-6px);

    }

    100%{

        transform:translateY(0);

    }

}

/* ==========================================================
   INPUT PLACEHOLDER
========================================================== */

input::placeholder{

    color:#8da2c7;

}

/* ==========================================================
   NUMBER INPUT
========================================================== */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button{

    -webkit-appearance:none;

    margin:0;

}

input[type="number"]{

    -moz-appearance:textfield;

}

/* ==========================================================
   RESPONSIVE (Calculator)
========================================================== */

@media(max-width:992px){

    .calculator-container{

        grid-template-columns:1fr;

    }

}
/* ==========================================================
   VALIDATORS
========================================================== */

.validators{

    width:90%;

    margin:120px auto;

    padding:40px 0;

}

/* ==========================================================
   TOOLBAR
========================================================== */

.validator-toolbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    margin-bottom:35px;

    flex-wrap:wrap;

}

.validator-toolbar input{

    flex:1;

    min-width:260px;

    padding:16px 20px;

    border:none;

    outline:none;

    border-radius:16px;

    color:#ffffff;

    background:var(--glass);

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

    backdrop-filter:blur(18px);

    font-size:15px;

    transition:.3s;

}

.validator-toolbar input:focus{

    border-color:var(--secondary);

    box-shadow:0 0 20px rgba(108,229,255,.25);

}

.validator-toolbar select{

    padding:16px 20px;

    border:none;

    outline:none;

    border-radius:16px;

    background:var(--glass);

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

    color:#ffffff;

    cursor:pointer;

    font-size:15px;

    min-width:220px;

}

.validator-toolbar option{

    background:#101827;

    color:#ffffff;

}

/* ==========================================================
   TABLE
========================================================== */

.validator-table{

    width:100%;

    border-collapse:collapse;

    overflow:hidden;

    border-radius:24px;

    background:var(--glass);

    backdrop-filter:blur(18px);

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

    box-shadow:var(--shadow);

}

.validator-table thead{

    background:linear-gradient(
        90deg,
        rgba(79,125,255,.25),
        rgba(108,229,255,.10)
    );

}

.validator-table th{

    padding:22px;

    text-align:left;

    font-size:15px;

    font-weight:700;

    color:#ffffff;

}

.validator-table td{

    padding:22px;

    border-top:1px solid rgba(255,255,255,.05);

    color:var(--text);

    transition:.25s;

}

.validator-table tbody tr{

    transition:.3s;

}

.validator-table tbody tr:nth-child(even){

    background:rgba(255,255,255,.02);

}

.validator-table tbody tr:hover{

    background:rgba(79,125,255,.08);

    transform:scale(1.01);

}

/* ==========================================================
   STAKE BUTTON
========================================================== */

.table-btn{

    border:none;

    cursor:pointer;

    padding:12px 24px;

    border-radius:40px;

    color:#ffffff;

    font-weight:600;

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

    transition:.35s;

}

.table-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(79,125,255,.35);

}

/* ==========================================================
   STATUS COLORS
========================================================== */

.status-online{

    color:#00E5A8;

    font-weight:600;

}

.status-warning{

    color:#FFD166;

    font-weight:600;

}

.status-offline{

    color:#FF5C8A;

    font-weight:600;

}

/* ==========================================================
   VOTING POWER
========================================================== */

.validator-table td:nth-child(3){

    font-weight:600;

    color:#6CE5FF;

}

/* ==========================================================
   COMMISSION
========================================================== */

.validator-table td:nth-child(2){

    color:#00E5A8;

    font-weight:700;

}

/* ==========================================================
   UPTIME
========================================================== */

.validator-table td:nth-child(4){

    font-weight:700;

}

/* ==========================================================
   TABLE ANIMATION
========================================================== */

.validator-table{

    animation:fadeTable .8s ease;

}

@keyframes fadeTable{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================================================
   RESPONSIVE TABLE
========================================================== */

@media(max-width:992px){

    .validator-toolbar{

        flex-direction:column;

        align-items:stretch;

    }

    .validator-toolbar input,

    .validator-toolbar select{

        width:100%;

    }

}

@media(max-width:768px){

    .validator-table{

        display:block;

        overflow-x:auto;

        white-space:nowrap;

    }

    .validator-table th,

    .validator-table td{

        padding:18px;

    }

}

@media(max-width:576px){

    .validators{

        width:94%;

    }

    .validator-table{

        font-size:14px;

    }

    .table-btn{

        padding:10px 18px;

        font-size:13px;

    }

}

/* ==========================================================
   SECTION SPACING
========================================================== */

.validators + section{

    margin-top:120px;

}
/* ==========================================================
   TOKENOMICS
========================================================== */

.tokenomics{

    width:90%;

    margin:120px auto;

    padding:60px 0;

}

/* ==========================================================
   TOKENOMICS LAYOUT
========================================================== */

.tokenomics-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

/* ==========================================================
   DONUT CHART
========================================================== */

.token-chart{

    display:flex;

    justify-content:center;

    align-items:center;

}

.donut-chart{

    position:relative;

    width:340px;

    height:340px;

    border-radius:50%;

    background:conic-gradient(

        #4F7DFF 0% 40%,

        #8B5CF6 40% 60%,

        #00E5A8 60% 78%,

        #FFD166 78% 90%,

        #FF6B6B 90% 100%

    );

    display:flex;

    justify-content:center;

    align-items:center;

    animation:rotateChart 18s linear infinite;

    box-shadow:

        0 0 35px rgba(79,125,255,.25),

        0 0 80px rgba(79,125,255,.12);

}

.donut-chart::before{

    content:"";

    position:absolute;

    width:230px;

    height:230px;

    border-radius:50%;

    background:#08111f;

    box-shadow:inset 0 0 30px rgba(255,255,255,.04);

}

.donut-center{

    position:absolute;

    text-align:center;

    z-index:5;

}

.donut-center h3{

    font-size:34px;

    font-weight:800;

    margin-bottom:8px;

}

.donut-center span{

    color:var(--secondary);

    font-size:20px;

    font-weight:700;

}

/* ==========================================================
   TOKEN DETAILS
========================================================== */

.token-details{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.token-item{

    display:flex;

    align-items:center;

    gap:18px;

    padding:22px;

    border-radius:20px;

    background:var(--glass);

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

    backdrop-filter:blur(18px);

    transition:.35s;

    box-shadow:var(--shadow);

}

.token-item:hover{

    transform:translateX(10px);

    border-color:rgba(108,229,255,.35);

}

.token-item strong{

    width:70px;

    font-size:22px;

    color:#ffffff;

}

.token-item p{

    color:var(--text);

    font-size:16px;

    flex:1;

}

/* ==========================================================
   COLOR LEGEND
========================================================== */

.color{

    width:20px;

    height:20px;

    border-radius:50%;

    flex-shrink:0;

}

.rewards{

    background:#4F7DFF;

}

.treasury{

    background:#8B5CF6;

}

.community{

    background:#00E5A8;

}

.liquidity{

    background:#FFD166;

}

.foundation{

    background:#FF6B6B;

}

/* ==========================================================
   HOVER GLOW
========================================================== */

.token-item:hover .color{

    box-shadow:

        0 0 12px currentColor,

        0 0 24px currentColor;

}

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

.token-chart{

    animation:tokenFloat 6s ease-in-out infinite;

}

@keyframes tokenFloat{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0);

    }

}

/* ==========================================================
   DONUT ROTATION
========================================================== */

@keyframes rotateChart{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}

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

@media(max-width:992px){

    .tokenomics-container{

        grid-template-columns:1fr;

        text-align:center;

    }

    .token-details{

        margin-top:40px;

    }

}

@media(max-width:768px){

    .donut-chart{

        width:280px;

        height:280px;

    }

    .donut-chart::before{

        width:185px;

        height:185px;

    }

    .donut-center h3{

        font-size:28px;

    }

}

@media(max-width:576px){

    .tokenomics{

        width:94%;

    }

    .token-item{

        padding:18px;

    }

    .token-item strong{

        width:60px;

        font-size:18px;

    }

    .token-item p{

        font-size:15px;

    }

}
/* ==========================================================
   ROADMAP
========================================================== */

.roadmap{

    width:90%;

    margin:120px auto;

    padding:60px 0;

    position:relative;

}

/* ==========================================================
   TIMELINE
========================================================== */

.timeline{

    position:relative;

    max-width:1000px;

    margin:80px auto 0;

    padding:20px 0;

}

/* Vertical Line */

.timeline::before{

    content:"";

    position:absolute;

    left:50%;

    top:0;

    transform:translateX(-50%);

    width:4px;

    height:100%;

    border-radius:20px;

    background:linear-gradient(

        to bottom,

        var(--primary),

        var(--secondary),

        var(--purple)

    );

    box-shadow:

        0 0 20px rgba(79,125,255,.35);

}

/* ==========================================================
   TIMELINE ITEM
========================================================== */

.timeline-item{

    position:relative;

    width:50%;

    padding:25px 45px;

    margin-bottom:60px;

    animation:timelineFade .8s ease both;

}

/* Left */

.timeline-item:nth-child(odd){

    left:0;

    text-align:right;

}

/* Right */

.timeline-item:nth-child(even){

    left:50%;

    text-align:left;

}

/* ==========================================================
   TIMELINE DOT
========================================================== */

.timeline-dot{

    position:absolute;

    top:42px;

    width:22px;

    height:22px;

    border-radius:50%;

    background:linear-gradient(

        135deg,

        var(--primary),

        var(--secondary)

    );

    border:4px solid #08111f;

    box-shadow:

        0 0 18px rgba(79,125,255,.45),

        0 0 40px rgba(79,125,255,.25);

    z-index:10;

}

/* Left Dot */

.timeline-item:nth-child(odd) .timeline-dot{

    right:-11px;

}

/* Right Dot */

.timeline-item:nth-child(even) .timeline-dot{

    left:-11px;

}

/* ==========================================================
   CONTENT CARD
========================================================== */

.timeline-content{

    position:relative;

    padding:30px;

    border-radius:22px;

    background:var(--glass);

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

    backdrop-filter:blur(18px);

    box-shadow:var(--shadow);

    transition:.35s;

    overflow:hidden;

}

.timeline-content::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(

        135deg,

        rgba(79,125,255,.10),

        transparent

    );

    opacity:0;

    transition:.35s;

}

.timeline-content:hover{

    transform:translateY(-8px);

    border-color:rgba(108,229,255,.35);

}

.timeline-content:hover::before{

    opacity:1;

}

.timeline-content h3{

    font-size:30px;

    color:var(--secondary);

    margin-bottom:12px;

    font-weight:800;

}

.timeline-content h4{

    font-size:22px;

    margin-bottom:15px;

    color:#ffffff;

}

.timeline-content p{

    color:var(--text);

    line-height:1.8;

}

/* ==========================================================
   CONNECTOR
========================================================== */

.timeline-item::after{

    content:"";

    position:absolute;

    top:52px;

    width:45px;

    height:2px;

    background:linear-gradient(

        90deg,

        var(--primary),

        var(--secondary)

    );

}

.timeline-item:nth-child(odd)::after{

    right:0;

}

.timeline-item:nth-child(even)::after{

    left:0;

}

/* ==========================================================
   FLOATING GLOW
========================================================== */

.timeline-content::after{

    content:"";

    position:absolute;

    top:-45px;

    right:-45px;

    width:120px;

    height:120px;

    border-radius:50%;

    background:

    radial-gradient(

        rgba(79,125,255,.22),

        transparent

    );

}

/* ==========================================================
   ANIMATION
========================================================== */

@keyframes timelineFade{

    from{

        opacity:0;

        transform:translateY(45px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.timeline-item:nth-child(1){

    animation-delay:.1s;

}

.timeline-item:nth-child(2){

    animation-delay:.25s;

}

.timeline-item:nth-child(3){

    animation-delay:.4s;

}

.timeline-item:nth-child(4){

    animation-delay:.55s;

}

.timeline-item:nth-child(5){

    animation-delay:.7s;

}

/* ==========================================================
   DOT PULSE
========================================================== */

.timeline-dot{

    animation:pulseDot 2.5s infinite;

}

@keyframes pulseDot{

    0%{

        box-shadow:

        0 0 0 0 rgba(79,125,255,.5);

    }

    70%{

        box-shadow:

        0 0 0 18px rgba(79,125,255,0);

    }

    100%{

        box-shadow:

        0 0 0 0 rgba(79,125,255,0);

    }

}

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

@media(max-width:900px){

    .timeline::before{

        left:25px;

    }

    .timeline-item{

        width:100%;

        left:0 !important;

        text-align:left;

        padding-left:70px;

        padding-right:10px;

    }

    .timeline-item::after{

        left:25px;

        width:30px;

    }

    .timeline-item .timeline-dot{

        left:14px;

        right:auto;

    }

}

@media(max-width:768px){

    .timeline-content{

        padding:24px;

    }

    .timeline-content h3{

        font-size:26px;

    }

    .timeline-content h4{

        font-size:20px;

    }

}

@media(max-width:576px){

    .roadmap{

        width:94%;

    }

    .timeline-item{

        padding-left:60px;

    }

    .timeline-content{

        padding:20px;

    }

    .timeline-content h3{

        font-size:22px;

    }

    .timeline-content h4{

        font-size:18px;

    }

    .timeline-content p{

        font-size:14px;

    }

}
/* ==========================================================
   GOVERNANCE
========================================================== */

.governance{

    width:90%;

    margin:120px auto;

    padding:60px 0;

}

.governance-grid{

    display:grid;

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

    gap:30px;

}

.governance-card{

    position:relative;

    overflow:hidden;

    padding:32px;

    border-radius:24px;

    background:var(--glass);

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

    backdrop-filter:blur(18px);

    box-shadow:var(--shadow);

    transition:.35s;

}

.governance-card:hover{

    transform:translateY(-10px);

    border-color:rgba(108,229,255,.35);

}

.governance-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg,
        rgba(79,125,255,.10),
        transparent
    );

    opacity:0;

    transition:.35s;

}

.governance-card:hover::before{

    opacity:1;

}

.governance-card h3{

    font-size:24px;

    margin-bottom:18px;

}

.governance-card h2{

    font-size:42px;

    color:var(--secondary);

    margin-bottom:15px;

}

.governance-card p{

    color:var(--text);

    line-height:1.8;

}

.governance-card ul{

    list-style:none;

    margin-top:15px;

}

.governance-card li{

    margin:10px 0;

    color:var(--text);

}

/* ==========================================================
   PROGRESS BAR
========================================================== */

.progress{

    width:100%;

    height:10px;

    margin:20px 0;

    overflow:hidden;

    border-radius:50px;

    background:rgba(255,255,255,.08);

}

.progress-bar{

    height:100%;

    border-radius:50px;

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

    animation:progressLoad 2s ease;

}

@keyframes progressLoad{

    from{

        width:0;

    }

}

/* ==========================================================
   CTA
========================================================== */

.cta{

    width:90%;

    margin:140px auto;

}

.cta-content{

    padding:90px 50px;

    text-align:center;

    border-radius:30px;

    overflow:hidden;

    position:relative;

    background:linear-gradient(
        135deg,
        rgba(79,125,255,.20),
        rgba(108,229,255,.10)
    );

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

}

.cta-content::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    left:-180px;

    top:-180px;

    border-radius:50%;

    background:
    radial-gradient(
        rgba(79,125,255,.20),
        transparent
    );

}

.cta-content::after{

    content:"";

    position:absolute;

    width:450px;

    height:450px;

    right:-160px;

    bottom:-160px;

    border-radius:50%;

    background:
    radial-gradient(
        rgba(108,229,255,.18),
        transparent
    );

}

.cta-content h2{

    position:relative;

    z-index:2;

    font-size:54px;

    margin-bottom:20px;

}

.cta-content p{

    position:relative;

    z-index:2;

    max-width:760px;

    margin:0 auto 40px;

    color:var(--text);

    line-height:1.9;

    font-size:18px;

}

.cta-content .primary-btn{

    position:relative;

    z-index:2;

}

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

footer{

    margin-top:120px;

    padding:60px 0 30px;

    border-top:1px solid rgba(255,255,255,.08);

}

.footer-top{

    width:90%;

    margin:auto;

    display:grid;

    grid-template-columns:2fr 2fr 1fr;

    gap:40px;

}

.footer-brand p{

    margin-top:18px;

    color:var(--text);

}

.footer-links{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;

}

.footer-links a{

    color:var(--text);

    text-decoration:none;

    transition:.3s;

}

.footer-links a:hover{

    color:var(--secondary);

}

.footer-social{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.footer-social a{

    text-decoration:none;

    color:var(--text);

    transition:.3s;

}

.footer-social a:hover{

    color:var(--secondary);

}

.footer-bottom{

    margin-top:45px;

    text-align:center;

    color:var(--text);

    font-size:14px;

}

/* ==========================================================
   SCROLL REVEAL
========================================================== */

.reveal{

    opacity:0;

    transform:translateY(50px);

    transition:all .8s ease;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}

/* ==========================================================
   DARK / LIGHT MODE
========================================================== */

body.light{

    background:#f6f9ff;

    color:#08111f;

}

body.light .navbar,
body.light .dashboard-card,
body.light .stats-card,
body.light .reward-card,
body.light .token-item,
body.light .timeline-content,
body.light .governance-card,
body.light .validator-table,
body.light .calculator-left,
body.light .cta-content{

    background:#ffffff;

    color:#08111f;

    border-color:rgba(0,0,0,.08);

}

body.light .nav-links a,
body.light p,
body.light span,
body.light td,
body.light li{

    color:#4f5d75;

}

body.light .validator-toolbar input,
body.light .validator-toolbar select,
body.light input[type="number"]{

    background:#ffffff;

    color:#08111f;

}

/* ==========================================================
   GLOBAL RESPONSIVE
========================================================== */

@media(max-width:1100px){

    .hero{

        grid-template-columns:1fr;

        text-align:center;

        gap:80px;

    }

    .hero-buttons{

        justify-content:center;

    }

    .hero-stats{

        max-width:700px;

        margin:50px auto 0;

    }

}

@media(max-width:768px){

    .navbar{

        flex-direction:column;

        gap:20px;

    }

    .nav-links{

        flex-wrap:wrap;

        justify-content:center;

    }

    .hero-content h1{

        font-size:46px;

    }

    .section-title h2{

        font-size:38px;

    }

    .cta-content h2{

        font-size:38px;

    }

    .footer-top{

        grid-template-columns:1fr;

        text-align:center;

    }

    .footer-links{

        grid-template-columns:1fr;

    }

    .footer-social{

        flex-direction:row;

        justify-content:center;

    }

}

@media(max-width:576px){

    .hero{

        width:94%;

    }

    .dashboard,
    .network-stats,
    .calculator,
    .validators,
    .tokenomics,
    .roadmap,
    .governance,
    .cta{

        width:94%;

    }

    .hero-content h1{

        font-size:36px;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .primary-btn,
    .secondary-btn{

        width:100%;

    }

    .hero-stats{

        grid-template-columns:1fr;

    }

    .dashboard-grid,
    .stats-grid,
    .governance-grid{

        grid-template-columns:1fr;

    }

    .cta-content{

        padding:60px 25px;

    }

}
