 :root {
    --gold: #D4A017;
    --gold-light: #F0C040;
    --gold-dark: #9A7010;
    --red: #C0392B;
    --white: #F5F0E8;
    --dark: #0A0A0A;
    --dark2: #111108;
    --ember: #FF6B1A;
  }

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

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

  nav { display: block; margin-top: 20px; animation: fadeRight 1s ease 0.5s both; }
  nav ul { display: grid; grid: 20px; grid-template-columns: 1fr 1fr 1fr; }
  nav li { list-style: none; }
  nav a.btn-register { padding: 10px 30px 10px 40px; }
@media screen and (max-width: 640px) {
    nav ul {  grid-template-columns: 1fr ;  }
}


  /* ── HERO ── */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 70%, #3B1A00 0%, #1A0A00 40%, #050505 100%);
  }

  /* Animated ember particles */
  .embers {
    position: absolute; inset: 0; pointer-events: none; z-index: 1;
  }
  .ember {
    position: absolute;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--ember);
    box-shadow: 0 0 6px 2px rgba(255,107,26,0.8);
    animation: floatUp linear infinite;
    opacity: 0;
  }
  @keyframes floatUp {
    0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.6; }
    100% { transform: translateY(-20vh) translateX(var(--drift)); opacity: 0; }
  }

  /* Sunset glow */
  .sunset-glow {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(255,160,30,0.35) 0%, rgba(200,80,10,0.15) 40%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    animation: pulseGlow 4s ease-in-out infinite alternate;
  }
  @keyframes pulseGlow {
    from { opacity: 0.7; transform: translateX(-50%) scaleX(1); }
    to   { opacity: 1;   transform: translateX(-50%) scaleX(1.15); }
  }

  /* Thai flag corner */
  .flag-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 200px; height: 180px;
    background: linear-gradient(135deg, rgba(0,50,150,0.6) 0%, rgba(200,0,0,0.4) 50%, transparent 100%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 2;
  }

  /* Stars row */
  .stars-row {
    display: flex; gap: 10px; margin-top: 40px; z-index: 5;
    animation: fadeDown 0.8s ease both;
  }
  .star {
    font-size: 22px; color: var(--gold);
    text-shadow: 0 0 12px var(--gold-light);
    animation: twinkle 2s ease-in-out infinite alternate;
  }
  .star:nth-child(2) { animation-delay: 0.3s; margin-top: -5px; }
  .star:nth-child(3) { animation-delay: 0.6s; font-size: 28px; margin-top: -10px; }
  .star:nth-child(4) { animation-delay: 0.3s; margin-top: -5px;}
  .star:nth-child(5) { animation-delay: 0s; }
  @keyframes twinkle {
    from { text-shadow: 0 0 8px var(--gold); }
    to   { text-shadow: 0 0 20px var(--gold-light), 0 0 40px var(--gold); }
  }

  /* THE label */
  .the-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    letter-spacing: 14px;
    color: var(--gold);
    text-shadow: 0 0 20px var(--gold-dark);
    z-index: 5;
    margin-top: 4px;
    animation: fadeDown 0.9s ease 0.1s both;
  }

  /* LONG DRIVE */
  .main-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(80px, 16vw, 160px);
    line-height: 0.88;
    text-align: center;
    z-index: 5;
    background: linear-gradient(180deg, #FFFFFF 0%, #D0C8B8 50%, #A09070 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 24px rgba(0,0,0,0.8));
    letter-spacing: -2px;
    animation: fadeDown 1s ease 0.2s both;
    position: relative;
  }
  .main-title::after {
    content: 'LONG DRIVE';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,220,100,0.08) 0%, transparent 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* CHAMPIONSHIP banner */
  .champ-banner {
    position: relative; z-index: 5;
    border: 2px solid var(--gold);
    padding: 10px 40px;
    display: flex; align-items: center; gap: 16px;
    background: linear-gradient(90deg, transparent, rgba(212,160,23,0.12), transparent);
    animation: fadeDown 1s ease 0.35s both;
    box-shadow: 0 0 30px rgba(212,160,23,0.2), inset 0 0 20px rgba(212,160,23,0.05);
  }
  .champ-banner::before, .champ-banner::after {
    content: '';
    position: absolute;
    top: -1px; bottom: -1px;
    width: 40px;
    background: linear-gradient(90deg, var(--dark), transparent);
  }
  .champ-banner::before { left: 0; }
  .champ-banner::after  { right: 0; background: linear-gradient(-90deg, var(--dark), transparent); }
  .champ-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(28px, 5vw, 48px);
    letter-spacing: 8px;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212,160,23,0.5);
  }
  .champ-star { color: var(--gold); font-size: 20px; }

  /* Presented by */
  .presented-by {
    z-index: 5;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    margin-top: 12px;
    animation: fadeDown 1s ease 0.5s both;
  }
  .presented-label {
    font-size: 13px; letter-spacing: 6px;
    color: rgba(245,240,232,0.6);
    text-transform: uppercase;
  }
  .presenter-name {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(26px, 4vw, 38px);
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    position: relative;
  }
  .presenter-name::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }

  /* Silhouette golfer (CSS art) */
  .golfer-section {
    position: relative; z-index: 4;
    width: 100%; display: flex; justify-content: center;
    padding: 4% 0;
  }
  .golfer-img {
    width: min(680px, 90vw);
    filter: drop-shadow(-10px 0 40px rgba(255,160,30,0.5)) brightness(0.9);
    animation: fadeLeft 1.2s ease 0.6s both;
  }

  /* Tagline */
  .tagline-block {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-30%);
    z-index: 6;
    text-align: left;
    animation: fadeRight 1.2s ease 0.7s both;
  }
  .tagline-line {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1;
    color: var(--gold-light);
    text-shadow: 2px 2px 0 var(--gold-dark), 0 0 30px rgba(240,192,64,0.4);
    letter-spacing: 2px;
  }
  .tagline-line.white {
    color: var(--white);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.6), 0 0 20px rgba(255,255,255,0.1);
  }

  /* Date & venue */
  .date-section {
    width: 100%; z-index: 6;
    display: flex; flex-direction: column; align-items: center;
    padding: 20px 20px 50px;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 100%);
    animation: fadeUp 1s ease 0.9s both;
  }
  .date-row {
    display: flex; align-items: center; gap: 18px;
  }
  .red-star { color: var(--red); font-size: 20px; }
  .date-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(42px, 8vw, 80px);
    background: linear-gradient(180deg, #FFFFFF 0%, #B0A080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.8));
  }
  .venue-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(24px, 4vw, 40px);
    color: var(--white);
    letter-spacing: 6px;
    text-align: center;
    margin-top: 4px;
  }
  .venue-at {
    color: rgba(245,240,232,0.5); font-size: 14px; letter-spacing: 3px;
    margin: 6px 0 2px;
  }
  .venue-sub {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(16px, 3vw, 26px);
    color: var(--gold);
    letter-spacing: 5px;
    text-align: center;
  }

  /* Players Club badge */
  .badge-wrap {
    position: absolute;
    bottom: 110px; left: 24px;
    z-index: 7;
    animation: fadeUp 1.2s ease 1s both;
  }
  .badge {
    width: 90px;
    background: var(--white);
    clip-path: polygon(50% 0%, 95% 15%, 100% 50%, 95% 85%, 50% 100%, 5% 85%, 0% 50%, 5% 15%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 18px 10px;
    text-align: center;
    box-shadow: 0 0 20px rgba(212,160,23,0.3);
  }
  .badge-title { font-size: 7px; letter-spacing: 2px; color: #333; font-weight: 700; text-transform: uppercase; }
  .badge-name { font-family: 'Playfair Display', serif; font-style: italic; font-size: 12px; color: #222; line-height: 1.1; }
  .badge-est { font-size: 7px; color: #555; letter-spacing: 1px; margin-top: 3px; }

  /* ── INFO SECTION ── */
  .info-section {
    background: linear-gradient(180deg, #0A0A0A 0%, #111005 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .info-section::before {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
      90deg,
      transparent, transparent 40px,
      rgba(212,160,23,0.015) 40px, rgba(212,160,23,0.015) 41px
    );
  }
  .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px; margin: 0 auto 60px;
    position: relative; z-index: 1;
  }
  .info-card {
    border: 1px solid rgba(212,160,23,0.3);
    padding: 30px 20px;
    background: rgba(212,160,23,0.04);
    transition: transform 0.3s, border-color 0.3s;
  }
  .info-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    background: rgba(212,160,23,0.08);
  }
  .card-icon { font-size: 36px; margin-bottom: 12px; }
  .card-label {
    font-size: 11px; letter-spacing: 5px; color: var(--gold);
    text-transform: uppercase; margin-bottom: 8px;
  }
  .card-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px; color: var(--white); letter-spacing: 2px;
  }
  .card-sub { font-size: 17px; color: rgba(245,240,232,0.5); margin-top: 4px; }

  /* CTA */
  .cta-wrap { position: relative; z-index: 1; }
  .cta-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: 6px; color: var(--white); margin-bottom: 8px;
  }
  .cta-sub { color: rgba(245,240,232,0.55); font-size: 14px; letter-spacing: 3px; margin-bottom: 36px; }

  nav .btn-register { width: 100%; }
  .btn-register {
    display: inline-block; text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px; letter-spacing: 6px;
    color: var(--dark);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    padding: 18px 60px;
    border: none; cursor: pointer;
    position: relative; overflow: hidden;
    text-decoration: none;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    transition: filter 0.3s, transform 0.2s;
    box-shadow: 0 8px 30px rgba(212,160,23,0.4);
  }
  .btn-register::before {
    content: '';
    position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-20deg);
    transition: left 0.5s;
  }
  .btn-register:hover::before { left: 160%; }
  .btn-register:hover { filter: brightness(1.15); transform: scale(1.03); }

  .divider {
    width: 200px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 50px auto;
  }

  .sponsor { width: 100%; max-width: 1200px; margin: 0 auto; padding: 20px; }
  .sponsor ul { display: grid; gap: 15px; grid-template-columns: repeat(7,1fr); }
  .sponsor li { list-style: none;}
  .sponsor figure { padding: 7px; border-radius: 10px; border: 1px solid #392306}
  .sponsor li img { border-radius: 4px; display: block; }
  
  @media(max-width:676px){   .sponsor ul { grid-template-columns: repeat(3,1fr);  } } 

  /* Footer */
  footer {
    background: #050505;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid rgba(212,160,23,0.2);
  }
  .footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px; letter-spacing: 8px;
    color: var(--gold); opacity: 0.7; margin-bottom: 8px;
  }
  .footer-text { font-size: 12px; color: rgba(245,240,232,0.3); letter-spacing: 2px; }

  /* Animations */
  @keyframes fadeDown  { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes fadeUp    { from { opacity: 0; transform: translateY(30px);  } to { opacity: 1; transform: translateY(0); } }
  @keyframes fadeLeft  { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
  @keyframes fadeRight { from { opacity: 0; transform: translateX(40px);  } to { opacity: 1; transform: translateX(0); } }

  /* Scroll reveal */
  .reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
  .reveal.visible { opacity: 1; transform: none; }