:root{
    --bg:#050914;
    --panel:rgba(8,18,38,.86);
    --panel2:rgba(15,27,50,.74);
    --line:rgba(255,255,255,.08);
    --line2:rgba(255,255,255,.13);
    --text:#f4f7ff;
    --muted:#a9b7d5;
    --muted2:#7e90b4;
    --green:#53f2a2;
    --cyan:#5fb8ff;
    --accent:#7d6bff;
    --radius:18px;
    --shadow:0 14px 42px rgba(0,0,0,.34);
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    min-height:100vh;
    color:var(--text);
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans JP",sans-serif;
    background:
        radial-gradient(circle at 12% 18%, rgba(74,143,255,.17), transparent 24%),
        radial-gradient(circle at 88% 86%, rgba(38,255,190,.13), transparent 24%),
        radial-gradient(circle at 78% 14%, rgba(125,107,255,.11), transparent 20%),
        linear-gradient(180deg, #081120 0%, #040812 100%);
    overflow-x:hidden;
    font-size:12px;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    background-image:
        linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
    background-size:32px 32px;
    mask-image:linear-gradient(to bottom, rgba(0,0,0,.55), transparent 88%);
    opacity:.35;
}

a{
    color:inherit;
    text-decoration:none;
}

.wrap{
    width:min(1120px, calc(100% - 28px));
    margin:0 auto;
}

/* Header */

.topbar{
    position:sticky;
    top:0;
    z-index:20;
    backdrop-filter:blur(16px);
    background:rgba(4,10,20,.56);
    border-bottom:1px solid rgba(255,255,255,.06);
}

.topbar-inner{
    width:min(1120px, calc(100% - 28px));
    min-height:50px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.brand{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:900;
    letter-spacing:.08em;
}

.brand-mark{
    width:36px;
    height:36px;
    flex:0 0 36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    overflow:hidden;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.10);
    box-shadow:0 8px 24px rgba(78,111,255,.20);
}

.brand-mark img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.brand-text small{
    display:block;
    color:var(--muted2);
    font-size:8px;
    font-weight:800;
    letter-spacing:.18em;
    margin-bottom:1px;
    line-height:1.2;
}

.brand-text strong{
    display:block;
    font-size:12px;
    line-height:1.2;
}

/* Hero */

.hero{
    padding:26px 0 14px;
}

.hero-grid{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(300px,.78fr);
    gap:16px;
    align-items:stretch;
}

.panel{
    position:relative;
    overflow:hidden;
    background:linear-gradient(180deg, rgba(8,18,38,.88), rgba(5,12,27,.9));
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    backdrop-filter:blur(16px);
}

.panel::before{
    content:"";
    position:absolute;
    top:-120px;
    left:-80px;
    width:260px;
    height:260px;
    border-radius:999px;
    background:radial-gradient(circle, rgba(73,138,255,.15), transparent 70%);
    pointer-events:none;
}

.panel::after{
    content:"";
    position:absolute;
    right:-140px;
    bottom:-150px;
    width:300px;
    height:300px;
    border-radius:999px;
    background:radial-gradient(circle, rgba(63,255,196,.08), transparent 72%);
    pointer-events:none;
}

.hero-main{
    padding:20px 24px 20px;
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    margin:0 0 10px;
    padding:5px 9px;
    border-radius:999px;
    background:rgba(255,255,255,.08);
    color:#cfdcff;
    font-size:10px;
    font-weight:900;
}

.hero-title{
    margin:0 0 10px;
    font-size:clamp(24px, 3.2vw, 40px);
    line-height:1;
    letter-spacing:-.055em;
    font-weight:950;
    white-space:nowrap;
    background:linear-gradient(90deg, #fff 0%, #d8e7ff 52%, #82d5ff 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.lead{
    max-width:650px;
    margin:0 0 12px;
    color:var(--muted);
    font-size:10.5px;
    line-height:1.65;
}

.hero-meta{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    margin:0 0 12px;
}

.meta-card,
.status-item,
.motd-box,
.address-box,
.news-item,
.rule-item{
    background:rgba(255,255,255,.055);
    border:1px solid rgba(255,255,255,.07);
}

.meta-card{
    padding:9px 10px;
    border-radius:12px;
}

.label{
    display:block;
    color:var(--muted2);
    font-size:7.5px;
    font-weight:900;
    letter-spacing:.12em;
    margin-bottom:4px;
}

.value{
    display:block;
    font-size:11.5px;
    font-weight:900;
}

.address-box{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:10px 12px;
    border-radius:13px;
    margin-bottom:0;
}

.address-label{
    color:var(--muted2);
    font-size:7.5px;
    font-weight:900;
    letter-spacing:.13em;
    margin-bottom:4px;
}

.address-value{
    font-size:15px;
    font-weight:950;
    letter-spacing:-.035em;
}

.copy-btn{
    appearance:none;
    border:none;
    cursor:pointer;
    padding:8px 12px;
    border-radius:10px;
    color:#fff;
    font-size:10px;
    font-weight:950;
    background:linear-gradient(135deg, var(--cyan), var(--accent));
    box-shadow:0 8px 20px rgba(94,131,255,.32);
    white-space:nowrap;
    transition:.2s ease;
}

.copy-btn:hover{
    transform:translateY(-2px);
    filter:brightness(1.08);
}

/* Status Panel */

.hero-side{
    padding:18px;
    display:flex;
    flex-direction:column;
}

.side-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:14px;
}

.side-title h2{
    margin:0;
    font-size:15px;
    font-weight:950;
}

.live-tag{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:6px 9px;
    border-radius:999px;
    font-size:10px;
    font-weight:950;
    color:#7cffb7;
    background:rgba(83,242,162,.12);
    border:1px solid rgba(83,242,162,.18);
}

.live-tag.offline{
    color:#ff9a9a;
    background:rgba(255,95,95,.12);
    border-color:rgba(255,95,95,.18);
}

.live-dot{
    width:7px;
    height:7px;
    border-radius:999px;
    background:currentColor;
    box-shadow:0 0 12px currentColor;
}

.status-stack{
    display:grid;
    gap:8px;
}

.status-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:9px 10px;
    border-radius:12px;
}

