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

html {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #3f4144;
    color: white;
}

.floating-nav {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 9999;
}

.section-nav {
    position: fixed;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.section-nav-item {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    padding: 10px 16px 10px 32px;
    margin: -10px -16px -10px -32px;
}

.section-nav-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
    display: block;
    margin-right: 9.5px;
}

.section-nav-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.04em;
    white-space: nowrap;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.25s ease, opacity 0.2s ease;
}

.section-nav-item:hover .section-nav-label {
    max-width: 140px;
    opacity: 1;
}

.section-nav-item:hover .section-nav-dot,
.section-nav-item.active .section-nav-dot {
    background: white;
    transform: scale(1.4);
}

.section-nav-arrow {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.15s;
    align-self: flex-end;
    flex-shrink: 0;
}

.section-nav-arrow:hover {
    background: rgba(255,255,255,0.18);
    color: white;
    transform: scale(1.15);
}

.section-nav-arrow:active {
    transform: scale(0.9);
}

.glass-btn {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(0,0,0,0.45);
    color: white;
    font-size: 13px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    border-radius: 20px;
    text-decoration: none;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: background 0.15s ease;
}

.glass-btn:hover {
    background: rgba(0,0,0,0.6);
}

main {
    display: flex;
    flex-direction: column;
}

section {
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 64px 60px;
    border-bottom: none;
}

section h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 32px;
    letter-spacing: 0.03em;
    border-left: 5px solid white;
    padding-left: 20px;
}

#about-me {
    background: linear-gradient(to bottom, #3f4144 0%, #1a1a1c 100%);
    justify-content: center;
}

#my-work {
    background: linear-gradient(to bottom, #1a1a1c 0%, #1a1a1c 100%);
}

#my-community {
    background: linear-gradient(to bottom, #1a1a1c 0%, #1a3a5c 100%);
}

#about-me h2 {
    margin-bottom: 0;
}

#hero {
    background: url('/public/banner.png') center center / cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 64px 60px;
    border-bottom: none;
}

#hero h1 {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 2px 16px rgba(0,0,0,0.6);
    white-space: nowrap;
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(2deg);
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.scroll-hint svg {
    width: 28px;
    height: 28px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.about-hero {
    display: flex;
    align-items: center;
    gap: 64px;
    overflow: visible;
    position: relative;
}

.about-hero::before,
.about-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    width: 500px;
    height: 700px;
    pointer-events: none;
    z-index: 0;
}

.about-hero::before,
.about-hero::after {
    display: none;
}

.bio-text {
    margin-top: 20px;
    font-size: 16px;
    color: rgba(255,255,255,1);
    line-height: 1.7;
    max-width: 460px;
}

.avatar-spotlight {
    position: relative;
    flex-shrink: 0;
    width: 280px;
    z-index: 1;
}

.spotlight-beam {
    display: none;
}

.avatar-spotlight img {
    position: relative;
    width: 280px;
    z-index: 1;
    filter: drop-shadow(0 24px 32px rgba(0,0,0,0.7));
}

.avatar-spotlight::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 28px;
    background: rgba(0,0,0,0.55);
    border-radius: 50%;
    filter: blur(14px);
    z-index: 0;
}

.about-text {
    z-index: 1;
    flex: 1;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1;
    flex-shrink: 0;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.15s ease, border-color 0.15s ease;
    min-width: 160px;
}

.social-link:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.25);
}

