/*
Theme Name: Tony Overstar Custom
Theme URI: https://tonyoverstar.com/
Author: Tuo Nome / Tony Overstar
Description: Tema custom super performante per Tony Overstar.
Version: 1.0
Text Domain: tonyoverstar
*/

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom cursor solo desktop */
@media (min-width: 769px) {
    * {
        cursor: none;
    }
}

:root {
    --black: #000000;
    --white: #FFFFFF;
    --gold: #B8860B;
    --dark-gray: #464646;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Lora', serif;
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   SCROLL PROGRESS INDICATOR
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), rgba(184, 134, 11, 0.5));
    z-index: 10001;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s ease-out;
    box-shadow: 0 0 10px rgba(184, 134, 11, 0.5);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease, width 0.2s ease, height 0.2s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background-color: rgba(184, 134, 11, 0.1);
}

.custom-cursor.link {
    width: 50px;
    height: 50px;
    border-width: 1px;
}

.custom-cursor.link::after {
    content: 'OPEN';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    color: var(--gold);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 2rem;
}

.text-gold {
    letter-spacing: 0.2em;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 1.5rem;
}

a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gold);
}

/* Transizioni globali per elementi interattivi */
button,
input,
textarea,
select {
    transition: all 0.3s ease;
}

.card,
.artwork-item,
.diary-item,
.event-item {
    transition: all 0.3s ease;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 90%;
}

.section {
    padding: 5rem 0;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 0.5px solid var(--gold);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    background-color: transparent;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.site-header.visible {
    opacity: 1;
}

.site-header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold);
}

.main-nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.main-nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: none;
    position: relative;
    z-index: 1000;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--gold);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--white);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--gold);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.copyright {
    text-align: center;
    font-size: 0.75rem;
    color: var(--dark-gray);
    letter-spacing: 0.05em;
}

/* ============================================
   SEPARATOR
   ============================================ */
.separator {
    width: 100%;
    height: 1px;
    background-color: var(--gold);
    margin: 3rem 0;
    opacity: 0.5;
    transform-origin: center;
    animation: inkBleed 1.5s ease-out;
}

@keyframes inkBleed {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: scaleX(1);
        opacity: 0.5;
    }
}

.separator.active {
    animation: inkBleed 1.5s ease-out;
}

/* ============================================
   BUTTONS & FORMS
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 2px solid var(--gold);
    background-color: transparent;
    color: var(--gold);
    transition: all 0.3s ease;
    cursor: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(184, 134, 11, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    background-color: var(--gold);
    color: var(--black);
    box-shadow: 0 0 20px rgba(184, 134, 11, 0.5);
    transform: translateY(-2px);
}

.form-group {
    margin-bottom: 2rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--gold);
    color: var(--white);
    font-family: 'Lora', serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-bottom-color: var(--white);
    box-shadow: 0 3px 30px rgba(184, 134, 11, 0.2);
    transform: translateY(-2px);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-message {
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 3px solid var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

.form-message-success {
    background-color: rgba(184, 134, 11, 0.1);
    color: var(--gold);
    border-left-color: var(--gold);
}

.form-message-error {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-left-color: #dc3545;
}

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
}

.page-loader.fade-background {
    background-color: transparent;
    transition: background-color 1.5s ease;
}

.page-loader.big-bang-flash {
    background-color: rgba(184, 134, 11, 0.3);
    transition: background-color 0.2s ease;
}

.page-loader.big-bang-flash::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.8) 0%, rgba(184, 134, 11, 0.4) 30%, transparent 70%);
    border-radius: 50%;
    animation: bigBangExplosion 1.2s ease-out forwards;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0s 0.5s;
}

.loader-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    height: 220px;
    pointer-events: none;
}

.loader-logo-container.positioned {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Nodi del loader - gestiti da GSAP */
.loader-node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(184, 134, 11, 0.9),
        0 0 50px rgba(184, 134, 11, 0.5);
    opacity: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
}

.loader-node:nth-child(1) {
    --end-x: 20%;
    --end-y: 15%;
}

.loader-node:nth-child(2) {
    --end-x: 85%;
    --end-y: 25%;
}

.loader-node:nth-child(3) {
    --end-x: 15%;
    --end-y: 80%;
}

.loader-node:nth-child(4) {
    --end-x: 80%;
    --end-y: 75%;
}

.loader-node:nth-child(5) {
    --end-x: 10%;
    --end-y: 50%;
}

