/* ===================================================================
   daread.dev — Editorial Minimal Luxury Stylesheet
   Inspired by Awwwards-winning Agency & Minimalist Spatial Design
   =================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #07090e;
    --bg-surface: #0e121b;
    --bg-card: rgba(16, 21, 32, 0.55);
    --bg-card-hover: rgba(22, 29, 45, 0.75);

    /* Accents */
    --emerald-primary: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.35);
    --emerald-soft: rgba(16, 185, 129, 0.12);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);

    /* Typography Colors */
    --text-pure: #ffffff;
    --text-muted: #8b9bb4;
    --text-subtle: #4c5a70;

    /* Fonts */
    --font-display: 'Syne', -apple-system, sans-serif;
    --font-sans: 'Outfit', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Easing */
    --ease-out: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-luxury: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Basics */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-pure);
}

body.editorial-body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Custom Cursor (Desktop) */
@media (pointer: fine) {
    .cursor-ambient {
        position: fixed;
        width: 360px;
        height: 360px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
        pointer-events: none;
        transform: translate(-50%, -50%);
        z-index: 9998;
        transition: transform 0.15s ease-out;
    }

    .cursor-core {
        position: fixed;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #ffffff;
        box-shadow: 0 0 12px #ffffff;
        pointer-events: none;
        transform: translate(-50%, -50%);
        z-index: 9999;
        transition: transform 0.04s ease-out;
    }
}

@media (pointer: coarse) {
    .cursor-ambient, .cursor-core {
        display: none !important;
    }
}

/* 3D WebGL Canvas Layer */
#canvas-3d-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

#webgl-canvas {
    width: 100%;
    height: 100%;
}

/* Cinematic Vignette */
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(7, 9, 14, 0.75) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Main Frame */
.site-frame {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
}

/* Top Navigation: Edge-to-Edge */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(7, 9, 14, 0.85) 0%, transparent 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.brand-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-pure);
    text-decoration: none;
    transition: var(--ease-out);
}

.brand-title:hover {
    opacity: 0.8;
}

.dot-accent {
    color: var(--emerald-primary);
}

/* Center Floating Pill Menu */
.pill-nav {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    padding: 0.35rem 0.6rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.pill-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.45rem 1.15rem;
    border-radius: 9999px;
    transition: var(--ease-out);
}

.pill-link:hover {
    color: var(--text-pure);
}

.pill-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-pure);
}

/* Right Corner Action Pill */
.nav-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-pure);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 0.6rem 0.5rem 1.25rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: var(--ease-out);
}

.nav-action-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.action-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--text-pure);
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--ease-out);
}

.nav-action-pill:hover .action-circle {
    transform: rotate(45deg);
}

/* Hero Screen: Full Viewport */
.hero-screen {
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 3.5rem 2.5rem;
    text-align: center;
}

.hero-content {
    max-width: 960px;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Status Pill */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 1rem;
    background: var(--emerald-soft);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--emerald-primary);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald-primary);
    box-shadow: 0 0 8px var(--emerald-primary);
    animation: pulseGlow 2s infinite;
}

/* Big Bold Editorial Headline */
.main-heading {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 9vw, 6.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}

.heading-line {
    display: block;
}

.heading-line.line-1 {
    color: var(--text-muted);
    font-weight: 700;
}

.heading-line.line-2 {
    color: var(--text-pure);
}

.brand-glow {
    color: var(--emerald-primary);
}

.hero-subtext {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Minimalist IP Connect Bar */
.ip-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 0.9rem 1.25rem 0.9rem 1.75rem;
    cursor: pointer;
    transition: var(--ease-luxury);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 480px;
}

.ip-bar:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.ip-bar-left {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.ip-protocol {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-subtle);
}

.ip-address {
    font-family: var(--font-mono);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-pure);
    letter-spacing: -0.01em;
}

.ip-bar-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.copy-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--ease-out);
}

.ip-copy-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-pure);
    transition: var(--ease-out);
}

.ip-bar:hover .ip-copy-btn {
    background: var(--emerald-primary);
    border-color: var(--emerald-primary);
    color: #000000;
}

.icon-check {
    display: none;
}

.ip-bar.copied .icon-copy {
    display: none;
}

.ip-bar.copied .icon-check {
    display: block;
}

.ip-bar.copied .copy-hint {
    color: var(--emerald-primary);
    font-weight: 600;
}

/* Hero Bottom Bar: Full Width Edge Info */
.hero-bottom-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-metric {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-subtle);
    margin-bottom: 0.2rem;
}

.metric-val {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-pure);
}

.metric-val .dim {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 400;
}

/* Editorial Sections */
.editorial-section {
    padding: 7rem 3.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-intro {
    margin-bottom: 4rem;
    text-align: left;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--emerald-primary);
    display: block;
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.6rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* How to Join Duo Cards */
.cards-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.edition-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: var(--ease-luxury);
}

.edition-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.edition-card-header {
    margin-bottom: 2.5rem;
}

.edition-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-subtle);
    display: block;
    margin-bottom: 0.4rem;
}

.edition-card-header h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.step-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.step-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--emerald-primary);
    padding-top: 0.1rem;
}

.step-info strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-pure);
}

.step-info p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.click-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: var(--ease-out);
}

.click-chip:hover {
    background: var(--emerald-soft);
    border-color: rgba(16, 185, 129, 0.4);
}

.click-chip code {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--emerald-primary);
    font-weight: 600;
}

.click-chip span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Section: Creator (Daread with Capital D) */
.creator-profile-card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-light);
    border-radius: 28px;
    padding: 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--ease-luxury);
}

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

.creator-left {
    max-width: 580px;
}

.creator-role-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--emerald-primary);
    display: block;
    margin-bottom: 0.5rem;
}

/* Daread with Capital D */
.creator-name {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    color: var(--text-pure);
}

.creator-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.creator-text code {
    font-family: var(--font-mono);
    color: var(--text-pure);
}

.creator-social-strip {
    display: flex;
    gap: 0.75rem;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-pure);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--ease-out);
}

.social-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.creator-right {
    flex-shrink: 0;
}

.initial-monogram {
    width: 140px;
    height: 140px;
    border-radius: 35px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(16, 185, 129, 0.15));
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--text-pure);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Minimal Footer */
.minimal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-subtle);
}

.minimal-footer .footer-left {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-muted);
}

.minimal-footer .footer-right {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--emerald-primary);
}

.live-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald-primary);
}

/* Minimal Toast */
.minimal-toast {
    position: fixed;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #ffffff;
    color: #000000;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.6rem 1.4rem;
    border-radius: 9999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--ease-out);
    z-index: 10000;
    pointer-events: none;
}

.minimal-toast.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Keyframes */
@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
}

/* Responsive */
@media (max-width: 900px) {
    .top-nav {
        padding: 1.5rem 1.5rem;
    }

    .pill-nav {
        display: none;
    }

    .hero-screen {
        padding: 2rem 1.5rem;
    }

    .hero-bottom-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
        text-align: left;
    }

    .editorial-section {
        padding: 5rem 1.5rem;
    }

    .cards-duo {
        grid-template-columns: 1fr;
    }

    .creator-profile-card {
        flex-direction: column-reverse;
        gap: 2rem;
        text-align: center;
        padding: 2.5rem 1.5rem;
    }

    .creator-social-strip {
        justify-content: center;
    }

    .minimal-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 2.5rem 1.5rem;
    }
}