.social-link--youtube { background: rgba(255,0,0,0.12); border-color: rgba(255,0,0,0.25); color: white; }
.social-link--youtube:hover { background: rgba(255,0,0,0.22); border-color: rgba(255,0,0,0.5); }
.social-link--youtube svg { color: #ff4444; fill: #ff4444; }

.social-link--discord { background: rgba(88,101,242,0.12); border-color: rgba(88,101,242,0.25); color: white; }
.social-link--discord:hover { background: rgba(88,101,242,0.22); border-color: rgba(88,101,242,0.5); }
.social-link--discord svg { color: #7983f5; fill: #7983f5; }

.social-link--roblox { background: #111; border-color: #222; color: white; }
.social-link--roblox:hover { background: #1a1a1a; border-color: #333; }
.social-link--roblox svg { color: white; fill: white; }

.social-link--x { background: #111; border-color: #222; color: white; }
.social-link--x:hover { background: #1a1a1a; border-color: #333; }

.social-link--github { background: #111; border-color: #222; color: white; }
.social-link--github:hover { background: #1a1a1a; border-color: #333; }

.social-link--paypal { background: rgba(30,140,255,0.25); border-color: rgba(30,140,255,0.5); color: white; }
.social-link--paypal:hover { background: rgba(30,140,255,0.38); border-color: rgba(30,140,255,0.75); }

.social-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.about-text h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 0;
    border-left: 5px solid white;
    padding-left: 20px;
    letter-spacing: 0.03em;
}

.daily-quote-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-top: 20px;
    padding-left: 24px;
}

blockquote {
    margin-top: 6px;
    padding: 20px 24px;
    border-left: 3px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.75);
    font-size: 22px;
    font-style: italic;
    line-height: 1.6;
}

.subsection-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0 10px;
}

.subsection-header .subsection-label {
    margin: 0;
}

.see-all-btn {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.15s;
}

.see-all-btn:hover {
    color: white;
}

.github-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.github-stat-card {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.github-stat-card:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.2);
}

.github-stat-card h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.github-stat-card h4 svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.github-stat-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.github-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.github-stat-row span:first-child {
    color: rgba(255,255,255,0.55);
}

.github-stat-row span:last-child {
    font-weight: 700;
    color: white;
}

.github-lang-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.github-lang-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.github-lang-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.github-lang-meta span:first-child { color: rgba(255,255,255,0.7); font-weight: 600; }
.github-lang-meta span:last-child  { color: rgba(255,255,255,0.4); }

.github-lang-bar-bg {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}

.github-lang-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: white;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 16px 0 40px;
}

.stat-card {
    border-radius: 20px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: filter 0.2s ease;
}

.stat-card:hover {
    filter: brightness(1.15);
}

.stat-card:nth-child(1) {
    background: linear-gradient(135deg, #0d3320 0%, #1a5c38 100%);
    border: 1px solid rgba(87,242,135,0.25);
}

.stat-card:nth-child(1)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(87,242,135,0.15) 0%, transparent 65%);
    pointer-events: none;
}

.stat-card:nth-child(2) {
    background: linear-gradient(135deg, #2e2400 0%, #5a4800 100%);
    border: 1px solid rgba(255,220,50,0.25);
}

.stat-card:nth-child(2)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(255,220,50,0.15) 0%, transparent 65%);
    pointer-events: none;
}

.stat-card:nth-child(3) {
    background: linear-gradient(135deg, #0a1a35 0%, #153570 100%);
    border: 1px solid rgba(88,150,255,0.25);
}

.stat-card:nth-child(3)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(88,150,255,0.15) 0%, transparent 65%);
    pointer-events: none;
}

.stat-value {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 17px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.subsection-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin: 32px 0 10px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 8px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.video-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: white;
    transition: transform 0.15s ease;
}

.video-card:hover {
    transform: translateY(-4px);
}

.video-card:hover .play-btn {
    opacity: 1;
}

.video-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    font-size: 28px;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.video-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: rgba(255,255,255,0.9);
}

.game-card {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: transform 0.15s ease, background 0.15s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.12);
}

