:root {
    /* Dark Theme Variables */
    --bg-main: #051F20;
    --bg-rgb: 5, 31, 32;
    --text-main: #FFE3B3;
    --text-muted: rgba(255, 227, 179, 0.74);
    --panel-bg: rgba(11, 43, 38, 0.5);
    --panel-border: rgba(255, 236, 209, 0.2);
    --glow-primary: rgba(255, 236, 209, 0.45);
    --glow-secondary: rgba(255, 227, 179, 0.22);
    --accent: #FFECD1;
    --h1: rgba(255, 227, 179, 0.72);
}

body.light-mode {
    /* Light Theme Variables */
    --bg-main: #FFE3B3;
    --bg-rgb: 255, 227, 179;
    --text-main: #051F20;
    --text-muted: rgba(5, 31, 32, 0.65);
    --panel-bg: rgba(5, 31, 32, 0.08);
    --panel-border: rgba(5, 31, 32, 0.14);
    --glow-primary: rgba(35, 83, 71, 0.22);
    --glow-secondary: rgba(255, 236, 209, 0.16);
    --accent: #235347;
    --h1: rgba(5, 31, 32, 0.72);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--panel-border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

body {
    margin: 0;
    padding-top: 70px;
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Animated Background Blobs */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
    transition: background 0.4s ease;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--glow-primary), transparent 60%);
    animation: float 20s ease-in-out infinite alternate;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--glow-secondary), transparent 60%);
    animation: float 25s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 10%) scale(1.1);
    }

    100% {
        transform: translate(-5%, -5%) scale(0.9);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 2rem;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(var(--bg-rgb), 0.75);
    border-bottom: 1px solid var(--panel-border);
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--glow-primary);
    border-color: var(--accent);
}

.icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Brand Glowing Text */
.brand-title {
    font-family: 'Bungee', cursive;
    font-size: 1.65rem;
    letter-spacing: 0.18em;
    color: var(--text-main);
    text-shadow: 0 0 10px var(--glow-primary);
    transition: all 0.3s ease;
}

.brand-title:hover {
    text-shadow: 0 0 20px var(--glow-primary), 0 0 40px var(--glow-primary);
}

.h1 {
    font-family: 'Bungee';
    font-size: clamp(15rem, 6vw, 5rem);
    margin: 0;
    color: var(--h1);
    text-shadow: 0 0 15px var(--glow-primary);
    transition: all 0.3s ease;
}

.h1:hover {
    text-shadow: 0 0 30px var(--glow-primary), 0 0 60px var(--glow-primary);
}

.subtitle {
    font-family: 'Bungee', cursive;
    font-size: clamp(1.95rem, 2vw, 1.5rem);
    margin: 0;
    margin-top: 0rem;
    color: var(--accent);
    text-shadow: 0 0 10px var(--glow-secondary);
    transition: all 0.3s ease;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.button.outline {
    background: transparent;
    border: 1px solid var(--text-main);
    color: var(--text-main);
}

.glow-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--glow-primary);
    border-color: var(--accent);
    color: var(--accent);
}

.theme-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--panel-border);
    background: var(--panel-bg);
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Sections & Panels */
.section {
    padding: 6rem 2rem;
    position: relative;
}

/* Glassmorphism Panels */
.glass-panel {
    padding: 2.5rem;
    border-radius: 30px;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.glass-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(140, 158, 255, 0.4);
    box-shadow: 0 15px 35px var(--glow-primary);
}

.panel-title {
    font-size: 0.82rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    line-height: 1.8;
    color: var(--text-muted);
}

h2,
h3 {
    color: var(--text-main);
    margin-top: 0;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 96px);
    display: grid;
    place-items: center;
}

.hero-stage {
    width: min(1100px, calc(100vw - 3rem));
    height: min(620px, 70vh);
    position: relative;
    display: grid;
    place-items: center;
    gap: 0rem;
    overflow: hidden;
    border-radius: 42px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--panel-border);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, var(--bg-main));
    opacity: 0.5;
    z-index: 1;
}

.hero-label {
    position: absolute;
    display: inline-flex;
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    background: var(--panel-bg);
    color: var(--text-main);
    border: 1px solid var(--panel-border);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    backdrop-filter: blur(12px);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-label.right {
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.hero-label.bottom {
    bottom: 1.5rem;
}

.hero-frame {
    position: relative;
    z-index: 2;
    width: min(520px, 100%);
    height: min(420px, 100%);
    border-radius: 34px;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    box-shadow: 0 45px 150px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-primary);
    padding: 10px;
}

.video-card {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255, 236, 209, 0.12), rgba(255, 227, 179, 0.04));
    border: 1px solid rgba(255, 236, 209, 0.2);
    display: grid;
    place-items: center;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 800;
    color: var(--text-main);
    backdrop-filter: blur(5px);
}

/* Grids */
.intro-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 2rem;
    align-items: stretch;
}

.work-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

.master-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.about-with-cube {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: stretch;
}

