/* ================================
   VERYRAREDOME - Premium Design
================================ */

:root {
    --primary: #4a9eff;
    --primary-dim: rgba(74, 158, 255, 0.5);
    --primary-glow: rgba(74, 158, 255, 0.15);
    --bg: #000;
    --text: #fff;
    --text-dim: rgba(255,255,255,0.5);
    --text-muted: rgba(255,255,255,0.25);
}

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

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* ================================
   ELEGANT MINIMAL LOADER
================================ */

.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-bg {
    position: absolute;
    inset: 0;
    background: var(--bg);
}

.loader-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Circular progress */
.loader-icon {
    position: relative;
    width: 120px;
    height: 120px;
}

.loader-icon svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.loader-circle-bg {
    fill: none;
    stroke: rgba(255,255,255,0.05);
    stroke-width: 1;
}

.loader-circle {
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.1s linear;
    filter: drop-shadow(0 0 6px var(--primary));
}

.loader-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text);
    letter-spacing: 0.05em;
}

.loader-percent::after {
    content: '%';
    font-size: 0.8rem;
    opacity: 0.5;
    margin-left: 2px;
}

/* Text content */
.loader-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.loader-title {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.5em;
    color: var(--text);
    text-indent: 0.5em;
}

.loader-status {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

/* Bottom animated line */
.loader-line {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.1);
    overflow: hidden;
}

.loader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: lineSlide 1.5s ease-in-out infinite;
}

@keyframes lineSlide {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .loader-icon {
        width: 100px;
        height: 100px;
    }

    .loader-percent {
        font-size: 1.2rem;
    }

    .loader-title {
        font-size: 0.7rem;
    }
}

/* ================================
   CLICK ZONE
================================ */

.click-zone {
    position: fixed;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.click-zone.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.click-zone.clicked {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ================================
   3D CANVAS
================================ */

.canvas-container {
    position: fixed;
    inset: 0;
    z-index: 1;
}

/* ================================
   MODEL SECTION
================================ */

.model-section {
    height: 200vh;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.scroll-hint {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--primary-dim), transparent);
}

/* ================================
   MAIN PAGE
================================ */

.main-page {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--bg);
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 1.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.6s ease,
                visibility 0.6s ease;
}

.main-page.visible {
    opacity: 1;
    visibility: visible;
    clip-path: circle(150% at 50% 50%);
}

/* ================================
   PAGE SECTIONS
================================ */

.page-section {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 0;
}

.hero-section {
    min-height: 100vh;
}

.section-inner {
    width: 100%;
    max-width: 1000px;
    padding: 0 50px;
    text-align: center;
}

.page-section.from-left {
    transform: translateX(-80px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-section.from-right {
    transform: translateX(80px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-section.visible {
    transform: translateX(0);
    opacity: 1;
}

/* ================================
   HERO
================================ */

.hero-section {
    text-align: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-tag-line {
    width: 40px;
    height: 1px;
    background: var(--primary-dim);
}

.hero-tag-text {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(4rem, 18vw, 12rem);
    font-weight: 200;
    letter-spacing: 0.05em;
    line-height: 0.85;
    margin-bottom: 60px;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 300;
}

/* ================================
   SECTION HEADERS
================================ */

.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-label {
    font-size: 0.65rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: var(--text);
}

/* ================================
   MUSIC
================================ */

.music-section .section-inner {
    text-align: center;
}

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

.music-card {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.music-card:hover {
    background: var(--primary-glow);
    border-color: var(--primary-dim);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px var(--primary-glow);
}

/* ================================
   ABOUT
================================ */

.about-section .section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.about-content {
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 2;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.about-text .highlight {
    color: var(--text);
    font-weight: 400;
}

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

.about-logo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    
    
}

.about-graphic {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: floatGraphic 6s ease-in-out infinite;
}

@keyframes floatGraphic {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-graphic::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
}

.about-graphic::after {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

.about-icon {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--primary);
    z-index: 1;
}

/* ================================
   CONTACT
================================ */

.contact-section .section-inner {
    text-align: center;
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.contact-item {
    text-decoration: none;
    padding: 30px 50px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-width: 180px;
}

.contact-item:hover {
    border-color: var(--primary-dim);
    background: var(--primary-glow);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 400;
}

.contact-icon-svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon-svg {
    transform: scale(1.1);
}

.contact-name {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: color 0.3s ease;
}

.contact-item:hover .contact-name {
    color: var(--text);
}

.contact-email {
    margin-top: 20px;
}

.email-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.email-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.email-link:hover {
    color: var(--primary);
}

.email-link:hover::after {
    width: 100%;
}

/* ================================
   FOOTER
================================ */

.footer-section {
    padding: 40px 50px;
    min-height: auto;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
    .about-section .section-inner {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .about-content {
        text-align: center;
        order: 2;
    }

    .about-visual {
        order: 1;
    }
}

@media (max-width: 768px) {
    .section-inner {
        padding: 0 30px;
        text-align: center;
    }

    .loader-rings {
        width: 200px;
        height: 200px;
    }

    .ring-2 { inset: 20px; }
    .ring-3 { inset: 40px; }

    .loader-logo {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: clamp(3rem, 16vw, 6rem);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-header {
        text-align: center;
    }

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

    .contact-section .section-inner {
        text-align: center;
    }

    .contact-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .contact-item {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .contact-email {
        text-align: center;
    }

    .footer-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .about-graphic {
        width: 150px;
        height: 150px;
    }

    .about-section .section-inner,
    .about-content {
        text-align: center;
    }
}
