:root {
  --deep: #0a0e1a;
  --ocean: #0c1929;
  --water-1: #00b4d8;
  --water-2: #0077b6;
  --water-3: #023e8a;
  --accent: #48cae4;
  --foam: #caf0f8;
  --gold: #f0a500;
  --white: #f0f4f8;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--water-2) var(--deep); }
body { font-family: 'Zen Kaku Gothic New', sans-serif; background: var(--deep); color: var(--white); overflow-x: hidden; line-height: 1.8; }

#water-bg { position: fixed; inset: 0; z-index: 0; opacity: 0.4; }

/* NAV */
nav { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 0.7rem 2rem; display: flex; justify-content: space-between; align-items: center; backdrop-filter: blur(20px); background: rgba(10,14,26,0.7); border-bottom: 1px solid var(--glass-border); transition: all 0.4s; }
nav.scrolled { padding: 0.5rem 2rem; background: rgba(10,14,26,0.92); }

.nav-logo { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.nav-logo-img { height: 42px; border-radius: 8px; transition: transform 0.3s; }
.nav-logo:hover .nav-logo-img { transform: scale(1.05); }
.nav-logo-text { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 1.5rem; letter-spacing: 6px; background: linear-gradient(135deg, var(--water-1), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-logo-text span { font-weight: 300; font-size: 0.6rem; letter-spacing: 2px; display: block; -webkit-text-fill-color: rgba(202,240,248,0.5); background: none; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(240,244,248,0.7); text-decoration: none; font-size: 0.85rem; font-weight: 500; letter-spacing: 1px; position: relative; transition: color 0.3s; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--water-1); transition: width 0.3s; }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.nav-hamburger span { width: 28px; height: 2px; background: var(--white); transition: 0.3s; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6rem 2rem 2rem; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,180,216,0.12), transparent), radial-gradient(ellipse 50% 50% at 80% 20%, rgba(72,202,228,0.08), transparent), radial-gradient(ellipse 60% 40% at 20% 80%, rgba(2,62,138,0.15), transparent); z-index: 1; }

.water-lines { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.water-lines .line { position: absolute; width: 200%; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,180,216,0.3), transparent); animation: waveLine 8s ease-in-out infinite; }
.water-lines .line:nth-child(1) { top: 20%; animation-delay: 0s; }
.water-lines .line:nth-child(2) { top: 35%; animation-delay: 1.5s; opacity: 0.5; }
.water-lines .line:nth-child(3) { top: 50%; animation-delay: 3s; }
.water-lines .line:nth-child(4) { top: 65%; animation-delay: 4.5s; opacity: 0.5; }
.water-lines .line:nth-child(5) { top: 80%; animation-delay: 6s; }
@keyframes waveLine { 0%, 100% { transform: translateX(-25%) scaleY(1); } 50% { transform: translateX(-15%) scaleY(2); } }