/* Gallery Showcase */
.gallery-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 300px;
}

.gallery-header p {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    max-width: 36rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 236, 209, 0.1);
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.gallery-thumb {
    width: 100%;
    min-height: 180px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    font-family: 'Bungee', cursive;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.15);
}

.poster-thumb {
    background: linear-gradient(135deg, rgba(255, 135, 180, 0.18), rgba(155, 89, 182, 0.2));
}

.logo-thumb {
    background: linear-gradient(135deg, rgba(103, 193, 220, 0.18), rgba(123, 210, 180, 0.2));
}

.post-thumb {
    background: linear-gradient(135deg, rgba(255, 206, 84, 0.18), rgba(255, 142, 92, 0.2));
}

.gallery-item span {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.64);
    z-index: 200;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-panel {
    width: min(920px, calc(100% - 3rem));
    max-width: 1000px;
    border-radius: 28px;
    background: rgba(5, 8, 16, 0.95);
    border: 1px solid rgba(255, 236, 209, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    padding: 1.5rem;
    position: relative;
    display: grid;
    gap: 1rem;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.16);
}

.lightbox-image-wrap {
    width: 100%;
    min-height: 420px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 620px;
    object-fit: contain;
    width: 100%;
    height: auto;
}

.lightbox-details {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.lightbox-label {
    margin: 0;
    color: var(--accent);
    font-size: 1.2rem;
}

.lightbox-caption {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 760px) {
    .lightbox-panel {
        padding: 1rem;
    }

    .lightbox-image-wrap {
        min-height: 320px;
    }
}

@media (max-width: 1000px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {

    .work-grid,
    .master-grid,
    .intro-grid,
    .about-with-cube {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Lists */
ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--panel-border);
}

.mini-link {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: var(--panel-bg);
    color: var(--accent);
    text-decoration: none;
    border: 1px solid var(--panel-border);
}

.mini-link:hover {
    background: var(--accent);
    color: var(--text-main);
    box-shadow: 0 0 10px var(--glow-primary);
}

.work-links a {
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.work-links a:hover {
    color: var(--accent);
    padding-left: 10px;
}

/* Contact Graph Layout */
.contact-stage {
    position: relative;
    width: 100%;
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.network-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--panel-border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.contact-title {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    padding: 0.95rem 2rem;
    border-radius: 999px;
    background: var(--bg-main);
    border: 1px solid var(--accent);
    box-shadow: 0 0 15px var(--glow-primary);
    font-weight: 700;
    letter-spacing: 0.2em;
}

.contact-graph {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 600px;
}

.contact-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--bg-main);
    border: 2px solid var(--accent);
    color: var(--text-main);
    font-family: 'Bungee';
    letter-spacing: 0.1em;
    box-shadow: 0 0 30px var(--glow-primary);
    z-index: 10;
}

.pulse-glow {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--glow-primary);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(140, 158, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(140, 158, 255, 0);
    }
}

.contact-node {
    position: absolute;
    min-width: 140px;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    color: var(--text-main);
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    z-index: 5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-node:hover {
    transform: scale(1.1) !important;
    /* override float animation scale momentarily */
    background: var(--accent);
    color: var(--text-main);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--glow-primary);
    z-index: 15;
}

.contact-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    object-fit: contain;
    vertical-align: middle;
}

/* Floating animation for nodes */
.floating {
    animation: floatNode 4s ease-in-out infinite alternate;
}

