body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(69, 196, 176, 0.22), transparent 34%),
        radial-gradient(circle at bottom right, rgba(209, 36, 47, 0.18), transparent 30%),
        #08090c;
    color: white;
    font-family: Arial, sans-serif;
}

.start-page {
    display: grid;
    align-content: center;
    gap: 34px;
    width: min(900px, calc(100vw - 32px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 32px 0;
}

.hero {
    text-align: center;
}

h1 {
    margin: 0;
    font-size: clamp(58px, 12vw, 116px);
    line-height: 0.95;
}

.mode-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.voice-panel {
    display: grid;
    gap: 10px;
    width: min(520px, 100%);
    margin: 0 auto;
    padding: 16px;
    border-radius: 8px;
    background: #151821;
}

.voice-panel > label {
    color: #c5cad6;
    font-weight: 800;
    text-align: center;
}

.voice-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.voice-row select,
.voice-row button {
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
}

.voice-row button {
    background: #262a33;
    color: white;
    cursor: pointer;
    font-weight: 800;
}

.preset-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.preset-btn {
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    background: #262a33;
    color: white;
    cursor: pointer;
    font-weight: 800;
}

.preset-btn.selected {
    background: #1f6feb;
}

.slider-grid {
    display: grid;
    gap: 8px;
}

.slider-grid label {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 10px;
    color: #c5cad6;
    font-size: 14px;
    font-weight: 800;
}

.slider-grid input {
    width: 100%;
}

.mode-btn {
    display: grid;
    gap: 8px;
    place-items: center;
    min-height: 120px;
    padding: 24px;
    border: 0;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s, filter 0.2s;
}

.mode-btn:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
}

.mode-btn span {
    font-size: 28px;
    font-weight: 800;
}

.permission-status {
    min-height: 20px;
    margin: 0;
    color: #c5cad6;
    font-weight: 800;
    text-align: center;
}

.purple-box {
    background-color: #8250df;
}

.teal-box {
    background-color: #1a7f78;
}

.blue-box {
    background-color: #1f6feb;
}

@media (max-width: 620px) {
    .start-page {
        align-content: start;
        padding-top: 54px;
    }

    .mode-grid {
        grid-template-columns: 1fr;
    }

    .voice-row {
        grid-template-columns: 1fr;
    }

    .preset-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mode-btn {
        min-height: 0;
    }
}

@media (min-width: 621px) and (max-width: 860px) {
    .mode-grid {
        grid-template-columns: 1fr;
    }

    .mode-btn {
        min-height: 0;
    }
}
