/**
 * Ethernal Crystals - Main Stylesheet
 * Shared styles for all pages
 */

/* ===========================
   Global Styles
   =========================== */

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    overflow: hidden;
    overflow-x: hidden;
    background: #000;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

html {
    overflow-x: hidden;
}

/* ===========================
   Loading Screen
   =========================== */

/* Hidden class for elements during loading */
.hidden-on-load {
    opacity: 0 !important;
    pointer-events: none;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-out, visibility 1s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Crystal Loader - Center */
.crystal-loader {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 40px;
}

.crystal-symbol {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -55%);
    font-size: 60px;
    font-family: sans-serif;
    color: #a0a0ff;
    text-shadow:
        0 0 20px rgba(160, 160, 255, 0.8),
        0 0 40px rgba(160, 160, 255, 0.6),
        0 0 60px rgba(160, 160, 255, 0.4);
    animation: crystalPulse 2s ease-in-out infinite;
    line-height: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crystal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
    border: 2px solid rgba(150, 150, 255, 0.5);
    border-radius: 50%;
    animation: ringRotate 3s linear infinite;
    box-shadow: 0 0 15px rgba(150, 150, 255, 0.5);
}

.crystal-ring-outer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    margin-left: -70px;
    margin-top: -70px;
    border: 2px solid rgba(150, 150, 255, 0.3);
    border-radius: 50%;
    animation: ringRotate 4s linear infinite reverse;
    box-shadow: 0 0 20px rgba(150, 150, 255, 0.3);
}

/* Floating glyphs around crystal - aligned on outer circle */
.loading-glyphs {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    margin-left: -70px;
    margin-top: -100px;
}

.glyph {
    position: absolute;
    font-size: 28px;
    color: #b0b0ff;
    text-shadow: 0 0 15px rgba(176, 176, 255, 0.8);
    animation: glyphFloat 3s ease-in-out infinite;
    line-height: 1;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glyph-1 {
    top: -14px;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.glyph-2 {
    top: 50%;
    right: -14px;
    transform: translate(50%, -50%);
    animation-delay: 0.75s;
}

.glyph-3 {
    bottom: -14px;
    left: 50%;
    transform: translate(-50%, 50%);
    animation-delay: 1.5s;
}

.glyph-4 {
    top: 50%;
    left: -14px;
    transform: translate(-50%, -50%);
    animation-delay: 2.25s;
}

/* Loading text */
.loading-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 18px;
    font-style: italic;
    color: #c0c0ff;
    text-shadow: 0 0 15px rgba(192, 192, 255, 0.8);
    letter-spacing: 2px;
}

.loading-letter {
    display: inline-block;
    animation: letterGlow 2s ease-in-out infinite;
}

.loading-letter:nth-child(1) { animation-delay: 0s; }
.loading-letter:nth-child(2) { animation-delay: 0.1s; }
.loading-letter:nth-child(3) { animation-delay: 0.2s; }
.loading-letter:nth-child(4) { animation-delay: 0.3s; }
.loading-letter:nth-child(5) { animation-delay: 0.4s; }
.loading-letter:nth-child(6) { animation-delay: 0.5s; }
.loading-letter:nth-child(7) { animation-delay: 0.6s; }
.loading-letter:nth-child(8) { animation-delay: 0.7s; }
.loading-letter:nth-child(9) { animation-delay: 0.8s; }
.loading-letter:nth-child(10) { animation-delay: 0.9s; }
.loading-letter:nth-child(11) { animation-delay: 1s; }
.loading-letter:nth-child(12) { animation-delay: 1.1s; }
.loading-letter:nth-child(13) { animation-delay: 1.2s; }
.loading-letter:nth-child(14) { animation-delay: 1.3s; }
.loading-letter:nth-child(15) { animation-delay: 1.4s; }

/* Loading Animations */
@keyframes crystalPulse {
    0%, 100% {
        transform: translate(-50%, -55%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -55%) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes ringRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes glyphFloat {
    0%, 100% {
        opacity: 0.6;
        filter: brightness(1);
    }
    50% {
        opacity: 1;
        filter: brightness(1.3);
    }
}

@keyframes letterGlow {
    0%, 100% {
        opacity: 0.7;
        text-shadow: 0 0 10px rgba(192, 192, 255, 0.6);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 20px rgba(192, 192, 255, 1);
    }
}

/* ===========================
   Background Layers
   =========================== */

/* Layer 1: Star background (bottom) */
#starBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('../star.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in;
}

/* Layer 2: Code effect (middle) */
#codeCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.4;
    transition: opacity 1s ease-in;
}

/* Layer 3: Nebula overlay (front background) */
#nebulaOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-image: url('../nebula.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    pointer-events: none;
    transition: opacity 1s ease-in;
}

