:root {
    --bg-color: #030305;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-cyan: #00f3ff;
    --accent-purple: #bc13fe;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --nav-height: 80px;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    background: #000000;
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Canvas Background */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Removed opacity: 0.6 so the neon colors pop more against total black */
}


/* Navigation */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    height: var(--nav-height);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(3, 3, 5, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.3); /* Subtle glow to match the theme */
}

.logo .highlight {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: var(--text-primary);
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: var(--nav-height);
}

.hero-content h1 {
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, white, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Buttons */
.btn-primary,
.btn-glow {
    background: white;
    color: black;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-glow {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    color: white;
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

.cta-group {
    display: flex;
    gap: 1rem;
}

/* Section Styling */
.content-section {
    padding: 5rem 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}

.glass-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.glass-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list .icon {
    color: var(--accent-cyan);
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--accent-purple);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--accent-cyan);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 30px, 0);
    }

    20% {
        clip: rect(60px, 9999px, 80px, 0);
    }

    40% {
        clip: rect(30px, 9999px, 45px, 0);
    }

    60% {
        clip: rect(90px, 9999px, 110px, 0);
    }

    80% {
        clip: rect(10px, 9999px, 100px, 0);
    }

    100% {
        clip: rect(40px, 9999px, 70px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(50px, 9999px, 60px, 0);
    }

    20% {
        clip: rect(20px, 9999px, 40px, 0);
    }

    40% {
        clip: rect(70px, 9999px, 90px, 0);
    }

    60% {
        clip: rect(10px, 9999px, 20px, 0);
    }

    80% {
        clip: rect(40px, 9999px, 50px, 0);
    }

    100% {
        clip: rect(80px, 9999px, 120px, 0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
}

footer {
    padding: 2rem 4rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-align: center;
}

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    padding: 7px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
    transform: translateY(-3px);
}

/* Partial-Syntax UI HUD */
.syntax-hud {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 250px;
    background: rgba(3, 3, 5, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 4px;
    z-index: 1000;
    font-family: 'Space Grotesk', monospace;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hud-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.hud-item:last-child {
    margin-bottom: 0;
}

.glyph {
    font-size: 1.2rem;
    color: var(--accent-purple);
    margin-right: 0.8rem;
    width: 20px;
    text-align: center;
    font-weight: bold;
}

.chat-logo-img {
    height: 47px;
    width: auto;
    margin-right: 0.8rem;
}

.label {
    flex-grow: 1;
    letter-spacing: 1px;
    font-size: 1.05rem;
}

.bar-container {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 0.8rem;
    position: relative;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: var(--accent-cyan);
    width: 50%;
    /* Default */
    transition: width 0.1s linear;
    box-shadow: 0 0 5px var(--accent-cyan);
}

.value {
    width: 45px;
    text-align: right;
    font-family: monospace;
    color: white;
    font-size: 0.75rem;
}

/* Section Expansion */
.content-section-alt {
    padding: 8rem 10%;
    background: rgba(255, 255, 255, 0.01);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: 4px;
    color: var(--accent-cyan);
}

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

.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
    position: relative;
    overflow: hidden;
}

.project-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.6rem;
    padding: 2px 8px;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    border-radius: 10px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.tech {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-family: monospace;
}

.btn-micro {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-micro:hover {
    border-color: var(--accent-purple);
    background: rgba(188, 19, 254, 0.1);
}

/* Consortium Grid */
#members {
    grid-template-columns: 1fr;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .member-grid {
        grid-template-columns: 1fr;
    }
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.member-card:hover {
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.4), inset 0 0 10px rgba(188, 19, 254, 0.2);
    border-color: var(--accent-purple);
    transform: translateY(-5px);
}

.node-icon {
    font-size: 2.5rem;
    color: var(--accent-purple);
    font-family: var(--font-heading);
    text-shadow: 0 0 10px var(--accent-purple);
    animation: node-flicker 4s infinite;
}

@keyframes node-flicker {

    0%,
    100% {
        opacity: 1;
        filter: brightness(1);
    }

    30% {
        opacity: 0.8;
        filter: brightness(1.2);
    }

    32% {
        opacity: 0.4;
        filter: brightness(0.5);
    }

    34% {
        opacity: 0.9;
        filter: brightness(1.5);
    }

    36% {
        opacity: 0.7;
        filter: brightness(0.8);
    }

    38% {
        opacity: 1;
        filter: brightness(1);
    }

    70% {
        opacity: 1;
        filter: brightness(1);
    }

    72% {
        opacity: 0.5;
        filter: brightness(0.3);
    }

    74% {
        opacity: 1;
        filter: brightness(1.2);
    }
}

.node-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.node-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Initialize Sequence Form */
.content-section-full {
    padding: 5rem 10%;
    display: flex;
    justify-content: center;
}

.join-container {
    width: 100%;
    max-width: 800px;
    text-align: center;
    transition: opacity 2s ease, transform 2s ease, filter 2s ease;
}

.fade-out-void {
    opacity: 0;
    transform: scale(0.9) translateY(50px);
    filter: blur(10px);
    pointer-events: none;
}

.sequence-form {
    margin-top: 3rem;
    text-align: left;
    display: grid;
    gap: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.sequence-form input,
.sequence-form select,
.sequence-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 1rem;
    border-radius: 4px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s ease;
}

.sequence-form input:focus,
.sequence-form select:focus,
.sequence-form textarea:focus {
    border-color: var(--accent-cyan);
}

.sequence-form select option {
    background-color: var(--bg-color);
    color: var(--text-primary);
}

.form-status {
    margin-top: 2rem;
    padding: 2rem;
    border: 1px dashed var(--accent-cyan);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hidden {
    display: none !important;
}

.status-glyph {
    font-size: 2rem;
    color: var(--accent-cyan);
    animation: rotate 2s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

.status-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.progress {
    width: 0%;
    height: 100%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* Void Transition Classes */
.void-active body {
    pointer-events: none;
}

.void-active .hero-content {
    transition: transform 2s cubic-bezier(0.7, 0, 0.3, 1), opacity 1.5s ease;
    transform: scale(3);
    opacity: 0;
}

.void-active .glass-nav {
    transform: translateY(-100%);
    transition: transform 1s ease;
}

.void-active .syntax-hud {
    transform: translateX(120%);
    transition: transform 1s ease;
}

.void-active #canvas-container {
    filter: brightness(2) contrast(1.5);
    transition: filter 2s ease;
}

/* HUD Terminal & Controls */
.syntax-hud {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 320px;
    height: 400px;
    max-height: 450px;
}

.hud-separator {
    height: 1px;
    background: var(--glass-border);
    margin: 0.5rem 0;
}

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

.terminal-log {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Custom Scrollbar for Terminal */
.terminal-log::-webkit-scrollbar {
    width: 4px;
}
.terminal-log::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}
.terminal-log::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 2px;
}

.chat-message {
    word-wrap: break-word;
    line-height: 1.3;
}

.chat-system {
    color: var(--accent-purple);
    font-weight: bold;
}

.chat-user {
    color: var(--accent-cyan);
    font-weight: bold;
}

.chat-input-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.chat-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.4rem 0.6rem;
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    border-color: var(--accent-cyan);
}

.chat-send-btn {
    height: 100%;
}

.btn-ctrl {
    display: none;
}

@keyframes shake {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-2px, 2px);
    }

    50% {
        transform: translate(2px, -2px);
    }

    75% {
        transform: translate(-2px, -2px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.shaking {
    animation: shake 0.1s infinite;
}

@keyframes glitch-hud {
    0% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }

    25% {
        transform: translate(-2px, 1px);
        filter: hue-rotate(90deg);
    }

    50% {
        transform: translate(2px, -1px);
        filter: hue-rotate(180deg);
    }

    75% {
        transform: translate(-1px, -1px);
        filter: hue-rotate(270deg);
    }

    100% {
        transform: translate(0);
        filter: hue-rotate(360deg);
    }
}

.hud-wild {
    animation: glitch-hud 0.2s infinite;
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.4) !important;
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 5, 0.9);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    max-width: 600px;
    width: 100%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.modal-overlay:not(.hidden) .modal-content {
    transform: translateY(0);
}

#modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.modal-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 1.5rem 0;
}

