﻿:root {
	--bg: #0d1117;
	--card: #161b22;
	--accent: #58a6ff;
	--text: #c9d1d9;
	--danger: #f78166;
	--border: #30363d;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	background: var(--bg);
	color: var(--text);
	font-family: Arial, Helvetica, sans-serif;
}
a {
	text-decoration: none;
	color: var(--text);
}
/* ================= CONTAINER ================= */
.container {
	width: 1180px;
	margin: 0 auto;
}
/* ================= HEADER ================= */
header {
	background: #0b1220;
	border-bottom: 1px solid var(--border);
}
/* ===== Topbar ===== */
.topbar {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
}
.topbar a {
	margin-right: 20px;
	color: var(--text);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.6px;
	transition: 0.3s;
}
.topbar a:hover {
	color: var(--accent);
}
/* ===== Navbar ===== */
.navbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 0;
}
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}
.logo img {
	width: 55px;
	height: auto;
	display: block;
}
.logo h1 {
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--accent);
}
/* ===== Menu ===== */
nav ul {
	list-style: none;
	display: flex;
	gap: 22px;
}
nav ul li a {
	position: relative;
	font-weight: 500;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.8px;
	color: var(--text);
	transition: 0.3s;
}
nav ul li a:hover {
	color: var(--accent);
}
/* Hover underline effect */
nav ul li a::after {
	content: "";
	position: absolute;
	bottom: -6px;
	left: 0;
	width: 0%;
	height: 2px;
	background: var(--accent);
	transition: 0.3s;
}
nav ul li a:hover::after {
	width: 100%;
}
/* ================= LAYOUT ================= */
.main-layout {
	display: grid;
	grid-template-columns: 850px 300px;
	gap: 30px;
	margin-top: 30px;
	justify-content: center;
}
.content {
	width: 850px;
	position: relative;
	overflow: hidden;
}
.sidebar {
	width: 300px;
	position: sticky;
	top: 20px;
	align-self: start;
	transition: 0.3s;
}
.sidebar:hover {
	box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.sidebar iframe {
	width: 100% !important;
	display: block;
}
.sidebar .card {
	padding: 10px;
}
/* ================= CARD ================= */
.card {
	background: var(--card);
	padding: 15px;
	border-radius: 8px;
	margin-bottom: 20px;
	border: 1px solid var(--border);
	width: 100%;
}
/* ================= IFRAME ================= */
.iframe-card {
	width: 850px;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 40px;
    display: block;
}

.iframe-card iframe {
	width: 100%;
	height: 530px;
	border: none;
	display: block;
}
iframe {
	border-radius: 8px;
}
/* ================= FOOTER ================= */
footer {
	border-top: 1px solid var(--border);
	margin-top: 40px;
	padding: 20px 0;
	font-size: 14px;
}
.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
.container {
	width: 95%;
}
.main-layout {
	grid-template-columns: 1fr;
}
.content, .iframe-card {
	width: 100%;
}
.sidebar {
	width: 100%;
}
nav ul {
	flex-wrap: wrap;
	gap: 15px;
}
}
/* ================= HAMBURGER (HEADER ONLY) ================= */

.hamburger{
  display:none;
  background:transparent;
  border:0;
  cursor:pointer;
  padding:8px;
  border-radius:8px;
}

.hamburger span{
  display:block;
  width:26px;
  height:3px;
  background:var(--text);
  margin:5px 0;
  transition:0.25s ease;
}

/* Desktop: normal menu */
.navbar .main-nav{
  display:block;
}

/* Mobile menu behaviour */
@media (max-width: 992px){
  .hamburger{ display:block; }

  /* Menü üstte değil, header altında açılır */
  .navbar{
    position:relative;
  }

  .navbar .main-nav{
    position:absolute;
    left:0;
    right:0;
    top:100%;
    background:#0b1220;
    border-top:1px solid var(--border);

    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
    z-index:9999;
  }

  .navbar .main-nav ul{
    flex-direction:column;
    padding:16px 18px;
    gap:14px;
  }

  .navbar .main-nav.is-open{
    max-height:75vh;
  }

  /* Mobilde sidebar sticky olmasın */
  .sidebar{
    position:relative;
    top:0;
  }
}

/* ================= PİYASALAR CARD ================= */

/* ================= PREMIUM PİYASALAR CARD ================= */

.piyasalar-card {
    padding: 18px;
    position: relative;
    transition: 0.3s ease;
}

.piyasalar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* Başlık */

.card-heading {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1.5px;
    color: var(--text);
    padding-left: 12px;
    position: relative;
    margin-bottom: 12px;
}

/* Sol accent çizgi */