/* ===========================
   Content Container
   =========================== */

/* Layer 4: Content (top) */
.content-container {
    position: relative;
    z-index: 4;
    text-align: center;
    color: #c0c0ff;
    text-shadow: 0 0 15px rgba(150, 150, 255, 0.8), 0 0 30px rgba(100, 100, 200, 0.5);
    padding: 50px;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Hidden content container (no glass box when disconnected) */
.content-container.wallet-disconnected {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

/* Glass box only when wallet connected - with gradient fade */
.content-container.wallet-connected {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    max-height: none;
    overflow: visible;
    position: relative;
}

/* Remove background effects from container */
.content-container.wallet-connected::before,
.content-container.wallet-connected::after {
    display: none;
}

/* About page - visible glass container */
.content-container.glass-visible {
    background: rgba(20, 20, 50, 0.7);
    border: 2px solid rgba(150, 150, 255, 0.4);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(15px);
    max-height: 80vh;
    overflow-y: auto;
    justify-content: flex-start;
}

/* ===========================
   Typography
   =========================== */

h1 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #a0a0ff;
    text-shadow: 0 0 20px rgba(160, 160, 255, 0.8);
}

h2 {
    font-size: 24px;
    margin: 25px 0 15px 0;
    color: #b0b0ff;
    text-shadow: 0 0 15px rgba(176, 176, 255, 0.7);
}

p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #d0d0ff;
}

/* ===========================
   Fade Transitions
   =========================== */

/* Fade transition for all hideable elements */
.fade-element {
    opacity: 1;
    transition: opacity 300ms ease-in-out;
}

.fade-element.hidden {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    height: 0;
    overflow: hidden;
    padding: 0;
}

/* ===========================
   Ghostly Text Effect
   =========================== */

.ghostly-text {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 90vw;
    text-align: center;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 20px;
    font-style: italic;
    color: rgba(160, 160, 255, 0.7);
    text-shadow:
        0 0 25px rgba(160, 160, 255, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.8),
        0 4px 15px rgba(0, 0, 0, 0.6);
    letter-spacing: 2px;
    opacity: 0;
    transition: opacity 1000ms ease-in-out;
    pointer-events: none;
    white-space: nowrap;
}

.ghostly-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 300ms ease-in-out, transform 400ms ease-out;
}

.ghostly-letter.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Wallet Section
   =========================== */

/* Connect wallet section - centered */
#walletSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* ===========================
   Input Section
   =========================== */

/* Main input section - wide centered input */
#mainInputSection {
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: visible;
    position: relative;
}

/* Mint button container - positioned absolutely to not affect layout */
#mintButtonContainer {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 700px;
    text-align: center;
    margin-top: 20px;
    opacity: 1;
    transition: opacity 300ms ease-in-out;
}

#mintButtonContainer.hidden {
    opacity: 0;
    pointer-events: none;
}

.input-section {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    position: relative;
}

/* Glow effect emanating from input field */
.input-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 400px);
    height: calc(100% + 400px);
    background: radial-gradient(
        ellipse closest-side,
        rgba(150, 150, 255, 0.3) 0%,
        rgba(150, 150, 255, 0.2) 15%,
        rgba(150, 150, 255, 0.12) 30%,
        rgba(150, 150, 255, 0.06) 50%,
        rgba(150, 150, 255, 0.03) 70%,
        transparent 100%
    );
    pointer-events: none;
    z-index: -1;
}

.input-label {
    display: block;
    margin-bottom: 15px;
    font-size: 16px;
    color: #a0a0ff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(160, 160, 255, 0.6);
}

.input-field {
    width: 100%;
    padding: 20px 25px;
    font-size: 18px;
    background: rgba(30, 30, 60, 0.8);
    border: 2px solid rgba(150, 150, 255, 0.4);
    border-radius: 12px;
    color: #d0d0ff;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    text-align: center;
    /* Textarea specific styles for auto-grow */
    resize: none;
    overflow-y: auto;
    min-height: 62px;
    max-height: 200px;
    line-height: 1.4;
}

.input-field:focus {
    outline: none;
    border-color: rgba(150, 150, 255, 0.8);
    box-shadow: 0 0 20px rgba(150, 150, 255, 0.4);
}

.input-field::placeholder {
    color: rgba(150, 150, 255, 0.4);
}

.validation-message {
    margin-top: 10px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    min-height: 20px;
}

.validation-message.valid {
    color: #5eff5e;
    text-shadow: 0 0 10px rgba(94, 255, 94, 0.6);
}

.validation-message.invalid {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.6);
}

/* ===========================
   Info Display
   =========================== */

