
body {
    font-family: 'Press Start 2P', monospace;
    background-color: #0D1117;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.pixel-logo {
    font-family: 'Press Start 2P', monospace;
    font-size: 2.5rem;
    color: #fff;
    background: #23272b;
    border: 2px solid #fff;
    border-radius: 8px;
    padding: 0.5rem 2rem;
    box-shadow: 0 2px 8px #000a;
    text-align: center;
}


.crt-bg {
    background: #000;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    animation: crt-flicker 1.2s infinite;
}


@keyframes crt-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.97; }
}

.crt-bg::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: url('https://www.transparenttextures.com/patterns/noise.png');
    opacity: 0.13;
}


.crt-bg::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(40,0,60,0.22) 0%, rgba(0,0,0,0.92) 100%);
}


.crt-scanlines {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 2;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.07) 0px,
        rgba(255,255,255,0.07) 1px,
        transparent 2px,
        transparent 4px
    );
    mix-blend-mode: lighten;
}


.logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
    margin-bottom: 8px;
}


.nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #23272b;
    border: 2px solid #fff;
    border-radius: 8px;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    box-shadow: 0 2px 8px #000a;
    font-family: 'Press Start 2P', monospace;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-right: 1px solid #fff;
    transition: background 0.2s, color 0.2s;
}

.nav-link:last-child {
    border-right: none;
}

.nav-link.active,
.nav-link:hover {
    background: #fff;
    color: #23272b;
}


.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
}
.pixel-heading {
    font-family: 'Press Start 2P', monospace;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}
.pixel-desc {
    font-family: 'Press Start 2P', monospace;
    font-size: 1rem;
    color: #bcbcbc;
    text-align: center;
    margin-bottom: 2rem;
}


.card-bg {
    background: rgba(22, 27, 34, 0.85);
    border: 1px solid #30363D;
    box-shadow: 0 2px 8px #000a;
    border-radius: 8px;
}


.file-input-area {
    border: 2px dashed #30363D;
    transition: all 0.3s ease;
}


.file-input-area.drag-over {
    border-color: #238636; 
    background-color: #1a222c;
}


.progress-bar-container {
    background-color: #30363D;
}


.progress-bar {
    background-color: #238636;
    transition: width 0.5s ease-out;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem; 
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: 1px solid transparent;
}


.btn-primary {
    font-family: 'Press Start 2P', monospace;
    background: linear-gradient(90deg, #c800ff 0%, #a259ff 100%);
    color: #fff;
    border: 2px solid #c800ff;
    border-radius: 12px;
    box-shadow: 0 0 16px #c800ff, 0 2px 8px #000a;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-shadow: 0 0 6px #fff, 0 0 2px #c800ff;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #a259ff 0%, #c800ff 100%);
    box-shadow: 0 0 32px #c800ff, 0 2px 16px #000a;
    transform: scale(1.04);
    color: #fff;
}

.btn-primary:disabled {
    background-color: #238636;
    opacity: 0.6;
    cursor: not-allowed;
    border-color: transparent;
}


.btn-secondary {
    @apply btn;
    background-color: #21262D;
    color: #C9D1D9;
    border-color: #30363D;
    padding: 0.5rem 1rem;
}

.btn-secondary:hover {
    background-color: #30363D;
    border-color: #8B949E;
}


.link-container {
    background-color: #0D1117;
    border: 1px solid #30363D;
}


.donation-input-container {
    display: flex;
    align-items: center;
    background-color: #0D1117;
    border: 1px solid #30363D;
    border-radius: 0.5rem; 
}

.donation-input-container label svg {
    margin-right: 4px;
    vertical-align: middle;
    image-rendering: pixelated;
}

.donation-input-container label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.donation-input {
    flex-grow: 1;
    background-color: transparent;
    border: none;
    color: #C9D1D9;
    padding: 0.5rem 0.75rem;
    font-family: 'Press Start 2P', monospace; 
    font-size: 0.875rem;
    outline: none;
}


.btn-copy-addr {
    background-color: #21262D;
    color: #C9D1D9;
    padding: 0.6rem;
    border-left: 1px solid #30363D;
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
}

.btn-copy-addr:hover {
    background-color: #30363D;
}

.pixel-card {
    font-family: 'Press Start 2P', monospace;
    background: rgba(10, 0, 18, 0.55);
    border: 2px solid #a259ff;
    border-radius: 12px;
    box-shadow: 0 4px 24px #000a, 0 1.5px 0 #a259ff, inset 0 0 32px rgba(80,0,120,0.12);
    color: #fff;
    text-align: center;
    backdrop-filter: blur(8px) brightness(1.1);
    -webkit-backdrop-filter: blur(8px) brightness(1.1);
    transition: background 0.3s;
    position: relative;
    z-index: 10;
}


.pixel-card .pixel-heading {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    color: #a259ff;
}


.pixel-card .pixel-desc {
    font-size: 0.85rem;
    color: #bcbcbc;
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Press Start 2P', monospace; 
}


.pixel-card i[data-lucide] {
    filter: contrast(2) drop-shadow(0 0 3px #a259ff);
}

#snow-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    display: block;
}

.pixel-coin-logo {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: transparent;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #c800ff, 0 0 18px #c800ff, 0 0 32px #5f0000;
    margin-right: 10px;
    vertical-align: middle;
    overflow: hidden;
    animation: pixel-coin-glow 1.2s infinite alternate;
}

@keyframes pixel-coin-glow {
    0% {
        filter: brightness(1.1) drop-shadow(0 0 0px #c800ff);
        transform: scale(1);
    }
    60% {
        filter: brightness(1.5) drop-shadow(0 0 12px #c800ff);
        transform: scale(1.13);
    }
    100% {
        filter: brightness(1.1) drop-shadow(0 0 0px #c800ff);
        transform: scale(1);
    }
}

.text-purple-500 {
    color: #c800ff !important;
    filter: drop-shadow(0 0 6px #c800ff);
}

.pixel-coin-font {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.6rem;
    color: #c800ff;
    text-shadow:
        0 0 8px #c800ff,
        0 0 2px #fff;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
    animation: pixel-coin-glow 1.2s infinite alternate;
}

.eth-icon {
    line-height: 0.8;
    font-size: 1.3rem;
    letter-spacing: -2px;
}
