@font-face {
    font-family: 'Gothic Godness';
    src: url('../fonts/Gothic Godness.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: fixed;
}

body {
    background: #0a0a0a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    color: #e6e6e6;
}

::selection {
    background: #6e1b1b;
    color: #fff;
}

#grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.22;
}

.streaks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(
        135deg,
        #0a0a0a 0%,
        #111 25%,
        #0a0a0a 50%,
        #121212 75%,
        #0a0a0a 100%
    );
    background-size: 300% 300%;
    animation: streakMove 60s ease-in-out infinite;
    opacity: 0.95;
}

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

.container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 40px;
}

.logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: grayscale(1) contrast(1.1) brightness(0.9);
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: rotate(-0.3deg) scale(1.01);
}

.band-name {
    font-family: 'Gothic Godness', serif;
    font-size: clamp(5rem, 18vw, 16rem);
    font-weight: normal;
    letter-spacing: 0.02em;
    color: #e9e9e9;
    text-shadow:
        0 1px 0 rgba(0,0,0,0.7),
        0 0 1px rgba(255,255,255,0.05);
    line-height: 0.9;
    animation: mildDrift 6s steps(4, end) infinite;
}

@keyframes mildDrift {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-0.5px, 0.5px);
    }
}

.waitlist-form {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 520px;
    flex-wrap: wrap;
    justify-content: center;
}

.waitlist-form input {
    flex: 1;
    min-width: 240px;
    padding: 10px 2px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    color: #e6e6e6;
    font-family: inherit;
    font-size: 16px;
    letter-spacing: 0.01em;
    outline: none;
    box-shadow: none;
    caret-color: #6e1b1b;
    transition: border-color 120ms ease, transform 80ms ease;
}

.waitlist-form input::placeholder {
    color: rgba(255, 255, 255, 0.28);
    font-style: normal;
}

.waitlist-form input:focus {
    border-bottom-color: #e6e6e6;
    transform: translateY(-0.5px);
}

.waitlist-form button {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #e6e6e6;
    font-family: inherit;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: none;
    cursor: pointer;
    transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease;
    position: relative;
}

.waitlist-form button::before,
.waitlist-form button::after {
    content: '[';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 400;
    opacity: 0.6;
    transition: transform 120ms ease, opacity 120ms ease;
}

.waitlist-form button::before {
    left: 8px;
    content: '[';
}

.waitlist-form button::after {
    right: 8px;
    content: ']';
}

.waitlist-form button:hover::before {
    transform: translateY(-50%) translateX(-1px);
    opacity: 0.9;
}

.waitlist-form button:hover::after {
    transform: translateY(-50%) translateX(1px);
    opacity: 0.9;
}

.waitlist-form button:hover {
    background: #101010;
    border-color: #e6e6e6;
}

.waitlist-form button:active {
    background: #0e0e0e;
    border-color: #cfcfcf;
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}

.social-links a {
    display: block;
    opacity: 0.5;
    transition: opacity 120ms ease;
}

.social-links a:hover {
    opacity: 0.9;
}

.social-icon {
    width: 24px;
    height: 24px;
    display: block;
}

.success-message {
    display: none;
    color: #cfcfcf;
    font-size: 14px;
    text-align: center;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    max-width: 520px;
    letter-spacing: 0.02em;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.35s ease;
}

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

@media (max-width: 768px) {
    .container {
        padding: 16px;
        padding-bottom: 100px;
        gap: 32px;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .band-name {
        font-size: clamp(3rem, 20vw, 8rem);
    }

    .waitlist-form {
        flex-direction: column;
        gap: 10px;
        max-width: 100%;
    }
    
    .waitlist-form input,
    .waitlist-form button {
        width: 100%;
        min-width: unset;
    }

    .waitlist-form input {
        text-align: center;
    }

    .social-links {
        position: fixed;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
        gap: 24px;
        z-index: 20;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .success-message {
        font-size: 13px;
        padding: 10px 0;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        gap: 24px;
        padding: 12px;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .band-name {
        font-size: clamp(2.5rem, 22vw, 6rem);
    }

    .waitlist-form input,
    .waitlist-form button {
        font-size: 16px;
        padding: 12px 16px;
    }

    .social-icon {
        width: 26px;
        height: 26px;
    }
}

@media (min-width: 1920px) {
    .container {
        gap: 50px;
    }

    .logo {
        width: 140px;
        height: 140px;
    }
}
