:root{
    --bg:#070a12;
    --bg2:#0d1220;
    --card:#111827;
    --card2:#172033;
    --primary:#7c5cff;
    --secondary:#00e5ff;
    --yellow:#ffd54a;
    --text:#f7f8fc;
    --muted:#a8b0c1;
    --border:rgba(255,255,255,.08);
    --shadow:0 20px 60px rgba(0,0,0,.28);
    --radius:22px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:
        radial-gradient(circle at top left,rgba(124,92,255,.12),transparent 30%),
        radial-gradient(circle at top right,rgba(0,229,255,.07),transparent 28%),
        var(--bg);
    color:var(--text);
    line-height:1.75;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    width:100%;
    display:block;
}

.container{
    width:min(1180px,calc(100% - 40px));
    margin:auto;
}

/* HEADER */

.header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(7,10,18,.94);
    backdrop-filter:blur(18px);
    border-bottom:1px solid var(--border);
}

.header-inner{
    min-height:72px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;
}

.logo{
    font-size:26px;
    font-weight:900;
    letter-spacing:-1px;
}

.logo span{
    color:var(--secondary);
}

.nav{
    display:flex;
    gap:23px;
    align-items:center;
}

.nav a{
    font-size:14px;
    font-weight:700;
    color:#d8deeb;
    transition:.25s;
}

.nav a:hover{
    color:var(--secondary);
}

.header-btn{
    padding:10px 17px;
    border-radius:10px;
    background:linear-gradient(135deg,var(--primary),#5138da);
    font-size:13px;
    font-weight:800;
}

/* HERO */

.hero{
    padding:85px 0 50px;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.3fr .7fr;
    gap:24px;
}

.hero-main{
    position:relative;
    overflow:hidden;
    min-height:470px;
    padding:55px;
    border:1px solid var(--border);
    border-radius:30px;
    background:
        radial-gradient(circle at 85% 20%,rgba(0,229,255,.28),transparent 27%),
        radial-gradient(circle at 10% 90%,rgba(124,92,255,.38),transparent 35%),
        linear-gradient(145deg,#181e39,#0d111d);
}

.hero-main::after{
    content:"PLAY";
    position:absolute;
    right:-10px;
    bottom:-55px;
    font-size:145px;
    font-weight:900;
    color:rgba(255,255,255,.025);
}

.badge{
    display:inline-block;
    font-size:11px;
    font-weight:900;
    letter-spacing:1.2px;
    padding:7px 13px;
    color:var(--secondary);
    border:1px solid rgba(0,229,255,.22);
    background:rgba(0,229,255,.07);
    border-radius:40px;
}

.hero h1{
    margin:20px 0;
    font-size:clamp(40px,5vw,68px);
    line-height:1.03;
    letter-spacing:-2.4px;
}

.gradient-text{
    background:linear-gradient(90deg,var(--secondary),#a28cff);
    -webkit-background-clip:text;
    color:transparent;
}

.hero-desc{
    max-width:720px;
    color:#bcc4d3;
    font-size:17px;
}

.buttons{
    display:flex;
    gap:12px;
    margin-top:30px;
    flex-wrap:wrap;
}

.btn{
    display:inline-flex;
    padding:12px 19px;
    border-radius:11px;
    font-size:14px;
    font-weight:900;
}

.btn-primary{
    background:var(--secondary);
    color:#061014;
}

.btn-outline{
    border:1px solid var(--border);
    background:rgba(255,255,255,.03);
}

.hero-side{
    display:grid;
    gap:18px;
}

.small-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:22px;
    padding:27px;
    box-shadow:var(--shadow);
}

.small-card .icon{
    font-size:30px;
}

.small-card h3{
    margin:11px 0 5px;
}

.small-card p{
    color:var(--muted);
    font-size:14px;
}

/* SECTION */

.section{
    padding:65px 0;
}

.section-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:30px;
    margin-bottom:30px;
}

.eyebrow{
    color:var(--secondary);
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:11px;
    font-weight:900;
}

.section-heading h2{
    margin-top:6px;
    font-size:35px;
    letter-spacing:-1px;
}

.section-heading p{
    max-width:530px;
    font-size:14px;
    color:var(--muted);
}

/* CATEGORIES */

.category-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:12px;
}

.category-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:18px;
    text-align:center;
    padding:25px 12px;
    transition:.25s;
}

.category-card:hover{
    transform:translateY(-5px);
    background:var(--card2);
}

.category-card .icon{
    font-size:30px;
}

.category-card strong{
    display:block;
    margin-top:8px;
    font-size:13px;
}

/* ARTICLES */

.article-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.article-card{
    overflow:hidden;
    background:var(--card);
    border:1px solid var(--border);
    border-radius:22px;
    transition:.25s;
}

.article-card:hover{
    transform:translateY(-5px);
}

