:root {
    --bg1: #0f172a;
    --bg2: #071029;
    --accent: #7c5cff;
    --muted: #9aa4b2;
    --card-bg: rgba(255, 255, 255, 0.06);
    --text: #e6eef8;
    --icon-fill: rgba(230, 238, 248, 0.95);
    --logo-text: var(--text);
}

[data-theme="light"] {
    --bg1: #f5f7fb;
    --bg2: #ffffff;
    --accent: #6b46ff;
    --muted: #6b7280;
    --card-bg: rgba(2, 6, 23, 0.04);
    --text: #071029;
    --icon-fill: rgba(17, 24, 39, 0.9);
    --logo-text: var(--text);
    color-scheme: light;

}
.login-btn {
    background: var(--accent, #7c5cff);
    color: #fff;
    padding: 9px 16px;
    border-radius: 10px;
    border: none;
    cursor: not-allowed;
    opacity: 0.7;
}


* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
    background: linear-gradient(135deg, var(--bg1), var(--bg2));
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}
/* Updated for tool-like look: solid color, less rounded, white text */
.discord-btn {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 10px;
    background: var(--accent, #7c5cff);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: not-allowed;
    opacity: 0.7;
}

.stage {
    width: 100%;
    max-width: 980px
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(8px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* place logo visually at the card's top-left corner */
.card {
    position: relative;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px;
    /* leave space on the left so the absolute logo doesn't overlap */
    padding-left: 96px;
}

.brand {
    display: flex;
    gap: 14px;
    align-items: center
}

.logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #4cc3ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    color: var(--logo-text);
    box-shadow: 0 6px 18px rgba(124, 92, 255, 0.22);
    position: absolute;
    left: 18px;
    top: 18px;
}

/* temporary testing helper: center logo in the card */
.logo-center {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

.theme-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: inherit;
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer
}

.theme-toggle:active {
    transform: translateY(1px)
}

.titles h1 {
    margin: 0;
    font-size: 20px
}

.tag {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

.body {
    padding: 18px
}

h2 {
    margin: 0 0 8px 0;
    font-size: 20px
}

.lead {
    color: var(--muted);
    margin: 0 0 18px 0
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px
}

.features li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    border-radius: 12px
}

.features .icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    fill: var(--icon-fill);
    opacity: 0.95
}

.features strong {
    display: block
}

.features span {
    display: block;
    color: var(--muted);
    font-size: 13px
}

.announcements {
    margin-top: 18px
}

.ann-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px
}

.ann-card .date {
    color: var(--muted);
    font-size: 12px
}

.signup {
    margin-top: 8px
}

.signup label {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px
}

.row {
    display: flex;
    gap: 10px
}

input[type="email"] {
    flex: 1;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: inherit;
    outline: none
}

.btn {
    background: linear-gradient(90deg, var(--accent), #4cc3ff);
    border: none;
    color: #071029;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(76, 195, 255, 0.08);
    transition: transform .14s ease
}

.btn:active {
    transform: translateY(1px)
}

.privacy {
    color: var(--muted);
    font-size: 12px;
    margin-top: 8px
}

.thanks {
    color: #bff3d6;
    margin-top: 10px
}

.foot {
    padding: 12px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    color: var(--muted);
    font-size: 13px;
    border-radius: 0 0 12px 12px
}

.muted {
    color: var(--muted)
}

@media (max-width:600px) {
    .brand .titles h1 {
        font-size: 18px
    }

    .logo {
        width: 48px;
        height: 48px left: 12px;
        top: 12px;
    }

    .card {
        padding: 16px
    }
}