:root {
    --bg-overlay: rgba(5, 5, 10, 0.6);
    --card-bg: rgba(10, 12, 18, 0.7);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent: #ffb46b;
    --accent-hover: #ffc996;
    --btn-bg: rgba(255, 255, 255, 0.08);
    --btn-bg-hover: rgba(255, 255, 255, 0.15);
    --success: #ffb46b;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;

    background: #05050a;
    -webkit-font-smoothing: antialiased;
}



.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    background: linear-gradient(135deg, rgba(3, 5, 10, 0.92) 0%, rgba(10, 7, 14, 0.88) 100%);
    z-index: -1;
}

.app-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem 12rem 1rem;
}


.main-header {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
    .bg-video { display: none; }
    #matrix-canvas { display: none !important; transition: none !important; }
    .particles-canvas { display: none; }
    .falling-heart { animation-duration: 0s !important; animation-delay: 0s !important; }
    .spotlight { display: none; }
    .ripple-effect, .ripple { animation: none !important; }
    .section-card { transition: none !important; }
    ._ec { transition: none !important; }
}

@media (max-width: 768px) {
    .app-container {
        padding: 1rem 1rem 6rem 1rem;
    }

    .section-card {
        padding: 1.5rem;
    }

    .section-card h2 {
        font-size: 1.5rem;
    }

    .profile-wrapper {
        width: 65px;
        height: 65px;
    }

    .about-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .app-footer {
        padding: 1rem;
    }

    .donation-btn {
        padding: 0.8rem 1rem;
    }

    .btn-icon {
        font-size: 1.25rem;
    }

    .donation-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .crypto-dropdown-container {
        grid-column: span 2;
    }
}

.section-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--card-shadow);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
}


.section-card:hover {
    box-shadow: 0 0 20px rgba(255, 180, 107, 0.1);
}

body.matrix-theme .section-card:hover {
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
    border-color: rgba(0, 255, 65, 0.3);
}

.card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.profile-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

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

.icon-wrapper {
    background: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}


.section-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.section-card h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0.6;
    transition: var(--transition);
}

.section-card:hover h2::after {
    width: 60px;
    opacity: 1;
}


.section-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.95rem;
    flex-grow: 1;
}

.about-section {
    cursor: pointer;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    padding: 0.5rem 0;
}


.about-content .profile-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 0;
    border: 3px solid rgba(255, 180, 107, 0.2);
    box-shadow: 0 0 20px rgba(255, 180, 107, 0.1);
}


.about-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}


.about-text h2 {
    margin-bottom: 0.5rem;
}

.about-section:hover {
    transform: translateY(-5px);
    background: rgba(30, 35, 55, 0.55);
    border-color: rgba(255, 255, 255, 0.2);
}

.about-section:hover h2,
.about-section:hover p,
.about-section:hover .profile-wrapper,
.about-section:hover .external-link-hint {
    color: var(--accent);
}

.external-link-hint {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
    opacity: 0.6;
    transition: var(--transition);
}


.about-section:hover .external-link-hint {
    opacity: 1;
    transform: translateX(4px);
}

.donations-section {
    padding: 2rem 1.5rem;
    overflow: visible !important;
}

.donations-section .card-content {
    align-items: center;
}

.donations-section .icon-wrapper {
    margin-bottom: 1rem;
    background: rgba(255, 180, 107, 0.15);
    width: 40px;
    height: 40px;
    color: var(--accent);
}


.subtitle {
    margin-bottom: 1.5rem !important;
    font-size: 0.95rem !important;
    opacity: 0.8;
    text-align: center;
}


.donation-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.donation-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--btn-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    text-align: left;
    width: 100%;
    cursor: pointer;
}

.donation-btn:hover,
.donation-btn:focus {
    background: var(--btn-bg-hover);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
    outline: none;
}

.donation-btn:hover .btn-title,
.donation-btn:hover .btn-desc,
.donation-btn:hover .btn-icon,
.donation-btn:hover .dropdown-chevron {
    color: var(--accent);
}

