/* --- VARIABLEN & RESET --- */
:root {
    /* Darkmode Palette */
    --bg-main: #08080a;
    --bg-secondary: #111114;
    
    /* Der Gradient (Lila/Orange bleibt) */
    --gradient-accent: linear-gradient(135deg, #8c52ff 0%, #ff914d 100%);
    --color-purple: #8c52ff;
    --color-orange: #ff914d;

    /* Text Colors */
    --text-primary: #a6a6a6; 
    --text-secondary: #75757a;

    /* Glassmorphism Styles */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);
    
    /* Misc */
    --nav-height: 70px;
    --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    text-align: center;
    
    background-image: radial-gradient(circle at top right, rgba(140, 82, 255, 0.1), transparent 40%),
                      radial-gradient(circle at bottom left, rgba(255, 145, 77, 0.05), transparent 40%);
    background-attachment: fixed;
}

/* --- UTILITIES --- */
.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.gradient-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: none;
    box-shadow: 0 4px 15px rgba(140, 82, 255, 0.3);
    cursor: pointer;
    font-size: 0.95rem;
}

.gradient-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 145, 77, 0.4);
}

/* --- NAVIGATION --- */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: var(--nav-height);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.glass-nav.scrolled {
    top: 10px;
    width: 95%;
    background: rgba(10, 10, 12, 0.85);
}

.nav-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

/* Discord Button */
.discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: #5865F2;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.discord-btn:hover {
    background: rgba(88, 101, 242, 0.3);
    border-color: #5865F2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.discord-btn svg {
    width: 18px;
    height: auto;
}

/* Orders Button */
.orders-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(166, 166, 166, 0.1);
    border: 1px solid rgba(166, 166, 166, 0.25);
    color: #a6a6a6;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.orders-btn:hover {
    background: rgba(166, 166, 166, 0.25);
    border-color: #a6a6a6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(166, 166, 166, 0.2);
}

.orders-btn svg {
    width: 18px;
    height: 18px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(166, 166, 166, 0.1);
    border: 1px solid rgba(166, 166, 166, 0.25);
    color: #ff914d;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.share-btn:hover {
    background: rgba(255, 145, 77, 0.25);
    border-color: #ff914d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 145, 77, 0.2);
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--gradient-accent);
    border-radius: 50%;
}

/* --- MAIN CONTENT --- */
main {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 60px;
    min-height: 80vh;
    max-width: 1200px;
    margin: 0 auto;
}

.page {
    display: none;
    padding: 0 20px;
    animation: fadeSlideUp 0.6s var(--transition-smooth);
}

.page.active {
    display: block;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #dedede;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #dedede;
}

.subtitle, .section-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* Hero Section Styles */
.hero-container {
    text-align: center;
    padding: 40px 0;
    max-width: 900px;
    margin: 0 auto;
}

.cards-row {
    display: flex;
    gap: 25px;
    margin-top: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

.info-card {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    padding: 35px;
    transition: var(--transition-smooth);
    text-align: center;
}

.info-card h3 {
    margin-bottom: 15px;
    color: var(--color-purple);
}

/* Hover Glow Effect */
.glow-hover {
    position: relative;
    overflow: hidden;
}

.glow-hover::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient-accent);
    opacity: 0;
    z-index: -1;
    filter: blur(40px);
    transition: opacity 0.5s ease;
}

.glow-hover:hover::before {
    opacity: 0.1;
}
.glow-hover:hover {
    border-color: rgba(140, 82, 255, 0.3);
    transform: translateY(-5px);
}

/* Projects Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    justify-items: center;
}

.project-card {
    width: 100%;
    padding: 5px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
    transition: var(--transition-smooth);
}

.project-card:hover {
    background: var(--gradient-accent);
    transform: translateY(-5px);
}

.card-content {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 13px;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.card-content h3 { margin-bottom: 10px; color: #dedede; }
.card-content p { color: var(--text-secondary); margin-bottom: 20px; flex-grow: 1; }

.tech-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-tags span {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
}

/* License Terminal Style */
.license-wrapper {
    max-width: 800px;
    margin: 40px auto;
    overflow: hidden;
    border: 1px solid rgba(140, 82, 255, 0.2);
    text-align: left;
}

