* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: #050607;
    color: #e0e0e0;
    overflow-x: hidden;
}

/* ===== BACKGROUND ===== */
.bg-layer {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, #111 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, #0a0a0a 0%, transparent 45%);
    animation: bgmove 12s infinite alternate;
    z-index: 0;
}

@keyframes bgmove {
    from { filter: brightness(1); }
    to   { filter: brightness(1.25); }
}

/* ===== MAIN FRAME ===== */
.core-frame {
    position: relative;
    z-index: 5;
    max-width: 920px;
    margin: 70px auto;
    padding: 20px;
    text-align: center;
}

/* ===== LOGO ===== */
.logo-area {
    position: relative;
    z-index: 6;
}

.logo-area img {
    width: 440px;
    max-width: 95%;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 40px rgba(255,0,0,.25));
}

/* ===== TEXT ===== */
.logo-text {
    font-size: 26px;
    letter-spacing: 5px;
}

.logo-text.small {
    font-size: 14px;
    opacity: .7;
}

.logo-text.url {
    font-size: 12px;
    opacity: .5;
}

.tag {
    margin-top: 18px;
    font-size: 13px;
    color: #aaa;
}

/* ===== GLITCH ===== */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    width: 100%;
}

.glitch::before {
    color: crimson;
    animation: glitch1 2s infinite;
}

.glitch::after {
    color: #00ffff;
    animation: glitch2 3s infinite;
}

@keyframes glitch1 {
    0% { clip-path: inset(0 0 85% 0); }
    50% { clip-path: inset(40% 0 25% 0); }
    100% { clip-path: inset(0 0 85% 0); }
}

@keyframes glitch2 {
    0% { clip-path: inset(80% 0 0 0); }
    50% { clip-path: inset(10% 0 65% 0); }
    100% { clip-path: inset(80% 0 0 0); }
}

/* ===== BUTTONS ===== */
.channels {
    margin-top: 35px;
}

.btn {
    margin: 14px auto;
    padding: 15px;
    width: 90%;
    max-width: 420px;
    background: #0c0d11;
    border: 1px solid #333;
}

.btn.core {
    border-color: crimson;
    color: crimson;
}

/* ===== FOOTER ===== */
footer {
    margin-top: 45px;
    font-size: 12px;
    opacity: .6;
}

/* ===== SPIDER FRONT LAYER ===== */
#spider-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9; /* DEPAN LOGO */
}

.spider {
    position: absolute;
    top: -120px;
    width: 60px;
    animation: fall 6s ease-in forwards;
}

@keyframes fall {
    0%   { top: -120px; opacity: 0; }
    10%  { opacity: 1; }
    80%  { top: 70%; }
    100% { top: 85%; opacity: 0; }
}

/* ===== MOBILE FIX ===== */
@media (max-width: 600px) {

    .core-frame {
        margin: 40px auto;
        padding: 15px;
    }

    .logo-area img {
        width: 240px;
    }

    .logo-text {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .btn {
        width: 100%;
    }
}


/* ===============================
   SPIDERMASTER STAFF BUTTON CORE
   =============================== */

.channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 35px;
}

/* MAIN BUTTON */
.btn {
    background: linear-gradient(180deg, #1a1a1a, #050505);
    border: 1px solid rgba(255, 0, 0, 0.4);
    padding: 18px 22px;

    text-align: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #f0f0f0;
    text-transform: uppercase;

    border-radius: 14px;
    cursor: pointer;

    box-shadow:
        0 6px 0 #350000,
        0 0 18px rgba(255, 0, 0, 0.45);

    transition: all 0.25s ease;
    position: relative;
}

/* HOVER */
.btn:hover {
    transform: translateY(-4px);
    box-shadow:
        0 10px 0 #550000,
        0 0 30px rgba(255, 0, 0, 0.7);
    color: #ffffff;
}

/* CLICK */
.btn:active {
    transform: translateY(2px);
    box-shadow:
        0 3px 0 #250000,
        0 0 12px rgba(255, 0, 0, 0.4);
}

/* CORE / FOUNDER BUTTON */
.btn.core {
    background: linear-gradient(180deg, #220000, #070000);
    border: 1px solid #ff0000;
    color: #ff3b3b;

    box-shadow:
        0 8px 0 #600000,
        0 0 35px rgba(255, 0, 0, 0.9);
}

/* MOBILE FIX */
@media (max-width: 600px) {
    .btn {
        font-size: 14px;
        padding: 16px;
        letter-spacing: 1.5px;
    }
}

.btn,
.btn:visited,
.btn:hover,
.btn:active {
    text-decoration: none;
    color: inherit;
}

.profile-img {
    position: relative;
}

.profile-img {
    filter: drop-shadow(0 0 40px rgba(255, 0, 0, 0.35));
}

.profile-img {
    filter:
        drop-shadow(0 0 25px rgba(255,0,0,0.35))
        drop-shadow(0 0 60px rgba(255,0,0,0.25));
}

/* ===========================
   PROFILE IMAGE SHAKE EFFECT
   =========================== */

.profile-shake {
    animation: shake 0.67s infinite;
}

@keyframes shake {
    0%   { transform: translate(1px, 1px); }
    25%  { transform: translate(-1px, -1px); }
    50%  { transform: translate(-2px, 1px); }
    75%  { transform: translate(2px, 1px); }
    100% { transform: translate(1px, -1px); }
}

/* ===============================
   ⚡ INSANE BRANCHED LIGHTNING ⚡
   NO HTML CHANGE
   =============================== */

.profile-img {
    position: relative;
    z-index: 3;
    animation: flashPulse 5s infinite;
}

/* batang kilat utama */
.profile-img::before {
    content: "";
    position: absolute;
    top: -60px;
    left: 48%;
    width: 6px;
    height: 260px;
    background: linear-gradient(
        to bottom,
        transparent,
        #ff0000,
        #ffffff,
        #ff0000,
        transparent
    );
    filter: blur(0.8px);
    opacity: 0;
    transform: skewX(-12deg);
    z-index: -1;
}

/* cabang kiri */
.profile-img::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 45%;
    width: 3px;
    height: 160px;
    background: linear-gradient(
        to bottom,
        transparent,
        #ffffff,
        #ff0000,
        transparent
    );
    transform: rotate(-35deg);
    filter: blur(1px);
    opacity: 0;
    z-index: -1;
}

/* extra cabang fake */
.profile-img span {
    display: none;
}

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

.profile-img::before {
    animation: lightningMain 5s infinite;
}

.profile-img::after {
    animation: lightningBranch 5s infinite;
}

@keyframes lightningMain {
    0%   { opacity: 0; }
    6%   { opacity: 1; }
    9%   { opacity: 0; }
    14%  { opacity: 1; }
    18%  { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes lightningBranch {
    0%   { opacity: 0; }
    7%   { opacity: 1; }
    10%  { opacity: 0; }
    16%  { opacity: 1; }
    20%  { opacity: 0; }
    100% { opacity: 0; }
}

/* flash cahaya masa petir */
@keyframes flashPulse {
    0%   { filter: brightness(1); }
    6%   { filter: brightness(3); }
    9%   { filter: brightness(1); }
    16%  { filter: brightness(2.4); }
    20%  { filter: brightness(1); }
}
