:root {
  --bg-main: #FFFFFF;
  --bg-secondary: #F4F6F8;
  --text-primary: #1A1D20;
  --text-muted: #68737D;
  --accent-silver: #A0AAB5;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
  --card-border: rgba(0,0,0,0.04);
  --btn-primary-bg: linear-gradient(135deg, #1A1D20 0%, #3A4148 100%);
  --btn-primary-text: #FFFFFF;
  --radius: 16px;
  --discord-color: #5865F2;
}

html.dark-mode {
  --bg-main: #0D0F12;
  --bg-secondary: #16191D;
  --text-primary: #FFFFFF;
  --text-muted: #A0AAB5;
  --accent-silver: #4A525A;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.6);
  --card-border: rgba(255,255,255,0.05);
  --btn-primary-bg: linear-gradient(135deg, #FFFFFF 0%, #E0E0E0 100%);
  --btn-primary-text: #1A1D20;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.contact-container {
  max-width: 1200px;
  margin: clamp(30px, 5vw, 60px) auto;
  padding: 0 clamp(15px, 4vw, 30px);
  flex: 1;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 5vw, 50px);
  align-items: center;
}

.page-header {
  text-align: center;
  width: 100%;
}

.page-header h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 15px;
  font-weight: 800;
  letter-spacing: -1px;
}

.page-header p {
  color: var(--text-muted);
  font-size: clamp(1rem, 3vw, 1.1rem);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: clamp(30px, 5vw, 50px);
  text-align: center;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  max-width: 800px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--discord-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  background: var(--bg-main);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--discord-color);
  margin-bottom: 25px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.contact-card h3 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  margin: 0 0 15px 0;
  color: var(--text-primary);
  font-weight: 700;
}

.contact-card p {
  font-size: clamp(0.95rem, 3vw, 1.05rem);
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 auto 30px auto;
}

.cta-section {
  display: flex;
  justify-content: center;
}

.btn-main {
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--discord-color);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3);
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(88, 101, 242, 0.4);
  background: #4752C4;
}

.reveal-up { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-up.active { opacity: 1; transform: translate(0); }
.delay-1 { transition-delay: 0.1s; }

@media (max-width: 576px) {
  .btn-main { 
    width: 100%;
    box-sizing: border-box;
  }
}