/* ===== JOJO'S BIZARRE BIRTHDAY - ULTIMATE STYLE ===== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Orbitron:wght@400;700;900&family=Noto+Sans+SC:wght@400;700;900&display=swap');

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  padding-bottom: env(safe-area-inset-bottom);

  font-family: 'Noto Sans SC', 'Cinzel', serif, sans-serif;
  background: #000;
  color: #00FF7F;
  cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text y="24" font-size="20">🌪️</text></svg>'), auto;
}

/* CSS Variables - Wamuu Purple Theme */
:root {
  --gold: #FFD700;
  --purple: #9370DB;
  --dark-purple: #4B0082;
  --black: #000000;
  --white: #FFFFFF;
  --red: #DC143C;
  --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.8);
  --shadow-purple: 0 0 20px rgba(147, 112, 219, 0.8);
  --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  --wind-gradient: linear-gradient(135deg, #00FF7F, #00FFFF);
}

/* AWAKEN Video Background */
.awaken-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.3;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--black), var(--dark-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-content {
  text-align: center;
  color: var(--gold);
}

.stand-arrow {
  font-size: 6rem;
  animation: pierce 2s infinite;
  margin-bottom: 2rem;
  text-shadow: var(--shadow-gold);
}

.loading-text {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: var(--text-shadow);
  letter-spacing: 3px;
}

.loading-bar {
  width: 300px;
  height: 8px;
  background: rgba(255, 215, 0, 0.2);
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid var(--gold);
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  width: 0%;
  animation: loading 3s ease-out forwards;
}

/* Main Content */
.main {
  min-height: 100dvh;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(75, 0, 130, 0.3) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
  backdrop-filter: blur(2px);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Safe areas and motion/accessibility */
.main { padding-top: calc(env(safe-area-inset-top) + 16px); }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@supports not (backdrop-filter: blur(2px)) {
  .main { backdrop-filter: none; }
}

/* Desktop optimization for large screens */
@media (min-width: 1200px) {
  .main {
    gap: 25px;
    padding: 30px;
    justify-content: center;
  }

  .title {
    font-size: 4.5rem;
    margin: 1.5rem 0;
  }

  .title-line1, .title-line2, .title-line3 {
    font-size: clamp(3rem, 6vw, 4.5rem);
  }

  .avatar-awakened, .avatar-placeholder {
    width: 250px;
    height: 250px;
  }

  .countdown-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  .countdown-container {
    gap: 0.8rem;
    max-width: 95%;
    padding: 0 5px;
    box-sizing: border-box;
    overflow: visible;
  }

  .countdown-item {
    min-width: 90px;
    max-width: 130px;
    padding: 1.5rem 0.5rem;
    flex: 1;
    box-sizing: border-box;
    overflow: visible;
    text-align: center;
  }

  .countdown-number {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.3rem;
  }

  .countdown-label {
    font-size: 1.1rem;
    line-height: 1;
    white-space: nowrap;
  }

  .countdown-separator {
    font-size: 1.8rem;
    margin: 0 0.2rem;
    flex-shrink: 0;
    line-height: 1;
  }

  .actions-section {
    gap: 30px;
    max-width: 800px;
  }

  .action-btn {
    min-height: 70px;
    padding: 25px 30px;
    font-size: 1.3rem;
  }

  .quote-container {
    max-width: 800px;
    padding: 3rem;
  }

  .quote-text {
    font-size: 1.6rem;
    line-height: 1.8;
  }

  .quote-author {
    font-size: 1.2rem;
  }
}

.hidden {
  display: none !important;
}

/* Header */
.header {
  text-align: center;
  padding: 4rem 2rem 2rem;
  position: relative;
}

.menacing-text {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--purple);
  text-shadow: var(--shadow-purple);
  animation: menacing 3s infinite;
  margin: 1rem 0;
  letter-spacing: 3px;
}

.title {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  text-align: center;
  margin: 2rem 0;
  perspective: 1000px;
}

.title-line1, .title-line2, .title-line3 {
  display: block;
  font-size: clamp(2.5rem, 7vw, 5rem);
  background: linear-gradient(45deg, #9370DB, #8A2BE2, #9370DB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.9));
  transform: rotateX(10deg);
  animation: titleGlow 4s infinite alternate;
  margin: 0.2rem 0;
}

.title-year {
  display: block;
  font-size: clamp(4rem, 10vw, 8rem);
  font-family: 'Orbitron', monospace;
  color: var(--gold);
  text-shadow: var(--shadow-gold);
  margin-top: 1rem;
  animation: yearPulse 2s infinite;
}

/* Avatar Section */
.avatar-section {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.avatar-container {
  position: relative;
  display: inline-block;
}

.avatar-awakened {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow-gold);
  object-fit: cover;
  animation: avatarFloat 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.avatar-awakened:hover {
  transform: scale(1.1) rotateY(15deg);
  box-shadow: 0 0 40px var(--gold);
}

.avatar-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow-gold);
  background: linear-gradient(135deg, var(--gold), var(--purple));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: avatarFloat 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.avatar-placeholder:hover {
  transform: scale(1.1) rotateY(15deg);
  box-shadow: 0 0 40px var(--gold);
}

.avatar-icon {
  font-size: 4rem;
  margin-bottom: 10px;
  animation: iconSpin 3s linear infinite;
}

.avatar-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.stand-aura {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 60%, var(--purple) 70%, transparent 80%);
  animation: auraRotate 4s linear infinite;
  opacity: 0.7;
}

.power-level {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  color: var(--red);
  text-shadow: var(--text-shadow);
  font-size: 1.2rem;
}

/* Countdown Section */
.countdown-section {
  text-align: center;
  padding: 3rem 2rem;
}

.countdown-title {
  font-family: 'Noto Sans SC', 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: var(--shadow-gold);
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: nowrap;
  padding: 0 15px;
  max-width: 700px;
  margin: 0 auto;
  overflow: visible;
}

.countdown-item {
  background: linear-gradient(135deg, var(--dark-purple), var(--black));
  border: 3px solid var(--gold);
  border-radius: 15px;
  padding: 1.2rem 0.8rem;
  min-width: 95px;
  max-width: 120px;
  flex: 1 1 auto;
  box-shadow: var(--shadow-gold);
  transform: perspective(500px) rotateX(10deg);
  transition: all 0.3s ease;
  text-align: center;
  overflow: visible;
}

.countdown-item:hover {
  transform: perspective(500px) rotateX(0deg) scale(1.05);
  box-shadow: 0 0 30px var(--gold);
}

.countdown-number {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: var(--text-shadow);
  display: block;
}

.countdown-label {
  font-size: 1rem;
  color: var(--purple);
  font-weight: 600;
  margin-top: 0.5rem;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: visible;
}

.countdown-separator {
  font-family: 'Orbitron', monospace;
  font-size: 2.2rem;
  font-weight: 900;
  color: #00FFFF;
  text-shadow: 0 0 10px #00FFFF, 2px 2px 4px rgba(0,0,0,0.9);
  margin: 0 0.2rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Action Buttons */
.actions-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
}

.action-btn {
  position: relative;
  background: linear-gradient(135deg, var(--gold), var(--purple));
  border: none;
  border-radius: 15px;
  padding: 20px;
  font-family: 'Noto Sans SC', 'Orbitron', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  overflow: hidden;
  width: 100%;
  min-height: 60px;
  box-shadow: 0 4px 15px rgba(0, 255, 127, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 127, 0.5);
  background: linear-gradient(135deg, #32CD32, #00FFFF);
}

.action-btn:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 2px 10px rgba(0, 255, 127, 0.4);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-aura {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.action-btn:hover .btn-aura {
  left: 100%;
}

/* Tooltip Styles */
.action-btn {
  position: relative;
}

.action-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--dark-purple), var(--black));
  color: var(--gold);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  max-width: 280px;
  white-space: normal;
  text-align: center;
  box-shadow: var(--shadow-gold);
  border: 2px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  font-family: 'Noto Sans SC', sans-serif;
  letter-spacing: 0.5px;
}

