/* glolos.com - Cursor Reactive Creative */
/* Palette: #0a0a0a, #a78bfa, #34d399, #e0e0e0, #333333, #1a1a1a */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    cursor: crosshair;
}

/* ========================
   Gradient Trail Canvas
   ======================== */
#gradient-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

/* ========================
   Coordinate Labels
   ======================== */
.coord {
    font-family: 'Fira Code', monospace;
    font-size: 0.55rem;
    color: #333333;
    display: block;
    transition: color 0.5s ease;
    user-select: none;
}

/* ========================
   Section: Void (0-100vh)
   ======================== */
.section-void {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    z-index: 2;
    overflow: hidden;
}

.void-content {
    position: relative;
    text-align: center;
    z-index: 3;
}

.coord-top-left {
    position: absolute;
    top: 20px;
    left: 20px;
}

.coord-top-right {
    position: absolute;
    top: 20px;
    right: 20px;
}

.coord-bottom-left {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.coord-bottom-right {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.section-void .coord-top-left,
.section-void .coord-top-right,
.section-void .coord-bottom-left,
.section-void .coord-bottom-right {
    position: fixed;
}

/* Pulsing circles at edges */
.pulse-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(167, 139, 250, 0.15);
    animation: pulse-ring 4s ease-in-out infinite;
}

.pulse-circle-1 {
    width: 120px;
    height: 120px;
    top: -30px;
    left: -30px;
    animation-delay: 0s;
}

.pulse-circle-2 {
    width: 80px;
    height: 80px;
    bottom: 40px;
    right: -20px;
    animation-delay: 1.3s;
}

.pulse-circle-3 {
    width: 60px;
    height: 60px;
    top: 20px;
    right: 100px;
    animation-delay: 2.6s;
    border-color: rgba(52, 211, 153, 0.12);
}

@keyframes pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.08;
    }
}

/* Concentric rings */
.concentric-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(167, 139, 250, 0.06);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 300px;
    height: 300px;
}

.ring-2 {
    width: 450px;
    height: 450px;
}

.ring-3 {
    width: 600px;
    height: 600px;
}

/* Brand name */
.brand-name {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: clamp(3.5rem, 10vw, 7rem);
    color: #e0e0e0;
    text-shadow:
        0 0 10px rgba(167, 139, 250, 0.4),
        0 0 30px rgba(167, 139, 250, 0.2),
        0 0 60px rgba(167, 139, 250, 0.1);
    animation: brand-glow 3s ease-in-out infinite alternate;
    position: relative;
    z-index: 3;
    letter-spacing: 0.05em;
}

@keyframes brand-glow {
    0% {
        text-shadow:
            0 0 10px rgba(167, 139, 250, 0.4),
            0 0 30px rgba(167, 139, 250, 0.2),
            0 0 60px rgba(167, 139, 250, 0.1);
    }
    100% {
        text-shadow:
            0 0 20px rgba(167, 139, 250, 0.5),
            0 0 40px rgba(167, 139, 250, 0.3),
            0 0 80px rgba(167, 139, 250, 0.15),
            0 0 120px rgba(52, 211, 153, 0.05);
    }
}

.brand-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: lowercase;
}

/* ========================
   Section: Discover (100-280vh)
   ======================== */
.section-discover {
    position: relative;
    min-height: 180vh;
    padding: 10vh 2rem;
    z-index: 2;
}

.discover-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8vh;
}

.circle-pair {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Interactive Circles */
.interactive-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
    cursor: pointer;
}

.interactive-circle:hover {
    transform: scale(1.15);
    box-shadow:
        0 0 30px rgba(167, 139, 250, 0.2),
        0 0 60px rgba(167, 139, 250, 0.08);
    border-color: rgba(167, 139, 250, 0.4);
}

.interactive-circle:nth-child(even):hover {
    box-shadow:
        0 0 30px rgba(52, 211, 153, 0.2),
        0 0 60px rgba(52, 211, 153, 0.08);
    border-color: rgba(52, 211, 153, 0.4);
}

.circle-ring {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    border: 1px solid rgba(167, 139, 250, 0.05);
    transition: border-color 0.4s ease, transform 0.6s ease;
    pointer-events: none;
}

.interactive-circle:hover .circle-ring {
    border-color: rgba(167, 139, 250, 0.15);
    transform: scale(1.08);
}

.circle-inner {
    text-align: center;
    padding: 1.5rem;
    overflow: hidden;
}

.circle-title {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #a78bfa;
    margin-bottom: 0.4rem;
    transition: color 0.3s ease;
}