.license-header {
    background: rgba(0,0,0,0.3);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.traffic-lights {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

.traffic-lights span {
    width: 12px; height: 12px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.traffic-lights span:nth-child(1) {
    background: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.traffic-lights span:nth-child(2) {
    background: var(--color-purple);
    border: 1px solid rgba(140, 82, 255, 0.3);
    box-shadow: 0 0 6px rgba(140, 82, 255, 0.3);
}

.traffic-lights span:nth-child(3) {
    background: var(--color-orange);
    border: 1px solid rgba(255, 145, 77, 0.3);
    box-shadow: 0 0 6px rgba(255, 145, 77, 0.3);
}

.traffic-lights:hover span {
    transform: scale(1.1);
}

.filename {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-left: auto;
    margin-right: auto;
    transform: translateX(-20px);
}

.license-body {
    padding: 30px;
    background: rgba(0,0,0,0.2);
}

.license-body pre {
    white-space: pre-wrap;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    text-align: left;
}

.license-body strong {
    color: var(--color-purple);
}

/* ================================================= */
/* ====== PORTFOLIO SECTION ======================== */
/* ================================================= */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.portfolio-empty {
    padding: 80px 20px;
}

.portfolio-post {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(140, 82, 255, 0.2);
    transition: var(--transition-smooth);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.portfolio-post:hover {
    border-color: rgba(140, 82, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(140, 82, 255, 0.12);
}

/* macOS style header for portfolio */
.portfolio-post .post-mac-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.portfolio-post .post-mac-dots {
    display: flex;
    gap: 8px;
    margin-right: 16px;
}

.portfolio-post .post-mac-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.portfolio-post .post-mac-dots span:nth-child(1) {
    background: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-post .post-mac-dots span:nth-child(2) {
    background: var(--color-purple);
    border: 1px solid rgba(140, 82, 255, 0.3);
    box-shadow: 0 0 6px rgba(140, 82, 255, 0.3);
}

.portfolio-post .post-mac-dots span:nth-child(3) {
    background: var(--color-orange);
    border: 1px solid rgba(255, 145, 77, 0.3);
    box-shadow: 0 0 6px rgba(255, 145, 77, 0.3);
}

.portfolio-post .post-mac-header .post-mac-filename {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex: 1;
    text-align: center;
    transform: translateX(-18px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Preview Image */
.portfolio-post .post-preview {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.portfolio-post .post-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.portfolio-post:hover .post-preview img {
    transform: scale(1.05);
}

/* Post Info below image */
.portfolio-post .post-info {
    padding: 20px 24px;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
}

.portfolio-post .post-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #dedede;
    margin-bottom: 6px;
    line-height: 1.2;
}

.portfolio-post .post-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Image count badge */
.portfolio-post .post-img-count {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ================================================= */
/* ====== PORTFOLIO LIGHTBOX ======================= */
/* ================================================= */

.portfolio-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.portfolio-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(30px);
}

.lightbox-content {
    position: relative;
    width: 92%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(140, 82, 255, 0.2);
    border-radius: 20px;
    background: rgba(17, 17, 20, 0.95);
    backdrop-filter: blur(30px);
    z-index: 2;
    animation: lightboxIn 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes lightboxIn {
    from { transform: scale(0.95) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(140, 82, 255, 0.2);
    border-color: var(--color-purple);
}

/* Gallery */
.lightbox-gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #0a0a0c;
}

.lightbox-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    line-height: 1;
}

.gallery-nav:hover {
    background: rgba(140, 82, 255, 0.4);
    border-color: var(--color-purple);
}

.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }

.gallery-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.gallery-dot.active {
    background: var(--color-purple);
    box-shadow: 0 0 8px rgba(140, 82, 255, 0.5);
    transform: scale(1.2);
}

/* Lightbox Info */
.lightbox-info {
    padding: 28px;
    text-align: left;
}

.lightbox-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #dedede;
    margin-bottom: 12px;
}

.lightbox-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    white-space: pre-wrap;
}

/* ================================================= */
/* ====== FREEBIES SECTION ========================= */
/* ================================================= */

.freebies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.freebie-card {
    overflow: hidden;
    border: 1px solid rgba(140, 82, 255, 0.2);
    text-align: left;
    transition: var(--transition-smooth);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 16px;
}

/* macOS style header */
.freebie-card .freebie-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.freebie-card .freebie-traffic-lights {
    display: flex;
    gap: 8px;
    margin-right: 16px;
}

.freebie-card .freebie-traffic-lights span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.freebie-card .freebie-traffic-lights span:nth-child(1) {
    background: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.freebie-card .freebie-traffic-lights span:nth-child(2) {
    background: var(--color-purple);
    border: 1px solid rgba(140, 82, 255, 0.3);
    box-shadow: 0 0 6px rgba(140, 82, 255, 0.3);
}

.freebie-card .freebie-traffic-lights span:nth-child(3) {
    background: var(--color-orange);
    border: 1px solid rgba(255, 145, 77, 0.3);
    box-shadow: 0 0 6px rgba(255, 145, 77, 0.3);
}

.freebie-card .freebie-header-title {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex: 1;
    text-align: center;
    transform: translateX(-18px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Freebie body */
.freebie-card .freebie-body {
    background: rgba(0, 0, 0, 0.2);
}

.freebie-card .freebie-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.freebie-card .freebie-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.freebie-card:hover .freebie-image img {
    transform: scale(1.03);
}

.freebie-card .freebie-info {
    padding: 24px;
}

.freebie-card .freebie-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #dedede;
    margin-bottom: 8px;
    line-height: 1.2;
}

.freebie-card .freebie-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.freebie-card .freebie-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    border: none;
    box-shadow: 0 4px 15px rgba(140, 82, 255, 0.3);
    cursor: pointer;
}

.freebie-card .freebie-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 145, 77, 0.4);
}

.freebie-card .freebie-download-btn svg {
    width: 16px;
    height: 16px;
}

.freebie-card:hover {
    border-color: rgba(140, 82, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(140, 82, 255, 0.12);
}

/* --- FOOTER --- */
footer {
    background: var(--bg-secondary);
    padding: 80px 20px 40px;
    margin-top: 100px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-brand h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: none;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.footer-logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.wide-logo {
    height: 60px;
    width: auto; 
    object-fit: contain;
    filter: grayscale(100%) brightness(150%) contrast(80%);
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.wide-logo:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
    transform: scale(1.05);
}

.footer-legal p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 500;
}

.legal-link {
    color: var(--color-purple);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    position: relative;
}

.legal-link:hover {
    color: var(--color-orange);
}

/* --- ANIMATIONS --- */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .glass-nav {
        top: auto; bottom: 20px;
        padding: 0 1.5rem;
    }
    .nav-content {
        justify-content: center;
    }
    .nav-left { display: none; }
    .logo-text { display: none; }
    .discord-btn { display: none; }
    .orders-btn { display: none; }
    .nav-links {
        gap: 16px;
        width: 100%;
        justify-content: space-between;
    }
    .nav-links a {
        font-size: 0.8rem;
    }
    
    main {
        padding-top: 60px;
        padding-bottom: 120px;
    }
    
    .wide-logo { height: 45px; }

    /* Portfolio: 1 column on mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-post .post-title {
        font-size: 1.1rem;
    }

    .lightbox-content {
        width: 96%;
        max-height: 92vh;
        border-radius: 16px;
    }

    .lightbox-gallery {
        border-radius: 16px 16px 0 0;
    }

    .lightbox-info {
        padding: 20px;
    }

    .lightbox-info h3 {
        font-size: 1.2rem;
    }

    /* Freebies: 1 column on mobile */
    .freebies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}