.status-item .k{
    color:var(--muted);
    font-size:11px;
    font-weight:850;
}

.status-item .v{
    font-size:11px;
    font-weight:950;
    text-align:right;
    word-break:break-word;
}

.motd-box{
    margin-top:10px;
    padding:10px;
    border-radius:13px;
    color:#d8e5ff;
    font-size:11px;
    line-height:1.6;
}

.motd-title{
    display:block;
    color:var(--muted2);
    font-size:7.5px;
    font-weight:900;
    letter-spacing:.12em;
    margin-bottom:5px;
}

/* Sections */

.section{
    padding:0 0 28px;
}

.bottom-grid{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:12px;
    margin-top:0;
}

.news-panel,
.server-panel{
    background:linear-gradient(180deg, rgba(10,20,40,.86), rgba(8,16,31,.8));
    border:1px solid rgba(255,255,255,.07);
    box-shadow:var(--shadow);
    padding:14px;
    border-radius:16px;
}

.section-head{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:16px;
    margin-bottom:10px;
}

.section-head h3,
.small-head h3{
    margin:0;
    font-size:17px;
    line-height:1.1;
}

.section-head p{
    margin:0;
    color:var(--muted);
    font-size:11px;
}

.news-list{
    display:grid;
    gap:8px;
}

.news-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:10px;
    border-radius:12px;
}

.news-date{
    min-width:72px;
    color:var(--muted2);
    font-size:10px;
    font-weight:900;
}

.news-body strong{
    display:block;
    margin-bottom:3px;
    font-size:12px;
}

.news-body span{
    color:var(--muted);
    font-size:11px;
    line-height:1.5;
}

/* Rules */

.rules-list{
    display:grid;
    gap:8px;
}

.rule-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:10px 11px;
    border-radius:12px;
}

.rule-item b{
    min-width:28px;
    color:#8fc8ff;
    font-size:11px;
    font-weight:950;
    letter-spacing:.08em;
}

.rule-item span{
    color:#dbe6ff;
    font-size:11px;
    line-height:1.55;
}

/* Footer */

footer{
    padding:10px 0 22px;
    color:var(--muted2);
    font-size:11px;
}

.footer-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding-top:12px;
    border-top:1px solid rgba(255,255,255,.07);
}

/* Responsive */

@media (max-width:1100px){
    .hero-grid,
    .bottom-grid{
        grid-template-columns:1fr;
    }

    .hero-title{
        white-space:normal;
    }
}

@media (max-width:820px){
    .wrap,
    .topbar-inner{
        width:min(100% - 20px, 1120px);
    }

    .topbar-inner{
        min-height:50px;
    }

    .hero{
        padding:16px 0 10px;
    }

    .hero-main,
    .hero-side{
        padding:16px;
    }

    .hero-title{
        font-size:clamp(24px, 8vw, 34px);
        white-space:normal;
    }

    .lead{
        font-size:10px;
    }

    .hero-meta{
        grid-template-columns:1fr;
    }

    .address-box{
        flex-direction:column;
        align-items:flex-start;
    }

    .address-value{
        font-size:15px;
    }

    .copy-btn{
        width:100%;
    }

    .news-item{
        flex-direction:column;
        gap:6px;
    }

    .news-date{
        min-width:0;
    }

    .footer-inner{
        flex-direction:column;
        align-items:flex-start;
    }
}