#modal-desc {
    font-size: 1.1rem;
    line-height: 1.8;
}

.modal-visual {
    margin-top: 2rem;
    height: 100px;
    border: 1px dashed var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.line-pulse {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    animation: line-scan 3s infinite linear;
}

/* Protocol Modal Specific */
.protocol-content {
    border-left: 2px solid var(--accent-purple);
    max-width: 700px;
}

.terminal-text {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.1rem;
    color: #ffd700;
    min-height: 200px;
    margin: 2rem 0;
    line-height: 2;
    white-space: pre-wrap;
    text-shadow:
        0 0 7px rgba(255, 215, 0, 0.6),
        0 0 15px rgba(255, 215, 0, 0.4),
        0 0 30px rgba(255, 215, 0, 0.2),
        0 0 50px rgba(255, 170, 0, 0.1);
}

.terminal-text span {
    display: block;
    margin-bottom: 1rem;
    border-left: 2px solid #ffd700;
    padding-left: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    animation: fade-in-line 0.5s forwards, directive-glow 3s ease-in-out infinite;
    animation-delay: 0s, 0.5s;
}

@keyframes fade-in-line {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes directive-glow {

    0%,
    100% {
        text-shadow:
            0 0 7px rgba(255, 215, 0, 0.6),
            0 0 15px rgba(255, 215, 0, 0.4),
            0 0 30px rgba(255, 215, 0, 0.2);
    }

    50% {
        text-shadow:
            0 0 10px rgba(255, 215, 0, 0.9),
            0 0 25px rgba(255, 215, 0, 0.7),
            0 0 50px rgba(255, 215, 0, 0.4),
            0 0 80px rgba(255, 170, 0, 0.2);
    }
}

/* My Word Modal Specific */
.myword-content {
    border-left: 2px solid var(--accent-cyan);
    border-right: 2px solid var(--accent-purple);
    max-width: 800px;
    background: rgba(3, 3, 5, 0.95);
}

.myword-content h2 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    letter-spacing: 4px;
}

.myword-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin: 2rem 0;
}

