/* RESET */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  background: #f4f6fb;
  color: #333;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: #111;
    color: #fff;
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 80px;
    height: 70px;
    object-fit: contain;
}

.nav-links{
    display:flex;
    gap:20px;
}

.nav-links a{
    color:#fff;
    text-decoration:none;
    font-weight:bold;
}

.menu-icon { display: none; font-size: 26px; cursor: pointer; }
#menu-toggle { display: none; }

.header-ad{
    width:100%;
    height:120px;
    background:#f1f1f1;
    border:2px dashed #999;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:20px;
}

/* HERO */
.hero {
  height: 300px;
  background: url("contsctbg.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(93, 139, 177, 0.6);
}
.hero-text { position: relative; text-align: center; }
.hero h1 { font-size: 40px; }

/* NEWS SECTION */
.news { padding: 50px 20px; }
.section-title { text-align: center; margin-bottom: 30px; font-size: 30px; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding-bottom: 15px;
  transition: 0.3s;
}
.card:hover { transform: translateY(-5px); }
.card img { width: 100%; height: auto; object-fit: cover; }
.card h3 { padding: 10px; }
.card p { padding: 0 10px; font-size: 14px; }
.card a {
  display: inline-block;
  margin: 10px;
  padding: 8px 15px;
  background: #2387d8;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

/* ARTICLE PAGE */
.article {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin: 40px auto;
}
.article-header {
    background: linear-gradient(135deg, #006b3c, #009b5a);
    color: white;
    padding: 45px 40px;
}
.article-header h1 { font-size: 42px; line-height: 1.2; margin-bottom: 12px; }
.article-header h3 { font-size: 21px; font-weight: 400; opacity: 0.95; }
.article-content { padding: 40px; }
.article-content h2 {
    color: #006b3c;
    font-size: 27px;
    margin-top: 35px;
    margin-bottom: 12px;
    padding-left: 14px;
    border-left: 5px solid #009b5a;
}
.article-content p { font-size: 17px; margin-bottom: 16px; color: #444; }

/* World Cup 2027 Block - Renamed to avoid conflict */
.wc2027-container{
  max-width:900px;
  margin:20px auto;
  padding:20px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 4px 20px rgba(0,0,0,0.08);
}
.wc2027-header{
  text-align:center;
  background: linear-gradient(135deg, #0d1b2a, #1b4332);
  color:#fff;
  padding:30px 15px;
  border-radius:12px;
}
.wc2027-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap:15px;
  margin:25px 0;
}
.wc2027-card{
  border:1px solid #e5e7eb;
  padding:18px;
  border-radius:10px;
  text-align:center;
  background:#f8fafc;
}
.wc2027-card.wc-highlight{
  background:#fff7ed;
  border-color:#f9c74f;
  transform:scale(1.03);
}
/* SportsF4All - Ronaldo Post Style */
.ronaldo-post-container {
  max-width: 800px;
  margin: 20px auto;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #eee;
}

.post-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: white;
  padding: 30px;
}

.post-category {
  background: #facc15;
  color: #000;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
}

.post-title {
  font-size: 32px;
  line-height: 1.3;
  margin: 15px 0 10px 0;
  font-weight: 800;
}

.post-meta {
  opacity: 0.7;
  font-size: 14px;
}

.post-content {
  padding: 30px;
  color: #334155;
  line-height: 1.8;
}

.post-content h2 {
  color: #0f172a;
  border-left: 4px solid #facc15;
  padding-left: 12px;
  margin-top: 30px;
}

.stats-box {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.stat-item {
  flex: 1;
  background: #f8fafc;
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.stat-item span {
  display: block;
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
}

.stat-item strong {
  font-size: 20px;
  color: #0f172a;
}

.highlight {
  background: #fef08a;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
  color: #000;
}

.match-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.match-table th {
  background: #0f172a;
  color: white;
  padding: 12px;
  text-align: left;
  font-size: 14px;
}

.match-table td {
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px;
}

.cta-box {
  background: #eff6ff;
  border: 2px dashed #3b82f6;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  margin-top: 25px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .post-title { font-size: 24px; }
  .stats-box { flex-wrap: wrap; }
  .stat-item { flex: 50%; }
}
.wc2027-table{ width:100%; border-collapse:collapse; margin-top:12px; }
.wc2027-table th, .wc2027-table td{ border:1px solid #ddd; padding:10px; text-align:left; }
.wc2027-table th{ background:#0d1b2a; color:#fff; }

/* WHATSAPP & DARK MODE BUTTONS */
.whatsapp { position: fixed; bottom: 20px; right: 20px; z-index:9999; }
.whatsapp img { width: 55px; height: 55px; animation: bounce 2s infinite; }
#darkModeBtn{
    position: fixed; right: 20px; bottom: 100px;
    width: 60px; height: 60px; border: none; border-radius: 50%;
    background: #222; color: #fff; font-size: 28px;
    cursor: pointer; display: flex; justify-content: center;
    align-items: center; z-index: 99999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* FOOTER */
.footer { background: #111; color: #fff; padding: 50px 0; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.footer a { color: #fff; margin-left: 15px; text-decoration: none; }

/* ANIMATIONS - Only Once */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* RESPONSIVE */
@media (max-width:768px){
    .menu-icon{ display:block; }
    .nav-links{
        position:absolute; top:65px; right:0; width:220px;
        background:#111; display:none; flex-direction:column;
        padding:15px; max-height:80vh; overflow-y:auto; z-index:9999;
    }
    #menu-toggle:checked + .menu-icon + .nav-links{ display:flex; }
    .news-grid{ grid-template-columns:1fr; }
    .hero h1{ font-size:28px; }
    .article-header { padding: 32px 25px; }
    .article-header h1 { font-size: 34px; }
    .footer-content{ flex-direction:column; text-align:center; }
}
@media (max-width: 480px){
    .container { width: 100%; padding: 0 12px; }
    .article { border-radius: 0; margin: 0; }
    .article-content { padding: 25px 18px; }
}