:root {
    --bg: #0a0b14;
    --bg-2: #11121f;
    --card: #15172a;
    --card-2: #1b1e36;
    --border: #262a45;
    --text: #e6e8f0;
    --text-dim: #9aa0b8;
    --accent: #6c8cff;
    --accent-2: #a06cff;
    --accent-glow: rgba(108, 140, 255, 0.35);
    --discord: #5865f2;
    --discord-hover: #4752d4;
    --success: #3ba55d;
    --radius: 16px;
    --radius-sm: 10px;
    --maxw: 1140px;
    --font: 'Poppins', system-ui, -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }
* { scroll-margin-top: 80px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.text-accent { color: var(--accent); }

/* ===== Scroll Progress ===== */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    z-index: 999;
    transition: width .1s linear;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* ===== Custom Cursor ===== */
.custom-cursor {
    position: fixed;
    width: 20px; height: 20px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .2s, height .2s, background .2s;
    opacity: 0;
}
.custom-cursor.active { opacity: 1; }
.custom-cursor.hover {
    width: 40px; height: 40px;
    background: rgba(108, 140, 255, 0.15);
}
@media (hover: none) { .custom-cursor { display: none; } }

/* ===== Background ===== */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 140, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 140, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: -2;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}
.bg-glow--1 {
    width: 500px; height: 500px;
    background: var(--accent);
    top: -150px; left: -100px;
}
.bg-glow--2 {
    width: 600px; height: 600px;
    background: var(--accent-2);
    bottom: -200px; right: -150px;
    opacity: 0.35;
    animation-delay: -5s;
    animation-direction: reverse;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(40px, -30px); }
    66% { transform: translate(-30px, 20px); }
}
.bg-noise {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 6%;
    transition: backdrop-filter .3s, background .3s, border-color .3s, padding .3s;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(10, 11, 20, 0.7);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px 6%;
}
.navbar__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.navbar__logo-img {
    width: 36px; height: 36px;
    border-radius: 8px;
    object-fit: cover;
    transition: transform .3s;
}
.navbar__logo:hover .navbar__logo-img { transform: rotate(-10deg) scale(1.1); }
.navbar__logo-icon {
    font-family: var(--mono);
    color: var(--accent);
    background: rgba(108, 140, 255, 0.12);
    padding: 6px 9px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: transform .3s;
}
.navbar__logo:hover .navbar__logo-icon { transform: rotate(-10deg) scale(1.1); }
.navbar__logo-text { letter-spacing: -0.5px; }
.navbar__links { display: flex; gap: 28px; }
.navbar__links a {
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color .2s;
    position: relative;
}
.navbar__links a::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width .25s ease;
}
.navbar__links a:hover { color: var(--text); }
.navbar__links a:hover::after { width: 100%; }
.navbar__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--discord);
    color: #fff;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background .2s, transform .2s;
}
.navbar__cta:hover { background: var(--discord-hover); transform: translateY(-2px); }
.navbar__cta--live { gap: 8px; }
.dc-nav-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
    box-shadow: 0 0 8px currentColor;
    transition: background .3s, box-shadow .3s;
}
.dc-nav-dot.is-online { background: var(--success); color: var(--success); }
.dc-nav-dot.is-idle { background: #f0b232; color: #f0b232; }
.dc-nav-dot.is-dnd { background: #ed4245; color: #ed4245; }
.navbar__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.navbar__burger span {
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: .3s;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 6% 60px;
    position: relative;
}
.hero__inner { max-width: 820px; }
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--text-dim);
    background: rgba(59, 165, 93, 0.08);
    border: 1px solid rgba(59, 165, 93, 0.25);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
}
.status-dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(59, 165, 93, 0.6);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 165, 93, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(59, 165, 93, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 165, 93, 0); }
}
.hero__title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 22px;
}
.hero__highlight {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
    to { background-position: 200% center; }
}
.hero__subtitle {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--text-dim);
    max-width: 620px;
    margin: 0 auto 36px;
    min-height: 3em;
}
.typewriter-cursor {
    color: var(--accent);
    animation: blink 1s step-end infinite;
    font-weight: 400;
}
@keyframes blink { 50% { opacity: 0; } }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero__stats {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero__stat { display: flex; flex-direction: column; gap: 4px; }
.hero__stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}
.hero__stat-label { font-size: 0.85rem; color: var(--text-dim); }
.hero__scroll {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s;
    border: none;
}
.btn--primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 8px 24px var(--accent-glow);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px var(--accent-glow); }
.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); transform: translateY(-3px); }
.btn--discord {
    background: var(--discord);
    color: #fff;
    padding: 14px 30px;
}
.btn--discord:hover { background: var(--discord-hover); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4); }