.myword-text p {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
}

.myword-text p:last-child {
    margin-bottom: 0;
}

.highlight-name {
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

.highlight-project {
    color: var(--accent-purple);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(188, 19, 254, 0.4);
}

.myword-signature {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
    color: var(--text-secondary);
    font-family: 'Space Grotesk', monospace;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.sig-glyph {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    animation: rotate 4s linear infinite;
}

.sig-text {
    border-bottom: 1px solid var(--accent-purple);
    padding-bottom: 4px;
}

.modal-footer {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

@keyframes line-scan {
    0% {
        transform: translateY(-50px);
    }

    100% {
        transform: translateY(50px);
    }
}

/* Consortium Node Pulse */
.member-node {
    position: relative;
}

.node-pulse-active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-purple);
    border-radius: inherit;
    animation: node-ping 1.5s ease-out infinite;
}

@keyframes node-ping {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* =========================================
   TOKEN SALE WIDGET STYLES 
   ========================================= */

.token-sale-card {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-top: 2px solid var(--accent-purple);
}

.token-sale-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(188, 19, 254, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.sale-header h3 {
    font-size: 1.5rem;
    color: white;
    margin: 0;
}

.sale-badge {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    padding: 4px 12px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    border-radius: 2px;
    letter-spacing: 2px;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 243, 255, 0.2); }
    50% { box-shadow: 0 0 15px rgba(0, 243, 255, 0.6); }
}

/* ICO Launch Date Banner */
.ico-launch-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(0, 243, 255, 0.04);
    border: 1px solid rgba(0, 243, 255, 0.15);
    border-radius: 4px;
    position: relative;
    z-index: 1;
}

.launch-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 6px #00ff88, 0 0 12px rgba(0, 255, 136, 0.4);
    animation: dot-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.launch-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.launch-text strong {
    color: var(--accent-cyan);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.3);
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
    line-height: 1;
}

.countdown-label {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.countdown-separator {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-purple);
    margin-top: -1rem;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.progress-section {
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.progress-amount {
    color: white;
}

.sale-progress-bar {
    height: 4px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
}

.sale-progress-bar .progress {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    box-shadow: 0 0 10px var(--accent-purple);
    border-radius: 2px;
    position: relative;
    height: 100%;
}

.sale-progress-bar .progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white;
}

.sale-form {
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.input-with-symbol {
    position: relative;
    display: flex;
    align-items: center;
}

.crypto-symbol {
    position: absolute;
    left: 1rem;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.input-with-symbol input {
    width: 100%;
    padding-left: 3rem;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.exchange-rate {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: right;
    margin-top: -1rem;
    font-family: var(--font-body);
}

.exchange-rate .icon {
    color: var(--accent-purple);
    font-size: 0.7rem;
}

.receive-display {
    background: rgba(0, 243, 255, 0.05);
    border: 1px dashed rgba(0, 243, 255, 0.3);
    padding: 1.5rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.receive-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.receive-amount {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.sale-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1.2rem;
    width: 100%;
}

.sale-btn:disabled {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-image: none; /* removes the linear-gradient from btn-glow */
    color: var(--text-secondary);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.sale-btn .btn-text {
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.sale-btn .btn-subtext {
    font-size: 0.55rem;
    letter-spacing: 1px;
    opacity: 0.7;
}

.sale-btn:disabled .btn-text {
    color: rgba(255, 255, 255, 0.3);
}

/* User Profile Nav Integration */
#user-profile-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(3, 3, 5, 0.5);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    transition: all 0.3s ease;
}

#user-profile-nav.hidden {
    display: none;
}

.profile-pic-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-purple);
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.05);
}

.profile-pic-container::after {
    content: '+';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.profile-pic-container:hover::after {
    opacity: 1;
}

#nav-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#nav-alias {
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    letter-spacing: 1px;
}

#nav-role {
    font-size: 0.65rem;
    color: var(--accent-cyan);
}