.action-btn::after {
  content: '';
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

.action-btn:hover::before,
.action-btn:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Stats Section */
.stats-section {
  padding: 3rem 2rem;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  background: linear-gradient(135deg, var(--dark-purple), var(--black));
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-gold);
  transition: all 0.3s ease;
  transform: perspective(500px) rotateX(5deg);
}

.stat-card:hover {
  transform: perspective(500px) rotateX(0deg) translateY(-10px);
  box-shadow: 0 0 25px var(--gold);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: var(--text-shadow);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--purple);
  font-weight: 600;
  margin-top: 0.5rem;
  letter-spacing: 1px;
}

/* Quote Section */
.quote-section {
  padding: 3rem 2rem;
  text-align: center;
}

.quote-container {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(75, 0, 130, 0.15), rgba(0, 0, 0, 0.9));
  border: 2px solid #9370DB;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(147, 112, 219, 0.2);
  position: relative;
}

.quote-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: windSwirl 3s ease-in-out infinite;
}

@keyframes windSwirl {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
}

.quote-text {
  font-size: 1.4rem;
  font-style: italic;
  color: #FFFFFF;
  margin: 1.5rem 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  line-height: 1.6;
  font-weight: 300;
}

.quote-author {
  font-family: 'Noto Sans SC', 'Orbitron', monospace;
  font-size: 1rem;
  color: #00FFFF;
  font-weight: 500;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.author-dash {
  font-size: 1.2rem;
  color: #00FF7F;
}

.author-name {
  text-shadow: 0 0 10px #00FFFF, 2px 2px 4px rgba(0,0,0,0.8);
}

/* Animations */
@keyframes pierce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes loading {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes menacing {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes titleGlow {
  0% { filter: brightness(1) saturate(1); }
  100% { filter: brightness(1.2) saturate(1.5); }
}

@keyframes yearPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes avatarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes iconSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Wamuu Wind Effects */
@keyframes windSwirl {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(90deg) scale(1.1); }
  50% { transform: rotate(180deg) scale(1); }
  75% { transform: rotate(270deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes windParticles {
  0% {
    transform: translateX(-100px) translateY(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100px) translateY(-20px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes windCut {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes windBarrier {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

@keyframes windRipple {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}

/* ===== MOBILE OPTIMIZATION ===== */

/* Mobile First Responsive Design */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .main {
    padding: 15px;
    gap: 25px;
  }

  .title {
    font-size: 2.2rem;
    margin: 15px 0;
    text-align: center;
  }

  .title-line1, .title-line2, .title-line3 {
    font-size: 1.8rem;
    display: block;
    margin: 5px 0;
  }

  .title-year {
    font-size: 1.4rem;
  }

  .avatar-awakened, .avatar-placeholder {
    width: 140px;
    height: 140px;
  }

  .power-level {
    font-size: 0.9rem;
    text-align: center;
  }

  .countdown-container {
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: center;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 8px;
    overflow: visible;
  }

  .countdown-item {
    min-width: 70px;
    max-width: 85px;
    padding: 10px 4px;
    border-radius: 12px;
    flex: 1 1 auto;
    overflow: visible;
  }

  .countdown-number {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .countdown-label {
    font-size: 0.85rem;
    margin-top: 4px;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  .countdown-separator {
    font-size: 1.4rem;
    margin: 0 3px;
    color: #00FF7F;
    flex-shrink: 0;
  }

  .actions-section {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 1.5rem;
  }

  .action-btn {
    width: 100%;
    padding: 18px;
    font-size: 1rem;
    min-height: 55px;
  }

  .action-btn::before {
    font-size: 0.85rem;
    max-width: 250px;
    padding: 10px 14px;
  }

  .quote-section {
    padding: 2rem 1rem;
  }

  .quote-container {
    padding: 1.5rem;
    max-width: 90%;
  }

  .quote-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .quote-text {
    font-size: 1.1rem;
    padding: 0 10px;
    text-align: center;
    line-height: 1.5;
    margin: 1rem 0;
  }

  .quote-author {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
  }

  .menacing-text {
    font-size: 1.3rem;
  }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
  .title {
    font-size: 2rem;
  }

  .title-line1, .title-line2, .title-line3 {
    font-size: 1.5rem;
  }

  .avatar-awakened, .avatar-placeholder {
    width: 120px;
    height: 120px;
  }

  .countdown-container {
    gap: 3px;
    justify-content: center;
    max-width: 350px;
    margin: 0 auto;
    flex-wrap: nowrap;
    overflow: visible;
  }

  .countdown-item {
    min-width: 55px;
    max-width: 65px;
    padding: 8px 2px;
    flex: 1 1 auto;
    overflow: visible;
    text-align: center;
  }

  .countdown-number {
    font-size: 1.6rem;
  }

  .countdown-separator {
    font-size: 1.1rem;
    margin: 0 1px;
    flex-shrink: 0;
  }

  .actions-section {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 1rem;
    max-width: 100%;
  }

  .action-btn {
    width: 100%;
    padding: 16px 12px;
    font-size: 0.95rem;
    min-height: 50px;
    margin: 0;
  }

  .action-btn::before {
    font-size: 0.8rem;
    max-width: 220px;
    padding: 8px 12px;
    bottom: 115%;
  }

  .action-btn::after {
    bottom: 105%;
  }

  .quote-text {
    font-size: 1rem;
    padding: 0 5px;
  }

  .quote-container {
    padding: 1.2rem;
  }
}

/* Ultra Small Mobile Devices (320px and below) */
@media (max-width: 320px) {
  .main {
    padding: 10px;
    gap: 20px;
  }

  .title {
    font-size: 1.8rem;
    margin: 10px 0;
  }

  .title-line1, .title-line2, .title-line3 {
    font-size: 1.3rem;
  }

  .title-year {
    font-size: 1rem;
  }

  .avatar-awakened, .avatar-placeholder {
    width: 100px;
    height: 100px;
  }

  .actions-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0.8rem;
    max-width: 100%;
  }

  .action-btn {
    width: 100%;
    padding: 12px 6px;
    font-size: 0.85rem;
    min-height: 45px;
    border-radius: 12px;
    line-height: 1.2;
  }

  .action-btn::before {
    font-size: 0.75rem;
    max-width: 200px;
    padding: 6px 10px;
    bottom: 120%;
  }

  .action-btn::after {
    bottom: 110%;
    border-top-width: 6px;
    border-left-width: 6px;
    border-right-width: 6px;
  }

  .btn-text {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .quote-section {
    padding: 1.5rem 0.8rem;
  }

  .quote-container {
    padding: 1rem;
  }

  .quote-text {
    font-size: 0.9rem;
    padding: 0 5px;
    line-height: 1.4;
  }

  .quote-author {
    font-size: 0.8rem;
  }

  .menacing-text {
    font-size: 1.1rem;
  }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
  .action-btn {
    padding: 22px 20px;
    font-size: 1.1rem;
    min-height: 64px;
    border-radius: 12px;
    -webkit-tap-highlight-color: transparent;
  }

  .action-btn:active {
    transform: scale(0.96);
    background: linear-gradient(135deg, #228B22, #00CED1);
  }

  /* 觸摸設備上的 Tooltip 處理 */
  .action-btn::before,
  .action-btn::after {
    display: none; /* 在觸摸設備上隱藏 tooltip */
  }

  .actions-section {
    gap: 20px;
  }

  /* Increase touch targets */
  .countdown-item {
    padding: 14px 10px;
    min-width: 75px;
    border-width: 2px;
  }

  .countdown-number {
    font-size: 2rem;
  }

  /* Better spacing for touch */
  .main {
    gap: 30px;
  }
}

@keyframes auraRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Special Effects */
.menacing-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(138, 43, 226, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.menacing-symbol {
  position: absolute;
  font-family: 'Orbitron', monospace;
  font-size: 4rem;
  font-weight: 900;
  color: var(--purple);
  text-shadow: 0 0 20px var(--purple);
  animation: menacingFloat 2s infinite ease-in-out;
}

.menacing-symbol:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.menacing-symbol:nth-child(2) { top: 20%; right: 15%; animation-delay: 0.3s; }
.menacing-symbol:nth-child(3) { top: 60%; left: 5%; animation-delay: 0.6s; }
.menacing-symbol:nth-child(4) { top: 70%; right: 10%; animation-delay: 0.9s; }
.menacing-symbol:nth-child(5) { bottom: 20%; left: 20%; animation-delay: 1.2s; }
.menacing-symbol:nth-child(6) { bottom: 10%; right: 25%; animation-delay: 1.5s; }

.stand-effect {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  text-align: center;
}

.stand-circle {
  width: 300px;
  height: 300px;
  border: 5px solid var(--gold);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 60%, var(--purple) 70%, transparent 80%);
  animation: standSummon 2s ease-out;
  margin: 0 auto 2rem;
}

.stand-text {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: var(--shadow-gold);
  animation: textAppear 1s ease-out 0.5s both;
}

.ora-effect {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1002;
  pointer-events: none;
}

.ora-text {
  position: absolute;
  font-family: 'Orbitron', monospace;
  font-size: 6rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 4px 4px 8px var(--black);
  animation: oraAttack 0.5s ease-out forwards;
}

.ora-text:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.ora-text:nth-child(2) { top: 30%; right: 20%; animation-delay: 0.1s; }
.ora-text:nth-child(3) { top: 50%; left: 30%; animation-delay: 0.2s; }
.ora-text:nth-child(4) { top: 60%; right: 10%; animation-delay: 0.3s; }
.ora-text:nth-child(5) { top: 80%; left: 50%; animation-delay: 0.4s; }

.tbc-effect {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--black) 0%, var(--dark-purple) 50%, var(--black) 100%);
  z-index: 1003;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.tbc-arrow {
  font-size: 8rem;
  color: var(--gold);
  text-shadow: var(--shadow-gold);
  animation: arrowMove 2s ease-in-out infinite;
  margin-bottom: 2rem;
}

.tbc-text {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: var(--shadow-gold);
  letter-spacing: 5px;
  animation: textGlow 2s ease-in-out infinite alternate;
}

/* Special Effect Animations */
@keyframes menacingFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
  50% { transform: translateY(-20px) rotate(5deg); opacity: 1; }
}

@keyframes standSummon {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0.8;
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

@keyframes textAppear {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes oraAttack {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-45deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.8) rotate(45deg);
  }
}

@keyframes arrowMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(50px); }
}

@keyframes textGlow {
  0% {
    text-shadow: 0 0 10px var(--gold);
    filter: brightness(1);
  }
  100% {
    text-shadow: 0 0 30px var(--gold), 0 0 50px var(--gold);
    filter: brightness(1.5);
  }
}