/* ===== Sections ===== */
.section {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 100px 6%;
}
.section__head { margin-bottom: 50px; }
.section__tag {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--accent);
    display: block;
    margin-bottom: 10px;
}
.section__title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* ===== About ===== */
.about {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}
.about__card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: border-color .3s;
}
.about__card:hover { border-color: var(--accent); }
.about__avatar {
    width: 110px; height: 110px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 10px 30px var(--accent-glow);
    transition: transform .3s;
}
.about__card:hover .about__avatar { transform: scale(1.05); }
.about__name { font-size: 1.3rem; font-weight: 700; }
.about__role { color: var(--accent); font-size: 0.9rem; margin-bottom: 22px; }
.about__meta { list-style: none; text-align: left; }
.about__meta li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.9rem;
}
.about__meta li i { color: var(--accent); width: 18px; }
.about__text p { color: var(--text-dim); margin-bottom: 18px; }
.about__text strong { color: var(--text); }
.about__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.about__tags span {
    font-family: var(--mono);
    font-size: 0.8rem;
    background: rgba(108, 140, 255, 0.1);
    border: 1px solid rgba(108, 140, 255, 0.25);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 999px;
    transition: transform .2s, background .2s;
}
.about__tags span:hover {
    transform: translateY(-3px);
    background: rgba(108, 140, 255, 0.2);
}

/* ===== Skills ===== */
.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}
.skill {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    transition: border-color .2s, transform .2s;
}
.skill:hover { border-color: var(--accent); transform: translateY(-4px); }
.skill__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
}
.skill__header i { color: var(--accent); margin-right: 8px; }
.skill__pct { font-family: var(--mono); font-size: 0.85rem; color: var(--text-dim); }
.skill__bar {
    height: 7px;
    background: var(--bg-2);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 12px;
}
.skill__fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 999px;
    transition: width 1.2s cubic-bezier(.2,.8,.2,1);
}
.skill__desc { color: var(--text-dim); font-size: 0.88rem; }

/* ===== Services ===== */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}
.service {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color .25s, transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}
.service::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at top left, rgba(108,140,255,0.06), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}
.service:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,0.3); }
.service:hover::before { opacity: 1; }
.service__icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(108,140,255,0.15), rgba(160,108,255,0.15));
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: transform .3s;
}
.service:hover .service__icon { transform: scale(1.1) rotate(-5deg); }
.service__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.service__desc { color: var(--text-dim); font-size: 0.9rem; }

/* ===== Projects ===== */
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.project {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.project::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.project:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,0.4); }
.project:hover::before { transform: scaleX(1); }
.project__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.project__icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(108, 140, 255, 0.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.project__links { display: flex; gap: 14px; }
.project__links a {
    color: var(--text-dim);
    font-size: 1.1rem;
    transition: color .2s, transform .2s;
}
.project__links a:hover { color: var(--accent); transform: translateY(-2px); }
.project__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.project__desc { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 18px; }
.project__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project__tags span {
    font-family: var(--mono);
    font-size: 0.72rem;
    background: var(--bg-2);
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 4px 10px;
    border-radius: 6px;
}
.project--soon { border-style: dashed; opacity: 0.75; }
.project--soon .project__icon { background: rgba(255,255,255,0.04); color: var(--text-dim); }

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding-left: 40px;
    max-width: 760px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 15px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2), transparent);
}
.timeline__item {
    position: relative;
    padding-bottom: 40px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
    position: absolute;
    left: -33px; top: 6px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg);
    box-shadow: 0 0 12px var(--accent-glow);
    z-index: 1;
}
.timeline__content {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    transition: border-color .2s, transform .2s;
}
.timeline__content:hover { border-color: var(--accent); transform: translateX(8px); }
.timeline__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--accent);
    background: rgba(108,140,255,0.1);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.timeline__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.timeline__content p { color: var(--text-dim); font-size: 0.9rem; }

