/* style.css - Stiluri comune pentru toate paginile */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0d1117;
    --panel: #161b22;
    --panel2: #1c232c;
    --border: #2d333b;
    --text: #e6edf3;
    --muted: #8b949e;
    --accent: #3fb950;
    --link: #58a6ff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

a {
    color: var(--link);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
}

/* ============================================
   CONTAINER CENTRAT - pentru TOATE paginile
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

/* ============================================
   HEADER CENTRAT
   ============================================ */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(22, 27, 34, .96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

header .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    color: var(--text);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
}
.logo span {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}
.header-actions a {
    padding: 6px 12px;
    border-radius: 5px;
    background: #00ffcc;
    color: #000;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}
.header-actions a:hover {
    background: #56d364;
}
.header-actions .api-btn {
    background: linear-gradient(45deg, #00ffc8, #00bfff);
}

.status {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

/* ============================================
   AD-SLOT CENTRAT
   ============================================ */
.ad-slot {
    display: block;
    max-width: 1200px;
    margin: 12px auto;
    padding: 0 16px;
    width: 100%;
    min-height: 1px;
}
.container > .ad-slot {
    padding: 0;
    margin: 18px 0;
}
.ad-slot[data-widget-id="2027164"] {
    min-height: 300px;
}

/* ============================================
   FOOTER CENTRAT
   ============================================ */
footer {
    margin-top: 28px;
    padding: 26px 0;
    border-top: 1px solid var(--border);
    background: var(--panel);
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}
footer .container {
    padding: 0 16px;
}
footer a {
    color: var(--muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 800px) {
    .status {
        display: none;
    }
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
    }
    .header-actions {
        width: 100%;
    }
}

@media (max-width: 540px) {
    .container {
        padding: 0 12px;
    }
    .header-actions a {
        padding: 5px 9px;
        font-size: 12px;
    }
    .ad-slot {
        padding: 0 12px;
    }
}