:root {
    --bg-black: #3D0B0D;
    --bg-surface: #4b0f12;
    --bg-control: #5c1418;
    --accent: #800808;
    --accent-hover: #821F29;
    --accent-secondary: #821F29;
    --accent-text: #f28b96;
    --accent-border: rgba(130, 31, 41, 0.85);
    --accent-soft: rgba(130, 31, 41, 0.42);
    --card-border: #821F29;
    --text-main: #faecee;
    --text-strong: #ffffff;
    --text-desc: #e6cfd3;
    --text-muted: #c49ba2;
    --banner-bg: #3D0B0D;
    --banner-border-top: #821F29;
    --banner-border-side: rgba(130, 31, 41, 0.55);
    --banner-gradient: linear-gradient(
        180deg,
        rgba(61, 11, 13, 0.25) 0%,
        rgba(61, 11, 13, 0.6) 52%,
        rgba(61, 11, 13, 0.92) 86%,
        #3D0B0D 100%
    );
    --banner-title-shadow: 0 4px 18px rgba(32, 4, 5, 0.85);
    --banner-desc-shadow: 0 2px 10px rgba(32, 4, 5, 0.9);
    --nav-bg: rgba(75, 15, 18, 0.92);
    --nav-border: #821F29;
    --nav-shadow: 0 10px 30px rgba(24, 3, 4, 0.65);
    --progress-track: rgba(130, 31, 41, 0.45);
    --lightbox-bg: rgba(61, 11, 13, 0.94);
    --ambient-1: rgba(130, 31, 41, 0.35);
    --ambient-2: rgba(128, 8, 8, 0.38);
    --bolt-stroke: rgba(212, 68, 82, 0.55);
    --bolt-glow: rgba(130, 31, 41, 0.9);
    --toggle-bg: rgba(75, 15, 18, 0.92);
    --toggle-border: #821F29;
    --toggle-shadow: 0 6px 20px rgba(24, 3, 4, 0.7);
    --intro-shadow: rgba(130, 31, 41, 0.75);
    --card-shadow: 0 6px 20px rgba(24, 3, 4, 0.45);
    --card-shadow-hover: 0 12px 32px rgba(130, 31, 41, 0.55);
    --overlay-tint: rgba(128, 8, 8, 0.52);
}

[data-theme="light"] {
    --bg-black: #FDEEF2;
    --bg-surface: #ffffff;
    --bg-control: rgba(251, 145, 154, 0.24);
    --accent: #F53434;
    --accent-hover: #d92323;
    --accent-secondary: #FB919A;
    --accent-text: #F53434;
    --accent-border: rgba(245, 52, 52, 0.5);
    --accent-soft: rgba(251, 145, 154, 0.28);
    --card-border: #FB919A;
    --text-main: #2b1116;
    --text-strong: #2b1116;
    --text-desc: #4a222a;
    --text-muted: #854d58;
    --banner-bg: #FB919A;
    --banner-border-top: #F53434;
    --banner-border-side: #FB919A;
    --banner-gradient: linear-gradient(
        180deg,
        rgba(251, 145, 154, 0.25) 0%,
        rgba(253, 238, 242, 0.62) 52%,
        rgba(253, 238, 242, 0.93) 86%,
        #FDEEF2 100%
    );
    --banner-title-shadow: 0 2px 14px rgba(253, 238, 242, 0.92);
    --banner-desc-shadow: 0 1px 10px rgba(253, 238, 242, 0.95);
    --nav-bg: rgba(253, 238, 242, 0.92);
    --nav-border: #FB919A;
    --nav-shadow: 0 10px 28px rgba(251, 145, 154, 0.35);
    --progress-track: rgba(251, 145, 154, 0.5);
    --lightbox-bg: rgba(253, 238, 242, 0.94);
    --ambient-1: rgba(251, 145, 154, 0.42);
    --ambient-2: rgba(245, 52, 52, 0.12);
    --bolt-stroke: rgba(245, 52, 52, 0.5);
    --bolt-glow: rgba(251, 145, 154, 0.85);
    --toggle-bg: rgba(253, 238, 242, 0.92);
    --toggle-border: #FB919A;
    --toggle-shadow: 0 6px 20px rgba(251, 145, 154, 0.45);
    --intro-shadow: rgba(251, 145, 154, 0.95);
    --card-shadow: 0 6px 18px rgba(251, 145, 154, 0.25);
    --card-shadow-hover: 0 12px 30px rgba(245, 52, 52, 0.28);
    --overlay-tint: rgba(245, 52, 52, 0.42);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg-black);
    color: var(--text-main);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

