:root {
  --primary-color: #00bcd4;
  --primary-dark: #006064;
  --accent-color: #e91e63;
  --text-main: #37474f;
  --text-light: #546e7a;
  --bg-gradient-start: #e0f7fa;
  --bg-gradient-end: #e1bee7;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.8);
  --shadow-light: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite; /* Fallback animation */
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); /* Simpler ice theme preferable */
  min-height: 100vh;
  line-height: 1.6;
}

/* Background Animation */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
  opacity: 0.6;
}

a {
  text-decoration: none;
  color: var(--primary-dark);
  transition: color 0.3s;
}

a:hover {
  color: var(--accent-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-light);
  padding: 30px;
  transition: transform 0.3s ease;
}

/* Header */
.main-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 20px;
  margin-bottom: 0;
}

.header-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.hero-image-container {
  margin-top: 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Section Titles */
.section-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--primary-color);
  display: inline-block;
  padding-bottom: 5px;
  color: var(--primary-dark);
}

.highlight {
  background: rgba(255, 255, 255, 0.8);
  border-left: 5px solid var(--accent-color);
  padding-left: 20px !important;
}

/* News Section */
.news-content {
  display: grid;
  gap: 20px;
}

.news-item h3 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 5px;
}

.medal-list {
  display: flex;
  gap: 20px;
  margin: 10px 0;
}

.medal-icon {
  font-size: 1.5rem;
}

.representatives {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.schedule {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.4);
  padding: 15px;
  border-radius: 10px;
}

/* Technique Grid (Spin & Jump) */
.technique-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.technique-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.technique-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.color-yellow { border-top: 4px solid #ffd700; }
.color-green { border-top: 4px solid #4caf50; }
.color-blue { border-top: 4px solid #2196f3; }
.color-pink { border-top: 4px solid #e91e63; }

.tech-image img {
  border-radius: 8px;
  margin-bottom: 10px;
}

.tech-label {
  font-weight: bold;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mini-icon {
  width: 16px;
  height: 16px;
}

/* 2 Column Layout for Steps & Info */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .grid-2-col {
    grid-template-columns: 1fr;
  }
}

/* Steps */
.step-list {
  list-style: none;
}
.step-list li {
  margin: 10px 0;
  padding: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 8px;
}

/* Nav List */
.nav-list {
  list-style: none;
}

.nav-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.nav-list a {
  display: flex;
  flex-direction: column;
}

.nav-list .desc {
  font-size: 0.85rem;
  color: var(--text-light);
}

.sub-item {
  padding-left: 30px;
}

/* Players Grid */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.player-group ul {
  list-style: none;
  background: rgba(255,255,255,0.5);
  padding: 15px;
  border-radius: 10px;
}

.player-group li {
  margin-bottom: 8px;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 4px;
}
.player-group li:last-child {
  border: none;
}

/* Footer */
.main-footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.footer-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary-dark);
  color: white;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s, background 0.2s;
}

.footer-btn:hover {
  transform: scale(1.05);
  background: var(--primary-color);
  color: white;
}

.footer-btn.highlight {
  background: var(--accent-color);
}

.event-info {
  background: rgba(255,255,255,0.8);
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
}

.ads-area {
  margin-top: 20px;
  opacity: 0.8;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.section-header .section-title {
    margin-bottom: 0;
    border: none;
}

.background-animation {
    background: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
    background: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
}
