/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Color Palette (theo ảnh mẫu) */
:root {
    --bg-dark: #05072a;
    --bg-darker: #02031a;
    --panel: rgba(8, 10, 45, 0.92);
    --panel-border: rgba(255, 210, 90, 0.28);

    --gold: #f5c25b;
    --gold-strong: #ffd65a;
    --gold-deep: #d39a2e;
    --gold-gradient-1: #f6ba5b;
    --gold-gradient-2: #f2e64d;

    --text-main: #ffffff;
    --text-soft: #d9ddf3;
    --text-muted: #a9b0d3;

    --link: #ffffff;
    --link-hover: #f5c25b;

    --input-bg: #ffffff;
    --input-text: #2f3555;
    --input-placeholder: #a8afc7;

    --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body {
    font-family: "Times New Roman", Times, serif;
    background: radial-gradient(circle at top center, #10145a 0%, var(--bg-dark) 45%, var(--bg-darker) 100%);
    color: var(--text-main);
    line-height: 1.6;
}

/* Ép các ô nhập liệu + nút dùng cùng font */
input,
select,
textarea,
button {
    font-family: "Times New Roman", Times, serif;
}

/* Header Styles */
header {
    background: linear-gradient(180deg, #04062a 0%, #05072a 100%);
    color: var(--text-main);
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

header h1 {
    font-size: 32px;
    font-weight: bold;
    color: var(--gold);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #060831;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav a {
    color: var(--link);
    margin: 0 12px;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.25s ease;
}

nav a:hover,
nav a.active {
    color: var(--link-hover);
}

/* Main Content */
main {
    margin: 24px auto;
    max-width: 1200px;
    background: var(--panel);
    box-shadow: var(--shadow);
    border-radius: 12px;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--panel-border);
    backdrop-filter: blur(2px);
}

main h2 {
    color: var(--gold);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

main p {
    margin-bottom: 15px;
    color: var(--text-soft);
}

/* Form / Filter area */
input,
select,
textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--input-bg);
    color: var(--input-text);
    border: 1px solid #dfe3f3;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
}

input::placeholder,
textarea::placeholder {
    color: var(--input-placeholder);
}

/* Button Styles */
button {
    display: inline-block;
    padding: 12px 22px;
    color: #141a42;
    background: linear-gradient(90deg, var(--gold-gradient-1), var(--gold-gradient-2));
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 12px rgba(242, 198, 74, 0.35);
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

button:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(242, 198, 74, 0.45);
}

/* Secondary button */
button.secondary {
    background: #171b4a;
    color: #8d93b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

button.secondary:hover {
    color: #c7ccee;
    background: #1b2056;
}

/* Footer Styles */
footer {
    background: #040629;
    color: var(--text-muted);
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    font-size: 14px;
}