:root {
    --bg-color: #2d53ff; 
    --app-bg: rgba(35, 70, 235, 0.75); 
    --card-bg: rgba(29, 57, 194, 0.6);  
    --text-color: #f9f9f9; 
    --highlight-color: #fff500; 
    --text-dim: rgba(249, 249, 249, 0.3);
    --border-color: rgba(255, 255, 255, 0.2);
    --dot-color: rgba(255, 255, 255, 0.25);
    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-speed: 0.4s;
    --section-padding: 60px;
}

@keyframes moveBg {
    0% { background-position: 0 0; }
    100% { background-position: 24px 24px; }
}

@keyframes blink {
    0%, 100% { color: var(--highlight-color); opacity: 1; }
    50% { color: #ffffff; opacity: 0.6; }
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    padding: 20px; 
    background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
    background-size: 24px 24px;
    animation: moveBg 5s linear infinite;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

input::placeholder { color: var(--text-dim); opacity: 1; }
input::-webkit-input-placeholder { color: var(--text-dim); }
input::-moz-placeholder { color: var(--text-dim); }

.mono { font-family: 'JetBrains Mono', monospace; }
.blink-dot { animation: blink 1.2s infinite ease-in-out; display: inline-block; margin-right: 4px; }

.app-container {
    width: 100%;
    max-width: 1100px;
    background: var(--app-bg);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    margin: auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    padding: var(--section-padding);
    position: relative;
    align-items: center;
    z-index: 1;
    gap: 40px;
}

.tag-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.05;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.hero-content p {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    opacity: 0.9;
    max-width: 480px;
    margin-bottom: 35px;
}

.ascii-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 1000px;
    height: 100%;
    min-height: 250px;
}

.ascii-large {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(20px, 6vw, 42px); 
    line-height: 1.1;
    white-space: pre;
    user-select: none;
    transition: transform 0.1s ease-out;
    text-shadow: 0 0 25px rgba(249, 249, 249, 0.1);
}

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all var(--transition-speed) var(--ease-smooth);
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary { background: var(--text-color); color: var(--bg-color); }
.btn-primary:hover {
    background: var(--highlight-color);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 245, 0, 0.3);
}

.btn-secondary { border-color: var(--border-color); color: var(--text-color); background: rgba(255, 255, 255, 0.1); }

.join-section {
    padding: 80px var(--section-padding);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

form {
    max-width: 600px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    text-align: left;
}

.full-width { grid-column: 1 / -1; }

label {
    font-size: 0.65rem;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
    font-weight: 700;
}

input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: 10px;
    color: white;
    outline: none;
    width: 100%;
    font-family: inherit;
}

input:focus { border-color: var(--highlight-color); }

.custom-select { position: relative; width: 100%; }
.select-trigger {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: 10px;
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
.select-trigger.selected { color: white; }
.select-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: #1a34b5;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.custom-select.open .select-options { opacity: 1; visibility: visible; }
.option { padding: 12px 16px; cursor: pointer; }
.option:hover { background: rgba(255, 255, 255, 0.1); color: var(--highlight-color); }

.submit-container { grid-column: 1 / -1; margin-top: 20px; }
.submit-container button { width: 100%; }

.privacy-note { grid-column: 1 / -1; font-size: 0.7rem; opacity: 0.5; margin-top: 20px; text-align: center; }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 60px; }
}

@media (max-width: 600px) {
    .app-container { border-radius: 0; }
    form { grid-template-columns: 1fr; }
}