.info-line {
    font-size: 16px;
    margin: 15px 0;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.label {
    color: #a0a0ff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(160, 160, 255, 0.6);
}

.value {
    color: #d0d0ff;
    text-shadow: 0 0 8px rgba(200, 200, 255, 0.5);
}

/* ===========================
   Buttons
   =========================== */

.button {
    margin: 15px 10px;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(135deg, rgba(100, 100, 200, 0.6), rgba(150, 150, 255, 0.6));
    border: 2px solid rgba(150, 150, 255, 0.5);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(100, 100, 200, 0.4);
}

.button:hover {
    background: linear-gradient(135deg, rgba(120, 120, 220, 0.8), rgba(170, 170, 255, 0.8));
    box-shadow: 0 0 30px rgba(150, 150, 255, 0.6);
    transform: translateY(-2px);
}

.button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.button.primary {
    background: linear-gradient(135deg, rgba(150, 100, 200, 0.7), rgba(200, 150, 255, 0.7));
}

.button.primary:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(170, 120, 220, 0.9), rgba(220, 170, 255, 0.9));
}

/* Side buttons - top left corner */
.side-buttons {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(100, 100, 200, 0.4);
    border: 2px solid rgba(150, 150, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(100, 100, 200, 0.3);
    padding: 0;
}

.side-btn:hover {
    background: rgba(120, 120, 220, 0.6);
    box-shadow: 0 0 25px rgba(150, 150, 255, 0.5);
    transform: scale(1.05);
}

.side-btn svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #d0d0ff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ===========================
   Error Block
   =========================== */

/* Error block at bottom of page */
#errorBlock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px;
    background: rgba(80, 20, 20, 0.95);
    border-top: 2px solid rgba(255, 100, 100, 0.6);
    box-shadow: 0 -5px 30px rgba(255, 100, 100, 0.3);
    backdrop-filter: blur(10px);
    transition: opacity 300ms ease-in-out, transform 300ms ease-in-out;
    opacity: 1;
    transform: translateY(0);
}

#errorBlock.hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

#errorBlock .error-content {
    max-width: 1200px;
    margin: 0 auto;
    color: #ffb0b0;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 100, 100, 0.5);
}

/* ===========================
   Status Section
   =========================== */

/* Status section - for success messages - positioned at bottom of screen */
.status-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 25px;
    padding-right: 60px; /* Space for close button */
    background: rgba(20, 20, 50, 0.95);
    border-top: 2px solid rgba(150, 150, 255, 0.4);
    box-shadow: 0 -5px 30px rgba(150, 150, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: opacity 300ms ease-in-out, transform 300ms ease-in-out;
    z-index: 999;
}

.status-section.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
}

.status-message {
    font-size: 16px;
    line-height: 1.8;
    font-family: 'Georgia', serif;
    font-style: italic;
}

.status-message.success {
    color: #5eff5e;
}

.status-message.error {
    color: #ff6b6b;
}

.status-message.info {
    color: #b0b0e0;
}

/* Status section close button */
.status-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(150, 150, 255, 0.4);
    border-radius: 50%;
    color: #a0a0ff;
    font-size: 24px;
    line-height: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-close-btn:hover {
    background: rgba(255, 100, 100, 0.3);
    border-color: rgba(255, 100, 100, 0.6);
    color: #ff6b6b;
    transform: scale(1.1);
}

.wallet-address {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(100, 200, 100, 0.2);
    border: 1px solid rgba(100, 255, 100, 0.3);
    border-radius: 6px;
    margin-left: 10px;
    font-size: 14px;
}

/* Hash display styles removed - no longer used */

.tx-link {
    color: #a0a0ff;
    text-decoration: none;
    border-bottom: 1px dashed rgba(160, 160, 255, 0.5);
    transition: all 0.3s ease;
}

.tx-link:hover {
    color: #d0d0ff;
    border-bottom: 1px solid rgba(200, 200, 255, 0.8);
    text-shadow: 0 0 10px rgba(200, 200, 255, 0.6);
}

/* ===========================
   Scrollbar Styling
   =========================== */

.content-container::-webkit-scrollbar {
    width: 8px;
}

.content-container::-webkit-scrollbar-track {
    background: rgba(30, 30, 60, 0.3);
    border-radius: 10px;
}

.content-container::-webkit-scrollbar-thumb {
    background: rgba(150, 150, 255, 0.5);
    border-radius: 10px;
}

.content-container::-webkit-scrollbar-thumb:hover {
    background: rgba(150, 150, 255, 0.7);
}

/* ===========================
   Mint Price Display
   =========================== */

.mint-price-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 30px;
    background: rgba(30, 30, 60, 0.6);
    border: 1px solid rgba(150, 150, 255, 0.3);
    border-radius: 12px;
}

.price-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a0a0ff;
    margin-bottom: 5px;
}

.price-value {
    font-size: 28px;
    font-weight: bold;
    color: #d0d0ff;
    text-shadow: 0 0 15px rgba(200, 200, 255, 0.6);
}