/* ===== Contact ===== */
.section--contact { padding-bottom: 120px; }
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact__lead { color: var(--text-dim); font-size: 1.05rem; margin: 18px 0 30px; max-width: 480px; }

/* ===== Contact form ===== */
.contact__right { display: flex; flex-direction: column; gap: 28px; }
.contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.92rem;
    margin-bottom: 14px;
    transition: border-color .2s, box-shadow .2s;
    resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-dim); }
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.contact-form__btn { width: 100%; justify-content: center; }
.contact-form__hint {
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-form__hint i { color: var(--accent); }
.contact-form__msg {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    text-align: center;
}
.contact-form__msg.success {
    background: rgba(59, 165, 93, 0.1);
    border: 1px solid rgba(59, 165, 93, 0.3);
    color: var(--success);
}
.contact-form__msg.error {
    background: rgba(237, 66, 69, 0.1);
    border: 1px solid rgba(237, 66, 69, 0.3);
    color: #ed4245;
}

/* ===== Discord live widget ===== */
.dc-widget {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 14px 40px rgba(0,0,0,0.4);
    transition: opacity .4s, transform .4s, box-shadow .4s;
}
.dc-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(108,140,255,0.15);
}
.dc-widget.is-loading { opacity: .4; }
.dc-widget.is-loading:hover { transform: none; }

.dc-banner {
    height: 100px;
    background:
        radial-gradient(circle at 20% 50%, rgba(108,140,255,0.5), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(160,108,255,0.45), transparent 55%),
        linear-gradient(120deg, #2a2d4f, #1b1e36);
    position: relative;
    overflow: hidden;
}
.dc-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: dc-banner-shimmer 4s ease-in-out infinite;
}
.dc-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(88,101,242,0.3), transparent 60%);
}
@keyframes dc-banner-shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -100% 0; }
}

