* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --christmas-red: #e63946;
  --christmas-green: #2a9d8f;
  --christmas-gold: #f4a261;
  --christmas-silver: #a8dadc;
  --itch-purple: #fa5c5c;
  --dark-bg: #0a0a0a;
  --darker-bg: #050505;
  --card-bg: rgba(20, 20, 20, 0.8);
  --text-light: #ffffff;
  --text-dim: #cccccc;
  --shadow-color: rgba(230, 57, 70, 0.3);
  --gradient-red: linear-gradient(135deg, #e63946, #ff6b6b);
  --gradient-green: linear-gradient(135deg, #2a9d8f, #4ecdc4);
  --gradient-gold: linear-gradient(135deg, #f4a261, #ffd166);
  --gradient-itch: linear-gradient(135deg, #fa5c5c, #ff6b6b);
}

body.christmas-theme {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(230, 57, 70, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(42, 157, 143, 0.05) 0%, transparent 20%);
}

#snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.snowflake {
  position: absolute;
  color: white;
  font-size: 1rem;
  opacity: 0.8;
  user-select: none;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--christmas-red);
  transition: all 0.4s ease;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.main-header.scrolled {
  padding: 10px 0;
  background: rgba(5, 5, 5, 0.98);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-placeholder {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-light);
  text-shadow: 0 0 15px rgba(230, 57, 70, 0.5);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-red);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link:hover {
  color: var(--christmas-red);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
}

.main-content {
  margin-top: 80px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(to right, var(--christmas-red), var(--christmas-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleGlow 3s infinite alternate;
}

@keyframes titleGlow {
  0% { text-shadow: 0 0 20px rgba(230, 57, 70, 0.3); }
  100% { text-shadow: 0 0 40px rgba(244, 162, 97, 0.5); }
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--christmas-silver);
  margin-bottom: 25px;
  letter-spacing: 2px;
}

.title-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.decoration-line {
  width: 100px;
  height: 3px;
  background: var(--gradient-red);
}

.decoration-icon {
  color: var(--christmas-gold);
  font-size: 1.5rem;
  animation: spin 4s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-section {
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  z-index: 2;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero-title-line {
  display: block;
  background: linear-gradient(to right, var(--christmas-red), var(--christmas-gold), var(--christmas-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textShine 3s infinite alternate;
}

@keyframes textShine {
  0% { filter: drop-shadow(0 0 10px rgba(230, 57, 70, 0.5)); }
  50% { filter: drop-shadow(0 0 20px rgba(244, 162, 97, 0.7)); }
  100% { filter: drop-shadow(0 0 15px rgba(42, 157, 143, 0.5)); }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-dim);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-red);
  color: white;
  border: 2px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(230, 57, 70, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--christmas-green);
}

.btn-secondary:hover {
  background: var(--christmas-green);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(42, 157, 143, 0.5);
}

.btn-itch {
  background: var(--gradient-itch);
  color: white;
  border: 2px solid transparent;
  margin-top: 15px;
}

.btn-itch:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(250, 92, 92, 0.5);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.christmas-tree {
  width: 300px;
  height: 400px;
  position: relative;
  animation: treeFloat 6s ease-in-out infinite;
}

@keyframes treeFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

.tree-layer {
  position: absolute;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 150px solid var(--christmas-green);
  bottom: 0;
  left: 50px;
  filter: drop-shadow(0 0 10px rgba(42, 157, 143, 0.5));
}

.tree-layer-1 {
  z-index: 1;
  animation: treeGlow1 4s infinite alternate;
}

.tree-layer-2 {
  bottom: 100px;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 120px solid var(--christmas-green);
  left: 70px;
  z-index: 2;
  animation: treeGlow2 3s infinite alternate;
}

.tree-layer-3 {
  bottom: 180px;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 90px solid var(--christmas-green);
  left: 90px;
  z-index: 3;
  animation: treeGlow3 2s infinite alternate;
}

@keyframes treeGlow1 {
  0% { filter: drop-shadow(0 0 10px rgba(42, 157, 143, 0.5)); }
  100% { filter: drop-shadow(0 0 25px rgba(42, 157, 143, 0.8)); }
}

@keyframes treeGlow2 {
  0% { filter: drop-shadow(0 0 8px rgba(42, 157, 143, 0.4)); }
  100% { filter: drop-shadow(0 0 20px rgba(42, 157, 143, 0.7)); }
}

@keyframes treeGlow3 {
  0% { filter: drop-shadow(0 0 6px rgba(42, 157, 143, 0.3)); }
  100% { filter: drop-shadow(0 0 15px rgba(42, 157, 143, 0.6)); }
}

.tree-star {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 60px;
  color: var(--christmas-gold);
  text-shadow: 0 0 30px var(--christmas-gold);
  animation: starTwinkle 2s infinite alternate;
  z-index: 4;
}

@keyframes starTwinkle {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scale(1.2); }
}

.tree-ornament {
  position: absolute;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  z-index: 5;
  animation: ornamentFloat 5s infinite ease-in-out;
}

.ornament-1 {
  background: var(--christmas-red);
  top: 30%;
  left: 40%;
  animation-delay: 0s;
}

.ornament-2 {
  background: var(--christmas-gold);
  top: 45%;
  right: 35%;
  animation-delay: 1s;
}

.ornament-3 {
  background: var(--christmas-silver);
  top: 60%;
  left: 45%;
  animation-delay: 2s;
}

.ornament-4 {
  background: var(--christmas-red);
  top: 55%;
  right: 45%;
  animation-delay: 3s;
}

.ornament-5 {
  background: var(--christmas-gold);
  top: 40%;
  left: 35%;
  animation-delay: 4s;
}

@keyframes ornamentFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.christmas-lights {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
}

.light {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  position: relative;
  animation: lightBlink 1.5s infinite alternate;
}

.light::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 15px;
  background: #555;
}

.light-1, .light-3, .light-5, .light-7, .light-9 {
  background: var(--christmas-red);
  box-shadow: 0 0 20px var(--christmas-red);
  animation-delay: 0s;
}

.light-2, .light-4, .light-6, .light-8, .light-10 {
  background: var(--christmas-green);
  box-shadow: 0 0 20px var(--christmas-green);
  animation-delay: 0.5s;
}

@keyframes lightBlink {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.ornament {
  position: fixed;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.floating-ornament-1 {
  background: var(--christmas-red);
  top: 20%;
  left: 5%;
  animation: float1 15s infinite linear;
}

.floating-ornament-2 {
  background: var(--christmas-green);
  top: 60%;
  right: 10%;
  animation: float2 18s infinite linear;
}

.floating-ornament-3 {
  background: var(--christmas-gold);
  top: 40%;
  left: 15%;
  animation: float3 20s infinite linear;
}

.floating-ornament-4 {
  background: var(--christmas-silver);
  top: 80%;
  right: 20%;
  animation: float4 22s infinite linear;
}

@keyframes float1 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-100vh) rotate(360deg); }
}

@keyframes float2 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-100vh) rotate(-360deg); }
}

