:root {
  --bg: #080808;
  --card: #111111;
  --card-border: rgba(212, 160, 23, 0.12);
  --text: #f5f0e8;
  --text-muted: #8a8078;
  --primary: #d4a017;
  --primary-dark: #b8860b;
  --primary-glow: rgba(212, 160, 23, 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;
}

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
  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(100px);
  opacity: 0.12;
}

.shape-1 {
  width: 450px; height: 450px;
  background: #d4a017;
  top: -150px; right: -120px;
  animation: float 10s ease-in-out infinite;
}

.shape-2 {
  width: 350px; height: 350px;
  background: #b8860b;
  bottom: -100px; left: -80px;
  animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.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);
  position: relative;
  overflow: hidden;
}

/* Animated gold top border */
.content-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), #f5d060, var(--primary), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Corner diamond accents */
.content-card::after {
  content: '◆';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: var(--primary);
  opacity: 0.3;
}

/* Decorative corners */
.card-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
  opacity: 0.2;
}

.card-corner::before,
.card-corner::after {
  content: '';
  position: absolute;
  background: var(--primary);
}

.card-corner-tl { top: 10px; left: 10px; }
.card-corner-tl::before { top: 0; left: 0; width: 12px; height: 1px; }
.card-corner-tl::after { top: 0; left: 0; width: 1px; height: 12px; }

.card-corner-tr { top: 10px; right: 10px; }
.card-corner-tr::before { top: 0; right: 0; width: 12px; height: 1px; }
.card-corner-tr::after { top: 0; right: 0; width: 1px; height: 12px; }

.card-corner-bl { bottom: 10px; left: 10px; }
.card-corner-bl::before { bottom: 0; left: 0; width: 12px; height: 1px; }
.card-corner-bl::after { bottom: 0; left: 0; width: 1px; height: 12px; }

.card-corner-br { bottom: 10px; right: 10px; }
.card-corner-br::before { bottom: 0; right: 0; width: 12px; height: 1px; }
.card-corner-br::after { bottom: 0; right: 0; width: 1px; height: 12px; }

/* Title underline decoration */
.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: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
}

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

.logo-glow {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,0.15), transparent 70%);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(212,160,23,0.08), rgba(212,160,23,0.02));
  border: 2px solid rgba(212,160,23,0.15);
  padding: 12px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, border-color 0.3s;
}

.logo:hover {
  transform: scale(1.04);
  border-color: rgba(212,160,23,0.35);
}

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

/* Title */
h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 1px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
}

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 */
.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(212,160,23,0.3), transparent);
}

.section-separator .diamond {
  font-size: 6px;
  color: var(--primary);
  opacity: 0.35;
}

/* Link Buttons */
.link-btn {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,160,23,0.15);
  padding: 15px 24px;
  margin: 10px 0;
  border-radius: 12px;
  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: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.08), transparent);
  transform: skewX(-25deg);
  transition: left 0.5s;
}

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

.link-btn:hover {
  background: rgba(212,160,23,0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,160,23,0.1);
}

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

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

/* Donate button */
.btn-donate {
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.3);
  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(212,160,23,0.22);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(212,160,23,0.15);
}

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

/* Social Icons */
.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.35);
  font-size: 16px;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  border: 1px solid rgba(212,160,23,0.08);
}

.social-icons a:hover {
  color: #111;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(212,160,23,0.3);
}

/* Back Link */
.back-link {
  text-align: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(212,160,23,0.08);
  position: relative;
}

.back-link::before {
  content: '◆';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6px;
  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);
}

/* Responsive */
@media (max-width: 600px) {
  body { padding: 14px; }
  .content-card { padding: 30px 20px; border-radius: 16px; }
  .logo-wrap { width: 110px; height: 110px; }
  .logo { padding: 10px; }
  h1 { font-size: 28px; }
  h3 { font-size: 13px; margin: 22px 0 12px; letter-spacing: 2px; }
  .link-btn { padding: 14px 18px; font-size: 13px; margin: 8px 0; border-radius: 10px; }
  .btn-donate { font-size: 14px; padding: 14px 18px; }
  .social-icons { gap: 8px; }
  .social-icons a { width: 36px; height: 36px; font-size: 14px; border-radius: 10px; }
  .title-decoration .line { width: 24px; }
  .card-corner { display: none; }
}

@media (max-width: 400px) {
  .logo-wrap { width: 90px; height: 90px; }
  h1 { font-size: 24px; }
  .link-btn { padding: 12px 16px; font-size: 12px; }
}