.dc-profile {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    padding: 0 26px 18px;
    margin-top: -46px;
    position: relative;
    z-index: 1;
}
.dc-avatar {
    width: 88px; height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    border: 5px solid var(--card);
    position: relative;
    overflow: visible;
    flex-shrink: 0;
    transition: box-shadow .3s;
}
.dc-widget:hover .dc-avatar {
    box-shadow: 0 0 20px rgba(108,140,255,0.3);
}
.dc-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.dc-status-ring {
    position: absolute;
    bottom: 2px; right: 2px;
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 4px solid var(--card);
    background: var(--text-dim);
    transition: background .3s, box-shadow .3s;
    z-index: 2;
}
.dc-status-ring.is-online {
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: dc-pulse-ring 2s ease-in-out infinite;
}
.dc-status-ring.is-idle { background: #f0b232; box-shadow: 0 0 8px #f0b232; }
.dc-status-ring.is-dnd { background: #ed4245; box-shadow: 0 0 8px #ed4245; }
@keyframes dc-pulse-ring {
    0%, 100% { box-shadow: 0 0 8px var(--success), 0 0 0 0 rgba(76,175,80,0.4); }
    50% { box-shadow: 0 0 8px var(--success), 0 0 0 6px rgba(76,175,80,0); }
}
.dc-meta { padding-bottom: 4px; min-width: 0; }
.dc-name {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .3s;
}
.dc-widget:hover .dc-name { color: var(--accent); }
.dc-handle {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Badges */
.dc-badges {
    display: flex;
    gap: 8px;
    padding: 0 26px 14px;
    flex-wrap: wrap;
}
.dc-badge-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg-2);
    border: 1px solid var(--border);
    color: var(--accent);
    font-size: 0.85rem;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.dc-badge-pill:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(108,140,255,0.25);
    border-color: rgba(108,140,255,0.3);
}
.dc-badge-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 26px 16px;
}
.dc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--bg-2);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
    color: var(--text);
    transition: border-color .3s, background .3s;
}
.dc-widget:hover .dc-badge {
    border-color: rgba(108,140,255,0.2);
}
.dc-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--text-dim);
    transition: background .3s, box-shadow .3s;
}
.dc-dot.is-online {
    background: var(--success);
    box-shadow: 0 0 6px var(--success);
    animation: dc-pulse-dot 2s ease-in-out infinite;
}
.dc-dot.is-idle { background: #f0b232; box-shadow: 0 0 6px #f0b232; }
.dc-dot.is-dnd { background: #ed4245; box-shadow: 0 0 6px #ed4245; }
@keyframes dc-pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.dc-platforms { display: flex; gap: 8px; }
.dc-platforms i {
    font-size: 1rem;
    color: var(--text-dim);
    opacity: 0.45;
    transition: opacity .3s, color .3s, transform .3s;
}
.dc-platforms i.is-active { opacity: 1; color: var(--accent); }
.dc-platforms i.is-active:hover { transform: scale(1.2); }

.dc-activity {
    margin: 0 20px 16px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 14px;
    display: flex;
    gap: 14px;
    align-items: center;
    transition: border-color .3s, background .3s;
}
.dc-activity:hover {
    border-left-color: var(--accent-2);
    background: rgba(108,140,255,0.04);
}
.dc-activity__icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(108,140,255,0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 1.4rem;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform .3s;
}
.dc-activity:hover .dc-activity__icon { transform: scale(1.05); }
.dc-activity__icon img { width: 100%; height: 100%; object-fit: cover; }
.dc-activity__body { min-width: 0; }
.dc-activity__label {
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dim);
}
.dc-activity__name {
    font-weight: 600;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dc-activity__detail {
    font-size: 0.8rem;
    color: var(--text-dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dc-footer { padding: 0 20px 22px; }
.dc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--discord), #7981f5);
    color: #fff;
    padding: 13px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: background .2s, transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.dc-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
    background-size: 200% 100%;
    background-position: 200% 0;
    transition: background-position .5s;
}
.dc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
}
.dc-btn:hover::before { background-position: -100% 0; }
.dc-btn i { position: relative; z-index: 1; }
.dc-btn { position: relative; }
.dc-btn > * { position: relative; z-index: 1; }

/* Spotify activity accent */
.dc-activity--spotify { border-left-color: #1db954; }
.dc-activity--spotify .dc-activity__icon { background: rgba(29,185,84,0.15); color: #1db954; }
.dc-activity--spotify .dc-activity__label { color: #1db954; }

/* Warning banner */
.dc-warn[hidden] { display: none !important; }
.dc-warn {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0 20px 22px;
    padding: 14px;
    background: rgba(237, 66, 69, 0.08);
    border: 1px solid rgba(237, 66, 69, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--text-dim);
    animation: dc-warn-fadein .4s ease;
}
@keyframes dc-warn-fadein {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.dc-warn i { color: #ed4245; font-size: 1rem; margin-top: 2px; }
.dc-warn p { margin: 0; }
.dc-warn a strong { color: #ed4245; }

/* ===== Back to top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity .3s, transform .3s, box-shadow .3s;
    box-shadow: 0 8px 24px var(--accent-glow);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--accent-glow); }

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 6% 30px;
    background: rgba(10, 11, 20, 0.5);
}
.footer__inner {
    max-width: var(--maxw);
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.footer__logo { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.footer__desc { color: var(--text-dim); font-size: 0.9rem; max-width: 320px; }
.footer__col h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}
.footer__col a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 0.88rem;
    padding: 6px 0;
    transition: color .2s, transform .2s;
}
.footer__col a:hover { color: var(--accent); transform: translateX(4px); }
.footer__col a i { width: 18px; }
.footer__copy {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    max-width: var(--maxw);
    margin: 0 auto;
}
.footer__copy i { color: #ff5b78; }

/* ===== Reveal animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
    .about { grid-template-columns: 1fr; }
    .about__card { max-width: 360px; margin: 0 auto; }
    .contact { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .navbar__links {
        position: fixed;
        top: 64px; right: 0;
        flex-direction: column;
        background: rgba(10, 11, 20, 0.97);
        backdrop-filter: blur(14px);
        border: 1px solid var(--border);
        padding: 24px;
        gap: 18px;
        border-radius: 0 0 0 16px;
        transform: translateX(110%);
        transition: transform .3s ease;
        min-width: 200px;
    }
    .navbar__links.open { transform: translateX(0); }
    .navbar__cta { display: none; }
    .navbar__burger { display: flex; }
    .hero__stats { gap: 30px; }
    .dc-nav-status { display: none; }
    .footer__inner { grid-template-columns: 1fr; gap: 30px; }
    .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}
@media (max-width: 480px) {
    .hero__actions { flex-direction: column; width: 100%; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .hero__stats { gap: 22px; }
    .hero__scroll { display: none; }
}
/* Cursor removed */
.custom-cursor { display: none !important; }