/* 全局样式 */
:root {
  --primary-color: #f93815;
  --secondary-color: #ffb700;
  --dark-gold: #845e00;
  --light-gold: #ffd666;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  font-family: 'GameFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #000;
  overflow-x: hidden;
  color: #fff;
}

/* 常用布局类 */
.fixed {
  position: fixed;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-col {
  flex-direction: column;
}

.text-center {
  text-align: center;
}

.z-50 {
  z-index: 50;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* 常用间距类 */
.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* 常用颜色类 */
.text-white {
  color: #fff;
}

.text-yellow-400 {
  color: #facc15;
}

.text-gray-400 {
  color: #9ca3af;
}

.bg-black {
  background-color: #000;
}

.bg-opacity-70 {
  background-color: rgba(0, 0, 0, 0.7);
}

.bg-opacity-80 {
  background-color: rgba(0, 0, 0, 0.8);
}

.bg-opacity-90 {
  background-color: rgba(0, 0, 0, 0.9);
}

.border-yellow-600 {
  border-color: #ca8a04;
}

/* 常用尺寸类 */
.w-full {
  width: 100%;
}

.h-16 {
  height: 4rem;
}

.w-16 {
  width: 4rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.rounded-full {
  border-radius: 9999px;
}

.border-4 {
  border-width: 4px;
}

.border-t-transparent {
  border-top-color: transparent;
}

/* 动画类 */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* 页面主体样式 */
.landing-page {
  min-height: 100vh;
  background: #000;
  background-size: cover;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  flex: 1;
}

.header-placeholder {
  height: 5rem;
}

/* 通用按钮样式 */
.game-btn {
  position: relative;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: bold;
  color: white;
  transition: all 0.3s;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--dark-gold) 100%);
  border: 2px solid var(--light-gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.game-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.9);
}

.game-btn:active {
  transform: scale(0.95);
}

/* 媒体查询 */
@media (max-width: 768px) {
  .header-placeholder {
    height: 4rem;
  }
} 