:root {
    --bg: #0e1015;
    --card-bg: #161922;
    --accent: #b31718;
    --accent-hover: #8f1213;
    --accent-light: #f87171;
    --gold: #ffb703;
    --text: #f3f4f6;
    --text-muted: #9ca3af;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo span { color: var(--accent); }
.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    padding: 0.3rem 0;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.nav-links a.nav-premium { color: var(--gold); font-weight: 600; }
.nav-links a.nav-premium.active::after { background: var(--gold); }
.btn-nav {
    background: var(--accent);
    color: #fff !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 8px;
    transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--accent-hover) !important; }
.btn-nav::after { display: none !important; }

.container {
    flex: 1;
    max-width: 1100px;
    margin: 2rem auto 5rem;
    padding: 0 2rem;
    width: 100%;
}
.page-hero {
    text-align: center;
    margin-bottom: 3.5rem;
}
.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.page-hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}
.badge {
    display: inline-block;
    background: rgba(179, 23, 24, 0.15);
    color: var(--accent-light);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(179, 23, 24, 0.35);
}
.badge.gold {
    background: rgba(255, 183, 3, 0.15);
    color: var(--gold);
    border-color: rgba(255, 183, 3, 0.3);
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}
.card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(179, 23, 24, 0.2);
}
.card.gold-featured {
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(255, 183, 3, 0.15);
}
.featured-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
}
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.4rem; margin-bottom: 0.6rem; color: #fff; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.price { font-size: 2.2rem; font-weight: 800; color: #fff; margin: 0.5rem 0 1rem; }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent);
    color: #fff;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(179, 23, 24, 0.3);
}
.btn.secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
}
.btn.secondary:hover { background: rgba(255, 255, 255, 0.12); }
.btn.gold { background: var(--gold); color: #000; }
.btn.gold:hover { background: #e5a400; box-shadow: 0 8px 20px rgba(255, 183, 3, 0.3); }

.legal-box {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
}
.legal-box h2 { color: #fff; margin: 1.75rem 0 0.75rem; font-size: 1.35rem; }
.legal-box h2:first-of-type { margin-top: 0; }
.legal-box p { color: var(--text-muted); margin-bottom: 1rem; }
.legal-link { color: var(--accent-light); text-decoration: none; }

footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.75rem 0;
    width: 100%;
    background: #0b0d11;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0 2rem;
}
.footer-left { color: var(--text-muted); font-size: 0.95rem; }
.footer-left a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-left a:hover { color: #fff; }
.footer-right { display: flex; align-items: center; gap: 1.5rem; }
.social-links { display: flex; align-items: center; gap: 1rem; }
.social-icon {
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}
.social-icon:hover { color: var(--accent-light); transform: translateY(-1px); }
.lang-selector-wrapper { position: relative; user-select: none; }
.lang-btn {
    background: #16181e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.5rem 1.1rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: all 0.2s ease;
}
.lang-btn:hover { background: #20232c; border-color: rgba(179, 23, 24, 0.5); }
.chevron-icon { transition: transform 0.2s ease; }
.lang-selector-wrapper.open .chevron-icon { transform: rotate(180deg); }
.lang-dropdown {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    width: 230px;
    max-height: 270px;
    overflow-y: auto;
    background: #121318;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 1000;
}
.lang-dropdown::-webkit-scrollbar { width: 6px; }
.lang-dropdown::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 4px; }
.lang-dropdown::-webkit-scrollbar-thumb:hover { background: rgba(179, 23, 24, 0.6); }
.lang-selector-wrapper.open .lang-dropdown { display: flex; }
.lang-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #e5e7eb;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.lang-item:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.lang-item.selected { background: rgba(179, 23, 24, 0.2); border: 1px solid rgba(179, 23, 24, 0.4); color: #fff; font-weight: 600; }
.lang-item .check-icon { display: none; color: var(--accent-light); }
.lang-item.selected .check-icon { display: block; }

/* Guidelines Page Styles */
.guidelines-container {
    max-width: 900px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
}
.guidelines-hero {
    text-align: center;
    margin-bottom: 50px;
}
.guidelines-hero .badge {
    background: rgba(179, 23, 24, 0.15);
    color: #b31718;
    border: 1px solid rgba(179, 23, 24, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
}
.guidelines-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 16px;
    font-weight: 800;
}
.guidelines-hero .subtitle {
    font-size: 1.15rem;
    color: #888;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 12px auto;
}
.guidelines-hero .last-updated {
    font-size: 0.85rem;
    color: #666;
}
.guidelines-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.rule-card {
    background: #111;
    border: 1px solid #222;
    border-left: 4px solid #b31718;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.rule-card:hover {
    transform: translateY(-2px);
    border-color: #333;
    border-left-color: #b31718;
}
.rule-icon {
    font-size: 2rem;
    line-height: 1;
}
.rule-content h2 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #fff;
}
.rule-content p {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.6;
    margin: 0;
}
