:root {
    --bg-main: #191E2B;
    --bg-box: #171C25;
    --border-color: #232932; 
    --gap-main: 0.75rem;
    --dc-primary: #171C25; 
    --dc-accent: #2c313c;
    --spotify-purple: #9d56ff; 
    --text-muted: #8e9297;
    --hr-color: #2f333a;
}
@media (min-width: 1024px) { :root { --gap-main: 1.25rem; } }
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-user-select: none; user-select: none; }
body {
    background-color: var(--bg-main);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh; padding: 1rem; 
    overflow-x: hidden;
    overflow-y: auto;
}
@media (min-width: 1024px) { body { overflow-y: hidden; } }
.layout-container { width: 100%; max-width: 72rem; display: flex; flex-direction: column; gap: var(--gap-main); }
@media (min-width: 1024px) { .layout-container { aspect-ratio: 16 / 9; } }
.row-top, .row-bottom { display: flex; flex-direction: column; gap: var(--gap-main); width: 100%; }
@media (min-width: 1024px) {
    .row-top { flex: 4.5; flex-direction: row; }
    .row-bottom { flex: 5.5; flex-direction: row; }
}
.box {
    background-color: var(--bg-box);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex; opacity: 0;
    animation: fadeUp 0.6s ease-out forwards;
    overflow: hidden; position: relative;
    backface-visibility: hidden;
    transform: translateZ(0);
    width: 100%;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.box-1 { animation-delay: 0.1s; flex-direction: column; }
@media (min-width: 1024px) { .box-1 { width: 42%; height: 100%; } }
.right-group { display: flex; flex-direction: column; gap: var(--gap-main); width: 100%; }
@media (min-width: 1024px) { .right-group { width: 58%; height: 100%; } }
.box-2 { animation-delay: 0.3s; padding: 1.25rem 1.5rem; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) { .box-2 { flex: 5.5; } }
.box-spacer { display: none; }
@media (min-width: 1024px) { .box-spacer { display: block; flex: 4.5; width: 100%; } }
.box-3, .box-4 { animation-delay: 0.5s; padding: 1.5rem; flex-direction: column; }
.box-4 { animation-delay: 0.7s; }
@media (min-width: 1024px) { .box-3, .box-4 { width: 50%; height: 100%; } }
.discord-card { width: 100%; height: 100%; display: flex; flex-direction: column; }
.dc-banner { 
    width: 100%; height: 140px; min-height: 140px;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    background-image: url("[https://dcdn.dstn.to/banners/853356342605381653](https://dcdn.dstn.to/banners/853356342605381653)"); 
    background-color: rgb(25, 30, 43); 
    flex-shrink: 0; transition: background 0.5s ease, background-color 0.5s ease;
    position: relative;
}
.dc-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%; 
    background: linear-gradient(to bottom, transparent 0%, rgba(23, 28, 37, 0.05) 15%, rgba(23, 28, 37, 0.2) 35%, rgba(23, 28, 37, 0.5) 60%, rgba(23, 28, 37, 0.8) 85%, rgba(23, 28, 37, 1) 100%);
    pointer-events: none;
    z-index: 1;
}
.dc-profile-body { padding: 0 1.25rem 1rem 1.25rem; flex: 1; position: relative; display: flex; flex-direction: column; z-index: 2; }
.avatar-wrapper { position: relative; width: 70px; height: 70px; margin-top: -35px; margin-bottom: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .avatar-wrapper { width: 80px; height: 80px; margin-top: -44px; } }
.avatar-main { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; z-index: 1; position: relative; box-shadow: 0 0 0 6px var(--dc-primary); background: #2f333a; }
.dc-decoration { position: absolute; top: 50%; left: 50%; width: 120%; height: 120%; transform: translate(-50%, -50%); z-index: 10; pointer-events: none; }
.status-indicator { position: absolute; bottom: 0; right: 0; width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--dc-primary); z-index: 20; background-color: #747f8d; display: flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .status-indicator { width: 24px; height: 24px; border-width: 4px; } }
.status-indicator.dnd { background-color: #f23f43; }
.status-indicator.dnd::after { content: ''; width: 8px; height: 2px; background: white; border-radius: 1px; }
.dc-displayname { font-size: 1.3rem; font-weight: 800; color: white; margin-top: 4px; }
@media (min-width: 1024px) { .dc-displayname { font-size: 1.5rem; } }
.dc-username-line { display: flex; align-items: center; gap: 5px; color: var(--text-muted); font-size: 0.85rem; }
.spinning-icon { position: absolute; bottom: 1rem; right: 1rem; width: 50px; opacity: 0.3; animation: spinForever 15s linear infinite; }
@media (min-width: 1024px) { .spinning-icon { width: 65px; right: 1.25rem; } }
@keyframes spinForever { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.box-header { color: white; font-size: 0.8rem; font-weight: 800; margin-bottom: 0.75rem; display: flex; justify-content: space-between; align-items: center; }
.spotify-container { display: flex; align-items: center; width: 100%; position: relative; }
.spotify-album-art { width: 65px; height: 65px; border-radius: 10px; flex-shrink: 0; background: #22272e; box-shadow: 0 4px 10px rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; overflow: hidden; }
@media (min-width: 1024px) { .spotify-album-art { width: 82px; height: 82px; border-radius: 12px; } }
.art-img { width: 100%; height: 100%; object-fit: cover; }
.art-placeholder { width: 45%; height: 45%; opacity: 0.3; stroke: #8e9297; }
.spotify-info { margin-left: 1rem; flex: 1; overflow: hidden; padding-right: 2rem; }
@media (min-width: 1024px) { .spotify-info { margin-left: 1.25rem; padding-right: 3.5rem; } }
.spotify-title { color: white; font-size: 1rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spotify-artist { color: var(--text-muted); font-size: 0.8rem; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spotify-progress-container { margin-top: 8px; width: 100%; display: none; }
.spotify-progress-bg { background: #3e444b; height: 4px; border-radius: 2px; width: 100%; overflow: hidden; }
.spotify-progress-fill { background: var(--spotify-purple); height: 100%; width: 0%; border-radius: 2px; transition: width 1s linear; }
.spotify-time { display: flex; justify-content: space-between; font-size: 0.65rem; color: var(--text-muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.spotify-visual { position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 20px; display: flex; align-items: flex-end; gap: 2px; }
.wave-bar { width: 3px; background: var(--spotify-purple); border-radius: 2px; height: 20%; animation: waveAnim 1s infinite ease-in-out; }
@keyframes waveAnim { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.box-3 { overflow-y: auto; scrollbar-width: none; min-height: 250px; }
.box-3::-webkit-scrollbar { display: none; }
.about-bg-image { position: absolute; bottom: 0; right: 0; width: 100%; height: 100%; background-image: url('files/index/img/Blaze.webp'); background-size: contain; background-repeat: no-repeat; background-position: right bottom; opacity: 0.25; pointer-events: none; z-index: 0; }
@media (min-width: 1024px) { .about-bg-image { opacity: 0.35; } }
.about-content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.about-section h3 { color: #b9bbbe; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.05em; margin-bottom: 0.4rem; }
.about-section p { color: #dcddde; font-size: 0.85rem; line-height: 1.4; }
.glitch-text { display: inline-block; font-family: 'Courier New', Courier, monospace; color: var(--spotify-purple); font-weight: 800; text-shadow: 1px 0 red, -1px 0 blue; letter-spacing: 1px; }
.software-grid { display: flex; gap: 10px; margin-top: 0.5rem; align-items: center; }
.software-icon { width: 30px; height: 30px; border-radius: 4px; transition: transform 0.2s; cursor: pointer; }
@media (min-width: 1024px) { .software-icon { width: 32px; height: 32px; } }
.software-icon:hover { transform: translateY(-3px) scale(1.1); }
hr.separator { border: none; border-top: 1px solid var(--hr-color); margin: 0.25rem 0; }
.contact-content { display: flex; flex-direction: column; height: 100%; gap: 0.5rem; }
.social-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 1024px) { .social-list { display: flex; grid-template-columns: none; } }
.social-link { display: flex; align-items: center; gap: 8px; color: #ccc; text-decoration: none; font-size: 0.85rem; padding: 10px; border-radius: 10px; background: #1e2530; border: 1px solid transparent; position: relative; overflow: hidden; transition: 0.3s ease; }
.social-link::after { content: ''; position: absolute; top: 0; left: -150%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent); transform: skewX(-20deg); transition: 0.6s; }
.social-link:hover { background: #232d3a; color: white; border-color: var(--spotify-purple); }
.social-link:hover::after { left: 150%; }
.social-link img { width: 18px; height: 18px; object-fit: contain; position: relative; z-index: 1; }
.showcase-area { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.showcase-title { color: #b9bbbe; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.05em; margin-bottom: 2px; }
.project-item { background: rgba(30, 37, 48, 0.4); padding: 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.03); display: flex; gap: 10px; align-items: flex-start; }
.project-thumb { width: 40px; height: 55px; border-radius: 4px; object-fit: cover; flex-shrink: 0; background: #2f333a; border: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 1024px) { .project-thumb { width: 45px; height: 60px; } }
.project-info { flex: 1; overflow: hidden; }
.project-name { color: white; font-size: 0.7rem; font-weight: 700; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress-grid { display: grid; gap: 3px; }
.progress-row { display: flex; align-items: center; gap: 6px; font-size: 0.55rem; color: var(--text-muted); }
.progress-row span.label { min-width: 42px; color: #fff; opacity: 0.7; }
.mini-bar-bg { flex: 1; height: 3px; background: #2f333a; border-radius: 2px; overflow: hidden; }
.mini-bar-fill { height: 100%; background: var(--spotify-purple); border-radius: 2px; animation: fillProject 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; transform-origin: left; }
@keyframes fillProject { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.loading-overlay { position: absolute; inset: -2px; background-color: var(--bg-box); z-index: 1000; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease-out, visibility 0.5s; color: #555; font-size: 0.85rem; font-weight: bold; }
.is-loaded .loading-overlay { opacity: 0; visibility: hidden; pointer-events: none; }
.zzz-container { display: flex; gap: 2px; font-weight: bold; font-family: monospace; }
.zzz-text { animation: zzzFade 2s infinite; opacity: 0; }
@keyframes zzzFade { 0% { opacity: 0; transform: translateY(0); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