::selection {
    background: var(--accent);
    color: #ffffff;
}

/* Theme toggle */
.theme-toggle {
    position: fixed;
    top: 16px;
    right: 18px;
    z-index: 1005;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1.5px solid var(--toggle-border);
    background: var(--toggle-bg);
    color: var(--text-main);
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--toggle-shadow);
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.25s ease;
}

.theme-toggle i {
    font-size: 12.5px;
    color: var(--accent-text);
    transition: color 0.25s ease, transform 0.3s ease;
}

.theme-toggle:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    transform: translateY(-1px);
}

.theme-toggle:hover i {
    color: #ffffff;
    transform: rotate(18deg);
}

/* Background lightning */
.lightning-overlay {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.lightning-ambient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 18%, var(--ambient-1) 0%, transparent 55%),
        radial-gradient(ellipse at 78% 52%, var(--ambient-2) 0%, transparent 58%),
        radial-gradient(ellipse at 35% 88%, var(--ambient-1) 0%, transparent 55%);
    opacity: 0;
    animation: redAmbientLightning 8.5s infinite;
}

.red-lightning-bolt {
    position: absolute;
    pointer-events: none;
    fill: none;
    stroke: var(--bolt-stroke);
    stroke-width: 1.05;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px var(--bolt-glow));
    opacity: 0;
}

.bolt-top-right {
    top: 1%;
    right: 10%;
    width: 105px;
    height: 195px;
    animation: redBoltFlashA 8.5s infinite;
}

.bolt-top-left {
    top: 4%;
    left: 12%;
    width: 85px;
    height: 160px;
    stroke-width: 0.9;
    animation: redBoltFlashB 11.5s infinite 2.4s;
}

.bolt-mid-left {
    top: 37%;
    left: 6%;
    width: 95px;
    height: 185px;
    stroke-width: 0.95;
    animation: redBoltFlashA 9.8s infinite 4.2s;
}

.bolt-mid-right {
    top: 44%;
    right: 7%;
    width: 90px;
    height: 175px;
    stroke-width: 0.9;
    animation: redBoltFlashB 12.2s infinite 1.3s;
}

.bolt-bottom-left {
    bottom: 3%;
    left: 11%;
    width: 105px;
    height: 195px;
    stroke-width: 1;
    animation: redBoltFlashB 10.4s infinite 5.5s;
}

.bolt-bottom-right {
    bottom: 2%;
    right: 9%;
    width: 95px;
    height: 175px;
    stroke-width: 0.95;
    animation: redBoltFlashA 9.2s infinite 3.1s;
}

@keyframes redAmbientLightning {
    0%, 72%, 100% { opacity: 0; }
    73% { opacity: 0.5; }
    74.4% { opacity: 0.08; }
    75.4% { opacity: 0.7; }
    78% { opacity: 0; }
}

@keyframes redBoltFlashA {
    0%, 72%, 100% { opacity: 0; }
    73% { opacity: 0.38; }
    74.4% { opacity: 0.06; }
    75.4% { opacity: 0.52; }
    77.5% { opacity: 0; }
}

@keyframes redBoltFlashB {
    0%, 80%, 100% { opacity: 0; }
    81% { opacity: 0.34; }
    82.2% { opacity: 0; }
    83% { opacity: 0.46; }
    85% { opacity: 0; }
}

/* Intro */
#intro-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-black);
    cursor: pointer;
    user-select: none;
}

