@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background: #121212;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    text-align: center;
    max-width: 400px;
    width: 100%;
    animation: fadeIn 2s ease-in-out;
}

h1 {
    font-size: 2.2em;
    color: #ffffff;
    margin-bottom: 20px;
}

p, h2 {
    font-size: 1.2em;
    color: #b0b0b0;
    margin-bottom: 20px;
}

#btc-value {
    position: relative;
    display: inline-block;
    font-weight: bold;
    color: #ff9800;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5em;
    transition: color 0.3s ease, text-decoration 0.3s ease;
    text-decoration: underline dotted;
    cursor: pointer;
}

#btc-value.hover, #btc-value.active {
    color: #ffa726;
    text-decoration: underline;
}

.tooltip {
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the element */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%; /* Arrow below the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

#btc-value:hover .tooltip, #btc-value.active .tooltip {
    visibility: visible;
    opacity: 1;
}

.disclaimer {
    margin-top: 20px;
    text-align: right;
    font-size: 0.7em;
    color: #b0b0b0;
    max-width: 400px;
    width: 100%;
    line-height: 2;
}

#btc-wallet {
    font-family: 'Courier New', Courier, monospace;
    background: #1e1e1e;
    padding: 5px;
    border-radius: 5px;
}

#copy-btn {
    background-color: transparent;
    color: #ff9800;
    border: none;
    cursor: pointer;
    font-size: 1em;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
}

#copy-btn:hover {
    color: #ffa726;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.copied-indicator {
    position: absolute;
    background-color: #4caf50;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: fadeInOut 2s;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

.small-text {
    font-size: 0.8em;
}
