/* HOME PAGE — CLEAN PREMIUM REBUILD */

.home-hero{
    min-height:calc(100vh - 110px);
    padding:76px 8% 90px;
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
    gap:56px;
    align-items:center;
    position:relative;
    overflow:hidden;
}

.home-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 18% 70%, rgba(255,61,61,.14), transparent 30%),
        radial-gradient(circle at 78% 28%, rgba(77,163,255,.18), transparent 34%);
    pointer-events:none;
}

.hero-glow{
    position:absolute;
    border-radius:50%;
    filter:blur(120px);
    opacity:.18;
    pointer-events:none;
}

.hero-glow.one{
    width:430px;
    height:430px;
    right:7%;
    top:12%;
    background:var(--accent);
}

.hero-glow.two{
    width:390px;
    height:390px;
    left:9%;
    bottom:8%;
    background:var(--accent2);
}

.hero-main,
.hero-dashboard{
    position:relative;
    z-index:2;
}

.hero-tag{
    display:inline-flex;
    padding:9px 13px;
    border-radius:999px;
    background:rgba(77,163,255,.10);
    border:1px solid rgba(77,163,255,.22);
    color:var(--accent);
    font-size:13px;
    font-weight:950;
    letter-spacing:.8px;
    text-transform:uppercase;
    margin-bottom:20px;
}

.home-hero h1{
    font-size:clamp(64px,8vw,116px);
    line-height:.92;
    letter-spacing:-4px;
    margin-bottom:24px;
    max-width:860px;
}

.home-hero h1 span{
    color:var(--accent);
    text-shadow:0 0 38px rgba(77,163,255,.45);
}

.typing-text{
    color:#ffffff;
    font-size:clamp(22px,2vw,30px);
    line-height:1.35;
    margin-bottom:20px;
    min-height:42px;
    font-weight:900;
}

.hero-description{
    color:var(--muted);
    font-size:20px;
    line-height:1.8;
    max-width:780px;
    margin-bottom:34px;
}

.hero-buttons{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.hero-buttons .btn{
    min-width:175px;
    text-align:center;
}

/* DASHBOARD */

.hero-dashboard{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.dash-card{
    background:
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
        rgba(13,22,40,.82);
    border:1px solid rgba(255,255,255,.13);
    border-radius:26px;
    padding:26px;
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    box-shadow:0 24px 70px rgba(0,0,0,.34);
    transition:.25s ease;
    min-height:168px;
}

.dash-card:hover{
    transform:translateY(-6px);
    border-color:rgba(77,163,255,.55);
    box-shadow:0 28px 80px rgba(77,163,255,.15);
}

.dash-card.important{
    grid-column:span 2;
    min-height:210px;
    background:
        linear-gradient(145deg, rgba(77,163,255,.20), rgba(255,61,61,.06)),
        rgba(13,22,40,.88);
    border-color:rgba(77,163,255,.45);
}

.dash-card h3{
    font-size:25px;
    margin-bottom:13px;
}

.dash-card p{
    color:var(--muted);
    line-height:1.65;
}

.status-line{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:18px;
    font-weight:950;
    margin:12px 0;
}

.mini-link{
    display:inline-block;
    margin-top:16px;
    color:var(--accent);
    font-weight:950;
}

.theme-buttons{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-top:14px;
}

.theme-buttons button{
    appearance:none;
    border:none;
    min-height:42px;
    border-radius:14px;
    background:rgba(255,255,255,.075);
    border:1px solid rgba(255,255,255,.12);
    color:white;
    font-weight:950;
    cursor:pointer;
    transition:.22s ease;
}

.theme-buttons button:hover{
    transform:translateY(-2px);
    background:var(--accent);
    color:#04111f;
}

.small-btn{
    appearance:none;
    border:none;
    margin-top:14px;
    min-height:42px;
    padding:10px 14px;
    border-radius:14px;
    background:rgba(77,163,255,.13);
    border:1px solid rgba(77,163,255,.28);
    color:var(--accent);
    font-weight:950;
    cursor:pointer;
}

.live-clock,
.music-title{
    color:var(--accent);
    font-size:24px;
    margin-top:8px;
}

/* STATS */

.home-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    padding:38px 8%;
}

.stat-card{
    border-radius:26px;
    padding:30px;
    text-align:center;
    background:
        linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02)),
        rgba(13,22,40,.78);
    border:1px solid rgba(255,255,255,.11);
    box-shadow:0 20px 55px rgba(0,0,0,.25);
}

