:root {
    --bg: #10131c;
    --panel: #171c28;
    --panel-dark: #0b0e15;
    --text: #f6f7fb;
    --muted: #a9b0c4;
    --ring: rgba(255, 255, 255, 0.75);
    --shadow: rgba(0, 0, 0, 0.35);
    --red: #ff4d5e;
    --yellow: #ffd166;
    --green: #32d583;
    --purple: #9b5cff;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(0.65rem, 2vh, 1rem);
    padding: clamp(1.25rem, 3vw, 2.5rem);
    overflow-x: hidden;
    text-align: center;
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 209, 102, 0.18), transparent 32rem),
        radial-gradient(circle at bottom right, rgba(155, 92, 255, 0.18), transparent 30rem),
        linear-gradient(135deg, #10131c 0%, #171b28 48%, #0b0e15 100%);
    transition: background-color 180ms ease, filter 180ms ease;
}

h1,
h2,
h3,
h4 {
    margin: 0;
}

h1 {
    font-size: clamp(2.25rem, 6vw, 4rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    text-shadow: 0 0.35rem 1.5rem rgba(0, 0, 0, 0.35);
}

h2 {
    min-height: 4.5rem;
    max-width: min(42rem, 92vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    color: var(--muted);
    font-size: clamp(1rem, 2.5vw, 1.45rem);
    font-weight: 700;
    line-height: 1.35;
}

h3 {
    color: var(--text);
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    font-weight: 800;
    text-transform: capitalize;
}

h4 {
    margin-top: 0.15rem;
    color: #ffd166;
    font-size: clamp(0.85rem, 2.3vw, 1rem);
    font-weight: 700;
}

.btn_container {
    width: min(92vw, 54vh, 32rem);
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(0.75rem, 2.4vw, 1.1rem);
    padding: clamp(0.9rem, 3vw, 1.4rem);
    border: 0.6rem solid var(--panel-dark);
    border-radius: 2rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 35%),
        var(--panel);
    box-shadow:
        0 1.75rem 4rem var(--shadow),
        inset 0 0 0 0.1rem rgba(255, 255, 255, 0.08);
}

.line_one,
.line_two {
    min-height: 0;
    display: flex;
    flex: 1;
    justify-content: center;
    gap: clamp(0.75rem, 2.4vw, 1.1rem);
}

.btn {
    position: relative;
    flex: 1;
    min-width: 0;
    height: auto;
    width: auto;
    margin: 0;
    display: grid;
    place-items: center;
    border: 0.35rem solid rgba(255, 255, 255, 0.16);
    border-radius: clamp(1.1rem, 4vw, 2rem);
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    box-shadow:
        inset 0 -1rem 1.4rem rgba(0, 0, 0, 0.22),
        inset 0 0.45rem 0.8rem rgba(255, 255, 255, 0.28),
        0 0.9rem 1.4rem rgba(0, 0, 0, 0.28);
    transition:
        transform 120ms ease,
        filter 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 10%;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent 48%);
    opacity: 0.45;
    pointer-events: none;
}

.btn:hover {
    transform: translateY(-0.18rem);
    filter: saturate(1.18) brightness(1.08);
    box-shadow:
        inset 0 -1rem 1.4rem rgba(0, 0, 0, 0.2),
        inset 0 0.45rem 0.8rem rgba(255, 255, 255, 0.32),
        0 1.2rem 1.8rem rgba(0, 0, 0, 0.34);
}

.btn:active {
    transform: translateY(0.12rem) scale(0.98);
}

.red {
    background-color: var(--red);
}

.yellow {
    background-color: var(--yellow);
    color: rgba(35, 28, 7, 0.55);
}

.purple {
    background-color: var(--purple);
}

.green {
    background-color: var(--green);
    color: rgba(8, 43, 26, 0.5);
}

.flash {
    background-color: #ffffff;
    color: rgba(0, 0, 0, 0.2);
    filter: brightness(1.55);
    box-shadow:
        0 0 0 0.45rem var(--ring),
        0 0 2.5rem rgba(255, 255, 255, 0.85),
        inset 0 0 1.5rem rgba(255, 255, 255, 0.95);
}

.flashh {
    background-color: #111827;
    color: rgba(255, 255, 255, 0.9);
    transform: scale(0.96);
    box-shadow:
        0 0 0 0.35rem rgba(255, 255, 255, 0.2),
        inset 0 0 1.4rem rgba(0, 0, 0, 0.7);
}

.body_style {
    background: #ff304f;
    filter: saturate(1.25);
}

@media (max-width: 520px) {
    body {
        justify-content: flex-start;
        padding-top: 2rem;
    }

    .btn_container {
        width: min(94vw, 60vh, 26rem);
        border-width: 0.4rem;
        border-radius: 1.4rem;
    }

    .btn {
        border-width: 0.25rem;
    }
}

.primary-btn {
  background-color: #e92f2f; /* Button color */
  color: #ffffff;            /* Text color */
  border: none;              /* Remove default border */
  padding: 12px 24px;        /* Spacing inside button */
  font-size: 16px;           /* Text size */
  font-weight: 600;          /* Bold text */
  border-radius: 6px;        /* Rounded corners */
  cursor: pointer;           /* Changes cursor to pointer on hover */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

/* Hover State */
.primary-btn:hover {
  background-color: #0056b3; /* Darker blue */
}