.bubbles { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.bubble { position: absolute; border-radius: 50%; border: 1px solid rgba(72,202,228,0.2); animation: float 12s ease-in-out infinite; }
.bubble:nth-child(1) { width: 80px; height: 80px; left: 10%; bottom: -80px; animation-delay: 0s; animation-duration: 14s; }
.bubble:nth-child(2) { width: 40px; height: 40px; left: 30%; bottom: -40px; animation-delay: 2s; animation-duration: 10s; }
.bubble:nth-child(3) { width: 60px; height: 60px; left: 55%; bottom: -60px; animation-delay: 4s; animation-duration: 16s; }
.bubble:nth-child(4) { width: 30px; height: 30px; left: 75%; bottom: -30px; animation-delay: 1s; animation-duration: 11s; }
.bubble:nth-child(5) { width: 50px; height: 50px; left: 90%; bottom: -50px; animation-delay: 3s; animation-duration: 13s; }
@keyframes float { 0% { transform: translateY(0) scale(1); opacity: 0; } 10% { opacity: 0.6; } 90% { opacity: 0; } 100% { transform: translateY(-100vh) scale(0.5); opacity: 0; } }

.hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero-logo { width: clamp(180px, 30vw, 320px); border-radius: 16px; box-shadow: 0 0 60px rgba(0,180,216,0.3), 0 4px 30px rgba(0,0,0,0.4); margin-bottom: 1.5rem; animation: fadeInUp 1s ease-out 0.3s both; }

.hero-badge { display: inline-block; padding: 0.4rem 1.5rem; border: 1px solid rgba(0,180,216,0.4); border-radius: 50px; font-size: 0.75rem; letter-spacing: 3px; color: var(--accent); margin-bottom: 1.5rem; animation: fadeInUp 1s ease-out 0.5s both; }

.hero h1 { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: clamp(3.5rem, 9vw, 8rem); letter-spacing: 12px; line-height: 1; margin-bottom: 0.5rem; background: linear-gradient(180deg, #ffffff 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: fadeInUp 1s ease-out 0.6s both; }

.hero-subtitle { font-size: clamp(0.9rem, 2vw, 1.1rem); color: rgba(240,244,248,0.5); letter-spacing: 4px; margin-bottom: 0.8rem; animation: fadeInUp 1s ease-out 0.8s both; }

.hero-meaning { font-family: 'Outfit', sans-serif; font-size: clamp(0.8rem, 1.5vw, 1rem); letter-spacing: 3px; color: var(--accent); margin-bottom: 2rem; animation: fadeInUp 1s ease-out 1s both; }
.hero-meaning span { opacity: 0.5; }

.hero-desc { font-size: 1rem; color: rgba(240,244,248,0.6); max-width: 600px; margin: 0 auto 3rem; line-height: 2; animation: fadeInUp 1s ease-out 1.1s both; }

.hero-cta { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; animation: fadeInUp 1s ease-out 1.3s both; }

.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2.5rem; border-radius: 60px; text-decoration: none; font-weight: 700; font-size: 0.9rem; letter-spacing: 2px; transition: all 0.4s; position: relative; overflow: hidden; }
.btn-primary { background: linear-gradient(135deg, var(--water-1), var(--water-2)); color: var(--white); box-shadow: 0 0 40px rgba(0,180,216,0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 60px rgba(0,180,216,0.5); }
.btn-outline { border: 1px solid rgba(255,255,255,0.2); color: var(--white); background: var(--glass); backdrop-filter: blur(10px); }
.btn-outline:hover { border-color: var(--water-1); background: rgba(0,180,216,0.1); transform: translateY(-3px); }

.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; animation: fadeInUp 1s ease-out 1.8s both; }
.scroll-indicator span { font-size: 0.65rem; letter-spacing: 3px; color: rgba(240,244,248,0.3); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(180deg, var(--water-1), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; transform: scaleY(0.5); } 50% { opacity: 1; transform: scaleY(1); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* SECTIONS */
section { position: relative; z-index: 1; }
.section-container { max-width: 1100px; margin: 0 auto; padding: 6rem 2rem; }
.section-label { font-family: 'Outfit', sans-serif; font-size: 0.7rem; letter-spacing: 5px; color: var(--water-1); text-transform: uppercase; margin-bottom: 1rem; }
.section-title { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; line-height: 1.2; }
.section-title .gradient { background: linear-gradient(135deg, var(--water-1), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ABOUT */
#about { background: linear-gradient(180deg, var(--deep), var(--ocean)); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }
.about-visual { position: relative; }
.about-card-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.about-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 20px; padding: 2rem; backdrop-filter: blur(20px); transition: transform 0.6s, border-color 0.4s; }
.about-card:hover { transform: translateY(-8px); border-color: rgba(0,180,216,0.3); }
.about-card .icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1rem; }
.about-card:nth-child(1) .icon { background: linear-gradient(135deg, var(--water-1), var(--water-2)); }
.about-card:nth-child(2) .icon { background: linear-gradient(135deg, var(--gold), #e09200); }
.about-card:nth-child(3) .icon { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.about-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.about-card p { font-size: 0.85rem; color: rgba(240,244,248,0.5); line-height: 1.7; }

.info-table { margin-top: 2rem; }
.info-row { display: flex; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.info-row:last-child { border: none; }
.info-label { min-width: 120px; font-size: 0.8rem; color: var(--accent); letter-spacing: 1px; font-weight: 700; }
.info-value { font-size: 0.95rem; color: rgba(240,244,248,0.8); }

/* STATS */
.stats-section { background: linear-gradient(180deg, var(--ocean), var(--deep)); padding: 4rem 0; }
.stats-grid { max-width: 1100px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-card { text-align: center; padding: 2.5rem 1.5rem; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 20px; backdrop-filter: blur(10px); transition: transform 0.4s, border-color 0.4s; }
.stat-card:hover { transform: translateY(-5px); border-color: rgba(0,180,216,0.3); }
.stat-number { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: clamp(2.5rem, 4vw, 3.5rem); background: linear-gradient(135deg, var(--water-1), var(--foam)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat-unit { font-family: 'Outfit', sans-serif; font-weight: 300; font-size: 1rem; }
.stat-label { margin-top: 0.5rem; font-size: 0.8rem; color: rgba(240,244,248,0.5); letter-spacing: 1px; }

/* TOURNAMENT */
#tournament { background: var(--deep); }
.tournament-content { margin-top: 3rem; }
.tournament-block { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 20px; padding: 2.5rem; backdrop-filter: blur(10px); margin-bottom: 2rem; }
.tournament-block h3 { font-size: 1.2rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.8rem; }
.tournament-block h3 .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-upcoming { background: var(--water-1); box-shadow: 0 0 10px var(--water-1); }
.dot-record { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.result-item { display: flex; align-items: center; gap: 1.5rem; padding: 1.2rem 1.5rem; background: rgba(255,255,255,0.02); border-radius: 12px; border: 1px solid rgba(255,255,255,0.04); transition: all 0.3s; }
.result-item:hover { background: rgba(0,180,216,0.05); border-color: rgba(0,180,216,0.2); }
.result-date { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.8rem; color: var(--accent); white-space: nowrap; min-width: 100px; }
.result-name { flex: 1; font-size: 0.95rem; }
.result-medal { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--gold); font-weight: 700; white-space: nowrap; }
.empty-state { text-align: center; padding: 3rem; color: rgba(240,244,248,0.3); font-size: 0.9rem; }

/* TERMS */
#terms { background: linear-gradient(180deg, var(--deep), var(--ocean)); }
.terms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.term-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 20px; padding: 2rem; backdrop-filter: blur(10px); transition: all 0.4s; position: relative; overflow: hidden; }
.term-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--water-1), var(--accent)); opacity: 0; transition: opacity 0.4s; }
.term-card:hover::before { opacity: 1; }
.term-card:hover { transform: translateY(-4px); border-color: rgba(0,180,216,0.2); }
.term-card .term-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.term-card h4 { font-size: 1rem; margin-bottom: 0.8rem; color: var(--white); }
.term-card p, .term-card ul { font-size: 0.85rem; color: rgba(240,244,248,0.6); line-height: 1.9; }
.term-card ul { list-style: none; padding: 0; }
.term-card ul li { padding: 0.3rem 0; padding-left: 1.2rem; position: relative; }
.term-card ul li::before { content: ''; position: absolute; left: 0; top: 0.85rem; width: 5px; height: 5px; border-radius: 50%; background: var(--water-1); }

/* JOIN */
#join { background: var(--ocean); }
.join-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.join-block { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 20px; padding: 2.5rem; backdrop-filter: blur(10px); }
.join-block h3 { font-size: 1.2rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.join-block h3 .badge { font-size: 0.65rem; padding: 0.2rem 0.8rem; border-radius: 20px; background: rgba(0,180,216,0.15); color: var(--accent); letter-spacing: 1px; }
.join-list { list-style: none; padding: 0; }
.join-list li { padding: 0.6rem 0; font-size: 0.9rem; color: rgba(240,244,248,0.7); display: flex; gap: 0.8rem; align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,0.04); }
.join-list li:last-child { border: none; }
.join-list li .num { font-family: 'Outfit', sans-serif; font-weight: 800; color: var(--water-1); font-size: 0.8rem; min-width: 24px; }
.fee-highlight { display: flex; align-items: baseline; gap: 0.5rem; margin: 1.5rem 0; padding: 1.5rem; background: rgba(0,180,216,0.08); border-radius: 16px; border: 1px solid rgba(0,180,216,0.15); }
.fee-amount { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 2.5rem; color: var(--water-1); }
.fee-unit { font-size: 0.9rem; color: rgba(240,244,248,0.5); }
.fee-note { font-size: 0.8rem; color: rgba(240,244,248,0.4); margin-top: 0.5rem; }

/* ENTRY */
#entry { background: linear-gradient(180deg, var(--ocean), var(--deep)); }
.entry-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.entry-box { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 20px; padding: 2rem; backdrop-filter: blur(10px); }
.entry-box h3 { font-size: 1.1rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.field-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.field-list li { font-size: 0.9rem; color: rgba(240,244,248,0.7); padding: 0.5rem 0.8rem; background: rgba(255,255,255,0.02); border-radius: 8px; display: flex; align-items: center; gap: 0.6rem; }
.field-list li .bullet { width: 6px; height: 6px; border-radius: 50%; background: var(--water-1); flex-shrink: 0; }
.entry-note { margin-top: 1.5rem; padding: 1.2rem; background: rgba(240,165,0,0.08); border-radius: 12px; border: 1px solid rgba(240,165,0,0.15); font-size: 0.8rem; color: rgba(240,244,248,0.6); line-height: 1.8; }

/* CTA */
.cta-section { background: linear-gradient(180deg, var(--deep), var(--ocean)); text-align: center; padding: 6rem 2rem; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0,180,216,0.1), transparent); }
.cta-content { position: relative; z-index: 1; }
.cta-logo { width: 120px; border-radius: 12px; box-shadow: 0 0 40px rgba(0,180,216,0.25); margin-bottom: 2rem; }
.cta-content h2 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta-content p { font-size: 1rem; color: rgba(240,244,248,0.5); margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.social-link { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.5rem; border-radius: 50px; border: 1px solid rgba(255,255,255,0.1); background: var(--glass); color: var(--white); text-decoration: none; font-size: 0.85rem; transition: all 0.3s; backdrop-filter: blur(10px); }
.social-link:hover { border-color: var(--water-1); transform: translateY(-2px); }

/* FOOTER */
footer { background: var(--ocean); border-top: 1px solid var(--glass-border); padding: 3rem 2rem; text-align: center; }
.footer-logo-img { height: 50px; border-radius: 8px; opacity: 0.8; margin-bottom: 0.8rem; }
.footer-sub { font-size: 0.75rem; color: rgba(240,244,248,0.3); letter-spacing: 1px; margin-bottom: 2rem; }
.footer-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.footer-links a { color: rgba(240,244,248,0.5); text-decoration: none; font-size: 0.8rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.7rem; color: rgba(240,244,248,0.2); letter-spacing: 1px; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* LANE DIVIDER */
.lane-divider { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 2rem; opacity: 0.3; }
.lane-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--water-1); }
.lane-line { flex: 1; max-width: 200px; height: 1px; background: linear-gradient(90deg, transparent, var(--water-1), transparent); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .join-wrapper { grid-template-columns: 1fr; }
  .entry-columns { grid-template-columns: 1fr; }
  .terms-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; inset: 0; background: rgba(10,14,26,0.97); justify-content: center; align-items: center; gap: 2.5rem; z-index: 1000; }
  .nav-links.open a { font-size: 1.2rem; }
  .nav-hamburger { display: flex; }
  .hero h1 { letter-spacing: 6px; }
  .result-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-card { padding: 1.5rem 1rem; }
}