.stat-card h3{
    font-size:48px;
    color:var(--accent);
    margin-bottom:6px;
}

.stat-card p{
    color:var(--muted);
    font-weight:900;
}

/* SECTION POLISH */

.section{
    padding:86px 8%;
}

.section-heading{
    max-width:900px;
    margin-bottom:36px;
}

.section-heading h2,
.about-section h2{
    font-size:clamp(42px,5vw,68px);
    letter-spacing:-2px;
    line-height:1;
}

.section-subtitle{
    margin-top:12px;
}

/* PROJECTS */

.project-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

.project-card{
    min-height:275px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:space-between;
    border-radius:28px;
    padding:30px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.022)),
        rgba(13,22,40,.82);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 24px 70px rgba(0,0,0,.28);
    transition:.25s ease;
    position:relative;
    overflow:hidden;
}

.project-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(120deg, transparent, rgba(255,255,255,.08), transparent);
    transform:translateX(-120%);
    transition:.8s ease;
}

.project-card:hover::before{
    transform:translateX(120%);
}

.project-card:hover{
    transform:translateY(-8px);
    border-color:rgba(77,163,255,.55);
    box-shadow:0 28px 82px rgba(77,163,255,.16);
}

.featured-card{
    background:
        linear-gradient(145deg, rgba(77,163,255,.17), rgba(255,61,61,.065)),
        rgba(13,22,40,.88);
    border-color:rgba(77,163,255,.35);
}

.card-icon{
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:rgba(77,163,255,.13);
    color:var(--accent);
    font-size:26px;
    margin-bottom:20px;
}

.project-card h3{
    font-size:25px;
    margin-bottom:12px;
}

.project-card p{
    color:var(--muted);
    line-height:1.65;
    font-size:16px;
}

.project-card span{
    display:inline-block;
    color:var(--accent);
    font-weight:950;
    margin-top:22px;
}

/* ABOUT */

.about-section{
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
    gap:44px;
    align-items:center;
}

.section-text{
    font-size:18px;
    line-height:1.8;
}

.info-grid{
    display:grid;
    gap:18px;
}

.info-box{
    border-radius:26px;
    padding:26px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
        rgba(13,22,40,.82);
    border:1px solid rgba(255,255,255,.12);
}

.info-box h3{
    font-size:24px;
    margin-bottom:10px;
}

.info-box p{
    color:var(--muted);
    line-height:1.65;
}

/* SOCIAL */

.social-hub-section{
    background:rgba(7,14,27,.50);
}

.social-showcase-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
}

.social-showcase-card{
    min-height:300px;
    border-radius:30px;
    padding:30px;
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 24px 70px rgba(0,0,0,.28);
    transition:.25s ease;
}

.social-showcase-card:hover{
    transform:translateY(-8px);
    border-color:rgba(255,255,255,.28);
}

.social-showcase-card h3{
    font-size:27px;
    line-height:1.08;
    margin:22px 0 14px;
}

.social-showcase-card p{
    color:rgba(255,255,255,.74);
    line-height:1.7;
    margin-bottom:22px;
}

.social-showcase-card strong{
    color:white;
}

.social-pill{
    display:inline-flex;
    padding:9px 13px;
    border-radius:999px;
    background:rgba(255,255,255,.09);
    border:1px solid rgba(255,255,255,.14);
    font-weight:950;
    font-size:13px;
}

.tiktok-card{background:linear-gradient(145deg,rgba(10,18,35,.94),rgba(50,9,45,.88))}
.instagram-card{background:linear-gradient(145deg,rgba(10,18,35,.94),rgba(82,23,84,.88))}
.reddit-card{background:linear-gradient(145deg,rgba(10,18,35,.94),rgba(90,42,22,.88))}
.discord-card{background:linear-gradient(145deg,rgba(10,18,35,.94),rgba(38,46,116,.88))}
.roblox-card{background:linear-gradient(145deg,rgba(10,18,35,.94),rgba(45,45,55,.92))}
.facebook-card{background:linear-gradient(145deg,rgba(10,18,35,.94),rgba(23,62,135,.88))}

