:root {
    --main-purple: #a020f0;
    --neon-purple: #bf00ff;
    --dark-bg: #0a0510;
    --card-bg: #140821;
    --text-bright: #e0d5ff;
}

body {
    margin: 0; padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-bright);
    overflow-x: hidden;
}

/* Background Drift */
.stars {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000 url(https://www.transparenttextures.com/patterns/stardust.png) repeat;
    z-index: -2;
    animation: move-left-drift 200s linear infinite;
}

.twinkling {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: transparent url(https://raw.githubusercontent.com/Micael-Andrade/Space-Invasion/master/assets/images/stars.png) repeat;
    z-index: -1;
    animation: move-left-drift 100s linear infinite;
    opacity: 0.3;
}

@keyframes move-left-drift {
    from { background-position: 0 0; }
    to { background-position: -2000px 0; }
}

header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(to bottom, rgba(46, 0, 77, 0.8), transparent);
}

.vault-icon {
    font-size: 3rem;
    color: var(--main-purple);
    text-shadow: 0 0 20px var(--neon-purple);
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Lane Layout */
.container {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    align-items: flex-start;
}

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

.card {
    background: var(--card-bg);
    border: 1px solid #330066;
    border-radius: 15px;
    padding: 20px;
    transition: border-color 0.3s;
    overflow: hidden;
}

.card:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(191, 0, 255, 0.2);
}

.get-btn {
    width: 100%;
    padding: 12px;
    background: var(--main-purple);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}

.active-btn { background: #221035 !important; color: #666; }

.hidden { display: none; }

.show-anim {
    display: block;
    animation: slideDown 0.3s ease-out forwards;
}

.closing-anim {
    display: block;
    animation: slideUp 0.3s ease-in forwards;
}

@keyframes slideDown {
    0% { opacity: 0; transform: translateY(-10px); max-height: 0; }
    100% { opacity: 1; transform: translateY(0); max-height: 700px; }
}

@keyframes slideUp {
    0% { opacity: 1; transform: translateY(0); max-height: 700px; }
    100% { opacity: 0; transform: translateY(-10px); max-height: 0; }
}

.texture-img {
    width: 256px;
    height: 128px;
    display: block;
    margin: 15px auto;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--main-purple);
    background: #000;
}

.link-container {
    background: #000;
    padding: 10px;
    border-radius: 5px;
    border: 1px dashed var(--main-purple);
}

input[type="text"] {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--neon-purple);
    font-family: monospace;
    font-size: 0.75rem;
    outline: none;
}

/* Responsiveness */
@media (max-width: 900px) {
    .container { flex-wrap: wrap; }
    .column { flex: calc(50% - 20px); min-width: 300px; }
}

@media (max-width: 650px) {
    .column { flex: 100%; }
    .texture-img { width: 100%; height: auto; }
}

footer { text-align: center; padding: 40px; color: #555; }