.loader-node:nth-child(6) {
    --end-x: 90%;
    --end-y: 50%;
}

.loader-node:nth-child(7) {
    --end-x: 30%;
    --end-y: 35%;
}

.loader-node:nth-child(8) {
    --end-x: 70%;
    --end-y: 65%;
}

/* Linee di connessione del loader */
.loader-connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease-out;
}

.loader-connection-lines.hidden {
    opacity: 0 !important;
}

.loader-connection-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.8), transparent);
    opacity: 0;
}

.loader-connection-line:nth-child(1) {
    top: 20%;
    left: 15%;
    width: 30%;
    animation-delay: 0.8s;
}

.loader-connection-line:nth-child(2) {
    top: 50%;
    right: 10%;
    width: 35%;
    animation-delay: 1s;
}

.loader-connection-line:nth-child(3) {
    bottom: 25%;
    left: 10%;
    width: 40%;
    animation-delay: 1.2s;
}

.loader-connection-line:nth-child(4) {
    top: 35%;
    right: 15%;
    width: 25%;
    animation-delay: 1.4s;
}

.loader-connection-line:nth-child(5) {
    bottom: 35%;
    left: 25%;
    width: 30%;
    animation-delay: 1.6s;
}

.loader-connection-line:nth-child(6) {
    top: 60%;
    right: 20%;
    width: 28%;
    animation-delay: 1.8s;
}

/* Logo del loader - arriva dal centro */
.loader-logo-left,
.loader-logo-right {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(184, 134, 11, 0.9));
    opacity: 0;
    transform: scale(0);
}

.loader-logo-right {
    display: none;
}

/* Animazioni gestite da GSAP - manteniamo solo Big Bang Explosion */

@keyframes bigBangExplosion {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    50% {
        width: 300vw;
        height: 300vw;
        opacity: 0.8;
    }

    100% {
        width: 400vw;
        height: 400vw;
        opacity: 0;
    }
}

/* ============================================
   PAGE TRANSITION
   ============================================ */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.page-transition.active {
    opacity: 1;
    pointer-events: all;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    visibility: hidden;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.5;
    background-image: url("https://www.tonyoverstar.com/assets/images/tonyoverstar.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Hero title - Scroll scale effect con pulsazione luminosa */
.hero-title {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--white);
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    margin: 1rem 0 0 0;
    text-align: center;
    white-space: nowrap;
    opacity: 1;
    position: relative;
    z-index: 10;
    will-change: transform;
    animation: starGlow 3s ease-in-out infinite;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
}

@keyframes starGlow {

    0%,
    100% {
        text-shadow:
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(255, 255, 255, 0.3),
            0 0 30px rgba(255, 255, 255, 0.2);
        opacity: 1;
    }

    50% {
        text-shadow:
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 30px rgba(255, 255, 255, 0.6),
            0 0 40px rgba(255, 255, 255, 0.4),
            0 0 50px rgba(255, 255, 255, 0.2);
        opacity: 0.95;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(0.6rem, 3vw, 0.9rem);
        letter-spacing: 0.25em;
        margin: 0.5rem 0 0 0;
    }
}

.hero-logo-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 100px;
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: height 0.1s ease-out;
}

.hero-logo-static {
    width: 100%;
    max-width: 1200px;
    height: auto;
    /* filter: drop-shadow(0 0 40px rgba(184, 134, 11, 0.8)); */
    opacity: 0;
    will-change: transform;
    transition: transform 0.1s ease-out;
    width: 700px;
}

@media (max-width: 768px) {
    .hero-logo-container {
        max-width: 100%;
    }

    .hero-logo-static {
        padding: 2rem;
        max-width: 90%;
    }
}

/* Stelle fluttuanti nell'hero */
.floating-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-star {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(184, 134, 11, 0.8),
        0 0 30px rgba(184, 134, 11, 0.4);
    opacity: 0;
}


/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ============================================
   CARD COMPONENTS
   ============================================ */
.card {
    background-color: transparent;
    border: 1px solid var(--dark-gray);
    padding: 2rem;
    transition: border-color 0.3s ease;
}

.card:hover {
    border-color: var(--gold);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-content {
    font-size: 1rem;
    line-height: 1.8;
}

/* ============================================
   MUSIC PLAYER
   ============================================ */
.audio-player {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    border: 1px solid var(--gold);
}

.audio-player audio {
    width: 100%;
    filter: invert(1) grayscale(1) contrast(0.8);
}

/* ============================================
   ARTWORK GRID
   ============================================ */
.artwork-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.artwork-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--dark-gray);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 rgba(184, 134, 11, 0);
}

