/* =========================
   THEME VARIABLES
========================= */
:root {
    --background: #0e1923;
    --foreground: #b1f5fe;
    --accent: #ffb202;

    /* translucent accent system */
    --accent-soft: rgba(255, 178, 2, 0.15);
    --accent-soft-2: rgba(255, 178, 2, 0.25);
    --accent-soft-3: rgba(255, 178, 2, 0.35);

    --comment: color-mix(in srgb, var(--foreground) 50%, transparent);
}

/* =========================
   BASE LAYOUT
========================= */
body {
    background-color: var(--background);
    color: var(--foreground);
    font-size: 1.2rem;
    font-family: fira code, Monaco, Consolas, ubuntu mono, monospace;

    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;

    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
}

/* links */
a {
    color: var(--accent);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* =========================
   HEADINGS
========================= */
h1,
h2,
h3 {
    color: var(--accent);
}

/* =========================
   FORM ELEMENTS (GLASS UI)
========================= */
input,
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    margin-top: 6px;

    background-color: var(--accent-soft);
    color: var(--foreground);

    border: 1px solid var(--accent-soft-2);
    border-radius: 8px;

    outline: none;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition: 0.2s ease;
}

/* focus state */
input:focus,
textarea:focus,
select:focus {
    background-color: var(--accent-soft-2);
    border-color: var(--accent);
}

/* textarea specifically */
textarea {
    resize: vertical;
}

/* =========================
   BUTTONS
========================= */
button {
    width: 100%;
    margin-top: 12px;
    padding: 10px;

    background-color: var(--accent-soft);
    color: var(--foreground);

    border: 1px solid var(--accent-soft-2);
    border-radius: 10px;

    cursor: pointer;
    font-size: 1rem;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition: 0.2s ease;
}

button:hover {
    background-color: var(--accent-soft-3);
    border-color: var(--accent);
    transform: translateY(-1px);
}

/* =========================
   OPTIONAL HEADER STYLE
========================= */
.header {
    font-size: 2rem;
    color: var(--accent);
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

/* =========================
   DARK MODE (optional override)
========================= */
.dark-Mode {
    background-color: #000;
    color: #fff;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    body {
        font-size: 1rem;
        margin: 20px auto;
    }

    button {
        font-size: 1rem;
    }
}