.interactive-circle:nth-child(even) .circle-title {
    color: #34d399;
}

.circle-desc {
    font-size: 0.65rem;
    color: #666;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.interactive-circle:hover .circle-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Proximity reveal elements */
.proximity-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.proximity-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Discover text */
.discover-text {
    text-align: center;
    padding: 2rem;
    max-width: 500px;
}

.reveal-paragraph {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.8;
    margin-top: 0.5rem;
}

/* ========================
   Section: Play (280-360vh)
   ======================== */
.section-play {
    position: relative;
    min-height: 80vh;
    padding: 10vh 2rem;
    z-index: 2;
}

.play-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6vh;
}

/* Glow blocks */
.glow-block {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    transition: border-color 0.5s ease;
}

.glow-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.glow-block-purple::before {
    background:
        radial-gradient(circle at 30% 30%, rgba(167, 139, 250, 0.12), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(52, 211, 153, 0.06), transparent 50%);
}

.glow-block-green::before {
    background:
        radial-gradient(circle at 70% 30%, rgba(52, 211, 153, 0.12), transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(167, 139, 250, 0.06), transparent 50%);
}

.glow-block:hover {
    border-color: rgba(167, 139, 250, 0.3);
}

.glow-block-green:hover {
    border-color: rgba(52, 211, 153, 0.3);
}

.glow-title {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    position: relative;
    margin-bottom: 0.6rem;
}

.glow-block-purple .glow-title {
    color: #a78bfa;
    text-shadow: 0 0 15px rgba(167, 139, 250, 0.3);
}

.glow-block-green .glow-title {
    color: #34d399;
    text-shadow: 0 0 15px rgba(52, 211, 153, 0.3);
}

.glow-text {
    font-size: 0.8rem;
    color: #888;
    position: relative;
    line-height: 1.8;
}

.glow-block .coord {
    margin-bottom: 1rem;
}

/* Glow dots grid */
.play-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    width: 200px;
}

.glow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333333;
    transition: background 0.5s ease, box-shadow 0.5s ease, transform 0.3s ease;
}

.glow-dot.active-purple {
    background: #a78bfa;
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.5), 0 0 30px rgba(167, 139, 250, 0.2);
    transform: scale(1.3);
}

.glow-dot.active-green {
    background: #34d399;
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.5), 0 0 30px rgba(52, 211, 153, 0.2);
    transform: scale(1.3);
}

/* Wave bars */
.play-wave {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 60px;
    padding: 1rem 0;
}

.wave-bar {
    width: 4px;
    height: 10px;
    background: #333333;
    border-radius: 2px;
    transition: height 0.3s ease, background 0.3s ease;
}

.wave-bar.wave-active {
    background: linear-gradient(to top, #a78bfa, #34d399);
}

/* ========================
   Section: Fade (360vh+)
   ======================== */
.section-fade {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 4rem 2rem;
}

.fade-content {
    text-align: center;
    position: relative;
}

.coord-final {
    display: block;
    margin-bottom: 2rem;
}

.fade-circles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.fade-circle {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(167, 139, 250, 0.08);
    animation: fade-pulse 5s ease-in-out infinite;
}

.fade-circle-1 {
    width: 150px;
    height: 150px;
    animation-delay: 0s;
}

.fade-circle-2 {
    width: 250px;
    height: 250px;
    animation-delay: 1s;
}

.fade-circle-3 {
    width: 350px;
    height: 350px;
    animation-delay: 2s;
    border-color: rgba(52, 211, 153, 0.05);
}

@keyframes fade-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.08;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.end-brand {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    color: #a78bfa;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1s ease, transform 1s ease;
}

.end-brand.revealed {
    opacity: 1;
    transform: translateY(0);
}

.end-whisper {
    font-family: 'Fira Code', monospace;
    font-size: 0.6rem;
    color: #333333;
    opacity: 0;
    transition: opacity 1.5s ease 0.5s;
}

.end-whisper.revealed {
    opacity: 1;
}

/* ========================
   Responsive
   ======================== */
@media (max-width: 600px) {
    .circle-pair {
        flex-direction: column;
        gap: 3rem;
    }

    .interactive-circle {
        width: 160px;
        height: 160px;
    }

    .glow-block {
        padding: 1.5rem;
    }

    .brand-name {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .ring-1 { width: 200px; height: 200px; }
    .ring-2 { width: 300px; height: 300px; }
    .ring-3 { width: 400px; height: 400px; }
}
