@import url('https://googleapis.com');

body {
    margin: 0;
    padding: 0;
    background-color: #0d0a07;
    background-image: linear-gradient(to bottom, rgba(13, 10, 7, 0.85), rgba(13, 10, 7, 0.95)), url('bg_medieval.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center top;
    color: #e6dfd5;
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

a {
    color: #b8860b;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #ffe066;
}

.nav-menu {
    display: flex;
    justify-content: center;
    background: rgba(17, 14, 10, 0.95);
    border-top: 1px solid #3d2f1d;
    border-bottom: 2px solid #d4af37;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.nav-menu a {
    font-family: 'Cinzel', serif;
    font-weight: bold;
    color: #b8860b;
    padding: 15px 25px;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.nav-menu a:hover {
    background: #241b13;
    color: #ffe066;
    text-shadow: 0 0 8px rgba(255,224,102,0.5);
}

.main-content {
    max-width: 940px;
    margin: 0 auto;
    padding: 20px 10px;
}

.box {
    background: #110e0a;
    border: 1px solid #3d2f1d;
    border-top: 3px solid #d4af37;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
}

button {
    font-family: 'Cinzel', serif;
    font-weight: bold;
    padding: 12px 20px;
    background: linear-gradient(to bottom, #a67c1e, #735310);
    color: #fff;
    border: 1px solid #4a3b25;
    border-radius: 3px;
    cursor: pointer;
    text-shadow: 1px 1px 2px #000;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

button:hover {
    background: linear-gradient(to bottom, #c49a3c, #8c641b);
    color: #fff;
    box-shadow: 0 0 10px rgba(212,175,55,0.4);
}

input[type="text"], input[type="password"], input[type="email"] {
    padding: 10px;
    background: #241b13;
    border: 1px solid #4a3b25;
    color: #f5f0eb;
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    transition: border-color 0.2s;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus {
    border-color: #d4af37;
    outline: none;
    background: #2b1f16;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #110e0a;
    border: 1px solid #2e2218;
}

th {
    background: #1b1612;
    padding: 10px;
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    border-bottom: 2px solid #3d2f1d;
}

td {
    padding: 10px;
    color: #e6dfd5;
    font-size: 13px;
    border-bottom: 1px solid #2e2218;
}

tr:hover td {
    background: rgba(36, 27, 19, 0.4);
}