.img-wrap {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-card.in-dev {
    overflow: hidden;
}

.game-card.in-dev img {
    filter: blur(6px) saturate(0.2);
    transform: scale(1.05);
}

.game-card.in-dev .img-wrap {
    position: relative;
}

.game-card.in-dev .img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.game-info {
    padding: 12px 12px 52px;
}

.game-info h3 {
    font-size: 13px;
    font-weight: 700;
    margin: 4px 0;
}

.game-info p {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.finished-tag {
    background: rgba(87, 242, 135, 0.15);
    color: #57f287;
    border-color: rgba(87, 242, 135, 0.35);
}

.games-sublabel {
    grid-column: 1 / -1;
    margin: 16px 0 4px;
}

.game-tags {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.beta-tag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: rgba(120, 80, 255, 0.2);
    color: #a480ff;
    border: 1px solid rgba(120, 80, 255, 0.4);
    padding: 2px 6px;
    border-radius: 6px;
}

.silly-tag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: rgba(50, 200, 100, 0.2);
    color: #4cd97a;
    border: 1px solid rgba(50, 200, 100, 0.4);
    padding: 2px 6px;
    border-radius: 6px;
}

.dev-tag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: rgba(255, 180, 0, 0.2);
    color: #ffb400;
    border: 1px solid rgba(255, 180, 0, 0.4);
    padding: 2px 6px;
    border-radius: 6px;
}

.group-card {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: transform 0.15s ease, background 0.15s ease;
    position: relative;
}

.group-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.12);
}

.group-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.group-info {
    padding: 7px 7px 26px;
}

.group-info h3 {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 3px;
}

.group-info h3 .events-tag,
.group-info h3 .personal-tag,
.group-info h3 .contributor-tag,
.group-info h3 .fun-tag,
.group-info h3 .youtube-tag,
.group-info h3 .stolen-tag {
    position: absolute;
    bottom: 7px;
    right: 7px;
}

