:root {
  --bg: #0a0805;
  --card: #100d0a;
  --card-border: rgba(230, 126, 34, 0.12);
  --text: #f0ece8;
  --text-muted: #80756a;
  --primary: #e67e22;
  --primary-dark: #bf6516;
  --primary-glow: rgba(230, 126, 34, 0.25);
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding: 20px;
  line-height: 1.5;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(230,126,34,0.03) 2px,
    rgba(230,126,34,0.03) 4px
  );
  pointer-events: none;
  z-index: 999;
}

.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.1;
}

.shape-1 {
  width: 400px; height: 400px;
  background: #e67e22;
  top: -180px; right: -100px;
  animation: drift 8s ease-in-out infinite;
}

.shape-2 {
  width: 300px; height: 300px;
  background: #bf6516;
  bottom: -120px; left: -60px;
  animation: drift 10s ease-in-out infinite reverse;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-10px, 10px) scale(0.95); }
}

.main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 40px);
  position: relative;
  z-index: 1;
}

.content-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), inset 0 0 80px rgba(230,126,34,0.03);
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}

.content-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--primary), transparent);
  opacity: 0.2;
}

.card-corner {
  position: absolute;
  pointer-events: none;
  opacity: 0.15;
}

.card-corner svg {
  display: block;
}

.card-corner-tl { top: -1px; left: -1px; }
.card-corner-tr { top: -1px; right: -1px; transform: scaleX(-1); }
.card-corner-bl { bottom: -1px; left: -1px; transform: scaleY(-1); }
.card-corner-br { bottom: -1px; right: -1px; transform: scale(-1, -1); }

.title-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.title-decoration .line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary));
}

.title-decoration .line:last-child {
  background: linear-gradient(90deg, var(--primary), transparent);
}

.title-decoration .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

.logo-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
}

.logo-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,126,34,0.12), transparent 70%);
  animation: throb 3s ease-in-out infinite;
}

@keyframes throb {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

.logo {
  width: 100%;
  height: 100%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(230,126,34,0.1), rgba(230,126,34,0.02));
  border: 2px solid rgba(230,126,34,0.15);
  padding: 12px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  animation: morphShape 6s ease-in-out infinite;
}

@keyframes morphShape {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.logo:hover {
  border-color: rgba(230,126,34,0.4);
  animation-play-state: paused;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 900;
  text-align: center;
  letter-spacing: 1px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

h1::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230,126,34,0.3), transparent);
}

h3 {
  margin: 26px 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.section { margin-bottom: 24px; }

.section-separator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0;
}

.section-separator .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230,126,34,0.25), transparent);
}

.section-separator .diamond {
  font-size: 10px;
  color: var(--primary);
  opacity: 0.3;
  animation: rotate 4s linear infinite;
}

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

.link-btn {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(230,126,34,0.12);
  padding: 15px 24px;
  margin: 10px 0;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-weight: 600;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.link-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(230,126,34,0.06), transparent);
  transition: left 0.6s ease;
}

.link-btn:hover::before {
  left: 100%;
}

.link-btn:hover {
  background: rgba(230,126,34,0.06);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(230,126,34,0.08);
}

.link-btn i {
  margin-right: 10px;
  color: var(--text-muted);
  transition: color 0.3s;
  font-size: 13px;
}

.link-btn:hover i {
  color: var(--primary);
}

.btn-donate {
  background: rgba(230,126,34,0.12);
  border: 1px solid rgba(230,126,34,0.25);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 24px;
  letter-spacing: 0.5px;
}

.btn-donate::before {
  display: none;
}

.btn-donate i {
  color: var(--primary);
}

.btn-donate:hover {
  background: rgba(230,126,34,0.2);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(230,126,34,0.12);
}

.btn-donate:hover i {
  color: var(--primary);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.social-icons a {
  color: rgba(255,255,255,0.3);
  font-size: 16px;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  border: 1px solid rgba(230,126,34,0.06);
}

.social-icons a:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 24px rgba(230,126,34,0.3);
}

.back-link {
  text-align: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(230,126,34,0.06);
  position: relative;
}

.back-link::before {
  content: '◈';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: var(--primary);
  opacity: 0.2;
}

.back-link a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85em;
  font-weight: 500;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.back-link a:hover {
  color: var(--primary);
}

.back-link i {
  font-size: 0.8em;
  transition: transform 0.3s;
}

.back-link a:hover i {
  transform: translateX(-3px);
}

@media (max-width: 600px) {
  body { padding: 12px; }
  .main-container { min-height: calc(100vh - 24px); }
  .content-card { padding: 28px 18px; border-radius: 16px; }
  .logo-wrap { width: 100px; height: 100px; }
  .logo { padding: 10px; }
  .logo-glow { inset: -12px; }
  h1 { font-size: 26px; }
  h1::after { display: none; }
  h3 { font-size: 13px; margin: 20px 0 12px; letter-spacing: 2px; }
  .link-btn { padding: 16px 18px; font-size: 14px; margin: 8px 0; border-radius: 8px; }
  .btn-donate { font-size: 14px; padding: 16px 18px; }
  .social-icons { gap: 10px; }
  .social-icons a { width: 42px; height: 42px; font-size: 16px; }
  .title-decoration .line { width: 24px; }
  .card-corner { display: none; }
  .section { margin-bottom: 18px; }
}

@media (max-width: 400px) {
  body { padding: 10px; }
  .content-card { padding: 22px 14px; border-radius: 14px; }
  .logo-wrap { width: 80px; height: 80px; }
  .logo { padding: 8px; }
  .logo-glow { inset: -10px; }
  h1 { font-size: 22px; }
  h3 { font-size: 12px; margin: 16px 0 10px; letter-spacing: 1.5px; }
  .link-btn { padding: 14px 14px; font-size: 13px; margin: 6px 0; border-radius: 8px; }
  .btn-donate { font-size: 13px; padding: 14px 14px; }
  .social-icons { gap: 8px; }
  .social-icons a { width: 38px; height: 38px; font-size: 14px; }
  .back-link { margin-top: 14px; padding-top: 14px; }
}