.intro-content {
    text-align: center;
    padding: 0 20px;
    animation: introEnter 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro-content h1 {
    margin: 18px 0 8px;
    font-size: clamp(42px, 8vw, 80px);
    font-weight: 700;
    letter-spacing: 8px;
    color: var(--text-main);
    text-shadow: 0 4px 26px var(--intro-shadow);
}

.intro-content p {
    font-size: 13px;
    letter-spacing: 5px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.intro-line {
    width: 70px;
    height: 2px;
    margin: auto;
    background: var(--accent);
    transform: scaleX(0);
    animation: lineEnter 0.5s ease 0.2s forwards;
}

.intro-tap {
    display: inline-block;
    margin-top: 26px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3.5px;
    color: var(--accent-text);
    animation: tapPulse 1.8s ease-in-out infinite;
}

@keyframes tapPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes introEnter {
    0% {
        opacity: 0;
        transform: translateY(15px);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes lineEnter {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

#intro-screen.skip {
    animation: introSkip 0.45s ease forwards !important;
}

@keyframes introSkip {
    from {
        opacity: 1;
        filter: blur(0);
    }
    to {
        opacity: 0;
        filter: blur(8px);
        visibility: hidden;
        pointer-events: none;
    }
}

/* Main container */
.container {
    position: relative;
    z-index: 3;
    width: calc(100% - 40px);
    max-width: 900px;
    margin: 0 auto;
    padding-top: 56px;
}

/* Profile & banner */
.profile-section {
    position: relative;
    padding-bottom: 24px;
}

.profile-banner {
    position: relative;
    width: 100%;
    padding: 36px 28px 30px;
    border-radius: 22px 22px 0 0;
    overflow: hidden;
    border-top: 1px solid var(--banner-border-top);
    border-left: 1px solid var(--banner-border-side);
    border-right: 1px solid var(--banner-border-side);
    background: var(--banner-bg);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.banner-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.80;
    transform: scale(1.02);
}

.banner-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--banner-gradient);
}

.banner-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 165px minmax(0, 1fr);
    align-items: center;
    gap: 36px;
    width: 100%;
}

.profile-image-wrapper {
    width: 165px;
    height: 205px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--bg-surface);
    border: 2px solid var(--accent);
    box-shadow: var(--card-shadow);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.profile-image-wrapper:hover {
    border-color: var(--accent-hover);
    box-shadow: var(--card-shadow-hover);
}

.profile-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(10%);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.profile-image-wrapper:hover .profile-image {
    transform: scale(1.04);
    filter: grayscale(0%);
}

.profile-info {
    min-width: 0;
}

.profile-info h1 {
    margin-bottom: 14px;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 0.95;
    letter-spacing: -3px;
    color: var(--text-main);
    text-shadow: var(--banner-title-shadow);
}

.profile-description {
    max-width: 650px;
    margin-bottom: 0;
    color: var(--text-desc);
    font-size: 14.5px;
    line-height: 1.75;
    text-shadow: var(--banner-desc-shadow);
}

.quick-info {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
    margin-top: 6px;
}

.info-item {
    width: 100%;
    padding: 15px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--card-border);
    border-left: 3px solid var(--accent);
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.info-item:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.info-label {
    display: block;
    margin-bottom: 5px;
    color: var(--accent-text);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-item strong {
    display: block;
    color: var(--text-strong);
    font-size: 12px;
    font-weight: 500;
}

/* Music player */
.music-player-section {
    margin-bottom: 12px;
}

.music-card {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1.5px solid var(--accent);
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.music-top {
    display: flex;
    align-items: center;
    gap: 13px;
}

.vinyl-disc {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at center,
            #260709 0%,
            #160304 38%,
            #30090c 40%,
            #140203 43%,
            #2b080a 56%,
            #120203 59%,
            #30090c 72%,
            #140203 75%,
            #240608 100%
        );
    border: 1.5px solid var(--accent);
    box-shadow: var(--card-shadow), inset 0 0 8px rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: spinVinyl 7s linear infinite;
    animation-play-state: paused;
}

.vinyl-disc.playing {
    animation-play-state: running;
    box-shadow: var(--card-shadow-hover), inset 0 0 8px rgba(255, 255, 255, 0.12);
}

.vinyl-disc::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 35deg,
        transparent 0deg,
        rgba(255, 255, 255, 0.14) 35deg,
        transparent 75deg,
        transparent 180deg,
        rgba(255, 255, 255, 0.12) 215deg,
        transparent 255deg
    );
    pointer-events: none;
    z-index: 2;
}