.group-info p {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.events-tag {
    font-size: 10px;
    font-weight: 700;
    background: rgba(50, 200, 100, 0.15);
    color: #4cd97a;
    border: 1px solid rgba(50, 200, 100, 0.35);
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.personal-tag {
    font-size: 10px;
    font-weight: 700;
    background: rgba(255, 200, 50, 0.15);
    color: #ffd84d;
    border: 1px solid rgba(255, 200, 50, 0.35);
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.fun-tag {
    font-size: 10px;
    font-weight: 700;
    background: rgba(255, 100, 180, 0.15);
    color: #ff7ec8;
    border: 1px solid rgba(255, 100, 180, 0.35);
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.youtube-tag {
    font-size: 10px;
    font-weight: 700;
    background: rgba(255, 0, 0, 0.15);
    color: #ff5555;
    border: 1px solid rgba(255, 0, 0, 0.35);
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.contributor-tag {
    font-size: 10px;
    font-weight: 700;
    background: rgba(88, 101, 242, 0.2);
    color: #8891f2;
    border: 1px solid rgba(88, 101, 242, 0.4);
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.stolen-tag {
    font-size: 10px;
    font-weight: 700;
    background: #e03e3e;
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.embeds {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.community-layout {
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.community-text {
    flex: 1;
}

.community-desc {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
    max-width: 480px;
}

.discord-widget {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 24px;
    width: 700px;
    flex-shrink: 0;
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.discord-header h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 2px;
}

.discord-header span {
    font-size: 12px;
    color: #57f287;
}

.discord-header div {
    flex: 1;
}

.discord-join {
    padding: 8px 16px;
    background: #5865F2;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s;
}

.discord-join:hover {
    background: #4752c4;
}

.discord-members {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.discord-member {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.75);
}

.discord-avatar {
    position: relative;
    width: 28px;
    height: 28px;
}

.discord-avatar img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.discord-ui {
    display: flex;
    margin-top: 40px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    height: 380px;
    background: #2b2d31;
}

.discord-ui-sidebar {
    display: flex;
    width: 240px;
    flex-shrink: 0;
    background: #2b2d31;
    flex-direction: column;
}

.discord-server-icon {
    height: 48px;
    background: #1e1f22;
    border-bottom: 1px solid rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    gap: 8px;
    flex-shrink: 0;
}

.discord-server-icon img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 50%;
}

.discord-channel-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.discord-category {
    margin-bottom: 4px;
}

.discord-category-label {
    display: block;
    padding: 6px 16px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    cursor: default;
}

.discord-channel {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px 5px 16px;
    margin: 1px 8px;
    border-radius: 6px;
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: background 0.1s, color 0.1s;
}

.discord-channel span {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255,255,255,0.3);
    line-height: 1;
}

.discord-channel:hover {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.75);
}

.discord-channel.active {
    background: rgba(255,255,255,0.12);
    color: white;
}

.discord-channel.active span {
    color: rgba(255,255,255,0.7);
}

.discord-ui-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #313338;
    min-width: 0;
}

.discord-chat-header {
    height: 48px;
    border-bottom: 1px solid rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.discord-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.discord-message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.discord-msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #5865f2;
}

.discord-msg-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.discord-msg-content p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

.discord-msg-author {
    font-size: 14px;
    font-weight: 700;
}

.discord-msg-time {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    margin-left: 6px;
}

.discord-chat-input {
    margin: 0 16px 16px;
    background: rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 11px 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.25);
    flex-shrink: 0;
    cursor: text;
}

.skeleton-card {
    pointer-events: none;
}

.skeleton-img {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
}

.skeleton-line {
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    display: block;
}

.skeleton-img, .skeleton-line {
    animation: shimmer 1.4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

#my-dreams {
    background: linear-gradient(to bottom, #1a1a1c 0%, #1a1a1c 100%);
    justify-content: center;
}

.dreams-grid {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.dream-feature {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 36px 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.dream-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 40%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.dream-feature > * {
    position: relative;
    z-index: 1;
}

.dream-feature-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(100,180,255,0.7);
}

.dream-feature-title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: white;
    line-height: 1;
}

.dream-feature-genre {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.01em;
}

.dream-feature-engine {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(120,200,120,0.8);
    background: rgba(120,200,120,0.08);
    border: 1px solid rgba(120,200,120,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    width: fit-content;
}

.dream-site-link {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    transition: background 0.15s, color 0.15s;
    backdrop-filter: blur(4px);
}
.dream-site-link:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

.steam-btn-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.steam-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    color: rgba(255,255,255,0.35);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: not-allowed;
    opacity: 0.5;
}

.steam-coming-soon {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 4px 10px;
    border-radius: 20px;
}

.dream-feature-desc {
    margin-top: 8px;
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    max-width: 560px;
}

.dream-feature--mission {
    background: radial-gradient(ellipse at bottom right, rgba(255,160,50,0.12) 0%, transparent 65%),
                radial-gradient(ellipse at top left, rgba(255,100,30,0.08) 0%, transparent 60%),
                #111;
}

.dream-feature--mission .dream-feature-tag {
    color: rgba(255,170,60,0.8);
}

.mission-counter {
    margin-top: 8px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.mission-count {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffaa3c;
    line-height: 1;
}

.mission-total {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255,170,60,0.4);
}

.dream-feature--fatigue {
    background: radial-gradient(ellipse at top right, rgba(80,200,120,0.1) 0%, transparent 60%),
                radial-gradient(ellipse at bottom left, rgba(40,160,90,0.07) 0%, transparent 60%),
                #0a0f0b;
}

.dream-feature--fatigue .dream-feature-tag {
    color: rgba(80,210,130,0.8);
}

.fatigue-ai-tag {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    vertical-align: super;
    position: relative;
    top: -4px;
}

.dream-feature--fatigue .dream-feature-genre {
    color: rgba(255,255,255,0.5);
}

.fatigue-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.fatigue-pill {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(80,210,130,0.08);
    border: 1px solid rgba(80,210,130,0.2);
    color: rgba(80,210,130,0.8);
}

#support-me {
    background: linear-gradient(to bottom, #1a3a5c 0%, #0d2040 50%, #1a3a5c 100%);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.support-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.55);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 36px;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: #1a6fd4;
    color: white;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.15s, transform 0.15s;
}

.support-btn:hover {
    background: #2a84f0;
    transform: scale(1.03);
}

#contact {
    background: linear-gradient(to bottom, #1a3a5c 0%, #0d1f33 100%);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.contact-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

.contact-heading {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    letter-spacing: 0.06em;
    color: white;
    border: none;
    padding: 0;
    margin: 0;
}

.contact-sub {
    font-size: 20px;
    color: rgba(255,255,255,0.55);
    margin-top: 4px;
}

.contact-email {
    margin-top: 16px;
    display: inline-block;
    padding: 16px 40px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-email:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

.status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background: #57f287;
    border-radius: 50%;
    border: 2px solid #2b2b2b;
}

@keyframes avatar-pop {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.18) translateY(-6px); }
    55%  { transform: scale(0.94) translateY(2px); }
    75%  { transform: scale(1.07) translateY(-2px); }
    100% { transform: scale(1); }
}

.avatar-spotlight img.popping {
    animation: avatar-pop 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
}

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 768px) {

    .section-nav {
        top: 16px;
        right: 16px;
        left: 16px;
        bottom: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 0 8px;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        border-radius: 999px;
        height: 44px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        box-shadow: none;
    }

    .section-nav::-webkit-scrollbar {
        display: none;
    }

    .section-nav-arrow {
        display: none;
    }

    .section-nav-item {
        flex-direction: row;
        align-items: center;
        gap: 6px;
        padding: 6px 8px;
        margin: 0;
        flex-shrink: 0;
        border-radius: 999px;
        transition: background 0.2s, padding 0.2s;
    }

    .section-nav-item.active {
        background: rgba(255,255,255,0.15);
        padding: 6px 12px;
    }

    .section-nav-dot {
        width: 5px;
        height: 5px;
        margin-right: 0;
    }

    .section-nav-label {
        max-width: 0;
        opacity: 0;
        overflow: hidden;
        font-size: 11px;
        letter-spacing: 0.02em;
        transition: max-width 0.25s ease, opacity 0.2s ease;
        white-space: nowrap;
    }

    .section-nav-item.active .section-nav-label {
        max-width: 100px;
        opacity: 1;
    }

    .section-nav-item:hover .section-nav-label {
        max-width: 100px;
        opacity: 1;
    }

    section {
        padding-top: 88px;
    }

    #hero {
        padding-top: 80px;
    }

    section {
        padding: 56px 20px 48px;
        min-height: 100svh;
    }

    section h2 {
        font-size: 36px;
        padding-left: 14px;
        margin-bottom: 24px;
    }

    #hero {
        padding: 48px 20px 48px;
    }

    #hero h1 {
        font-size: 36px;
        white-space: normal;
        text-align: center;
        letter-spacing: 0.04em;
        top: 72%;
        width: 90%;
    }

    .about-hero {
        flex-direction: column;
        gap: 28px;
        align-items: flex-start;
    }

    .avatar-spotlight {
        width: 180px;
        align-self: center;
    }

    .avatar-spotlight img {
        width: 180px;
    }

    .about-text h2 {
        font-size: 40px;
        padding-left: 14px;
    }

    blockquote {
        font-size: 16px;
        padding: 14px 16px;
        margin-top: 16px;
    }

    .bio-text {
        font-size: 15px;
        max-width: 100%;
    }

    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-link {
        min-width: calc(50% - 5px);
        flex: 1 1 calc(50% - 5px);
        padding: 10px 14px;
        font-size: 13px;
    }

    .stats-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-value {
        font-size: 40px;
    }

    .stat-label {
        font-size: 15px;
    }

    .github-stats {
        flex-direction: column;
    }

    .gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .community-layout {
        flex-direction: column;
        gap: 24px;
    }

    .community-desc {
        font-size: 15px;
        max-width: 100%;
    }

    .discord-widget {
        width: 100%;
        padding: 16px;
    }

    .discord-ui {
        flex-direction: column;
        height: auto;
    }

    .discord-ui-sidebar {
        display: none;
    }

    .discord-ui-chat {
        height: 320px;
    }

    .dream-feature {
        padding: 24px 20px;
    }

    .dream-feature-desc {
        max-width: 100%;
        font-size: 14px;
    }

    .contact-heading {
        font-size: clamp(36px, 12vw, 72px);
    }

    .contact-email {
        font-size: 14px;
        padding: 14px 24px;
        word-break: break-all;
    }

    .contact-sub {
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    .social-link {
        min-width: 100%;
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}