.btn-icon {
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.btn-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

.btn-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
    opacity: 0.9;
    display: block;
}

.crypto-dropdown-container {
    position: relative;
    width: 100%;
    grid-column: span 2;
}

.donation-btn.token-calc-trigger {
    grid-column: span 2;
    background: rgba(255, 180, 107, 0.08);
    border-color: rgba(255, 180, 107, 0.2);
    justify-content: flex-start;
    gap: 0.75rem;
}

.donation-btn.token-calc-trigger:hover {
    background: rgba(255, 180, 107, 0.16);
    border-color: rgba(255, 180, 107, 0.4);
}

.donation-btn.token-calc-trigger .btn-title {
    color: var(--accent);
}

.donation-btn.token-calc-trigger .dropdown-chevron {
    margin-left: auto;
    color: var(--accent);
    opacity: 0.7;
}

.crypto-btn {
    justify-content: flex-start;
    gap: 0.75rem;
}

.dropdown-chevron {
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.crypto-dropdown-container.active .dropdown-chevron {
    transform: rotate(180deg);
}

.crypto-dropdown-container.active .crypto-btn {
    background: var(--btn-bg-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

.crypto-dropdown-container.active .crypto-btn .btn-title,
.crypto-dropdown-container.active .crypto-btn .btn-desc,
.crypto-dropdown-container.active .crypto-btn .btn-icon,
.crypto-dropdown-container.active .dropdown-chevron,
.crypto-btn:hover .dropdown-chevron {
    color: var(--accent);
}

.crypto-menu {
    position: relative;
    width: 100%;
    z-index: 10;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
    opacity: 0;
    background: rgba(15, 18, 28, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-top: 10px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}



.crypto-dropdown-container.active .crypto-menu {
    max-height: 500px;
    opacity: 1;
}

.wallet-list {
    list-style: none;
    padding: 0.5rem;
}

.wallet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
    border-radius: 12px;
}


.wallet-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.wallet-item:hover .coin-name,
.wallet-item:hover .coin-name small,
.wallet-item:hover .wallet-address,
.wallet-item:hover .copy-btn {
    color: var(--accent);
}

.wallet-item:last-child {
    border-bottom: none;
}

.wallet-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.qr-toggle-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.qr-toggle-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.05);
    color: var(--accent);
}

.qr-toggle-btn svg {
    width: 18px;
    height: 18px;
}

.qr-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.qr-modal.active {
    opacity: 1;
    pointer-events: all;
}

.qr-modal-content {
    background: rgba(15, 18, 28, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.qr-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.qr-close-btn:hover {
    background: rgba(255,255,255,0.25);
    color: var(--accent);
}

#qr-modal-image {
    width: 240px;
    height: 240px;
    margin: 1rem auto;
    display: block;
    border-radius: 12px;
    background: white;
    padding: 0.5rem;
}

#qr-modal-label {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    overflow-wrap: break-word;
    word-break: break-all;
    margin-top: 0.5rem;
}

/* Matrix overrides */
body.matrix-theme .qr-toggle-btn:hover {
    color: #00FF41;
}
body.matrix-theme .qr-close-btn:hover {
    background: rgba(0,255,65,0.1);
    color: #00FF41;
}

.qr-modal-content {
    background: rgba(15, 18, 28, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.qr-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.qr-close-btn:hover {
    background: rgba(255,255,255,0.25);
    color: var(--accent);
}

body.matrix-theme .qr-close-btn:hover {
    background: rgba(0,255,65,0.1);
    color: #00FF41;
}

#qr-modal-image {
    width: 240px;
    height: 240px;
    margin: 1rem auto 0.5rem;
    display: block;
    border-radius: 12px;
    background: white;
    padding: 0.5rem;
}

#qr-modal-label {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    overflow-wrap: break-word;
    word-break: break-all;
    margin-top: 0.5rem;
}
body.matrix-theme .qr-close-btn:hover {
    background: rgba(0,255,65,0.1);
    color: #00FF41;
}

.steam-fallback-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.4rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.steam-fallback-btn:hover {
    background: rgba(255,255,255,0.12);
    color: var(--accent);
    border-color: rgba(255,255,255,0.15);
}

.steam-fallback-btn svg {
    width: 14px;
    height: 14px;
}

body.matrix-theme .steam-fallback-btn:hover {
    color: #00FF41;
    border-color: rgba(0,255,65,0.2);
}

.coin-name {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    color: #e2e8f0;
    transition: var(--transition);
}

.coin-name small {
    font-weight: 400;
    color: #a0aec0;
    font-size: 0.75rem;
    transition: var(--transition);
}

.wallet-address {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}


.copy-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    color: var(--accent);
}

