/* assets/css/style.css */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #1d3b3a 0, #050909 55%, #020303 100%);
    color: #f5f5f5;
}

/* Layout */

.page-content {
    max-width: 1100px;
    margin: 100px auto 40px auto;
    padding: 0 20px 40px;
}

/* Header */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(10px);
    background: linear-gradient(120deg, rgba(10, 24, 23, 0.95), rgba(21, 48, 45, 0.95));
    border-bottom: 1px solid rgba(208, 168, 92, 0.4);
    z-index: 100;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 2px solid #d0a85c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    background: radial-gradient(circle at 30% 20%, #305e59, #0a1817);
    box-shadow: 0 0 20px rgba(208, 168, 92, 0.5);
}

.logo-text h1 {
    margin: 0;
    font-size: 18px;
    letter-spacing: 0.04em;
}

.logo-text span {
    font-size: 12px;
    color: #c8e1d7;
    opacity: 0.8;
}

.main-nav {
    display: flex;
    gap: 16px;
    font-size: 14px;
}

.main-nav a {
    text-decoration: none;
    color: #f5f5f5;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.main-nav a:hover {
    border-color: rgba(208, 168, 92, 0.6);
    background: rgba(6, 16, 15, 0.8);
}

/* Cards */

.card {
    background: radial-gradient(circle at top, rgba(37, 79, 63, 0.7), rgba(6, 14, 13, 0.95));
    border-radius: 18px;
    border: 1px solid rgba(208, 168, 92, 0.35);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(0, 0, 0, 0.6) inset;
    padding: 20px 22px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(208, 168, 92, 0.12), transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

.card-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
}

.card-meta {
    font-size: 12px;
    color: #e2d7b4;
    opacity: 0.9;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 16px;
    border: 1px solid rgba(208, 168, 92, 0.8);
    background: linear-gradient(120deg, #2f5a4e, #153632);
    text-decoration: none;
    color: #f5f5f5;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.6),
        0 0 18px rgba(208, 168, 92, 0.6);
    background: linear-gradient(120deg, #366a5a, #18403a);
}

.btn-secondary {
    border-color: rgba(208, 168, 92, 0.4);
    background: rgba(4, 11, 10, 0.9);
}

/* News list */

.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-body {
    font-size: 14px;
    line-height: 1.6;
}

/* Server info layout */

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.rate-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.rate-table th,
.rate-table td {
    padding: 6px 8px;
}

.rate-table th {
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid rgba(208, 168, 92, 0.5);
}

.rate-table tr:nth-child(even) td {
    background: rgba(3, 8, 7, 0.75);
}

/* Simple sections */

.page-title {
    font-size: 24px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.page-subtitle {
    font-size: 14px;
    color: #d2e4d9;
    margin-bottom: 20px;
    max-width: 700px;
}

/* Forms */

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

input[type="text"],
input[type="password"],
textarea,
input[type="email"] {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(208, 168, 92, 0.4);
    background: rgba(3, 8, 7, 0.9);
    color: #f5f5f5;
    font-family: inherit;
    font-size: 14px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(208, 168, 92, 0.3);
    background: rgba(3, 8, 7, 0.95);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 20px 24px;
    font-size: 12px;
    color: #c3d3c9;
}

.footer-note {
    opacity: 0.7;
}

/* Responsive nav */

@media (max-width: 720px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .page-content {
        margin-top: 120px;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 8px;
    }
}
