@font-face {
  font-family: 'RIDIBatang';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_twelve@1.0/RIDIBatang.woff') format('woff');
  font-display: swap;
}

:root {
  --primary-color: #2a2a2a;
  --secondary-color: #444;
  --background-color: #fdf6e3;
  --accent-color: #ff6b35;  /* Vibrant summer orange */
  --highlight-color: #ffa726; /* Summer amber */
  --light-pink: #ffab91; /* Warm coral */
  --light-yellow: #fff176; /* Bright summer sun */
  --light-blue: #42a5f5; /* Deep summer sky */
}

body {
  font-family: 'RIDIBatang', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--primary-color);
  background-color: var(--background-color);
  position: relative;
  overflow-x: hidden;
}

/* Subtle summer background pattern */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 171, 145, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 241, 118, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(66, 165, 245, 0.1) 0%, transparent 50%);
  background-size: 500px 500px, 300px 300px, 400px 400px;
  background-position: 0 0, 100px 100px, 200px 200px;
  pointer-events: none;
  opacity: 0.7;
  z-index: -1;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.page-title {
  font-size: 2rem;
  color: var(--primary-color);
  display: inline-block;
}

.page-title a {
  text-decoration: none;
  color: var(--accent-color);
}

.realtime-list {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.realtime-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.realtime-item:last-child {
  border-bottom: none;
}

.realtime-item:hover {
  background-color: #f9f9f9;
}

.realtime-rank {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-right: 1rem;
  width: 30px;
  text-align: center;
}

.realtime-keyword {
  font-size: 1.1rem;
  color: var(--primary-color);
  text-decoration: none;
  flex-grow: 1;
  transition: color 0.3s ease;
}

.realtime-keyword:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.page-footer {
  margin-top: 2rem;
  text-align: center;
}

.survey-link {
  display: inline-block;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  background-color: var(--accent-color);
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.survey-link:hover {
  background-color: var(--highlight-color);
}

.magam-tapa-section {
  margin-top: 2rem;
}

.magam-tapa-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.magam-tapa-link:hover {
  transform: translateY(-3px);
}

.magam-tapa-link>img {
  width: 50px;
  height: 50px;
  margin-right: 0.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.magam-tapa-link:hover>img {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

@media (max-width: 600px) {
  .container {
    padding: 1rem;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .realtime-item {
    padding: 0.75rem;
  }

  .realtime-rank {
    font-size: 1rem;
    width: 25px;
  }

  .realtime-keyword {
    font-size: 1rem;
  }
}