:root {
    --bg: #ffffff;
    --text: #111111;
    --bg-gradient1: #ffffff;
    --bg-gradient2: #f5f5f5;
    --bg-gradient3: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #121212;
        --text: #e0e0e0;
        --bg-gradient1: #121212;
        --bg-gradient2: #1a1a1a;
        --bg-gradient3: #121212;
    }
}

body {
    background: linear-gradient(45deg, var(--bg-gradient1), var(--bg-gradient2), var(--bg-gradient3));
    background-size: 400% 400%;
    animation: backgroundAnimation 15s ease infinite;
    color: var(--text);
    margin: 0;
    padding: 20px;
    font-family: var(--font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    line-height: 1.6;
}

@keyframes backgroundAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeIn 1s ease-out;
}

h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    animation: slideUp 1s ease-out 0.2s both;
}

p {
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: 500;
    animation: fadeIn 1s ease-out 0.4s both;
}

ul {
    list-style: none;
    padding: 0;
    animation: fadeIn 1s ease-out 0.6s both;
}

.social li {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.social li:hover {
    transform: translateY(-5px) scale(1.1);
}

.social a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.social a:hover {
    text-decoration: underline;
    color: var(--text);
}

.crypto li {
    font-family: 'Courier New', monospace;
    margin-bottom: 10px;
    word-break: break-all;
    animation: fadeIn 1s ease-out 0.8s both;
    transition: transform 0.3s ease;
}

.crypto li:hover {
    transform: translateX(10px);
}

li {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
    transform: scale(1.02);
}

.footer {
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    font-size: 0.9em;
    color: var(--text);
    gap: 5px;
    animation: fadeIn 1s ease-out 1s both;
}

.emoji {
    width: 1em;
    height: 1em;
    vertical-align: middle;
}

/* PGP Page Styles */
#pgp-text {
    width: 72%;
    height: 430px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    line-height: 1.4;
    border: 2px solid var(--text);
    border-radius: 8px;
    background-color: var(--bg);
    color: var(--text);
    resize: vertical;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out 0.5s both;
}

#copy-btn {
    display: block;
    margin: 0 auto;
    padding: 12px 24px;
    font-size: 1em;
    font-weight: bold;
    background-color: var(--text);
    color: var(--bg);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeIn 1s ease-out 0.7s both;
}

#copy-btn:hover {
    background-color: var(--bg);
    color: var(--text);
}