/* ================================
   Dark Mode — inspired by X (Twitter)
   ================================ */

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

:root {
    --bg-color: #000;
    --bg-secondary: #16181c;
    --text-primary: #c9dfea;
    --text-secondary: #8b98a5;
    --accent: #2390d8;
    --accent-hover: #39b0ff;
    --border-color: #2f3336;
    --radius: 12px;
    --shadow: 0 0 10px rgba(29, 155, 240, 0.1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ================================
   Base layout
   ================================ */
body {
    font-family: var(--font);
    background-color: var(--bg-color);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    line-height: 1.5;
}

.container {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 900px;
    border: 1px solid var(--border-color);
    animation: fadeIn 0.4s ease;
}

/* ================================
   Typography
   ================================ */
h1 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
}

h3 {
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-top: 24px;
}

.accent-text {
    color: var(--accent-hover);
}

/* ================================
   Links
   ================================ */
a {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    /* margin-bottom: 16px; */
    font-size: 18px;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-hover);
}

/* ================================
   Inputs and buttons
   ================================ */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    background: #0f0f0f;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 16px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--accent);
    background: #0a0a0a;
}

button {
    padding: 10px 20px;
    background-color: var(--accent);
    color: #fff;
    border: none;
    border-radius: 1000px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

button:hover {
    background-color: var(--accent-hover);
}

button:active {
    transform: scale(0.97);
}

#myBrowserBtn {
    background: linear-gradient(135deg, #921ae8, #1a73e8);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 1000px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
    margin-top: 40px;
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
}

.logo-wrapper img {
    width: 60px;
}

.logo-wrapper h1 {
    margin-left: 15px;
}


/* ================================
   Result / Entry cards
   ================================ */
#result,
.entry {
    position: relative;
    margin-top: 20px;
    padding: 18px;
    border-radius: var(--radius);
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    transition: background 0.2s ease;
}

.entry.bot-class {
    border: 1px solid #e79a3c;
}

.entry.bot-class::after {
    position: absolute;
    top: -10px;
    left: 9px;
    content: "bot";
    color: #ffb152;
    background-color: #011003;
    border: 1px solid #e79a3c;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 6px;
}

.entry.featured {
    border: 1px solid #24852f;
    /* background: #011003; */
}

.entry.featured::after {
    position: absolute;
    top: -10px;
    left: 9px;
    content: "featured";
    color: #35c946;
    background-color: #011003;
    border: 1px solid #24852f;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 6px;
}

.entry:hover,
#result:hover {
    background: #111;
}

.entry p,
#result p {
    margin: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.entry p strong,
#result p strong {
    color: var(--text-primary);
    font-weight: 600;
}


/* ================================
   Search input
   ================================ */
#searchInput {
    margin-bottom: 20px;
}

/* ================================
   Error messages
   ================================ */
p[style*="red"],
.error {
    color: #f4212e !important;
    font-weight: 600;
}

/* ================================
   Animations
   ================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   Scrollbar
   ================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

::-webkit-scrollbar-thumb:active {
    background: var(--accent-hover);
}

.main section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.privacy-policy section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.privacy-policy ul {
    margin-left: 2rem;
}


#donation-button {
    padding: 8px 20px;
    background-color: #e79a3c1f;
    color: #d79544;
    border: 1px solid #b9721b;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
}



/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #16181c;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 15px 30px;
    box-shadow: 0 4px 20px rgba(255, 230, 201, 0.248);
    z-index: 10000;
    text-align: center;
    max-width: 600px;
    width: 90%;
    max-height: 600px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.popup h3 {
    font-size: 24px;
}

.popup p {
    margin-bottom: 20px;
}

.popup.show {
    display: block;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9998;
}

.overlay.show {
    display: block;
}

.wallet {
    margin-bottom: 20px;
    /* background: #1d1f23; */
    background: #000000;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.wallet-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 10px;
    padding: 10px;
    background: #000;
    border-radius: 10px;
}

.wallet-wrapper h4 {
    font-size: 20px;
}

.wallet-icon {
    height: 40px;
    width: 40px;
    margin-right: 10px;
}

.wallet .qr {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
    border-radius: 6px;
}

.wallet-address {
    word-break: break-all;
    font-family: monospace;
    font-size: 14px;
    color: #ccc;
    margin-top: 10px;
    margin-bottom: 8px;
}

.copy-btn {
    background: #e7d9d9;
    border: none;
    color: #000;
    padding: 6px 25px;
    border-radius: 20px;
    font-size: 14p;
    cursor: pointer;
    transition: 0.2s;
}

.copy-btn:hover {
    background: #fffafa;
}

.bitcoin-color {
    color: #FFC82D; 
}

.ethereum-color {
    color: #A1A9E7;
}

.usdt-color {
    color: #37CFCF;
}

.dogecoin-color {
    color: #c5b363;
}

#closePopup {
    background: transparent;
    border: 1px solid #ff4949;
    color: #ff5a5a;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

#closePopup:hover {
    background: #ffc17a;
    color: #000;
}