.copy-btn.copied {
    background: var(--success);
    color: #1a202c;
}

.copy-hint {
    display: none;
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
    padding: 0.1rem 0.4rem;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}

.copy-btn + .copy-hint {
    display: block;
}

.toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(20, 25, 40, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.app-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border-top: none;
    padding: 1rem 2rem;
    z-index: 100;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.app-footer:hover {
    opacity: 1;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.audio-label-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.music-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.music-bars.playing {
    opacity: 1;
}

.music-bars span {
    display: inline-block;
    width: 3px;
    height: 100%;
    background-color: var(--accent);
    border-radius: 2px;
    animation: bounce 0.6s ease-in-out infinite alternate;
    transform-origin: bottom;
}

.music-bars:not(.playing) span {
    animation-play-state: paused;
    transform: scaleY(0.2);
}

.music-bars span:nth-child(1) {
    animation-delay: 0.0s;
}

.music-bars span:nth-child(2) {
    animation-delay: 0.2s;
}

.music-bars span:nth-child(3) {
    animation-delay: 0.4s;
}

.music-bars span:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes bounce {
    0% {
        transform: scaleY(0.2);
    }

    100% {
        transform: scaleY(1);
    }
}

.audio-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.audio-btn {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.audio-btn:hover {
    transform: scale(1.1);
    color: var(--accent);
}

.audio-btn-container {
    position: relative;
    display: flex;
    align-items: center;
}

.volume-slider-wrapper {
    width: 0;
    overflow: hidden;
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    margin-right: 0;
}

.audio-btn-container:hover .volume-slider-wrapper {
    width: 100px;
    opacity: 1;
    margin-right: 10px;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s;
}

.volume-slider::-webkit-slider-thumb:hover {
    background: var(--accent);
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-primary);
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.volume-slider::-moz-range-thumb:hover {
    background: var(--accent);
}

.falling-heart {
    position: fixed;
    top: -50px;
    color: var(--accent);
    user-select: none;
    pointer-events: none;
    z-index: 9999;
    animation: fall 5s linear forwards;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

.yt-miniplayer-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    z-index: 10000;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}


.yt-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: var(--transition);
}

.yt-close-btn:hover {
    background: var(--accent);
    color: #1a202c;
}

.yt-miniplayer-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.spotlight {
    position: fixed;
    width: 600px;
    height: 600px;
    top: -300px;
    left: -300px;
    background: radial-gradient(circle, rgba(255, 180, 107, 0.25) 0%, rgba(255, 180, 107, 0) 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
    mix-blend-mode: screen;
    will-change: transform;
    transition: background 0.5s ease;
}

body.matrix-theme .spotlight {
    background: radial-gradient(circle, rgba(0, 255, 65, 0.25) 0%, rgba(0, 255, 65, 0) 70%);
}

.matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s;
}

body.matrix-theme .matrix-canvas {
    opacity: 1;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}



body.matrix-theme {
    --bg-color: #0d0d0d;
    --card-bg: rgba(0, 20, 0, 0.4);
    --card-border: rgba(0, 255, 65, 0.3);
    --text-primary: #00FF41;
    --text-secondary: #008F11;
    --accent: #00FF41;
    --hover-bg: rgba(0, 255, 65, 0.1);
}

body.matrix-theme .bg-video {
    display: none;
}

body.matrix-theme .video-overlay {
    background: radial-gradient(circle at 50% 50%, rgba(0, 20, 0, 0.8) 0%, #000 100%);
}

body.matrix-theme .falling-heart {
    color: #00FF41 !important;
    text-shadow: 0 0 5px #00FF41;
}

body.matrix-theme .copy-btn.copied {
    background: #00FF41;
    color: #0d0d0d;
}

.exit-matrix-btn {
    position: fixed;
    top: 65px;
    left: 20px;
    padding: 10px 20px;
    background: rgba(0, 255, 65, 0.2);
    color: #00FF41;
    border: 1px solid #00FF41;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 99999;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.matrix-theme .token-calc-trigger {
    background: rgba(0, 255, 65, 0.08);
    border-color: rgba(0, 255, 65, 0.15);
}

body.matrix-theme .token-calc-trigger:hover {
    background: rgba(0, 255, 65, 0.15);
    border-color: rgba(0, 255, 65, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

body.matrix-theme .token-calc-trigger .btn-title {
    color: #00FF41;
}

body.matrix-theme .tc-panel {
    background: rgba(10, 15, 10, 0.95);
    border-left: 1px solid rgba(0, 255, 65, 0.2);
}

body.matrix-theme .tc-title,
body.matrix-theme .tc-label,
body.matrix-theme .tc-step,
body.matrix-theme .tc-result-label {
    color: #00FF41 !important;
}

body.matrix-theme .tc-result-card {
    background: rgba(0, 255, 65, 0.04);
    border-color: rgba(0, 255, 65, 0.2);
}

body.matrix-theme .tc-result-value {
    color: #00FF41;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

body.matrix-theme .tc-step::before {
    color: #00FF41;
}

body.matrix-theme .tc-platform-btn.active {
    background: rgba(0, 255, 65, 0.2);
    border-color: #00FF41;
    color: #00FF41;
}

body.matrix-theme .tc-input-wrapper {
    background: rgba(0, 255, 65, 0.05);
    border-color: rgba(0, 255, 65, 0.2);
}

body.matrix-theme .tc-input-wrapper:focus-within {
    border-color: #00FF41;
    box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.1);
}

body.matrix-theme .tc-close:hover {
    background: rgba(0, 255, 65, 0.1);
    color: #00FF41;
}


.exit-matrix-btn:hover {
    background: #00FF41;
    color: #0d0d0d;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.emoji-particle {
    position: fixed;
    pointer-events: none;
    z-index: 999999;
    font-size: 1.5rem;
    transform: translate(-50%, -50%);
    animation: explode 1s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes explode {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }

    100% {
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1.5);
        opacity: 0;
    }
}

._ec {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 8px 12px;
    background: rgba(13, 13, 13, 0.6);
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 99999;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    opacity: 0.5;
    pointer-events: none;
}

._ec.completed {
    color: var(--success);
    border-color: var(--success);
    opacity: 1;
    text-shadow: 0 0 5px rgba(0, 200, 83, 0.5);
}

body.matrix-theme ._ec {
    color: #00FF41;
    border-color: rgba(0, 255, 65, 0.3);
}

body.matrix-theme ._ec.completed {
    border-color: #00FF41;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}


.shimmer-loader {
    position: fixed;
    inset: 0;
    z-index: 99998;
    pointer-events: none;
    background: #05050a;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.shimmer-loader::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            transparent 40%,
            rgba(255, 180, 107, 0.06) 50%,
            transparent 60%);
    background-size: 200% 100%;
    animation: shimmer-sweep 1.6s ease-in-out infinite;
}

@keyframes shimmer-sweep {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.shimmer-loader.hidden {
    opacity: 0;
    pointer-events: none;
}


.heart-streak {
    position: fixed;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
    text-shadow: 0 0 12px rgba(255, 180, 107, 0.9), 0 0 4px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    white-space: nowrap;
    z-index: 99997;
    letter-spacing: -0.01em;
    user-select: none;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease;
    transform: translateX(-50%) translateY(0) scale(1);
}

.heart-streak.streak-high {
    color: #ff4757;
    text-shadow: 0 0 15px rgba(255, 71, 87, 1), 0 0 5px rgba(0, 0, 0, 0.5);
    filter: brightness(1.2);
}



._ub {
    display: inline-block;
    margin-top: 1rem;
    align-self: center;
    background: var(--accent);
    color: #1a1a2e;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 180, 107, 0.4);
    animation: buttonPulse 2s infinite;
    transition: var(--transition);
    z-index: 10;
}

._ub:hover {
    transform: scale(1.05);
    background: white;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 10px rgba(255, 180, 107, 0.4);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 180, 107, 0.8);
    }

    100% {
        box-shadow: 0 0 10px rgba(255, 180, 107, 0.4);
    }
}


._nm {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

._nm.active {
    opacity: 1;
    pointer-events: all;
}

.nexus-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nexus-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: rgba(20, 22, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 36px;
    padding: 3rem;
    text-align: center;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.nexus-modal.active .nexus-content {
    transform: scale(1) translateY(0);
}

.nexus-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.nexus-close:hover {
    opacity: 1;
}

.nexus-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(40px);
    pointer-events: none;
    animation: nexusPulse 4s ease-in-out infinite alternate;
}

@keyframes nexusPulse {
    0% {
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        opacity: 0.25;
        transform: translate(-50%, -50%) scale(1.2);
    }
}



.nexus-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--accent);
    box-shadow: 0 0 30px var(--accent);
}



.nexus-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

.nexus-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.nexus-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.nexus-btn {
    background: var(--accent);
    color: #1a1a2e;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.nexus-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 180, 107, 0.3);
}

.nexus-input-group {
    margin-bottom: 2rem;
    width: 100%;
}

.nexus-input-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    text-align: center;
}

.nexus-input-group input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 180, 107, 0.2);
}