.card-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    height: 18px;
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* Gradient divider */

.card-divider {
    height: 1px;
    background: linear-gradient(
        to right,
        var(--accent),
        var(--border)
    );
    margin-bottom: 18px;
}

/* Widget */

.piyasalar-card iframe {
    width: 100% !important;
    height: 167px;
    border: none;
    display: block;
    border-radius: 6px;
}

/* ================= PREMIUM PİYASALAR CARD ================= */

.piyasalar-card {
    padding: 18px;
    position: relative;
    transition: 0.3s ease;
}

.piyasalar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* Başlık */

.card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1.5px;
    color: var(--text);
    position: relative;
    padding-left: 14px;
    margin-bottom: 12px;
}

/* Sol accent çizgi */

.card-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    height: 18px;
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* ===== TERMINAL STYLE LIVE DOT ===== */

.live-dot {
    width: 7px;
    height: 7px;
    background: #00ff88;
    border-radius: 50%;
    position: relative;
    box-shadow:
        0 0 6px #00ff88,
        0 0 12px #00ff88,
        0 0 18px rgba(0,255,136,0.6);
    animation: terminalPulse 1.2s infinite ease-in-out;
}
/* Heading Layout */

.card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1.5px;
    color: var(--text);
    position: relative;
    padding-left: 14px;
    margin-bottom: 12px;
}

.heading-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* LIVE Badge */

/* LIVE Badge - Pulse Version */

.live-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ff4d4d;
    padding: 3px 6px;
    border: 1px solid #ff4d4d;
    border-radius: 4px;
    background: rgba(255, 77, 77, 0.08);
    animation: livePulse 1.5s infinite ease-in-out;
}

/* Pulse Animation */

@keyframes livePulse {
    0% {
        box-shadow: 0 0 4px rgba(255, 77, 77, 0.4);
        background: rgba(255, 77, 77, 0.08);
    }
    50% {
        box-shadow: 0 0 12px rgba(255, 77, 77, 0.9);
        background: rgba(255, 77, 77, 0.18);
    }
    100% {
        box-shadow: 0 0 4px rgba(255, 77, 77, 0.4);
        background: rgba(255, 77, 77, 0.08);
    }
}

/* Daha keskin pulse efekti */

@keyframes terminalPulse {
    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow:
            0 0 6px #00ff88,
            0 0 12px #00ff88,
            0 0 18px rgba(0,255,136,0.6);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.25);
        box-shadow:
            0 0 10px #00ff88,
            0 0 20px #00ff88,
            0 0 30px rgba(0,255,136,0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow:
            0 0 6px #00ff88,
            0 0 12px #00ff88,
            0 0 18px rgba(0,255,136,0.6);
    }
}

/* Gradient divider */

.card-divider {
    height: 1px;
    background: linear-gradient(
        to right,
        var(--accent),
        var(--border)
    );
    margin-bottom: 18px;
}

/* Widget */

.piyasalar-card iframe {
    width: 100% !important;
    height: 167px;
    border: none;
    display: block;
    border-radius: 6px;
}

/* ================= GİZLİLİK SAYFASI ================= */

.policy-header {
    text-align: center;
    margin-bottom: 40px;
}

.policy-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.policy-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.policy-header h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
}

.update-date {
    font-size: 13px;
    color: #8b949e;
}

.policy-card {
    background: var(--card);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border);
    margin-bottom: 25px;
    transition: 0.3s ease;
}

.policy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.policy-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 12px;
}

.policy-card h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 4px;
    height: 16px;
    background: var(--accent);
    border-radius: 2px;
}

.policy-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #c9d1d9;
}

.policy-card ul {
    padding-left: 18px;
}

.policy-card ul li {
    margin-bottom: 6px;
    font-size: 14px;
}

/* ================= COOKIE POPUP ================= */

.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card);
    border: 1px solid var(--border);
    padding: 15px 20px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    display: none;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.cookie-content p {
    font-size: 13px;
}

.cookie-content button {
    background: var(--accent);
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.cookie-content button:hover {
    opacity: 0.9;
}

/* ================= İLETİŞİM SAYFASI ================= */

.contact-page {
    margin-top: 40px;
    margin-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    margin-bottom: 20px;
    font-size: 22px;
}

/* SOL KARTLAR */

.contact-card {
    display: flex;
    gap: 15px;
    background: var(--card);
    padding: 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}

.contact-icon {
    font-size: 22px;
    width: 40px;
}

.contact-card h4 {
    margin-bottom: 6px;
}

.contact-card a {
    color: var(--accent);
}

/* FORM TARAFI */

.contact-form-wrapper {
    background: var(--card);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: #0f172a;
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: 6px;
    color: var(--text);
    font-size: 14px;
    width: 100%;
}

.contact-form textarea {
    min-height: 120px;
    resize: none;
}

.contact-form button {
    background: linear-gradient(90deg, var(--accent), #3a8bff);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    transition: 0.3s ease;
}

.contact-form button:hover {
    opacity: 0.9;
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }
}

/* ================= FORM MESSAGE ================= */

#formMessage {
    margin-top: 10px;
    font-size: 14px;
}

