:root {
    --bg-color: #151515;
    --text-color: #cccccc;
    --primary-color: #00cc00;
    --secondary-color: #282828;
    --accent-color: #b5e853;
    --link-color: #ddaadd;
    --link-hover: #cccc00;
    --card-bg: rgba(40, 40, 40, 0.9);
    --border-color: #00cc00;
    --shadow: 0 0 20px rgba(0, 204, 0, 0.2);
    --glow-color: rgba(181, 232, 83, 0.1);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Monaco', 'Consolas', 'Lucida Console', 'Courier New', monospace;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* Blue glow vignette effect from x157.github.io */
    background: radial-gradient(circle, #1a1a1a 0%, #151515 100%);
    box-shadow: inset 0 0 100px rgba(0, 100, 255, 0.1);
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    position: relative;
}

/* Blue glow effect */
.container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 100, 255, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.card {
    background: var(--card-bg);
    border: 1px dashed var(--border-color);
    border-radius: 4px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(5px);
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-align: center;
    text-transform: lowercase;
    text-shadow: 0 0 10px var(--glow-color);
}

.subtitle {
    display: block;
    width: 100%;
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin-top: 0;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 400;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
    color: #999;
}

textarea {
    width: 100%;
    height: 150px;
    background: var(--secondary-color);
    border: 1px solid #444;
    border-radius: 0;
    color: var(--primary-color);
    padding: 1rem;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: all 0.2s;
    font-size: 1rem;
    box-sizing: border-box;
}

textarea:focus {
    border-color: var(--primary-color);
    background: #2a2a2a;
    box-shadow: 0 0 10px rgba(0, 204, 0, 0.1);
}

button {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-top: 1.5rem;
    background: transparent;
    border: 1px solid var(--link-color);
    border-radius: 0;
    color: var(--link-color);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

button:hover {
    background: linear-gradient(90deg, #ff00ff, #8000ff);
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(255, 0, 255, 0.3), 0 0 15px rgba(0, 204, 0, 0.2);
    transform: scale(1.02) translateY(-2px);
    text-shadow: 0 0 8px rgba(0, 204, 0, 0.6);
}

button:active {
    transform: translateY(1px);
}

.secret-url {
    background: var(--secondary-color);
    padding: 1rem;
    border-radius: 0;
    word-break: break-all;
    font-family: inherit;
    text-align: center;
    margin-bottom: 1.5rem;
    border: 1px dashed #444;
    color: var(--link-color);
}

.secret-url a {
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.secret-url a:hover {
    color: var(--link-hover);
    border-bottom: 1px solid var(--link-hover);
}

.actions {
    display: flex;
    gap: 1rem;
}

.actions button {
    margin-top: 0;
}

footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    text-transform: lowercase;
    letter-spacing: normal;
}

footer a:hover {
    color: var(--link-hover);
    border-bottom: 1px solid var(--link-hover);
}

.error {
    color: #ff3333;
    text-align: center;
    margin-bottom: 1rem;
    border: 1px dashed #ff3333;
    padding: 0.5rem;
}

pre {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 0;
    overflow-x: auto;
    font-family: inherit;
    white-space: pre-wrap;
    word-break: break-word;
    border-left: 3px solid var(--primary-color);
    color: var(--primary-color);
}

/* ── Copy Button: "✓ Copied" state ── */
button.copied {
    background: rgba(0, 204, 0, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
    animation: copied-pulse 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

@keyframes copied-pulse {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.06);
    }

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

/* ── Secret Notice: "You have received a secure secret" ── */
.secret-notice-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #4b0082;
    -webkit-text-stroke: 0.6px var(--primary-color);
    text-shadow: 0 0 6px rgba(0, 204, 0, 0.35);
    margin-bottom: 0.5rem;
}

/* ── Deleted Notice: alert color ── */
.deleted-notice {
    color: #ff3333;
    font-weight: 600;
    border: 1px dashed #ff3333;
    padding: 0.6rem 1rem;
    text-align: center;
    margin-top: 1.5rem;
}

/* ── Clickable Card (reveal page) ── */
.card.clickable-card {
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.card.clickable-card:hover {
    border-color: var(--link-color);
    box-shadow: var(--shadow), 0 0 18px rgba(221, 170, 221, 0.15);
}