.artwork-item:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(184, 134, 11, 0.3);
    transform: translateY(-5px);
}

.artwork-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.artwork-item:hover .artwork-image {
    filter: grayscale(0%) contrast(1.2) brightness(1.1);
    transform: scale(1.05);
}

@keyframes glitch {
    0% {
        transform: scale(1.05) translate(0);
    }

    20% {
        transform: scale(1.05) translate(-2px, 2px);
    }

    40% {
        transform: scale(1.05) translate(-2px, -2px);
    }

    60% {
        transform: scale(1.05) translate(2px, 2px);
    }

    80% {
        transform: scale(1.05) translate(2px, -2px);
    }

    100% {
        transform: scale(1.05) translate(0);
    }
}

.artwork-item:hover .artwork-image {
    animation: glitch 0.3s ease;
}

.artwork-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.artwork-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin: 0;
}

/* ============================================
   DIARY/BLOG LIST
   ============================================ */
.diary-list {
    list-style: none;
    position: relative;
}

/* Timeline verticale */
.diary-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold) 0%, rgba(184, 134, 11, 0.3) 100%);
    opacity: 0.3;
}

.diary-list {
    padding-left: 2rem;
}

.diary-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--dark-gray);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0) 100%);
    margin-left: 10px;
}

.diary-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 2.5rem;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    border: 2px solid var(--black);
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.diary-item.active::before,
.diary-item:hover::before {
    transform: scale(1);
}

.diary-item:hover {
    padding-left: 2rem;
    background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.05) 100%);
    transform: translateX(10px);
}

.diary-item:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.diary-item-title {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.diary-item:hover .diary-item-title {
    color: var(--gold);
    letter-spacing: 0.15em;
}

/* ============================================
   LYRICS/TEXT DISPLAY
   ============================================ */
.lyrics {
    max-width: 600px;
    margin: 3rem auto;
    text-align: center;
    font-style: italic;
    line-height: 2;
}

.lyrics p {
    margin-bottom: 2rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
        justify-content: flex-end;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--black);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
        z-index: 1000;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .section {
        padding: 3rem 0;
    }

    .container,
    .container-narrow {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .main-nav ul {
        gap: 1.5rem;
    }

    .social-links {
        gap: 1.5rem;
    }

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

    .hero-logo-container {
        max-width: 500px;
        margin-bottom: 2rem;
    }

    .loader-logo-container {
        max-width: 400px;
        height: 120px;
    }

    .loader-node {
        width: 8px;
        height: 8px;
    }

    .floating-star {
        width: 4px;
        height: 4px;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

.text-white {
    color: var(--white);
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.mt-5 {
    margin-top: 5rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.mb-5 {
    margin-bottom: 5rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ============================================
   FOCUS READING MODE
   ============================================ */
.focus-mode-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(184, 134, 11, 0.4);
}

.focus-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(184, 134, 11, 0.6);
}

.focus-mode-toggle svg {
    width: 24px;
    height: 24px;
    fill: var(--black);
}

body.focus-mode {
    background: #000;
}

body.focus-mode .site-header,
body.focus-mode .site-footer,
body.focus-mode .hero-image,
body.focus-mode .separator,
body.focus-mode .btn,
body.focus-mode .artwork-grid,
body.focus-mode .grid {
    display: none !important;
}

body.focus-mode .container-narrow {
    max-width: 800px;
    padding: 4rem 2rem;
}

body.focus-mode p,
body.focus-mode h1,
body.focus-mode h2,
body.focus-mode blockquote {
    font-size: 1.4rem !important;
    line-height: 2 !important;
    text-align: center;
    color: var(--white) !important;
}

/* ============================================
   MOOD SELECTOR
   ============================================ */
.mood-selector {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 9997;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--gold);
    padding: 1.5rem 1rem;
    border-radius: 10px;
    display: none;
}

.mood-selector.active {
    display: block;
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        transform: translateY(-50%) translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}

.mood-selector h3 {
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--gold);
}

.mood-option {
    display: block;
    padding: 0.8rem 1.5rem;
    margin: 0.5rem 0;
    background: transparent;
    border: 1px solid var(--dark-gray);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.mood-option:hover,
.mood-option.active {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}