@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;900&family=Cinzel+Decorative:wght@400;700&family=Crimson+Text:ita>


@font-face {
    font-family: 'OpenSansWeb';
    src: url('../fonts/OpenSans-Regular.woff2') format('woff2'), url('../fonts/OpenSans-Regular.woff') format('woff');
}


:root {
    --gold: #c8a96e;
    --gold-bright: #f0d080;
    --gold-dark: #8a6a2a;
    --ice-blue: #a8d4f0;
    --dark: #05080f;
    --panel-bg: rgba(5, 10, 20, 0.88);
    --panel-border: rgba(200, 169, 110, 0.35);
    --text-body: #c8c0b0;
    --text-dim: #7a7060;
}

*, body {
    font-family: 'Crimson Text', 'OpenSansWeb', Georgia, serif;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 80px;
    color: var(--text-body);
}

.main-box {
    width: 90%;
    max-width: 960px;
    margin: 60px auto;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 0;
    text-align: center;
    backdrop-filter: blur(12px);
    position: relative;
    box-shadow: 0 0 60px rgba(0,0,0,0.6);
}

.main-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.main-box::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.main-box img {
    max-width: 280px;
    margin: 24px auto 8px;
    display: block;
    filter: drop-shadow(0 0 12px rgba(200,169,110,0.4));
}

nav > .nav.nav-tabs {
    border: none;
    background: rgba(5, 8, 15, 0.7);
    border-radius: 0;
    border-bottom: 1px solid var(--panel-border);
}

nav > div a.nav-item.nav-link,
nav > div a.nav-item.nav-link.active {
    border: none;
    padding: 14px 20px;
    color: var(--text-dim);
    background: transparent;
    border-radius: 0;
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

nav > div a.nav-item.nav-link.active {
    color: var(--gold-bright);
    border-bottom: 2px solid var(--gold) !important;
    text-shadow: 0 0 12px rgba(200,169,110,0.4);
}

nav > div a.nav-item.nav-link:hover {
    color: var(--gold);
    background: rgba(200,169,110,0.06);
}

.tab-content {
    background: transparent;
    line-height: 1.7;
    border: none;
    border-top: 1px solid var(--panel-border);
    padding: 30px 25px;
    color: var(--text-body);
}

.form-control {
    margin: 5px 0px 10px 0px;
    background: rgba(5, 10, 20, 0.7);
    border: 1px solid var(--panel-border);
    border-radius: 0;
    color: var(--text-body);
    padding: 10px 14px;
    transition: border-color 0.25s ease;
}

.form-control:focus {
    background: rgba(5, 10, 20, 0.9);
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(200,169,110,0.15);
    color: var(--gold-bright);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-dim);
}

.input-group span {
    padding-top: 10px;
    color: var(--ice-blue);
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.btn {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 0;
    padding: 10px 24px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.btn-danger {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--dark);
    border-color: var(--gold);
}

.btn-danger:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    box-shadow: 0 0 16px rgba(200,169,110,0.4);
    color: var(--dark);
    transform: translateY(-1px);
}

.btn-primary {
    background: transparent;
    color: var(--ice-blue);
    border-color: rgba(168,212,240,0.4);
}

.btn-primary:hover {
    background: rgba(168,212,240,0.1);
    border-color: var(--ice-blue);
    color: var(--ice-blue);
    box-shadow: 0 0 16px rgba(96,184,232,0.2);
    transform: translateY(-1px);
}

.btn-info {
    background: transparent;
    color: var(--ice-blue);
    border-color: rgba(168,212,240,0.3);
}

.btn-info:hover {
    background: rgba(168,212,240,0.1);
    border-color: var(--ice-blue);
    color: var(--ice-blue);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-body);
    border-color: rgba(200,169,110,0.2);
}

.btn-secondary:hover {
    background: rgba(200,169,110,0.08);
    border-color: var(--panel-border);
    color: var(--gold);
    transform: translateY(-1px);
}

.content_box1 {
    padding: 10px;
    text-align: left;
    color: var(--text-body);
}

.content_box1 ul li {
    color: var(--text-dim);
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.content_box1 h5, .content_box1 strong {
    color: var(--gold);
    font-family: 'Cinzel', serif;
    letter-spacing: 0.1em;
}

hr {
    border-color: var(--panel-border);
    margin: 20px 0;
}

.modal-content {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 0;
    backdrop-filter: blur(12px);
    color: var(--text-body);
}

.modal-header {
    border-bottom: 1px solid var(--panel-border);
    background: rgba(5, 8, 15, 0.5);
}

.modal-title {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

.modal-footer {
    border-top: 1px solid var(--panel-border);
    background: rgba(5, 8, 15, 0.5);
}

.close {
    color: var(--text-dim);
    text-shadow: none;
    opacity: 1;
}

.close:hover {
    color: var(--gold);
}

.table {
    color: var(--text-body);
}

.table thead th {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid var(--panel-border);
    background: rgba(5, 8, 15, 0.4);
}

.table td, .table th {
    text-align: center;
    border-top: 1px solid rgba(200,169,110,0.1);
    vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: rgba(200,169,110,0.04);
}

.table-striped tbody tr:hover {
    background: rgba(200,169,110,0.08);
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: rgba(5, 8, 15, 0.8);
    border-top: 1px solid var(--panel-border);
    padding: 20px;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--text-dim);
    text-transform: uppercase;
}

select.form-control {
    background: rgba(5, 10, 20, 0.7);
    color: var(--text-body);
}

select.form-control option {
    background: #0a1020;
    color: var(--text-body);
}

.alert-success {
    background: rgba(64, 192, 96, 0.15);
    border: 1px solid rgba(64, 192, 96, 0.4);
    color: #80e0a0;
    border-radius: 0;
}

.alert-danger {
    background: rgba(192, 64, 64, 0.15);
    border: 1px solid rgba(192, 64, 64, 0.4);
    color: #e08080;
    border-radius: 0;
}

a {
    color: var(--ice-blue);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--gold-bright);
    text-decoration: none;
}

#nav-howtoconnect, #nav-contact {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.8;
}

#nav-topplayers button {
    margin: 5px;
}