/* DISCORD */

.discord-status-panel{
    display:grid;
    grid-template-columns:minmax(0,1fr) 390px;
    gap:34px;
    align-items:center;
    padding:38px;
    border-radius:32px;
    background:
        linear-gradient(145deg, rgba(77,163,255,.12), rgba(255,255,255,.025)),
        rgba(13,22,40,.86);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 24px 70px rgba(0,0,0,.28);
}

.discord-mini-dashboard{
    display:grid;
    gap:14px;
    margin-top:22px;
}

.discord-stat{
    border-radius:20px;
    padding:18px;
    background:rgba(255,255,255,.055);
    border:1px solid rgba(255,255,255,.09);
}

/* ACTIVITY */

.activity-feed{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
}

.activity-item{
    border-radius:26px;
    padding:26px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.022)),
        rgba(13,22,40,.82);
    border:1px solid rgba(255,255,255,.12);
}

.activity-item span{
    color:var(--accent);
    font-weight:950;
    font-size:13px;
    text-transform:uppercase;
}

.activity-item h3{
    margin:9px 0;
    font-size:23px;
}

.activity-item p{
    color:var(--muted);
    line-height:1.65;
}

/* RESPONSIVE */

@media(max-width:1180px){
    .home-hero,
    .about-section,
    .discord-status-panel{
        grid-template-columns:1fr;
    }

    .hero-dashboard{
        max-width:850px;
    }

    .project-grid,
    .social-showcase-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .home-stats{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:760px){
    .home-hero{
        padding:54px 22px 70px;
        min-height:auto;
    }

    .home-hero h1{
        font-size:54px;
        letter-spacing:-2px;
    }

    .typing-text{
        font-size:21px;
        min-height:auto;
    }

    .hero-description{
        font-size:18px;
        line-height:1.7;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .hero-buttons .btn{
        width:100%;
    }

    .hero-dashboard{
        grid-template-columns:1fr;
        margin-top:28px;
    }

    .dash-card.important{
        grid-column:span 1;
    }

    .section{
        padding:64px 22px;
    }

    .section-heading h2,
    .about-section h2{
        font-size:42px;
        letter-spacing:-1px;
    }

    .home-stats,
    .project-grid,
    .social-showcase-grid,
    .activity-feed{
        grid-template-columns:1fr;
    }

    .project-card{
        min-height:auto;
        padding:26px;
    }

    .social-showcase-card{
        min-height:auto;
    }

    .discord-status-panel{
        padding:24px;
    }

    .discord-widget-box iframe{
        width:100%;
        height:430px;
    }
}

@media(max-width:430px){
    .home-hero h1{
        font-size:44px;
    }

    .hero-tag{
        font-size:12px;
        line-height:1.5;
    }

    .section-heading h2,
    .about-section h2{
        font-size:36px;
    }

    .theme-buttons{
        grid-template-columns:1fr;
    }
}
body.theme-blue{
    --accent:#4da3ff;
    --accent2:#8b5cf6;
    --accent-rgb:77,163,255;
}

body.theme-red{
    --accent:#ff3535;
    --accent2:#ff7a18;
    --accent-rgb:255,53,53;
}

body.theme-purple{
    --accent:#a855f7;
    --accent2:#4da3ff;
    --accent-rgb:168,85,247;
}

body.theme-red .home-hero h1 span,
body.theme-red .live-clock,
body.theme-red .music-title,
body.theme-red .mini-link,
body.theme-red .project-card span,
body.theme-red .card-icon,
body.theme-red .tag,
body.theme-red .hero-tag{
    color:#ff3535;
}

body.theme-purple .home-hero h1 span,
body.theme-purple .live-clock,
body.theme-purple .music-title,
body.theme-purple .mini-link,
body.theme-purple .project-card span,
body.theme-purple .card-icon,
body.theme-purple .tag,
body.theme-purple .hero-tag{
    color:#a855f7;
}