.nexus-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}


._tc {
    width: 400px;
    padding: 40px;
    background: #0a0c12;
    border: 2px solid #ffb46b;
    border-radius: 30px;
    color: white;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.trophy-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trophy-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ffb46b;
}

.trophy-user h3 {
    font-size: 20px;
    margin: 0;
    color: #ffb46b;
}

.trophy-user p {
    font-size: 14px;
    opacity: 0.6;
    margin: 4px 0 0;
}

.trophy-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trophy-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
}

.trophy-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    opacity: 0.4;
}



/* ===== Token Calculator ===== */

.token-calc-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: var(--btn-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.token-calc-trigger:hover {
    background: var(--btn-bg-hover);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--accent);
    transform: translateY(-1px);
}

.tc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tc-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.tc-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 340px;
    max-width: 100vw;
    background: rgba(10, 12, 20, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transform: translateX(110%);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto;
}

.tc-panel.active {
    transform: translateX(0);
}

.tc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}

.tc-title-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tc-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 180, 107, 0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tc-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.tc-title::after {
    display: none !important;
}

.tc-close {
    background: rgba(255, 255, 255, 0.07);
    border: none;
    border-radius: 8px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}

.tc-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.tc-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 1;
}

.tc-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex-grow: 0 !important;
}

.tc-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tc-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.tc-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tc-platform-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.tc-platform-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 0.75rem;
    background: var(--btn-bg);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tc-platform-btn:hover {
    background: var(--btn-bg-hover);
    color: var(--text-primary);
}

