/* ============================================
   Dota2Betz.com — Main Stylesheet
   Dark Dota 2 Theme
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: #1a1a2e;
    color: #e0e0e0;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #d4a843;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #C23C2A;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.6em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-top: 1.8em; }
h3 { font-size: 1.25rem; margin-top: 1.4em; }
h4 { font-size: 1.1rem; margin-top: 1.2em; }

p {
    margin-bottom: 1em;
}

ul, ol {
    margin: 0 0 1.2em 1.5em;
}

li {
    margin-bottom: 0.4em;
}

strong {
    color: #ffffff;
}

/* --- Header & Navigation --- */
.site-header {
    background: #16213e;
    border-bottom: 2px solid #C23C2A;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: 0.5px;
}

.logo:hover {
    color: #d4a843 !important;
}

.menu-toggle {
    display: block;
    background: none;
    border: 1px solid #d4a843;
    color: #d4a843;
    font-size: 1.5rem;
    padding: 0.2rem 0.6rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

.menu-toggle:hover {
    background: rgba(212, 168, 67, 0.15);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: #16213e;
    border-bottom: 2px solid #C23C2A;
    z-index: 999;
}

.nav-links.active {
    display: flex;
}

.nav-links li a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: #e0e0e0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-weight: 500;
}

.nav-links li a:hover {
    background: rgba(212, 168, 67, 0.1);
    color: #d4a843;
}

/* --- Main Content --- */
.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.2rem;
    flex: 1;
    width: 100%;
}

/* --- Homepage --- */
.homepage .hero {
    text-align: center;
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 0.5em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.partners-section {
    margin-bottom: 2.5rem;
}

.partners-section h2 {
    text-align: center;
    margin-bottom: 1.2rem;
}

.silos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.silo-block {
    background: #16213e;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.2s;
}

.silo-block:hover {
    border-color: #d4a843;
}

.silo-block h2 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 0.5em;
    color: #d4a843;
}

.silo-block p {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-bottom: 0.8em;
}

.silo-block ul {
    margin-left: 1.2em;
    margin-bottom: 0;
}

.silo-block li {
    margin-bottom: 0.3em;
}

.seo-text {
    background: rgba(22, 33, 62, 0.5);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.seo-text h2 {
    margin-top: 0;
}

/* --- Money Page --- */
.money-page h1 {
    color: #d4a843;
}

/* --- Article Page --- */
.article-page h1 {
    border-bottom: 2px solid #C23C2A;
    padding-bottom: 0.4em;
}

/* --- Trust Page --- */
.trust-page {
    color: #ccc;
}

.trust-page h1 {
    color: #e0e0e0;
}

/* --- Partners List --- */
.partners-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.partner-card {
    background: #16213e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: border-color 0.2s, transform 0.2s;
}

.partner-card:hover {
    border-color: #d4a843;
    transform: translateY(-2px);
}

.partner-rank {
    font-size: 1.8rem;
    font-weight: 800;
    color: #d4a843;
    min-width: 2.2rem;
    text-align: center;
    line-height: 1;
}

.partner-info {
    flex: 1;
}

.partner-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.15em;
}

.partner-tagline {
    font-size: 0.9rem;
    color: #b0b0b0;
}

.partner-cta {
    display: inline-block;
    background: #C23C2A;
    color: #ffffff !important;
    padding: 0.6rem 1.4rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.partner-cta:hover {
    background: #a83220;
    transform: scale(1.03);
    color: #ffffff !important;
}

/* --- CTA Boxes --- */
.cta-box {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    border: 2px solid #d4a843;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.cta-box p {
    font-size: 1.05rem;
    margin-bottom: 0.8em;
    color: #e0e0e0;
}

.cta-box strong {
    color: #d4a843;
}

.cta-button {
    display: inline-block;
    background: #C23C2A;
    color: #ffffff !important;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.2s, transform 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: #a83220;
    transform: scale(1.04);
    color: #ffffff !important;
}

.cta-bottom {
    margin: 2.5rem 0 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 2rem 1.2rem;
    background: linear-gradient(135deg, #1e1e3a 0%, #16213e 100%);
}

.cta-bottom p {
    font-size: 1.1rem;
}

/* --- Tables --- */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #16213e;
    border-radius: 6px;
    overflow: hidden;
}

thead {
    background: #0f1a30;
}

th {
    padding: 0.8rem 1rem;
    text-align: left;
    font-weight: 700;
    color: #d4a843;
    border-bottom: 2px solid #C23C2A;
    font-size: 0.95rem;
}

td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.95rem;
}

tbody tr:hover {
    background: rgba(212, 168, 67, 0.05);
}

/* --- Glossary (dl/dt/dd) --- */
dl {
    margin: 1.5rem 0;
}

dt {
    font-weight: 700;
    color: #d4a843;
    font-size: 1.1rem;
    margin-top: 1.2em;
    padding-bottom: 0.2em;
    border-bottom: 1px solid rgba(212, 168, 67, 0.2);
}

dd {
    margin-left: 0;
    padding: 0.5em 0 0.5em 1em;
    color: #ccc;
    border-left: 3px solid rgba(212, 168, 67, 0.15);
    margin-bottom: 0.5em;
}

/* --- Footer --- */
.site-footer {
    background: #0f1a30;
    border-top: 2px solid #C23C2A;
    padding: 2rem 1.2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: #d4a843;
    font-weight: 500;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #C23C2A;
}

.disclaimer {
    font-size: 0.85rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto 0.8rem;
    line-height: 1.5;
}

/* --- Language Switcher --- */
.lang-switcher {
    position: relative;
    display: inline-block;
    margin: 1rem 0 0.5rem;
}

.lang-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    color: #e0e0e0;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.15);
}

.lang-arrow {
    font-size: 0.7rem;
    opacity: 0.7;
}

.lang-dropdown {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #162035;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    list-style: none !important;
    padding: 0;
    margin: 0 0 4px;
    min-width: 140px;
    overflow: hidden;
    z-index: 100;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher:focus-within .lang-dropdown {
    display: block;
}

.lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.lang-dropdown li a:hover {
    background: rgba(255,255,255,0.1);
}

.lang-dropdown li a.lang-active {
    color: #d4a843;
    font-weight: 600;
}

.flag-icon {
    font-size: 1.1rem;
}

.footer-content > p:last-child {
    font-size: 0.8rem;
    color: #666;
}

/* ============================================
   Responsive — Tablet (768px+)
   ============================================ */
@media (min-width: 768px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.65rem; }

    .hero h1 { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.25rem; }

    .silos {
        grid-template-columns: 1fr 1fr;
    }

    .partners-list {
        grid-template-columns: 1fr;
    }

    .content {
        padding: 2.5rem 2rem;
    }

    .cta-bottom {
        padding: 2.5rem 2rem;
    }
}

/* ============================================
   Responsive — Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row;
        position: static;
        width: auto;
        background: none;
        border: none;
        gap: 0.2rem;
    }

    .nav-links li a {
        padding: 0.5rem 0.8rem;
        border: none;
        border-radius: 4px;
        font-size: 0.95rem;
    }

    .nav-links li a:hover {
        background: rgba(212, 168, 67, 0.12);
    }

    h1 { font-size: 2.6rem; }

    .hero h1 { font-size: 2.8rem; }

    .content {
        padding: 3rem 2rem;
    }

    .partner-card {
        padding: 1.3rem 2rem;
    }
}

/* --- Utility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