.vinyl-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 1;
}

.vinyl-cover.hidden {
    display: none;
}

.vinyl-label {
    position: relative;
    z-index: 3;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-hole {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--bg-black);
}

@keyframes spinVinyl {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.track-meta {
    flex: 1;
    min-width: 0;
}

.track-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.track-artist {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-progress-area {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.music-progress {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--accent) var(--progress, 0%),
        var(--progress-track) var(--progress, 0%)
    );
    outline: none;
    cursor: pointer;
    transition: height 0.15s ease;
}

.music-progress:hover {
    height: 5px;
}

.music-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--accent);
    cursor: pointer;
    box-shadow: 0 0 6px var(--accent-border);
}

.music-progress::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--accent);
    cursor: pointer;
    box-shadow: 0 0 6px var(--accent-border);
}

.music-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.music-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.control-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--card-border);
    border-radius: 9px;
    background: var(--bg-control);
    color: var(--text-strong);
    font-size: 11px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.control-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    transform: scale(1.06);
}

.control-btn.play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
    font-size: 12px;
    box-shadow: var(--card-shadow);
}

.control-btn.play-btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

/* SociaBuzz */
.sociabuzz-section {
    margin-bottom: 18px;
}

.sociabuzz-card {
    width: 100%;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    background: var(--bg-surface);
    border: 1.5px solid var(--card-border);
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.sociabuzz-left {
    display: flex;
    align-items: center;
    gap: 13px;
}

.sociabuzz-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent-soft);
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-text);
    font-size: 15px;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.sociabuzz-text {
    display: flex;
    flex-direction: column;
}

.sociabuzz-text strong {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-strong);
    transition: color 0.25s ease;
}

.sociabuzz-text span {
    font-size: 11px;
    color: var(--text-muted);
    transition: color 0.25s ease;
}

.sociabuzz-arrow {
    font-size: 13px;
    color: var(--accent-text);
    transition: color 0.25s ease, transform 0.25s ease;
}

.sociabuzz-card:hover {
    background: var(--accent);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.sociabuzz-card:hover .sociabuzz-icon {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}

.sociabuzz-card:hover .sociabuzz-text strong,
.sociabuzz-card:hover .sociabuzz-text span,
.sociabuzz-card:hover .sociabuzz-arrow {
    color: #ffffff;
}

.sociabuzz-card:hover .sociabuzz-arrow {
    transform: translate(2px, -2px);
}

/* Tabs */
.tab-nav {
    width: 100%;
    margin-bottom: 28px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--nav-bg);
    border: 1.5px solid var(--nav-border);
    border-radius: 15px;
    box-shadow: var(--nav-shadow);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-item i {
    font-size: 13px;
}

.nav-item:hover {
    color: var(--text-strong);
    background: var(--accent-soft);
}

.nav-item.active {
    color: #ffffff;
    background: var(--accent);
    box-shadow: var(--card-shadow);
}

.tab-page {
    display: none;
    padding-bottom: 45px;
}

.tab-page.active {
    display: block;
    animation: tabFadeIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h2 {
    margin-bottom: 6px;
    font-size: clamp(28px, 4.5vw, 44px);
    letter-spacing: -1.5px;
    color: var(--text-main);
}

.section-heading p {
    color: var(--text-muted);
    font-size: 13.5px;
}

/* Social links */
.social-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

.social-card {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 22px;
    color: var(--text-strong);
    text-decoration: none;
    background: var(--bg-surface);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.social-card i {
    width: 24px;
    text-align: center;
    font-size: 19px;
    color: var(--accent-text);
    transition: color 0.25s ease;
}

.social-card span {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-strong);
    transition: color 0.25s ease;
}

.social-card:hover {
    color: #ffffff;
    background: var(--accent);
    border-color: var(--accent-hover);
    transform: translateX(5px);
}

.social-card:hover i,
.social-card:hover span {
    color: #ffffff;
}

/* Gallery */
.quotes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.quote-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-surface);
    border: 2px solid var(--card-border);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quote-item:hover {
    border-color: var(--accent);
    box-shadow: var(--card-shadow-hover);
}

.quote-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.quote-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--overlay-tint);
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quote-overlay i {
    font-size: 20px;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.quote-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.75);
}

