/* ---------- RESET & BASE (dark, ambient, shadowed) ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0c0f;
    background-image: radial-gradient(circle at 25% 40%, rgba(245, 176, 66, 0.03) 1.5%, transparent 2%);
    background-size: 48px 48px;
    color: #e2e2dc;
    font-family: 'Inter', 'Kometa', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    padding: 2rem 1.5rem;
    transition: background-color 0.2s, color 0.2s;
}

/* ---------- FIX: LINKS VISIBLE IN DARK MODE ---------- */
a {
    color: #f5b042 !important;
    text-decoration: none;
    border-bottom: 1px dotted rgba(245, 176, 66, 0.4);
    transition: all 0.15s ease;
}

a:hover {
    color: #ffcd7e !important;
    border-bottom-color: #f5b042;
}

/* Sidebar links */
.sidebar a {
    color: #f5b042 !important;
}

.sidebar a:hover {
    color: #ffcd7e !important;
}

/* Post content links */
.post-content a {
    color: #f5b042 !important;
}

.post-content a:hover {
    color: #ffcd7e !important;
}

/* Now-playing section links */
.now-playing a {
    color: #f5b042 !important;
}

.now-playing a:hover {
    color: #ffcd7e !important;
}

/* Current exploring links */
.current-exploring a {
    color: #f5b042 !important;
}

.current-exploring a:hover {
    color: #ffcd7e !important;
}

/* Supporters section - NO underline on banner link */
.supporters-section a {
    color: #f5b042 !important;
    border-bottom: none !important;
    text-decoration: none !important;
}

.supporters-section a:hover {
    color: #ffcd7e !important;
    border-bottom: none !important;
    text-decoration: none !important;
}

.supporters-section a img {
    display: block;
    border-bottom: none;
}

/* Light mode links (darker, warm brown) */
body.light-mode a {
    color: #b85c00 !important;
    border-bottom-color: rgba(184, 92, 0, 0.3);
}

body.light-mode a:hover {
    color: #8a3f00 !important;
    border-bottom-color: #b85c00;
}

body.light-mode .supporters-section a {
    color: #b85c00 !important;
    border-bottom: none !important;
}

body.light-mode .supporters-section a:hover {
    color: #8a3f00 !important;
    border-bottom: none !important;
}

.site-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

/* ---------- SIDEBAR (soft, deep) ---------- */
.sidebar {
    background: #11161a;
    border-radius: 28px;
    padding: 1.8rem;
    border: 1px solid #2a2a2a;
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255,255,240,0.03);
    transition: background 0.2s, border 0.2s;
}

.sidebar h1 {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
    color: #f5b042;
    text-shadow: 0 0 6px rgba(245, 176, 66, 0.2);
}

.sidebar .tagline {
    font-size: 0.8rem;
    color: #a0a0a0;
    border-left: 2px solid #f5b042;
    padding-left: 0.75rem;
    margin-bottom: 1.8rem;
}

.sidebar-section {
    margin: 1.8rem 0;
}

.sidebar-section h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #f5b042;
    margin-bottom: 1rem;
    font-weight: 500;
}

.sidebar-section p, .sidebar-section li {
    font-size: 0.85rem;
    color: #cdcdc7;
    margin-bottom: 0.5rem;
}

.sidebar-section ul {
    list-style: none;
    padding-left: 0;
}

.sidebar-section li::before {
    content: "✦";
    color: #f5b042;
    margin-right: 8px;
    font-size: 0.7rem;
}

.now-playing {
    background: #1a1f24;
    padding: 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border-left: 3px solid #f5b042;
    margin: 1rem 0;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.4), 0 2px 4px rgba(0,0,0,0.2);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tag {
    background: #1e2429;
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
    font-size: 0.7rem;
    color: #e2e2dc;
    letter-spacing: 0.2px;
    box-shadow: inset 0 0 0 1px #2e353c, 0 1px 2px rgba(0,0,0,0.3);
}

/* ---------- MAIN CONTENT (yellow glow + shadow) ---------- */
.main-content {
    background: #0f1318;
    border-radius: 32px;
    padding: 2rem;
    border: 1px solid #282e34;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255,255,220,0.02);
    position: relative;
    transition: background 0.2s, border 0.2s;
}

