﻿:root {
    --bg: #0b1020;
    --card: rgba(18, 26, 47, 0.88);
    --card-soft: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.10);
    --text: #eef2ff;
    --muted: #aab4d0;
    --accent: #5eead4;
    --accent-2: #38bdf8;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 30%), radial-gradient(circle at top right, rgba(94, 234, 212, 0.12), transparent 24%), linear-gradient(180deg, #09101f 0%, #0b1020 100%);
}

.index-page {
    min-height: 100vh;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.index-shell {
    width: 100%;
    max-width: 1240px;
}

.hero-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    padding: 24px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.hero-left,
.hero-right {
    min-width: 0;
}

.hero-left {
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    font-size: 24px;
    font-weight: 800;
}

.brand-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 18px rgba(94, 234, 212, 0.55);
}

.brand-name {
    letter-spacing: 0.2px;
}

.hero-title {
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    margin: 0;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
}

.feature-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
    max-width: 520px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--card-soft);
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
}

.feature-icon {
    font-size: 18px;
    width: 26px;
    text-align: center;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-card {
    width: 100%;
    max-width: 440px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: var(--card);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.form-header {
    margin-bottom: 22px;
}

    .form-header h2 {
        margin: 0 0 8px;
        font-size: 26px;
        font-weight: 800;
    }

    .form-header p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.6;
    }

.join-form {
    display: grid;
    gap: 16px;
}

.form-group {
    display: grid;
    gap: 8px;
}

    .form-group label {
        font-size: 14px;
        font-weight: 700;
        color: #ffffff;
    }

    .form-group input {
        width: 100%;
        height: 52px;
        padding: 0 14px;
        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        outline: none;
        font-size: 15px;
        transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    }

        .form-group input::placeholder {
            color: #8f9ab7;
        }

        .form-group input:focus {
            border-color: rgba(94, 234, 212, 0.55);
            background: rgba(255, 255, 255, 0.07);
            box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.10);
        }

.enter-btn {
    margin-top: 6px;
    height: 54px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    color: #081018;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 10px 24px rgba(56, 189, 248, 0.22);
}

    .enter-btn:hover {
        transform: translateY(-1px);
    }

    .enter-btn:active {
        transform: translateY(0);
    }

@media (max-width: 980px) {
    .hero-card {
        grid-template-columns: 1fr;
    }

    .hero-left {
        padding-bottom: 6px;
    }

    .form-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .index-page {
        padding: 14px;
        align-items: stretch;
    }

    .hero-card {
        gap: 18px;
        padding: 16px;
        border-radius: 22px;
    }

    .hero-left,
    .form-card {
        padding: 16px;
    }

    .brand-row {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .feature-list {
        margin-top: 20px;
    }

    .feature-item {
        min-height: 50px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .form-header h2 {
        font-size: 22px;
    }

    .form-group input,
    .enter-btn {
        height: 50px;
    }
}
