  :root {
    --navy:    #0a1628;
    --blue:    #1a3a6b;
    --mid:     #1e5fa8;
    --bright:  #2e86de;
    --ice:     #5aacf5;
    --pale:    #c8e4fd;
    --white:   #f0f6ff;
    --accent:  #f0a500;
    --red:     #e63946;
    --green:   #2ec4b6;
    --text:    #d6e8fb;
    --muted:   #7baed4;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Barlow', sans-serif;
    background: var(--navy);
    color: var(--white);
    overflow-x: hidden;
  }

  /* ── HEADER ── */
  header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10,22,40,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(46,134,222,.25);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2.5rem;
    height: 64px;
  }

  .logo {
    display: flex; align-items: center; gap: .8rem;
    text-decoration: none;
  }
  .logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--bright), var(--ice));
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800; font-size: 1rem; color: var(--navy);
    letter-spacing: -.5px;
    flex-shrink: 0;
  }
  .logo-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 1.1rem;
    color: var(--white); letter-spacing: .5px;
    line-height: 1.15;
  }
  .logo-text span { color: var(--ice); display: block; font-weight: 400; font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; }

  nav { display: flex; gap: .25rem; }
  nav a {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600; font-size: .9rem; letter-spacing: 1px; text-transform: uppercase;
    color: var(--muted); text-decoration: none;
    padding: .4rem .85rem; border-radius: 6px;
    transition: color .2s, background .2s;
  }
  nav a:hover, nav a.active { color: var(--white); background: rgba(46,134,222,.18); }
  nav a.active { color: var(--ice); }

  /* ── HERO ── */
  .hero {
    padding-top: 64px;
    min-height: 100vh;
    display: flex; flex-direction: column;
    background: linear-gradient(170deg, var(--navy) 0%, #0d2145 55%, #0f2d5c 100%);
    position: relative; overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 70% 20%, rgba(46,134,222,.12) 0%, transparent 60%),
      radial-gradient(ellipse 50% 40% at 10% 80%, rgba(26,58,107,.3) 0%, transparent 50%);
    pointer-events: none;
  }

  .hero-grid {
    position: absolute; inset: 0; opacity: .04;
    background-image:
      linear-gradient(var(--bright) 1px, transparent 1px),
      linear-gradient(90deg, var(--bright) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  .hero-inner {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; justify-content: center;
    flex: 1; padding: 4rem 2.5rem 3rem;
    max-width: 1200px; margin: 0 auto; width: 100%;
  }

  .hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(46,134,222,.15);
    border: 1px solid rgba(46,134,222,.3);
    border-radius: 100px; padding: .35rem 1rem;
    font-size: .7rem; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--ice); font-weight: 600; margin-bottom: 1.5rem;
    width: fit-content;
    animation: fadeUp .6s ease both;
  }
  .hero-badge::before {
    content: ''; width: 6px; height: 6px;
    background: var(--ice); border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(90,172,245,.3);
    animation: pulse 2s infinite;
  }

  .hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800; font-size: clamp(3rem, 8vw, 6rem);
    line-height: .95; letter-spacing: -1px;
    color: var(--white);
    animation: fadeUp .6s .1s ease both;
  }
  .hero-title em { font-style: normal; color: var(--ice); }

  .hero-sub {
    margin-top: 1.25rem;
    font-size: 1.1rem; font-weight: 300; color: var(--muted);
    max-width: 520px; line-height: 1.6;
    animation: fadeUp .6s .2s ease both;
  }

  .hero-actions {
    display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap;
    animation: fadeUp .6s .3s ease both;
  }

  .btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: .9rem; letter-spacing: 1.5px; text-transform: uppercase;
    text-decoration: none; padding: .75rem 1.75rem; border-radius: 8px;
    transition: transform .2s, box-shadow .2s, background .2s;
    cursor: pointer;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary {
    background: var(--bright);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(46,134,222,.35);
  }
  .btn-primary:hover { background: var(--ice); box-shadow: 0 8px 30px rgba(46,134,222,.5); }
  .btn-outline {
    background: transparent;
    border: 1.5px solid rgba(46,134,222,.5);
    color: var(--ice);
  }
  .btn-outline:hover { border-color: var(--bright); background: rgba(46,134,222,.1); }

  /* ── FEATURED EVENT ── */
  .featured {
    background: linear-gradient(135deg, rgba(30,95,168,.3), rgba(46,134,222,.15));
    border: 1px solid rgba(46,134,222,.3);
    border-radius: 16px; padding: 1.75rem 2rem;
    margin-top: 3rem; display: flex; gap: 2rem; align-items: center;
    animation: fadeUp .6s .4s ease both;
    max-width: 680px;
    text-decoration: none; color: inherit;
    transition: border-color .2s, transform .2s;
  }
  .featured:hover { border-color: var(--bright); transform: translateY(-3px); }

  .featured-date {
    display: flex; flex-direction: column; align-items: center;
    background: rgba(46,134,222,.2); border-radius: 10px;
    padding: .75rem 1rem; min-width: 64px; text-align: center; flex-shrink: 0;
  }
  .featured-date strong {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.8rem;
    color: var(--ice); line-height: 1;
  }
  .featured-date span { font-size: .65rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }
  .featured-info { flex: 1; }
  .featured-tag { font-size: .65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 600; }
  .featured-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--white); margin: .2rem 0 .4rem; }
  .featured-meta { font-size: .8rem; color: var(--muted); }
  .featured-arrow { color: var(--bright); font-size: 1.25rem; flex-shrink: 0; }

  /* ── MAIN CONTENT ── */
  main { max-width: 1200px; margin: 0 auto; padding: 4rem 2.5rem 6rem; }

  .section-header {
    display: flex; align-items: baseline; gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800; font-size: 1.6rem; letter-spacing: .5px;
    color: var(--white);
  }
  .section-line { flex: 1; height: 1px; background: rgba(46,134,222,.2); }

  /* ── EVENTS GRID ── */
  .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
  }

  .event-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(46,134,222,.18);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none; color: inherit;
    display: flex; flex-direction: column;
    transition: border-color .2s, transform .2s, background .2s;
    animation: fadeUp .5s ease both;
  }
  .event-card:hover {
    border-color: rgba(46,134,222,.5);
    background: rgba(46,134,222,.06);
    transform: translateY(-3px);
  }

  .event-card-header {
    padding: 1.25rem 1.5rem .75rem;
    display: flex; justify-content: space-between; align-items: flex-start;
  }

  .event-type {
    font-size: .65rem; letter-spacing: 2px; text-transform: uppercase;
    font-weight: 700; padding: .3rem .7rem;
    border-radius: 100px;
  }
  .type-rallye { background: rgba(46,134,222,.2); color: var(--ice); border: 1px solid rgba(46,134,222,.3); }
  .type-slalom { background: rgba(240,165,0,.15); color: var(--accent); border: 1px solid rgba(240,165,0,.3); }
  .type-course { background: rgba(46,196,182,.15); color: var(--green); border: 1px solid rgba(46,196,182,.3); }

  .event-date-badge {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .75rem; font-weight: 600;
    color: var(--muted); letter-spacing: .5px;
  }

  .event-card-body { padding: .25rem 1.5rem 1.5rem; flex: 1; }
  .event-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 1.25rem; color: var(--white);
    margin-bottom: .4rem; line-height: 1.2;
  }
  .event-desc { font-size: .82rem; color: var(--muted); line-height: 1.5; }

  .event-card-footer {
    padding: .75rem 1.5rem;
    border-top: 1px solid rgba(46,134,222,.12);
    display: flex; align-items: center; justify-content: space-between;
  }
  .event-status {
    display: flex; align-items: center; gap: .4rem;
    font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
  }
  .dot {
    width: 7px; height: 7px; border-radius: 50%;
  }
  .dot-done { background: var(--ice); }
  .dot-live { background: var(--green); box-shadow: 0 0 0 3px rgba(46,196,182,.25); animation: pulse 1.5s infinite; }
  .dot-upcoming { background: var(--accent); }
  .event-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .75rem; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--bright); font-weight: 700;
  }

  /* ── ANNOUNCE BANNER ── */
  .announce {
    margin-top: 3.5rem;
    background: linear-gradient(135deg, rgba(26,58,107,.5), rgba(10,22,40,.8));
    border: 1px solid rgba(46,134,222,.25);
    border-left: 4px solid var(--bright);
    border-radius: 0 12px 12px 0;
    padding: 1.5rem 2rem;
    display: flex; gap: 1.25rem; align-items: flex-start;
  }
  .announce-icon {
    font-size: 1.5rem; flex-shrink: 0; margin-top: .1rem;
  }
  .announce-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 1rem; letter-spacing: .5px; color: var(--ice);
    margin-bottom: .4rem;
  }
  .announce-text { font-size: .85rem; color: var(--muted); line-height: 1.6; }
  .announce-text a { color: var(--bright); text-decoration: none; }
  .announce-text a:hover { text-decoration: underline; }

  /* ── FOOTER ── */
  footer {
    border-top: 1px solid rgba(46,134,222,.15);
    background: rgba(10,22,40,.6);
    padding: 2rem 2.5rem;
    text-align: center;
  }
  .footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: gap; gap: 1rem; }
  .footer-copy { font-size: .78rem; color: var(--muted); }
  .footer-links { display: flex; gap: 1.5rem; }
  .footer-links a { font-size: .78rem; color: var(--muted); text-decoration: none; letter-spacing: .5px; }
  .footer-links a:hover { color: var(--ice); }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .4; }
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    header { padding: 0 1.25rem; }
    nav a { padding: .35rem .55rem; font-size: .78rem; }
    .hero-inner { padding: 3rem 1.25rem 2rem; }
    main { padding: 2.5rem 1.25rem 4rem; }
    .events-grid { grid-template-columns: 1fr; }
    .featured { flex-direction: column; gap: 1rem; }
    footer { padding: 1.5rem 1.25rem; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
  }
