* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #0f0f0f;
  color: white;
  line-height: 1.6;
  padding: 20px;
}
 
header {
  position: relative;
  background: #111111;
  padding: 20px 40px;
  border-radius: 12px;
  margin-bottom: 25px;
  border: 1px solid #222;
}
 
.header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
 
 
 
header h1 {
  text-align: center;
  font-size: 70px;
  color: #ff1e1e;
  margin-bottom: 15px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: bold;
}
 
.f1-logo {
  width: 150px;
  height: auto;
  flex-shrink: 0;
}
 
 nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
 
nav a {
  color: white;
  font-size: 19px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
 
nav a:hover {
  color: #ff1e1e;
}
 
main {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
 
section {
  background: #1C1C1C;
  padding: 25px;
  margin-top: 15px;
  border-radius: 14px;
  border: 1px solid #2a2a2a;
  transition: transform 0.3s ease, border-color 0.3s ease;
  flex: 1 1 300px;
  max-width: 500px;
}
 
section:hover {
  transform: translateY(-5px);
  border-color: #ff1e1e;
}
 
section h2 {
  color: #ff1e1e;
  margin-bottom: 10px;
  font-size: 25px;
}

#news h2{
  color: #ff1e1e;
  margin-bottom: 10px;
  font-size: 25px;
}
 
#news h2 a {
  color: inherit;        
  text-decoration: none;  
}

#news h2 a:hover {
  text-decoration: underline;
}
section h3 {
  font-size: 28px;
  margin-bottom: 10px;
}
 
section p {
  margin-bottom: 8px;
  color: #dddddd;
}

section li {
  margin-bottom: 8px;
  color: #dddddd;
}
 
section:first-child {
  flex-basis: 100%;
  max-width: 100%;
  text-align: center;
}
 
section:first-child h2 {
  color: white;
}
 
section:first-child h3 {
  font-size: 48px;
  color: #ff1e1e;
}
 
section:first-child p {
  font-size: 20px;
  color: white;
}

.feature-section {
  flex-basis: 100%;
  max-width: 1000px;
  margin: 40px auto;
  text-align: center;
  background: #181818;
  padding: 25px;
  border-radius: 14px;
  border: 1px solid #2a2a2a;
}

.news-card {
  width: 100%;
    max-height: 160px;       
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;      
    display: block;
}
 
.feature-description {
  margin-top: 20px;
}
 
.feature-description h2 {
  color: #ff1e1e;
  margin-bottom: 10px;
  font-size: 35px;
}
 
.feature-description p {
  color: #dddddd;
  line-height: 1.6;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-weight: bold;
}
 
.newsletter {
  font-size: 17px;
  flex-basis: 100%;
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
  background: #181818;
  padding: 40px;
  border-radius: 14px;
  border: 1px solid #2a2a2a;
}
 
.newsletter h2 {
  font-size: 35px;
}
 
.simple-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}
 
.simple-form input {
  padding: 10px;
  border-radius: 6px;
  border: none;
  width: 250px;
  outline: none;
}
 
.simple-form button {
  background: #ff1e1e;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
}
 
.simple-form button:hover {
  background: #cc1414;
}
 
 
footer {
  margin-top: 30px;
  background: #111111;
  padding: 25px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid #222;
}
 
footer p {
  margin-bottom: 10px;
  color: #cccccc;
}

footer a {
  margin-bottom: 10px;
  color: #cccccc;
}

footer a:hover {
  color: #ff1e1e;
  text-transform: uppercase;
  cursor: pointer;
}
footer p:hover {
  color: #ff1e1e;
  text-transform: uppercase;
  cursor: pointer;
}
 
 
.hero-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
  border-radius: 12px;
}
 
.feature-image {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
  border-radius: 15px;
}

.standings-container {
      min-width: 1250px;
      margin: 30px auto;
      padding: 0 20px;
    }

    .team {
      background: #111;
      margin-bottom: 12px;
      border-radius: 10px;
      padding: 18px 20px;
      display: flex;
      align-items: center;
      gap: 20px;
      border-left: 6px solid;
    }

    .pos {
      width: 45px;
      text-align: center;
      font-size: 26px;
      font-weight: bold;
      color: #fff;
    }

    .team-name {
      flex: 0.4;
      font-size: 20px;
      font-weight: 400;
    }

    .points {
      width: 110px;
      text-align: right;
      font-size: 18px;
      color: #ddd;
    }

    .bar-container {
      flex: 1;
      height: 11px;
      background: #222;
      border-radius: 6px;
      margin: 0 25px;
    }

    .bar {
      height: 100%;
      border-radius: 6px;
    }

    .dot {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .stats {
      display: flex;
      gap: 20px;
      margin: 50px 20px 30px;
      flex-wrap: wrap;
    }

    .stat-card {
      background: #111;
      padding: 25px 20px;
      border-radius: 10px;
      flex: 1;
      min-width: 220px;
      text-align: center;
    }

    .stat-label {
      font-size: 14px;
      color: #aaa;
      margin-bottom: 10px;
    }

    .stat-value {
      font-size: 32px;
      font-weight: bold;
    }

 .live-event-banner {
    grid-column: 1 / -1; 
    margin-bottom: 25px;
}

.live-badge {
    color: #e10600;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.live-event-banner h1 {
    font-size: 54px;
    margin: 8px 0 0 0;
    font-weight: 600;
}

.dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.updates-panel {
    background-color: #111112;
    padding: 30px;
    border-radius: 8px;
}

.updates-panel h2 {
    color: #71717a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 25px 0;
}

.log-entry {
    background-color: #151517;
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    box-sizing: border-box;
}

.log-entry:last-child {
    margin-bottom: 0;
}

.log-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.log-lap {
    color: #71717a;
    font-size: 11px;
    font-weight: 600;
}

.log-text {
    font-size: 16px;
    font-weight: 500;
    color: #e4e4e7;
    margin: 0;
}

.log-time {
    color: #71717a;
    font-size: 11px;
}

.log-red { border-left: 3px solid #ef4444; }
.log-blue { border-left: 3px solid #3b82f6; }
.log-yellow { border-left: 3px solid #eab308; }


.stats-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background-color: #151517;
    padding: 25px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.card-title {
    color: #71717a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.card-bold {
    font-size: 32px;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.subtitle {
    color: #71717a;
    font-size: 13px;
}

.leader-status {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
}

.p1-accent {
    color: #ef4444;
}

.gap-text {
    color: #4b4b4f;
    font-size: 13px;
    font-weight: 400;
}