/* Arcade Index Page Styles */

.arcade-page .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.arcade-header {
  text-align: center;
  margin-bottom: 3rem;
}

.arcade-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-top: 1rem;
  font-weight: 500;
}

/* EP Display Section */
.ep-display-section {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.ep-card {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 1.5rem 3rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ep-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.ep-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
}

.ep-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ep-content {
  display: flex;
  flex-direction: column;
}

.ep-label {
  font-size: 0.9rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.ep-value {
  font-size: 3rem;
  font-weight: 800;
  color: #333;
  line-height: 1;
  background: linear-gradient(135deg, #FF8C00 0%, #FF4500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.ep-unit {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FF8C00;
  margin-left: 0.5rem;
}

/* Mini Game Cards */
.section-title {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #FF8C00;
  border-radius: 2px;
  margin: 1rem auto 0;
}

.arcade-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  gap: 2rem;
  justify-content: center;
}

.arcade-game-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
}

.arcade-game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.arcade-game-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.arcade-game-card:hover::before {
  opacity: 1;
}

.arcade-card-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFB75E 0%, #ED8F03 100%);
}

.arcade-card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.arcade-card-image img {
  width: 120px;
  height: 120px;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.arcade-game-card:hover .arcade-card-image img {
  transform: scale(1.1) rotate(5deg);
}

.arcade-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.arcade-card-content h3 {
  font-size: 1.4rem;
  color: #333;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.arcade-card-content p {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.arcade-desc {
  font-weight: normal !important;
  line-height: 1.6;
  margin-bottom: 1.5rem !important;
  flex-grow: 1;
}

.play-btn {
  display: block;
  text-align: center;
  background-color: #4CAF50;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.arcade-game-card:hover .play-btn {
  background-color: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(76, 175, 80, 0.4);
}

.arcade-game-card:active .play-btn {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(76, 175, 80, 0.3);
}

/* Disclaimer Section */
.arcade-disclaimer {
  margin-top: 4rem;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 12px;
  color: #666;
  font-size: 0.85rem;
  line-height: 1.6;
}

.arcade-disclaimer p {
  margin: 0 0 0.5rem 0;
}

.arcade-disclaimer p:last-child {
  margin-bottom: 0;
}

.arcade-disclaimer strong {
  color: #444;
}

.annotation {
  color: #FF8C00;
  margin-left: 0.2rem;
  font-size: 1.1em;
}