:root {
  --bg: #05070f;
  --card: #151a2d;
  --text: #ffffff;
  --text-muted: #9ca3af;
  --accent: #6366f1;
  --accent-purple: #8b5cf6;
  --border: rgba(255, 255, 255, 0.08);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #05070f;
  color: var(--text);
  overflow-x: hidden;
}

.phone-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 12px;
  background: linear-gradient(180deg, #0a0c14 0%, #05070f 100%);
}

.phone {
  width: 100%;
  max-width: 420px;
  min-height: 844px;
  background: var(--bg);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 80px -20px rgba(99, 102, 241, 0.25);
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  position: relative;
  z-index: 10;
  background: rgba(11, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.3px;
  color: var(--text);
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.logo-icon svg { width: 16px; height: 16px; }

.header-actions { display: flex; gap: 8px; }

.icon-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: #c4c9d6; cursor: pointer; transition: all 0.2s;
  text-decoration: none;
}

.icon-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.icon-btn svg { width: 16px; height: 16px; }

/* Hero */
.hero {
  padding: 18px 16px 12px;
  position: relative;
  overflow: hidden;
  min-height: 100px;
}

.hero::before {
  content: '';
  position: absolute; top: -40px; right: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}

.hero-decorations {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}

.hero-star {
  position: absolute;
  transform-origin: center;
  fill: currentColor;
}

.star-1 { width: 14px; height: 14px; top: 8px; right: 65px; color: #a78bfa; animation: twinkle 3s ease-in-out infinite alternate; }
.star-2 { width: 8px; height: 8px; top: 26px; right: 18px; color: #c4b5fd; animation: twinkle 4s ease-in-out infinite alternate 1.2s; }
.star-3 { width: 12px; height: 12px; top: 62px; right: 32px; color: #8b5cf6; animation: twinkle 2.5s ease-in-out infinite alternate 0.5s; }
.star-4 { width: 6px; height: 6px; top: 6px; left: 130px; color: #c4b5fd; animation: twinkle 3.5s ease-in-out infinite alternate 2s; }

@keyframes twinkle {
  0% { transform: scale(0.5) rotate(0deg); opacity: 0.12; }
  100% { transform: scale(1.2) rotate(18deg); opacity: 1; }
}

.greeting {
  font-size: 14px; font-weight: 500; margin-bottom: 4px;
  color: var(--text-muted); position: relative; z-index: 2;
}

.title {
  font-size: 20px; font-weight: 700; line-height: 1.3;
  letter-spacing: -0.4px; position: relative; z-index: 2;
  max-width: 280px;
}

.title .highlight { color: #8b5cf6; }

/* Content */
.content {
  flex: 1; padding: 0 16px 24px; overflow-y: auto;
}

/* About card */
.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  position: relative; z-index: 2;
}

/* Contact card */
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  position: relative; z-index: 2;
}

.section {
  margin-bottom: 28px;
}

.section:last-child { margin-bottom: 0; }

.section-title {
  font-size: 15px; font-weight: 600; color: var(--text);
  margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}

.section-title svg { width: 18px; height: 18px; color: var(--accent); }

.section-text {
  font-size: 13px; line-height: 1.6; color: #c4c9d6;
}

.section-text p { margin-bottom: 8px; }

.section-text ul {
  list-style: none; padding-left: 0;
}

.section-text ul li {
  position: relative; padding-left: 18px; margin-bottom: 8px;
}

.section-text ul li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

.copyright {
  margin-top: 24px; padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 11px; color: #6b7280; text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white; border-radius: 10px; font-weight: 600;
  font-size: 13px; text-decoration: none; transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
  transform: translateY(-1px);
}

.btn svg { width: 16px; height: 16px; }

/* Twitter embed */
.twitter-embed {
  margin-top: 12px; border-radius: 12px; overflow: hidden;
  background: rgba(0, 0, 0, 0.2); max-width: 100%;
}

/* Mobile full-bleed */
@media (max-width: 430px) {
  .phone-wrapper { padding: 0; background: var(--bg); }
  .phone { max-width: 100%; min-height: 100vh; border-radius: 0; box-shadow: none; }
  .header { padding: 12px 14px 8px; }
  .content { padding: 0 12px 24px; }
}