@keyframes float3 {
  0% { transform: translateY(100vh) rotate(0deg); }
  100% { transform: translateY(-100vh) rotate(360deg); }
}

@keyframes float4 {
  0% { transform: translateY(100vh) rotate(0deg); }
  100% { transform: translateY(-100vh) rotate(-360deg); }
}

.game-section {
  background: rgba(5, 5, 5, 0.7);
  border-top: 2px solid var(--christmas-red);
  border-bottom: 2px solid var(--christmas-red);
}

.game-content {
  max-width: 900px;
  margin: 0 auto;
}

.game-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 25px;
}

.game-text strong {
  color: var(--christmas-red);
  font-weight: 700;
}

.itch-io-container {
  margin: 40px 0;
  padding: 30px;
  background: rgba(20, 20, 20, 0.9);
  border-radius: 15px;
  border: 2px solid var(--itch-purple);
  box-shadow: 0 0 30px rgba(250, 92, 92, 0.3);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.itch-io-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(250, 92, 92, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.itch-io-container:hover::before {
  transform: translateX(100%);
}

.itch-card {
  position: relative;
  z-index: 1;
}

.itch-icon {
  font-size: 3.5rem;
  color: var(--itch-purple);
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.itch-title {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 15px;
  font-weight: 700;
}

.itch-text {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 25px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.game-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(230, 57, 70, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-red);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.feature-card:hover::before {
  transform: translateX(0);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(230, 57, 70, 0.3);
  border-color: var(--christmas-red);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--christmas-red);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.feature-text {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.about-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(244, 162, 97, 0.2);
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(244, 162, 97, 0.2);
  border-color: var(--christmas-gold);
}

.about-icon {
  font-size: 3rem;
  color: var(--christmas-gold);
  margin-bottom: 25px;
}

.about-card-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.about-card-text {
  color: var(--text-dim);
  line-height: 1.6;
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.character-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(42, 157, 143, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.character-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(42, 157, 143, 0.3);
  border-color: var(--christmas-green);
}

.character-icon {
  font-size: 2.5rem;
  color: var(--christmas-green);
  margin-bottom: 20px;
}

.character-name {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.character-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.platform-card {
  background: var(--card-bg);
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(168, 218, 220, 0.2);
  transition: all 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(168, 218, 220, 0.3);
  border-color: var(--christmas-silver);
}

.platform-icon {
  font-size: 3rem;
  color: var(--christmas-silver);
  margin-bottom: 20px;
}

.platform-name {
  font-size: 1.2rem;
  color: var(--text-light);
}

.connect-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.connect-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(230, 57, 70, 0.2);
  transition: all 0.3s ease;
}

.connect-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(230, 57, 70, 0.3);
  border-color: var(--christmas-red);
}

.connect-icon {
  font-size: 3rem;
  color: var(--christmas-red);
  margin-bottom: 25px;
}

.connect-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.connect-text {
  color: var(--text-dim);
  line-height: 1.6;
}

.founder-content {
  max-width: 600px;
  margin: 0 auto;
}

.founder-card {
  background: var(--card-bg);
  padding: 50px;
  border-radius: 20px;
  text-align: center;
  border: 2px solid var(--christmas-gold);
  box-shadow: 0 20px 50px rgba(244, 162, 97, 0.3);
  position: relative;
  overflow: hidden;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(244, 162, 97, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.founder-card:hover::before {
  transform: translateX(100%);
}

.founder-avatar {
  width: 120px;
  height: 120px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 3rem;
  color: white;
  border: 5px solid var(--dark-bg);
}

.founder-name {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.founder-title {
  font-size: 1.2rem;
  color: var(--christmas-gold);
  margin-bottom: 25px;
  font-weight: 600;
}

.founder-desc {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 30px;
}

.founder-stats {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--christmas-red);
  margin-bottom: 5px;
}

.stat-label {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.main-footer {
  background: rgba(5, 5, 5, 0.95);
  padding: 60px 0;
  border-top: 2px solid var(--christmas-red);
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo-text {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--text-light);
  text-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
}

.footer-message {
  font-size: 1.2rem;
  color: var(--text-dim);
  text-align: center;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-copyright {
  color: var(--text-dim);
  text-align: center;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 25px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: var(--card-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.social-link:hover {
  transform: translateY(-5px);
  background: var(--christmas-red);
  border-color: var(--christmas-red);
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .game-features,
  .about-content,
  .characters-grid,
  .connect-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .platforms-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    display: none;
    z-index: 999;
    border-top: 2px solid var(--christmas-red);
  }
  
  .nav-list.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .christmas-tree {
    width: 250px;
    height: 350px;
  }
  
  .game-features,
  .about-content,
  .characters-grid,
  .connect-content,
  .platforms-grid {
    grid-template-columns: 1fr;
  }
  
  .founder-stats {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 1rem;
    width: 100%;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
}