.mint-price-inline {
    margin-top: 10px;
    font-size: 14px;
    color: #a0a0ff;
}

/* ===========================
   Gallery Lightbox
   =========================== */

.gallery-lightbox {
    overflow-y: auto;
}

.gallery-lightbox-content {
    text-align: center;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
}

.gallery-lightbox .gallery-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a0a0ff;
    margin-bottom: 5px;
}

.gallery-lightbox .gallery-hint {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 13px;
    font-style: italic;
    color: #8080b0;
}

.gallery-lightbox-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.gallery-lightbox-item {
    position: relative;
    width: calc(25% - 12px);
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(150, 150, 255, 0.3);
    transition: all 0.3s ease;
    background: rgba(30, 30, 60, 0.5);
    transform: scale(0.9);
}

.gallery-lightbox:not(.hidden) .gallery-lightbox-item {
    transform: scale(1);
}

.gallery-lightbox-item:hover {
    border-color: rgba(150, 150, 255, 0.6);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(150, 150, 255, 0.4);
}

.gallery-lightbox-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* ===========================
   Lightbox
   =========================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.lightbox > img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(150, 150, 255, 0.4);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox:not(.hidden) > img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 50px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    line-height: 1;
    padding: 10px;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ===========================
   About Lightbox
   =========================== */

.about-lightbox {
    overflow-y: auto;
}

.about-lightbox-content {
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    background: rgba(20, 20, 50, 0.95);
    border: 2px solid rgba(150, 150, 255, 0.4);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(15px);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.about-lightbox:not(.hidden) .about-lightbox-content {
    transform: scale(1);
}

.about-lightbox-content::-webkit-scrollbar {
    width: 8px;
}

.about-lightbox-content::-webkit-scrollbar-track {
    background: rgba(30, 30, 60, 0.3);
    border-radius: 10px;
}

.about-lightbox-content::-webkit-scrollbar-thumb {
    background: rgba(150, 150, 255, 0.5);
    border-radius: 10px;
}

.about-lightbox-content::-webkit-scrollbar-thumb:hover {
    background: rgba(150, 150, 255, 0.7);
}

.about-lightbox .about-content {
    text-align: left;
    color: #c0c0ff;
    text-shadow: 0 0 15px rgba(150, 150, 255, 0.8), 0 0 30px rgba(100, 100, 200, 0.5);
}

.about-lightbox .about-content h1 {
    text-align: center;
    margin-bottom: 40px;
}

.about-lightbox .about-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-lightbox .about-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-lightbox .about-content ul,
.about-lightbox .about-content ol {
    margin: 15px 0 15px 30px;
    color: #d0d0ff;
}

.about-lightbox .about-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.about-lightbox .about-content a {
    color: #a0a0ff;
    text-decoration: none;
    border-bottom: 1px dashed rgba(160, 160, 255, 0.5);
    transition: all 0.3s ease;
}

.about-lightbox .about-content a:hover {
    color: #d0d0ff;
    border-bottom: 1px solid rgba(200, 200, 255, 0.8);
    text-shadow: 0 0 10px rgba(200, 200, 255, 0.6);
}

.about-lightbox .feature-box {
    background: rgba(30, 30, 60, 0.5);
    border: 1px solid rgba(150, 150, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.about-lightbox .feature-box h3 {
    color: #b0b0ff;
    margin-bottom: 10px;
    font-size: 18px;
}

.about-lightbox .step-number {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: rgba(150, 150, 255, 0.3);
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    margin-right: 10px;
    font-weight: bold;
    color: #d0d0ff;
}

/* ===========================
   Character Counter
   =========================== */

.input-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 0 5px;
}

.char-counter {
    font-size: 12px;
    color: #8080b0;
    font-family: 'Courier New', monospace;
}

.char-counter.warning {
    color: #ffaa00;
}

.char-counter.limit {
    color: #ff6b6b;
}

/* ===========================
   Button Spinner
   =========================== */

.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

.btn-spinner.hidden {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.button .btn-text {
    vertical-align: middle;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
    .content-container {
        padding: 25px;
        max-width: 90%;
    }

    h1 {
        font-size: 24px;
    }

    .button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .side-buttons {
        top: 15px;
        left: 15px;
        gap: 8px;
    }

    .side-btn {
        width: 40px;
        height: 40px;
    }

    .side-btn svg {
        width: 20px;
        height: 20px;
    }

    .gallery-lightbox-item {
        width: calc(33.333% - 10px);
    }

    .ghostly-text {
        font-size: 14px;
        letter-spacing: 1px;
        max-width: 95vw;
        top: -50px;
    }

    .mint-price-display {
        padding: 12px 20px;
    }

    .price-value {
        font-size: 22px;
    }

}
