/* ===============================
   RESET / BASE
================================ */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f7f6;
    color: #333;
}

/* ===============================
   NAVBAR (BOOTSTRAP OVERRIDE)
================================ */

.navbar {
    background: #57B230 !important;
}

.navbar-brand,
.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 600;
}

.navbar-nav .nav-link:hover {
    opacity: 0.85;
}

/* ===============================
   INDEX PAGE – AGENDA
================================ */

.wraper {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    overflow: hidden;
}

.header-green {
    background: #57B230;
    color: #fff;
    padding: 14px;
    text-align: center;
    font-weight: bold;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.match-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.match-row:hover {
    background: #f1f8ed;
}

.match-row.active {
    background: #94cc7c;
}

.flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
}

.match-info {
    flex: 1;
    font-weight: 600;
}

.time {
    background: #222;
    color: #fff;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* ===============================
   CHANNEL LIST
================================ */

.channels {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fafafa;
}

.channels li a {
    display: flex;
    justify-content: space-between;
    padding: 10px 45px;
    text-decoration: none;
    color: #555;
    border-top: 1px solid #eee;
}

.channels li a:hover {
    background: #fff;
    color: #57B230;
}

.quality {
    font-size: 11px;
    border: 1px solid #ccc;
    padding: 2px 6px;
    border-radius: 6px;
    color: #666;
}

/* ===============================
   MATCH PAGE
================================ */

body.match-page {
    background: #f4f7f6;
    overflow: auto; /* scroll aktivdir */
}

/* iframe mərkəzdə, normal layout */
 .live-iframe {
    display: block;
    margin: 30px auto;     /* ortalama */
    width: 700px;          /* EN */
    height: 640px;         /* HÜNDÜRLÜK */
    border: none;
    background: #000;
}

/* ===============================
   FOOTER
================================ */

footer {
    background: #1f2529;
    color: #fff;
    padding: 20px;
    text-align: center;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

     .live-iframe {
        width: 100%;
        height: 560px;
        margin: 20px auto;
    }

    .wraper {
        margin: 20px 10px;
    }

    .channels li a {
        padding: 10px 20px;
    }
}
.seo-intro {
    max-width: 900px;
    margin: 25px auto 15px;
    padding: 0 15px;
    text-align: center;
}

.seo-intro h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.seo-intro p {
    font-size: 15px;
    color: #444;
}
.seo-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 15px;
    color: #333;
    line-height: 1.75;
}

.seo-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.seo-content h3 {
    font-size: 17px;
    margin-top: 25px;
    margin-bottom: 8px;
}

.seo-content p {
    font-size: 15px;
    margin-bottom: 12px;
}
.tv-channels {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

.channels-title {
    font-size: 18px;
    color: #d32f2f;
    margin-bottom: 30px;
    font-weight: 600;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.channel-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.channel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.channel-card img {
    max-width: 160px;
    height: auto;
    margin-bottom: 15px;
}

.channel-card p {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

.channel-btn {
    display: inline-block;
    background: #1b5e20;
    color: #fff;
    padding: 8px 18px;
    border-radius: 5px;
    font-size: 13px;
    text-decoration: none;
}

.channel-btn:hover {
    background: #2e7d32;
}

/* Channel page H1 center */
.channel-title,.page-title {
    text-align: center;
    margin: 20px auto 25px;
    font-size: 32px;
    font-weight: 700;
    color: #111;
}
/* =========================
   ERROR PAGE
   ========================= */

.error-page {
    text-align: center;
    margin: 60px auto;
}

.error-page p {
    font-size: 16px;
    color: #555;
}

.error-actions {
    margin: 30px 0;
}

.error-actions a {
    display: inline-block;
    margin: 10px;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.btn-home {
    background: #57B230;
    color: #fff;
}

.btn-home:hover {
    background: #469d26;
}

.btn-secondary {
    background: #eee;
    color: #333;
}