.quote-item:hover .quote-overlay {
    opacity: 1;
}

.quote-item:hover .quote-overlay i {
    transform: scale(1);
}

/* Footer */
.footer {
    position: relative;
    z-index: 3;
    width: calc(100% - 40px);
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 0 38px;
    text-align: center;
    color: var(--text-muted);
    font-size: 11px;
    border-top: 1px solid var(--accent-border);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: var(--lightbox-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid var(--accent);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent);
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.lightbox-close:hover {
    background: var(--accent-hover);
}

/* Responsive */
@media (max-width: 900px) {
    .banner-content {
        grid-template-columns: 160px minmax(0, 1fr);
        gap: 28px;
    }
}

@media (max-width: 650px) {
    .theme-toggle {
        top: 12px;
        right: 14px;
        padding: 7px 11px;
        font-size: 10.5px;
        gap: 5px;
    }

    .container {
        width: calc(100% - 28px);
        padding-top: 50px;
    }

    .profile-section {
        padding-bottom: 20px;
    }

    .profile-banner {
        padding: 24px 16px 20px;
        border-radius: 18px 18px 0 0;
    }

    .banner-content {
        grid-template-columns: 105px minmax(0, 1fr);
        align-items: start;
        gap: 16px;
    }

    .profile-image-wrapper {
        width: 105px;
        height: 134px;
        border-radius: 14px;
    }

    .profile-info {
        width: 100%;
        min-width: 0;
    }

    .profile-info h1 {
        margin-bottom: 8px;
        font-size: 30px;
        line-height: 0.95;
        letter-spacing: -1.5px;
    }

    .profile-description {
        max-width: none;
        font-size: 11px;
        line-height: 1.55;
    }

    .quick-info {
        gap: 8px;
        margin-top: 4px;
    }

    .info-item {
        padding: 12px 15px;
        border-radius: 12px;
    }

    .info-label {
        margin-bottom: 4px;
        font-size: 8px;
    }

    .info-item strong {
        font-size: 11px;
    }

    .music-card {
        padding: 10px 13px;
        border-radius: 13px;
        gap: 8px;
    }

    .music-top {
        gap: 11px;
    }

    .vinyl-disc {
        width: 44px;
        height: 44px;
    }

    .vinyl-label {
        width: 15px;
        height: 15px;
    }

    .vinyl-hole {
        width: 4px;
        height: 4px;
    }

    .track-title {
        font-size: 13px;
    }

    .track-artist {
        font-size: 10.5px;
    }

    .control-btn {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .control-btn.play-btn {
        width: 33px;
        height: 33px;
        font-size: 11px;
    }

    .sociabuzz-card {
        padding: 11px 14px;
        border-radius: 13px;
    }

    .sociabuzz-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .sociabuzz-text strong {
        font-size: 12.5px;
    }

    .sociabuzz-text span {
        font-size: 10px;
    }

    .tab-nav {
        margin-bottom: 22px;
        padding: 5px;
        border-radius: 13px;
    }

    .nav-item {
        padding: 10px 8px;
        font-size: 12px;
    }

    .social-grid {
        gap: 8px;
    }

    .social-card {
        min-height: 52px;
        padding: 0 18px;
    }

    .quotes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .footer {
        width: calc(100% - 28px);
    }
}

@media (max-width: 400px) {
    .intro-content h1 {
        font-size: 36px;
        letter-spacing: 5px;
    }

    .intro-content p {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .banner-content {
        grid-template-columns: 95px minmax(0, 1fr);
        gap: 13px;
    }

    .profile-image-wrapper {
        width: 95px;
        height: 122px;
        border-radius: 13px;
    }

    .profile-info h1 {
        font-size: 26px;
    }

    .profile-description {
        font-size: 10px;
        line-height: 1.5;
    }
}