.form-success {
    color: #3fb950;
}

.form-error {
    color: #f85149;
}
/* ================= MAP CARD ================= */

.map-card {
    padding: 0;
    overflow: hidden;
}

.map-card iframe {
    width: 100%;
    height: 260px;
    border: 0;
    display: block;
}

/* ================= PREMIUM LEAGUE TABLE ================= */

.league-wrapper {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}


#leagueTable {
    margin-top: 40px;
}

.league-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.league-table thead {
    background: var(--card);
}

.league-table th {
    padding: 12px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
}

.league-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.league-table td.team-name {
    text-align: left;
    padding-left: 12px;
    font-weight: 600;
}
/* ================= LEAGUE HEADER PREMIUM ================= */

.league-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.league-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 120px;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--accent),
        transparent
    );
}

.league-header-left h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.league-subtitle {
    display: block;
    font-size: 13px;
    color: #8b949e;
    margin-top: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.league-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(88,166,255,0.12);
    border: 1px solid var(--accent);
    color: var(--accent);
    letter-spacing: 1px;
}

/* Kart genişliği garanti */

.league-table tr:hover {
    background: rgba(88,166,255,0.08);
}

.league-table th:first-child,
.league-table td:first-child {
    width: 40px;
    text-align: center;
}

.team-name {
    text-align: left;
    font-weight: 600;
    padding-left: 8px;   /* 1 indent */
}

.points {
    font-weight: 800;
    color: var(--accent);
    font-size: 15px;
    position: relative;
}

.points::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

@keyframes fadeInRow {
    to {
        opacity: 1;
    }
}

.league-table tbody tr {
    animation: fadeInRow 0.4s ease forwards;
    opacity: 0;    
    transition: all 0.25s ease;
    position: relative;
}

.league-table tbody tr:hover {
    background: rgba(88,166,255,0.08);
    transform: translateX(4px);
}

/* İlk 4 */
.champions {
    background: rgba(88,166,255,0.08);
    border-left: 4px solid var(--accent);
    box-shadow: inset 4px 0 12px rgba(88,166,255,0.25);
}

.champions:hover {
    box-shadow:
        inset 4px 0 16px rgba(88,166,255,0.45),
        0 0 12px rgba(88,166,255,0.35);
}

/* Son 3 */
.relegation {
    background: rgba(248,81,73,0.08);
    border-left: 4px solid #f85149;
    box-shadow: inset 4px 0 12px rgba(248,81,73,0.25);
}

.relegation:hover {
    box-shadow:
        inset 4px 0 16px rgba(248,81,73,0.45),
        0 0 12px rgba(248,81,73,0.35);
}
/* Spor haber ile puan tablosu arası boşluk */
.sport-news {
    margin-bottom: 40px;
}

/* Alternatif güvenli çözüm */
.league-card {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    width: 100%;
}

.sport-links {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    padding: 10px 5px 0 5px;
}

.sport-links a {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 8px;
    transition: 0.2s;
}

.sport-links a:hover {
    background: var(--accent);
    color: #fff;
}

.sport-links-wrapper {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.sport-links-title {
    display: flex;
    align-items: center;    
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.lig-logo {
    width: 48px;
    height: 48px;
    margin-right: 12px;
    vertical-align: middle;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-box {
    width: 900px;
    max-width: 95%;
    max-height: 90vh;
    background: var(--card);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    font-weight: 800;
    border-bottom: 1px solid var(--border);
}

.modal-body {
    padding: 16px;
    overflow-y: auto;
}

.team-cell{
  display:flex;
  align-items:center;
  gap:8px;
}
.team-logo{
  width:24px;
  height:24px;
  object-fit:contain;
}

.fixture-today {
  background: rgba(88,166,255,0.15);
  box-shadow: inset 4px 0 0 var(--accent);
  font-weight: 700;
}

.fixture-today td {
  border-bottom: 1px solid var(--accent);
}

.install-btn{

position:fixed;
bottom:20px;
right:20px;

background:#111827;
color:white;

border:none;
padding:12px 18px;

border-radius:8px;

cursor:pointer;

box-shadow:0 4px 12px rgba(0,0,0,0.2);

}