.tc-platform-btn.active {
    background: rgba(255, 180, 107, 0.15);
    border-color: rgba(255, 180, 107, 0.35);
    color: var(--accent);
}

.tc-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--btn-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tc-input-wrapper:focus-within {
    border-color: rgba(255, 180, 107, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 180, 107, 0.08);
}

.tc-input-wrapper.invalid {
    border-color: rgba(255, 71, 87, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.08) !important;
}

.tc-input-prefix {
    padding: 0 0.6rem 0 0.85rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    user-select: none;
}

.tc-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.65rem 0.75rem 0.65rem 0;
}

.tc-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.tc-input::-webkit-outer-spin-button,
.tc-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.tc-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.tc-result-card {
    background: rgba(255, 180, 107, 0.06);
    border: 1px solid rgba(255, 180, 107, 0.15);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
}

.tc-result-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tc-info-btn {
    background: none;
    border: none;
    padding: 0;
    color: rgba(255, 180, 107, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
    line-height: 1;
}

.tc-info-btn:hover {
    color: var(--accent);
}

.tc-result-value {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--accent);
    line-height: 1.1;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tc-result-value.zero {
    color: var(--text-secondary);
    font-size: 1.6rem;
}

.tc-steps {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 1px solid rgba(255, 180, 107, 0.1);
}

.tc-step {
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.tc-step::before {
    content: "→";
    color: var(--accent);
    opacity: 0.7;
    font-weight: bold;
}

.tc-disclaimer {
    font-size: 0.65rem;
    color: var(--text-secondary);
    opacity: 0.5;
    margin-top: -0.5rem;
    line-height: 1.2;
    text-align: center;
    font-style: italic;
}



.tc-tooltip {
    background: rgba(15, 18, 30, 0.95);
    border: 1px solid rgba(255, 180, 107, 0.2);
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
}

.tc-tooltip.visible {
    max-height: 200px;
    opacity: 1;
    padding: 0.65rem 0.8rem;
}

.tc-tooltip strong {
    color: var(--accent);
    font-weight: 600;
}

.tc-perks-wrapper {
    margin: 1.25rem 0 0.5rem;
    border: 1px solid rgba(255, 180, 107, 0.15);
    border-radius: 14px;
    background: rgba(255, 180, 107, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}

.tc-perks-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--accent);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
}

.tc-perks-chevron {
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.tc-perks-wrapper.active {
    border-color: rgba(255, 180, 107, 0.3);
    background: rgba(255, 180, 107, 0.06);
}

.tc-perks-wrapper.active .tc-perks-chevron {
    transform: rotate(180deg);
}

.tc-perks-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tc-perks-wrapper.active .tc-perks-content {
    max-height: 500px;
    /* Large enough to fit content */
}

.tc-perks-list {
    list-style: none;
    padding: 0 1rem 1rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.tc-perks-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.perk-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.tc-perks-list p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.tc-perks-list strong,
.perk-green,
.perk-gold {
    font-weight: 600;
}

.perk-green {
    color: #4CAF50;
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.6), 0 0 15px rgba(76, 175, 80, 0.2);
    filter: brightness(1.1);
}

.perk-gold {
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6), 0 0 15px rgba(255, 215, 0, 0.2);
    filter: brightness(1.1);
}

/* Matrix overrides */
body.matrix-theme .tc-perks-wrapper {
    background: rgba(0, 255, 65, 0.02);
    border-color: rgba(0, 255, 65, 0.15);
}

body.matrix-theme .tc-perks-trigger {
    color: #00FF41;
}

body.matrix-theme .tc-perks-wrapper.active {
    background: rgba(0, 255, 65, 0.05);
    border-color: rgba(0, 255, 65, 0.3);
}

body.matrix-theme .tc-perks-list p {
    color: rgba(0, 255, 65, 0.8);
}

body.matrix-theme .perk-green {
    color: #00FF41;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.6), 0 0 15px rgba(0, 255, 65, 0.2);
}

body.matrix-theme .perk-gold {
    color: #ADFF2F;
    text-shadow: 0 0 8px rgba(173, 255, 47, 0.4), 0 0 15px rgba(173, 255, 47, 0.1);
}

.tc-reset-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
    opacity: 0.7;
}

.tc-reset-link:hover {
    color: var(--accent);
    background: rgba(255, 180, 107, 0.08);
    opacity: 1;
}

@media (max-width: 480px) {
    .tc-panel {
        width: 100vw;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .donation-links {
        grid-template-columns: 1fr;
    }

    .donation-btn.token-calc-trigger,
    .crypto-dropdown-container {
        grid-column: span 1;
    }
}

.over9000-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.over9000-img {
    max-width: 400px;
    width: 70%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(255, 180, 107, 0.5));
}