.article-image{
    height:190px;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:67px;
    background:
        radial-gradient(circle at 80% 15%,rgba(0,229,255,.16),transparent 30%),
        linear-gradient(135deg,#18213a,#0e1423);
}

.article-body{
    padding:23px;
}

.article-category{
    color:var(--secondary);
    font-size:11px;
    font-weight:900;
    letter-spacing:1px;
    text-transform:uppercase;
}

.article-card h3{
    line-height:1.35;
    margin:8px 0 11px;
    font-size:20px;
}

.article-card p{
    color:var(--muted);
    font-size:14px;
}

.meta{
    margin-top:18px;
    padding-top:13px;
    border-top:1px solid var(--border);
    display:flex;
    justify-content:space-between;
    gap:10px;
    color:#768093;
    font-size:11px;
}

/* TRENDING */

.trending{
    background:var(--bg2);
    border:1px solid var(--border);
    border-radius:22px;
    overflow:hidden;
}

.trend-item{
    display:grid;
    grid-template-columns:50px 1fr auto;
    gap:18px;
    padding:22px 26px;
    align-items:center;
    border-bottom:1px solid var(--border);
}

.trend-item:last-child{
    border:0;
}

.trend-number{
    color:rgba(255,255,255,.18);
    font-size:24px;
    font-weight:900;
}

.trend-item h3{
    font-size:17px;
}

.trend-item p{
    font-size:12px;
    color:var(--muted);
}

.tag{
    font-size:10px;
    padding:6px 10px;
    border-radius:30px;
    color:#c6baff;
    background:rgba(124,92,255,.13);
}

/* CONTENT ARTICLE */

.page-hero{
    padding:65px 0 30px;
}

.breadcrumb{
    color:var(--muted);
    font-size:13px;
    margin-bottom:15px;
}

.page-hero h1{
    max-width:900px;
    font-size:clamp(35px,5vw,58px);
    line-height:1.08;
    letter-spacing:-2px;
}

.article-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 300px;
    gap:35px;
}

.article-content{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:24px;
    padding:38px;
}

.article-content p{
    margin:0 0 20px;
    color:#c4cad5;
}

.article-content h2{
    margin:38px 0 14px;
    font-size:28px;
}

.article-content h3{
    margin:28px 0 12px;
}

.article-content ul{
    margin:15px 0 25px 22px;
    color:#c4cad5;
}

.article-content li{
    margin:8px 0;
}

.article-content a{
    color:var(--secondary);
    font-weight:800;
}

.article-highlight{
    margin:28px 0;
    padding:22px;
    border-left:4px solid var(--secondary);
    border-radius:12px;
    background:rgba(0,229,255,.05);
}

.sidebar{
    display:grid;
    align-content:start;
    gap:18px;
}

.sidebar-box{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:20px;
    padding:23px;
}

.sidebar-box h3{
    margin-bottom:15px;
}

.sidebar-box a{
    display:block;
    border-bottom:1px solid var(--border);
    padding:10px 0;
    font-size:13px;
    color:#c4cad5;
}

.sidebar-box a:last-child{
    border:0;
}

/* GENERAL PAGE */

.content-box{
    padding:38px;
    background:var(--card);
    border:1px solid var(--border);
    border-radius:24px;
}

.content-box h2{
    margin:30px 0 12px;
}

.content-box h2:first-child{
    margin-top:0;
}

.content-box p{
    margin-bottom:18px;
    color:#c4cad5;
}

.content-box ul{
    margin:10px 0 20px 22px;
    color:#c4cad5;
}

/* CONTACT */

.form{
    display:grid;
    gap:15px;
}

.form label{
    font-size:13px;
    font-weight:800;
}

.form input,
.form textarea{
    width:100%;
    background:#080d18;
    border:1px solid var(--border);
    border-radius:10px;
    padding:13px 14px;
    color:#fff;
    outline:none;
}

.form textarea{
    min-height:160px;
    resize:vertical;
}

.form button{
    width:max-content;
    cursor:pointer;
    border:0;
}

/* AUTHOR */

.author-box{
    display:flex;
    gap:22px;
    align-items:center;
}

.avatar{
    width:90px;
    height:90px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#071019;
    font-weight:900;
    font-size:27px;
}

/* NEWSLETTER */

.newsletter{
    text-align:center;
    padding:55px 25px;
    background:linear-gradient(135deg,#17152d,#101b29);
    border:1px solid var(--border);
    border-radius:28px;
}

.newsletter h2{
    font-size:34px;
}

.newsletter p{
    color:var(--muted);
    max-width:540px;
    margin:8px auto 20px;
}

.newsletter-form{
    display:flex;
    max-width:480px;
    margin:auto;
}

.newsletter-form input{
    min-width:0;
    flex:1;
    padding:13px 15px;
    background:#080d17;
    border:1px solid var(--border);
    border-radius:10px 0 0 10px;
    color:white;
}

.newsletter-form button{
    border:0;
    padding:13px 18px;
    border-radius:0 10px 10px 0;
    background:var(--secondary);
    color:#061014;
    font-weight:900;
    cursor:pointer;
}

/* FOOTER */

.footer{
    background:#050810;
    border-top:1px solid var(--border);
    margin-top:70px;
}

.footer-grid{
    padding:50px 0;
    display:grid;
    grid-template-columns:1.5fr repeat(3,1fr);
    gap:40px;
}

.footer-about p{
    max-width:360px;
    margin-top:13px;
    color:var(--muted);
    font-size:13px;
}

.footer-col h4{
    margin-bottom:12px;
}

.footer-col a{
    display:block;
    margin:7px 0;
    color:var(--muted);
    font-size:13px;
}

.copyright{
    padding:20px 0;
    border-top:1px solid var(--border);
    color:#737d90;
    font-size:12px;
}

/* RESPONSIVE */

@media(max-width:950px){
    .nav{
        display:none;
    }

    .hero-grid,
    .article-layout{
        grid-template-columns:1fr;
    }

    .category-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .article-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .footer-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:620px){
    .container{
        width:calc(100% - 24px);
    }

    .hero{
        padding-top:40px;
    }

    .hero-main{
        padding:28px 22px;
        min-height:auto;
    }

    .hero h1{
        font-size:39px;
    }

    .section-heading{
        flex-direction:column;
        align-items:flex-start;
    }

    .category-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .article-grid{
        grid-template-columns:1fr;
    }

    .trend-item{
        grid-template-columns:35px 1fr;
    }

    .trend-item .tag{
        display:none;
    }

    .article-content,
    .content-box{
        padding:24px 20px;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }

    .author-box{
        align-items:flex-start;
    }
}