:root {
    --bg: #050505;
    --card-bg: #0f0f0f;
    --accent: #ccff00;
    --accent-dim: rgba(204, 255, 0, 0.1);
    --text: #e0e0e0;
    --font-head: 'Rajdhani', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); overflow-x: hidden; scroll-behavior: smooth; }

#start-overlay { position: fixed; inset: 0; background: #000; z-index: 9999; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.8s; }
#start-overlay.hidden { opacity: 0; visibility: hidden; }

.attribution { position: fixed; bottom: 20px; right: 20px; background: rgba(15, 15, 15, 0.8); border: 1px solid #222; padding: 8px 15px; border-radius: 4px; color: #555; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; z-index: 1000; transition: 0.3s; backdrop-filter: blur(5px); }
.attribution:hover { color: var(--accent); border-color: var(--accent); }

.embers-container { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.ember { position: absolute; bottom: -10px; width: 3px; height: 3px; background: var(--accent); border-radius: 50%; animation: rise 8s infinite linear; box-shadow: 0 0 10px var(--accent); }
.ember:nth-child(1) { left: 10%; animation-delay: 0s; }
.ember:nth-child(2) { left: 45%; animation-delay: 2s; }
.ember:nth-child(3) { left: 80%; animation-delay: 4s; }
@keyframes rise { 0% { bottom: -5%; opacity: 0; } 20% { opacity: 1; } 100% { bottom: 105%; opacity: 0; transform: translateX(40px); } }

#scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: var(--accent); transform-origin: left; opacity: 1; z-index: 999; }

.glitch { position: relative; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.glitch::before { left: 2px; text-shadow: -2px 0 #ff0000; clip: rect(44px, 450px, 56px, 0); animation: glitch-anim 5s infinite linear alternate-reverse; }
.glitch::after { left: -2px; text-shadow: -2px 0 #00ffff; clip: rect(10px, 450px, 30px, 0); animation: glitch-anim 3s infinite linear alternate-reverse; }
@keyframes glitch-anim { 0% { clip: rect(10px, 9999px, 30px, 0); } 100% { clip: rect(80px, 9999px, 100px, 0); } }

nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; position: fixed; top: 0; width: 100%; z-index: 100; backdrop-filter: blur(5px); border-bottom: 1px solid rgba(255,255,255,0.03); }
.logo { font-family: var(--font-head); font-weight: 700; letter-spacing: 2px; }
.dot { color: var(--accent); }
.music-control { display: flex; align-items: center; gap: 10px; cursor: pointer; border: 1px solid #222; padding: 5px 15px; border-radius: 20px; font-size: 0.7rem; transition: 0.3s; }
.music-control:hover { border-color: var(--accent); }
.equalizer { display: flex; gap: 3px; height: 12px; align-items: flex-end; }
.bar { width: 2px; background: var(--accent); height: 20%; transition: 0.3s; }
.playing .bar { animation: eq 0.5s infinite ease-in-out; }
@keyframes eq { 0%, 100% { height: 20%; } 50% { height: 100%; } }

.hero { min-height: 90vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.pfp-wrapper { position: relative; width: 180px; height: 180px; margin-bottom: 25px; }
.pfp { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #1a1a1a; position: relative; z-index: 2; }
.pfp-glow { position: absolute; inset: -10px; background: var(--accent); filter: blur(30px); opacity: 0.3; border-radius: 50%; }

.hero h1 { font-family: var(--font-head); font-size: 4.5rem; color: #fff; line-height: 1; }
.badge { background: var(--accent-dim); color: var(--accent); padding: 4px 12px; font-size: 0.65rem; font-weight: 700; border: 1px solid rgba(255,107,0,0.2); letter-spacing: 2px; margin-bottom: 15px; display: inline-block; }
.bio { color: #666; font-size: 0.95rem; margin-bottom: 30px; font-style: italic; line-height: 1.6; }

.stats-centered { display: flex; align-items: center; justify-content: center; gap: 40px; }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-item span { font-size: 0.6rem; color: #444; letter-spacing: 2px; margin-bottom: 5px; }
.stat-item b { font-family: var(--font-head); font-size: 1.2rem; color: #fff; }
.stat-sep { width: 1px; height: 35px; background: #222; }
.status-online { color: var(--accent) !important; text-shadow: 0 0 10px var(--accent-dim); }

.command-center { padding: 40px 10%; max-width: 1100px; margin: 0 auto; }
.section-title { display: flex; align-items: center; gap: 20px; margin-bottom: 35px; opacity: 0.6; }
.section-title h2 { font-family: var(--font-head); font-size: 0.9rem; letter-spacing: 3px; }
.line { flex-grow: 1; height: 1px; background: #222; }

.notable-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.game-link-card { background: var(--card-bg); border: 1px solid #1a1a1a; padding: 25px; display: flex; justify-content: space-between; align-items: center; text-decoration: none; border-radius: 4px; transition: 0.3s; }
.game-link-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.glitch-small { font-family: var(--font-head); font-weight: 700; color: #aaa; font-size: 0.9rem; }
.game-link-card i { color: #333; font-size: 0.8rem; transition: 0.3s; }
.game-link-card:hover i { color: var(--accent); }

.hub-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; }
.module { background: var(--card-bg); border: 1px solid #1a1a1a; border-radius: 4px; overflow: hidden; }
.module-header { background: #111; padding: 12px 15px; font-size: 0.7rem; color: #555; border-bottom: 1px solid #1a1a1a; font-weight: 700; letter-spacing: 1px; display: flex; align-items: center; }
.module-header i { color: var(--accent); margin-right: 10px; }

.track-list, .price-body, .games-list-simple, .social-links { padding: 20px; }
.track-item, .price-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid #151515; font-size: 0.85rem; }
.track-item { cursor: pointer; color: #888; transition: 0.3s; }
.track-item i { font-size: 0.7rem; opacity: 0.5; }
.track-item:hover, .track-item.active { color: var(--accent); }
.track-item.playing i { color: var(--accent); opacity: 1; }

.sfx-category {
    padding: 25px 0 10px;
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: 1.5px;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 5px;
}
.track-list .sfx-category:first-child { padding-top: 5px; }
.sfx-more-text {
    padding: 15px 0 10px;
    color: #777;
    font-size: 0.85rem;
    font-style: italic;
    text-align: center;
}

.sfx-header { display: flex; justify-content: space-between; align-items: center; }
.sfx-controls { display: flex; align-items: center; gap: 10px; }
.sfx-btn { background: none; border: none; color: #555; cursor: pointer; transition: 0.3s; padding: 5px; font-size: 0.9rem; }
.sfx-btn:hover { color: var(--accent); }
.sfx-indicator { font-family: var(--font-head); font-size: 0.8rem; color: #888; font-weight: 700; min-width: 40px; text-align: center; }

.sfx-slide { display: none; min-height: 200px; animation: fadeIn 0.3s ease; }
.sfx-slide.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.price-row b { color: #fff; font-family: var(--font-head); font-size: 1rem; }
.urgency-note { font-size: 0.7rem; color: #ff4444; text-align: center; margin-top: 15px; opacity: 0.8; }

.payment-methods { font-size: 0.7rem; color: #444; text-align: center; margin-top: 10px; font-style: italic; letter-spacing: 0.5px; }

.games-slideshow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g-card { background: #151515; border-radius: 4px; border: 1px solid #222; text-align: center; font-family: var(--font-head); font-weight: 700; color: #666; display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: 0.85rem; padding: 10px; }
.g-card img { max-width: 150px; height: auto; border-radius: 4px; margin-bottom: 10px; }
.g-card span { display: block; }

.s-link { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: #888; text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.s-link:hover { color: var(--accent); transform: translateX(5px); }

footer { text-align: center; padding: 60px; font-size: 0.6rem; color: #222; letter-spacing: 3px; }

@media (max-width: 900px) { .hub-grid, .notable-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 3.5rem; } }

/* ═══════════════════════════════════════════
   04. REVIEWS — styles
   ═══════════════════════════════════════════ */

/* ── Review Cards Grid ── */
#reviews-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    min-height: 60px;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    padding: 20px;
    transition: border-color 0.3s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.review-card:hover { border-color: rgba(255,107,0,0.25); }

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.review-card-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    color: #ccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}
.review-card-date {
    font-size: 0.6rem;
    color: #333;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}
.stars-display {
    color: #333;
    font-size: 1rem;
    letter-spacing: 2px;
}
.stars-display .filled { color: var(--accent); text-shadow: 0 0 8px rgba(255,107,0,0.4); }

.review-card-text {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.7;
    word-break: break-word;
}

/* ── Loading / Empty States ── */
.reviews-loading, .reviews-empty, .reviews-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #333;
    font-size: 0.75rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.reviews-error { color: #ff4444; }

.reviews-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid #222;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Submission Form ── */
.review-form-module { margin-top: 10px; }
.review-form-body { padding: 25px; }

.bot-trap { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.rf-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.rf-label {
    font-size: 0.65rem;
    color: #555;
    letter-spacing: 2px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.rf-optional { color: #333; font-weight: 400; text-transform: none; letter-spacing: 0; }
.rf-required { color: var(--accent); }

.char-counter {
    margin-left: auto;
    font-family: var(--font-head);
    font-size: 0.7rem;
    color: #333;
    letter-spacing: 1px;
    font-weight: 400;
}
.char-counter.warn { color: #ff8c00; }
.char-counter.danger { color: #ff4444; }

.rf-input, .rf-textarea {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: 12px 15px;
    transition: border-color 0.3s;
    width: 100%;
}
.rf-input:focus, .rf-textarea:focus { border-color: var(--accent); outline: none; }
.rf-input::placeholder, .rf-textarea::placeholder { color: #2a2a2a; }
.rf-textarea { resize: vertical; min-height: 100px; }

/* ── CSS Star Rating ── */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}
.star-rating input { display: none; }
.star-rating label {
    font-size: 1.8rem;
    color: #2a2a2a;
    cursor: pointer;
    transition: color 0.15s, text-shadow 0.15s;
    line-height: 1;
}
/* Hover: highlight hovered star and all stars to its right (toward ★5) */
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255,107,0,0.4);
}
/* Selected: highlight checked star and all stars to its right */
.star-rating input:checked ~ label {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255,107,0,0.4);
}

/* ── Submit Button ── */
.rf-submit {
    background: var(--accent-dim);
    border: 1px solid rgba(255,107,0,0.3);
    color: var(--accent);
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s, border-color 0.3s, opacity 0.3s;
}
.rf-submit:hover:not(:disabled) { background: rgba(255,107,0,0.2); border-color: var(--accent); }
.rf-submit:disabled { opacity: 0.35; cursor: not-allowed; }

/* ── Toast Message ── */
.review-submit-msg {
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    transition: opacity 0.4s;
}
.review-submit-msg.success { background: rgba(0,200,100,0.08); border: 1px solid rgba(0,200,100,0.2); color: #00c864; }
.review-submit-msg.error   { background: rgba(255,68,68,0.08);  border: 1px solid rgba(255,68,68,0.2);  color: #ff4444; }
.review-submit-msg.hidden  { display: none; }

@media (max-width: 900px) {
    #reviews-list { grid-template-columns: 1fr; }
}