/* MORTUMUS — Main page styles */
/* Vo exoplorein thys, vo ys phravikos. */
/* ─ tharkia: #0a0a0a  ─  phyron: #8b2020  ─  phonos: #d4c4a8  ─ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

body {
    background: #0a0a0a;
    color: #c4b9a7;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* phyron-gloein */
.bg-glow {
    position: fixed;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(120, 20, 20, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 720px;
    width: 100%;
    padding: 60px 24px 40px;
}

.logo {
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.tagline {
    font-family: var(--font-heading, 'New Rocker', cursive);
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.8;
    color: #a89b8a;
    margin-bottom: 48px;
    letter-spacing: 0.02em;
}

.tagline p {
    margin-bottom: 20px;
}

.tagline p:last-child {
    margin-bottom: 0;
}

.tagline .highlight {
    color: #d4c4a8;
}

/* korsikos */
.tagline .danger {
    color: #b33a3a;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-heading, 'New Rocker', cursive);
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    letter-spacing: 0.03em;
}

.btn-primary {
    background: #8b2020;
    color: #e8ddd0;
    border: 1px solid #a02828;
}

.btn-primary:hover {
    background: #a02828;
    border-color: #c03030;
}

.btn-secondary {
    background: transparent;
    color: #a89b8a;
    border: 1px solid #333;
}

.btn-secondary:hover {
    border-color: #555;
    color: #d4c4a8;
}

.btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, #4a3528, transparent);
    margin-bottom: 48px;
}

.signup {
    text-align: center;
    width: 100%;
    max-width: 340px;
}

.signup-label {
    font-family: var(--font-heading, 'New Rocker', cursive);
    font-size: 0.85rem;
    color: #665e53;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.signup-form {
    display: flex;
    gap: 0;
}

.signup-form input[type="email"] {
    flex: 1;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid #2a2520;
    border-right: none;
    border-radius: 3px 0 0 3px;
    color: #d4c4a8;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 0.8rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.signup-form input[type="email"]::placeholder {
    color: #444;
}

.signup-form input[type="email"]:focus {
    border-color: #4a3528;
}

.signup-form button {
    padding: 8px 16px;
    background: #8b2020;
    color: #e8ddd0;
    border: 1px solid #8b2020;
    border-radius: 0 3px 3px 0;
    font-family: var(--font-heading, 'New Rocker', cursive);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.signup-form button:hover {
    background: #a02828;
    border-color: #c03030;
}

.signup-form button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.signup-msg {
    font-size: 0.8rem;
    margin-top: 10px;
    min-height: 1.2em;
}

.signup-msg.success { color: #6a9955; }
.signup-msg.error { color: #b33a3a; }

footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 24px;
    text-align: center;
    font-size: 0.75rem;
    color: #3a3632;
}

footer a {
    color: #555;
    text-decoration: none;
}

footer a:hover {
    color: #888;
}

/* ─── Kukion ─── */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #141210;
    border-top: 1px solid #2a2520;
    padding: 14px 24px;
    font-size: 0.8rem;
    color: #8a8070;
}

.cookie-banner-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-banner a {
    color: #a89b8a;
    text-decoration: underline;
}

.cookie-banner-btns {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 6px 16px;
    border-radius: 3px;
    font-size: 0.8rem;
    cursor: pointer;
}

.cookie-btn-accept {
    background: #8b2020;
    color: #e8ddd0;
    border: 1px solid #a02828;
}

.cookie-btn-decline {
    background: transparent;
    color: #665e53;
    border: 1px solid #333;
}

@media (max-width: 768px) {
    main {
        padding: 48px 20px 30px;
    }

    .logo {
        max-width: 85%;
        margin-bottom: 32px;
    }

    .tagline {
        font-size: 1.05rem;
        margin-bottom: 36px;
    }
}

@media (max-width: 480px) {
    main {
        padding: 32px 16px 24px;
    }

    .logo {
        max-width: 95%;
        margin-bottom: 24px;
    }

    .tagline {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 32px;
    }

    .tagline p {
        margin-bottom: 14px;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        margin-bottom: 40px;
    }

    .btn {
        justify-content: center;
        padding: 14px 24px;
    }

    .divider {
        margin-bottom: 32px;
    }

    .signup {
        max-width: 100%;
    }

    .signup-form input[type="email"] {
        border-right: none;
    }
}