/* THE YELLOW GLOW – soft, shadowed, ambient */
.ambient-glow {
    position: relative;
    overflow: hidden;
}

.ambient-glow::before {
    content: "";
    position: absolute;
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
    background: radial-gradient(circle at 30% 20%, rgba(245, 176, 66, 0.12) 0%, rgba(245, 176, 66, 0.02) 50%, transparent 80%);
    pointer-events: none;
    z-index: 0;
    border-radius: 40px;
    filter: blur(18px);
    opacity: 0.8;
}

.post, .current-exploring {
    position: relative;
    z-index: 1;
}

.post {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #252a30;
}

.post-date {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #f5b042;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    opacity: 0.85;
}

.post-title {
    font-size: 1.7rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: #ecece4;
    letter-spacing: -0.3px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.post-content {
    font-size: 0.95rem;
    color: #cbcbc2;
}

.music-embed {
    background: #1a1f24;
    padding: 0.8rem 1rem;
    border-radius: 20px;
    margin: 1rem 0;
    font-family: monospace;
    font-size: 0.8rem;
    border: 1px solid #2e353c;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3), 0 2px 4px rgba(0,0,0,0.2);
}

hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, #2a2e34, #f5b04230, #2a2e34);
    margin: 1.5rem 0;
}

.current-exploring {
    background: #11171e;
    border-radius: 24px;
    padding: 1.2rem;
    margin: 1rem 0;
    border-left: 3px solid #f5b042;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

footer {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.7rem;
    color: #6a6f78;
    border-top: 1px solid #252a30;
    padding-top: 1.8rem;
}

/* ---------- THEME BUTTON (bottom right, simple) ---------- */
.theme-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1e2429;
    border: 1px solid #3a4048;
    color: #e2e2dc;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 40px;
    cursor: pointer;
    z-index: 9999;
    font-family: monospace;
    transition: 0.15s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.theme-btn:hover {
    background: #2a3138;
    transform: scale(1.02);
}

/* ---------- LIGHT MODE (warm paper, same glow) ---------- */
body.light-mode {
    background-color: #fef7e8;
    background-image: radial-gradient(circle at 25% 40%, rgba(245, 176, 66, 0.08) 1.5%, transparent 2%);
    color: #2c2b28;
}

body.light-mode .sidebar {
    background: #fffaf0;
    border-color: #f0e2c5;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

body.light-mode .sidebar p,
body.light-mode .sidebar li {
    color: #3a3a36;
}

body.light-mode .now-playing,
body.light-mode .music-embed,
body.light-mode .tag,
body.light-mode .current-exploring {
    background: #fdf3e0;
    border-color: #f0dbb4;
    color: #2c2b28;
    box-shadow: inset 0 0 0 1px #fff6e8, 0 1px 2px rgba(0,0,0,0.05);
}

body.light-mode .main-content {
    background: #fffcf5;
    border-color: #f0e2c5;
    box-shadow: 0 12px 24px -12px rgba(0,0,0,0.1);
}

body.light-mode .post-title {
    color: #2c2b28;
    text-shadow: none;
}

body.light-mode .post-content {
    color: #3e3c37;
}

body.light-mode .post {
    border-bottom-color: #f0e2c5;
}

body.light-mode hr {
    background: linear-gradient(90deg, #f0e2c5, #f5b04260, #f0e2c5);
}

body.light-mode .tag {
    background: #fdf0df;
    color: #5a3e1b;
    box-shadow: inset 0 0 0 1px #ffe6bf;
}

body.light-mode footer {
    color: #b38f60;
    border-top-color: #f0e2c5;
}

body.light-mode .theme-btn {
    background: #fdf0df;
    border-color: #e6cba0;
    color: #5a3e1b;
}

/* responsive */
@media (max-width: 800px) {
    .site-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    body {
        padding: 1rem;
    }
    .ambient-glow::before {
        filter: blur(12px);
        opacity: 0.5;
    }
}

/* Supporters section */
/* Supporters section - FULLY CENTERED (no !important) */
.supporters-section {
    text-align: center;
    margin: 2rem auto 1rem auto;
    padding: 1rem;
    border-top: 1px solid #252a30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.supporters-section p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f5b042;
    margin-bottom: 0.75rem;
}

.supporters-section a {
    display: inline-block;
    text-align: center;
}

.supporters-section img {
    max-width: 100px;
    height: auto;
    opacity: 0.8;
    transition: all 0.25s ease;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

/* PURPLE GLOW ON HOVER */
.supporters-section img:hover {
    opacity: 1;
    box-shadow: 0 0 20px 6px rgba(156, 39, 176, 0.7);
    filter: brightness(1.05);
    transform: scale(1.02);
}

/* Light mode version */
body.light-mode .supporters-section {
    border-top-color: #f0e2c5;
}

body.light-mode .supporters-section img:hover {
    box-shadow: 0 0 20px 6px rgba(156, 39, 176, 0.5);
}

/* Remove underline from Ransei link (using specificity, not !important) */
.supporters-section a,
.supporters-section a:link,
.supporters-section a:visited,
.supporters-section a:hover,
.supporters-section a:active {
    border-bottom: none;
    text-decoration: none;
}

/* PURPLE GLOW ON HOVER */
.supporters-section img:hover {
    opacity: 1;
    box-shadow: 0 0 20px 6px rgba(156, 39, 176, 0.7);
    filter: brightness(1.05);
    transform: scale(1.02);
}

/* Light mode version */
body.light-mode .supporters-section {
    border-top-color: #f0e2c5;
}

body.light-mode .supporters-section img:hover {
    box-shadow: 0 0 20px 6px rgba(156, 39, 176, 0.5);
}

/* ---------- HONEST COOKIE POPUP (bottom left, delayed, ambient) ---------- */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 320px;
    background: #11161a;
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    padding: 1rem 1.2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 176, 66, 0.1);
    backdrop-filter: blur(4px);
    z-index: 9998;
    transform: translateX(-120%);
    transition: transform 0.3s ease-out;
    font-size: 0.8rem;
    line-height: 1.4;
}

.cookie-popup.show {
    transform: translateX(0);
}

.popup-content p {
    margin: 0.5rem 0;
    color: #e2e2dc;
}

.popup-content strong {
    color: #f5b042;
}

.popup-close {
    background: #1e2429;
    border: 1px solid #3a4048;
    color: #e2e2dc;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.15s;
    font-family: monospace;
}

.popup-close:hover {
    background: #2a3138;
    transform: scale(1.02);
}

/* Light mode version */
body.light-mode .cookie-popup {
    background: #fffaf0;
    border-color: #f0e2c5;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

body.light-mode .popup-content p {
    color: #3e3c37;
}

body.light-mode .popup-close {
    background: #fdf0df;
    border-color: #e6cba0;
    color: #5a3e1b;
}

body.light-mode .popup-close:hover {
    background: #ffe6bf;
}

/* ---------- BIG "STUFF I USE" HEADER ---------- */
.stuff-i-use-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #252a30;
}

.big-stuff-title {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -1px;
    color: #f5b042;
    text-shadow: 0 0 10px rgba(245, 176, 66, 0.2);
    margin-bottom: 0.5rem;
}

.stuff-subtitle {
    color: #a0a0a0;
    font-size: 0.85rem;
}

/* ---------- SOFTWARE ITEMS WITH LOGO PLACEHOLDERS ---------- */
.software-item-inner {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.software-logo-placeholder {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #11161a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2e353c;
}

.logo-placeholder-text {
    font-size: 0.65rem;
    color: #6a6f78;
    font-family: monospace;
}

.software-logo {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.software-info {
    flex: 1;
}

/* Light mode logo placeholder */
body.light-mode .software-logo-placeholder {
    background: #fdf0df;
    border-color: #e6cba0;
}

body.light-mode .logo-placeholder-text {
    color: #b38f60;
}

/* Responsive */
@media (max-width: 600px) {
    .software-item-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .big-stuff-title {
        font-size: 2rem;
    }
}

/* ---------- VERTICAL CATEGORY LINKS (stacked) ---------- */
.big-category-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.big-category-links-vertical .category-link {
    display: block;
    text-align: center;
    padding: 0.6rem 1rem;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

/* ---------- RETURN TO SOFTWARE BUTTON (top right, outside sidebar) ---------- */
.return-software-btn {
    position: fixed;
    top: 20px;
    right: 90px;
    background: #1e2429;
    border: 1px solid #3a4048;
    color: #e2e2dc;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 40px;
    cursor: pointer;
    z-index: 9999;
    font-family: monospace;
    transition: 0.15s;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.return-software-btn:hover {
    background: #2a3138;
    transform: scale(1.02);
    color: #ffcd7e;
}

/* Light mode version */
body.light-mode .return-software-btn {
    background: #fdf0df;
    border-color: #e6cba0;
    color: #5a3e1b;
}

body.light-mode .return-software-btn:hover {
    background: #ffe6bf;
}

/* Mobile adjustment */
@media (max-width: 600px) {
    .return-software-btn {
        top: 10px;
        right: 70px;
        font-size: 0.65rem;
        padding: 4px 8px;
    }
}

/* ---------- SIMPLE BEGINNER RECOMMENDATIONS (no cards) ---------- */
.beginner-simple {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.beginner-item h3 {
    color: #f5b042;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.beginner-item p {
    color: #cbcbc2;
    font-size: 0.85rem;
    margin: 0;
}

/* Light mode */
body.light-mode .beginner-item h3 {
    color: #b85c00;
}

body.light-mode .beginner-item p {
    color: #3e3c37;
}

/* Add space between software items */
.software-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.software-item {
    margin-bottom: 0;
}

.software-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

body {
    background: linear-gradient(135deg, #1a0f0a 0%, #2a1a0a 50%, #1a0f0a 100%);
    /* rest of your existing body styles... */
}

/* 88x31 banner grid - universal, works on all browsers */
.banner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 1rem 0;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    grid-column: 1 / -1;
}

.banner-grid img {
    width: 88px;
    height: 31px;
    display: inline-block;
    image-rendering: crisp-edges;
}

/* Light mode */
body.light-mode .banner-grid {
    background: rgba(0, 0, 0, 0.05);
}

/* Skill-based recommendations */
.skill-section {
    margin-bottom: 2rem;
}

.skill-category {
    font-size: 1.3rem;
    font-weight: 500;
    color: #f5b042;
    margin-bottom: 1rem;
    border-left: 3px solid #f5b042;
    padding-left: 0.75rem;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skill-item {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #1a1f24;
    border-radius: 16px;
    flex-wrap: wrap;
}

.skill-level {
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 90px;
}

.skill-name {
    font-weight: 600;
    min-width: 130px;
}

.skill-reason {
    font-size: 0.8rem;
    color: #a0a0a0;
    flex: 1;
}

/* Level colors */
.beginner .skill-level { color: #6fcf97; }
.intermediate .skill-level { color: #f5b042; }
.expert .skill-level { color: #e74c3c; }

.beginner .skill-name { color: #6fcf97; }
.intermediate .skill-name { color: #f5b042; }
.expert .skill-name { color: #e74c3c; }

/* Light mode */
body.light-mode .skill-item {
    background: #fdf3e0;
}

body.light-mode .skill-reason {
    color: #6a6f78;
}
/* ---------- 88x31 BANNER MARQUEE ---------- */
.banner-marquee-wrap {
    grid-column: 1 / -1;
    margin: 1.5rem 0 0.5rem;
}

.banner-label {
    font-size: 0.75rem;
    text-transform: lowercase;
    color: #f5b042;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.banner-marquee {
    overflow: hidden;
    width: 100%;
    padding: 6px 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    border: 1px solid rgba(245, 176, 66, 0.08);
    position: relative;
}

/* fade edges */
.banner-marquee::before,
.banner-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    z-index: 2;
    pointer-events: none;
}
.banner-marquee::before {
    left: 0;
    background: linear-gradient(to right, #0a0c0f, transparent);
}
.banner-marquee::after {
    right: 0;
    background: linear-gradient(to left, #0a0c0f, transparent);
}

.banner-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: banner-scroll 22s linear infinite;
    padding: 0 6px;
}

.banner-track img {
    width: 88px;
    height: 31px;
    display: block;
    image-rendering: pixelated;
    flex-shrink: 0;
    border-radius: 2px;
}

@keyframes banner-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* pause on hover */
.banner-marquee:hover .banner-track {
    animation-play-state: paused;
}

/* light mode adjustments */
body.light-mode .banner-marquee {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(245, 176, 66, 0.15);
}
body.light-mode .banner-marquee::before {
    background: linear-gradient(to right, #fffbf2, transparent);
}
body.light-mode .banner-marquee::after {
    background: linear-gradient(to left, #fffbf2, transparent);
}