@keyframes floatNode {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* Responsive Node Positions */
/* Contact Node Positions - Regular Circular Layout */
.node-a {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.node-b {
    top: 18%;
    right: 8%;
}

.node-c {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

.node-d {
    bottom: 18%;
    right: 8%;
}

.node-e {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.node-f {
    bottom: 18%;
    left: 8%;
}

.node-g {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
}

.node-h {
    top: 18%;
    left: 8%;
}

.quote blockquote {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Bungee', cursive;
    font-size: clamp(1.5rem, 3vw, 3rem);
    line-height: 1.2;
    text-align: center;
    color: var(--text-main);
    text-shadow: 0 0 20px var(--glow-primary);
}

.site-footer {
    text-align: center;
    color: var(--text-muted);
    padding-bottom: 2rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-stage {
        width: min(1000px, calc(100vw - 2rem));
        height: min(560px, 65vh);
    }

    .hero-frame {
        width: min(480px, 90%);
        height: min(380px, 90%);
    }
}

@media (max-width: 960px) {

    .intro-grid,
    .work-grid,
    .master-grid,
    .about-with-cube {
        grid-template-columns: 1fr;
    }

    .hero-label {
        display: none;
    }

    .network-grid {
        display: none;
    }

    .contact-node {
        position: relative;
        inset: auto !important;
        transform: none !important;
        margin: 0.5rem;
        display: block;
        width: 100%;
        max-width: 200px;
        text-align: center;
    }

    .contact-graph {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 6rem;
        gap: 15px;
    }

    .contact-center {
        top: 20%;
        margin-bottom: 2rem;
        position: relative;
        transform: none;
        left: auto;
    }

    .cube-viewport {
        width: 180px;
        height: 180px;
    }

    .cube {
        width: 120px;
        height: 120px;
    }

    .cube-face {
        width: 120px;
        height: 120px;
    }

    .cube-face-front {
        transform: translateZ(60px);
    }

    .cube-face-back {
        transform: rotateY(180deg) translateZ(60px);
    }

    .cube-face-right {
        transform: rotateY(90deg) translateZ(60px);
    }

    .cube-face-left {
        transform: rotateY(-90deg) translateZ(60px);
    }

    .cube-face-top {
        transform: rotateX(90deg) translateZ(60px);
    }

    .cube-face-bottom {
        transform: rotateX(-90deg) translateZ(60px);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
    }

    .nav-icon {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .brand-title {
        font-size: 1.4rem;
    }

    .hero-stage {
        height: 45vh;
        padding: 1rem 0;
    }

    .glass-panel {
        padding: 1.25rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .cube-container {
        padding: 1rem;
        min-width: 250px;
    }

    .cube-viewport {
        width: 160px;
        height: 160px;
    }

    .cube {
        width: 100px;
        height: 100px;
    }

    .cube-face {
        width: 100px;
        height: 100px;
        font-size: 1.5rem;
    }

    .cube-face-front {
        transform: translateZ(50px);
    }

    .cube-face-back {
        transform: rotateY(180deg) translateZ(50px);
    }

    .cube-face-right {
        transform: rotateY(90deg) translateZ(50px);
    }

    .cube-face-left {
        transform: rotateY(-90deg) translateZ(50px);
    }

    .cube-face-top {
        transform: rotateX(90deg) translateZ(50px);
    }

    .cube-face-bottom {
        transform: rotateX(-90deg) translateZ(50px);
    }

    .contact-node {
        min-width: 120px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .contact-center {
        width: 120px;
        height: 120px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .nav-left,
    .nav-right {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-icon {
        flex: 1 1 120px;
        min-width: 110px;
        justify-content: center;
        padding: 0.6rem 0.8rem;
    }

    .nav-icon span {
        display: none;
    }

    .button.outline {
        flex: 1 1 140px;
        min-width: 140px;
        text-align: center;
        padding: 0.75rem 1rem;
    }

    .theme-toggle {
        flex: 0 0 auto;
    }

    .brand-block {
        order: -1;
        width: 100%;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .hero {
        min-height: calc(100vh - 60px);
    }

    .hero-stage {
        height: 40vh;
        width: calc(100vw - 1rem);
        border-radius: 24px;
    }

    .hero-frame {
        width: min(300px, 95%);
        height: min(240px, 95%);
        border-radius: 20px;
        padding: 5px;
    }

    .video-card {
        border-radius: 16px;
        font-size: 0.8rem;
    }

    .h1 {
        font-size: clamp(2rem, 8vw, 4rem);
    }

    .subtitle {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }

    .glass-panel {
        padding: 1rem;
        border-radius: 20px;
    }

    .section {
        padding: 3rem 0.5rem;
    }

    .cube-container {
        padding: 0.5rem;
        min-width: 200px;
    }

    .cube-viewport {
        width: 140px;
        height: 140px;
    }

    .cube {
        width: 80px;
        height: 80px;
    }

    .cube-face {
        width: 80px;
        height: 80px;
        font-size: 1.2rem;
    }

    .cube-face-front {
        transform: translateZ(40px);
    }

    .cube-face-back {
        transform: rotateY(180deg) translateZ(40px);
    }

    .cube-face-right {
        transform: rotateY(90deg) translateZ(40px);
    }

    .cube-face-left {
        transform: rotateY(-90deg) translateZ(40px);
    }

    .cube-face-top {
        transform: rotateX(90deg) translateZ(40px);
    }

    .cube-face-bottom {
        transform: rotateX(-90deg) translateZ(40px);
    }

    .contact-node {
        min-width: 100px;
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
        margin: 0.25rem;
    }

    .contact-center {
        width: 100px;
        height: 100px;
        font-size: 0.8rem;
    }

    .quote blockquote {
        font-size: clamp(1.2rem, 5vw, 2rem);
    }
}

/* Category-Based Gallery */
.gallery-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.category-item {
    cursor: pointer;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 236, 209, 0.12);
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-item:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

.category-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.category-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-item:hover .category-thumb {
    transform: scale(1.08);
}

.category-info {
    padding: 1.2rem;
}

.category-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--accent);
}

.category-info .count {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.lightbox-gallery {
    width: 100%;
    min-height: 380px;
    border-radius: 24px;
    overflow: auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem;
}

.gallery-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    width: 100%;
}

.gallery-image-card {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.gallery-image-card:hover {
    transform: scale(1.04);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.gallery-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .gallery-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-images-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 720px) {
    .gallery-categories {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .gallery-images-grid {
        grid-template-columns: 1fr;
    }
}