* {
  box-sizing: border-box;
}

:root {
  --rose-1: #ffe6ef;
  --rose-2: #ffcfe0;
  --rose-3: #f9a8c4;
  --green-1: #e8fff1;
  --green-2: #c9f5d8;
  --green-3: #90ddb0;
  --white-soft: rgba(255, 255, 255, 0.65);
  --text: #24303f;
  --text-soft: #5f6b7a;
  --shadow: 0 20px 60px rgba(69, 87, 102, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
}

[data-theme="dark"] {
  --rose-1: #2b1f28;
  --rose-2: #4a2d3d;
  --rose-3: #f3a7c4;
  --green-1: #1d2a24;
  --green-2: #294236;
  --green-3: #9ad8b0;
  --white-soft: rgba(22, 24, 28, 0.78);
  --text: #f4f1f6;
  --text-soft: #b8b2bf;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 196, 220, 0.55), transparent 25%),
    radial-gradient(circle at 90% 15%, rgba(182, 245, 207, 0.55), transparent 25%),
    radial-gradient(circle at 30% 90%, rgba(255, 255, 255, 0.9), transparent 25%),
    linear-gradient(135deg, var(--rose-1) 0%, #ffffff 50%, var(--green-1) 100%);
  transition: background 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] body {
  background:
    radial-gradient(circle at 10% 20%, rgba(243, 167, 196, 0.12), transparent 25%),
    radial-gradient(circle at 90% 15%, rgba(154, 216, 176, 0.12), transparent 25%),
    radial-gradient(circle at 30% 90%, rgba(255, 255, 255, 0.03), transparent 25%),
    linear-gradient(135deg, #1b161d 0%, #201c22 45%, #18211d 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

[data-theme="dark"] .navbar {
  background: rgba(28, 30, 35, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .nav-links a {
  color: var(--text-soft);
}

[data-theme="dark"] .nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transform: translateY(-1px);
}

[data-theme="dark"] .theme-toggle {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.09);
}

[data-theme="dark"] .username-tag {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] .froggy-box {
  background: linear-gradient(
    135deg,
    rgba(243, 167, 196, 0.08),
    rgba(154, 216, 176, 0.08)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .btn-primary {
  background: linear-gradient(
    135deg,
    rgba(243, 167, 196, 0.22),
    rgba(243, 167, 196, 0.12)
  );
  border: 1px solid rgba(243, 167, 196, 0.22);
  box-shadow: 0 10px 24px rgba(243, 167, 196, 0.12);
  color: var(--text);
}

[data-theme="dark"] .btn-secondary {
  background: linear-gradient(
    135deg,
    rgba(154, 216, 176, 0.22),
    rgba(154, 216, 176, 0.12)
  );
  border: 1px solid rgba(154, 216, 176, 0.22);
  box-shadow: 0 10px 24px rgba(154, 216, 176, 0.12);
  color: var(--text);
}

[data-theme="dark"] .card-badge {
  background: linear-gradient(
    135deg,
    rgba(243, 167, 196, 0.12),
    rgba(154, 216, 176, 0.12)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  backdrop-filter: blur(6px);
}

.page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
}

.container {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0 56px;
}

.glass {
  background: var(--white-soft);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.section {
  margin-top: 30px;
  scroll-margin-top: 110px;
}

.section-title {
  margin: 0 0 18px;
  font-size: 2rem;
  font-weight: 900;
}

.section-subtitle {
  margin: 0 0 24px;
  color: var(--text-soft);
  line-height: 1.7;
}

.background-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.7;
  pointer-events: none;
}

.mobile-theme-toggle {
  display: none;
}

.orb-1 {
  top: 60px;
  left: 40px;
  width: 220px;
  height: 220px;
  background: rgba(255, 184, 210, 0.75);
  animation: floatSoft 8s ease-in-out infinite;
}

.orb-2 {
  top: 120px;
  right: 60px;
  width: 280px;
  height: 280px;
  background: rgba(176, 239, 201, 0.75);
  animation: floatSoft 10s ease-in-out infinite;
}

.orb-3 {
  bottom: 40px;
  left: 28%;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.95);
  animation: pulseSoft 7s ease-in-out infinite;
}

.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  font-size: 1rem;
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--rose-2), var(--green-2));
  box-shadow: inset 0 2px 12px rgba(255, 255, 255, 0.6);
  font-size: 1.4rem;
}

.brand-badge--image {
  overflow: hidden;
  padding: 0;
}

.brand-badge--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text-soft);
  transition: 0.25s ease;
  font-weight: 600;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  transform: translateY(-2px);
}

.theme-toggle {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
  color: var(--text);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  font-size: 1rem;
}

.theme-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: center;
  margin-top: 18px;
}

.hero-left {
  padding: 34px;
  border-radius: var(--radius-xl);
  animation: fadeUp 0.9s ease;
  min-width: 0;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-title {
  margin: 20px 0 24px;
  font-size: clamp(2.9rem, 8vw, 6.4rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.05em;
  max-width: 12ch;
}

.hero-text {
  max-width: 720px;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 18px;
  font-weight: 800;
  transition: 0.25s ease;
  min-height: 56px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose-2), #ffdce8);
  box-shadow: 0 12px 30px rgba(249, 168, 196, 0.28);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--green-2), #e7fff0);
  box-shadow: 0 12px 30px rgba(144, 221, 176, 0.28);
}

.btn:hover {
  transform: translateY(-4px) scale(1.01);
}

.hero-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-xl);
  animation: fadeUp 1s ease;
}

.username-tag {
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 24px rgba(36, 48, 63, 0.08);
  font-weight: 800;
  color: var(--text);
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.profile-image {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(135deg, var(--rose-2), var(--green-2));
  box-shadow: inset 0 4px 18px rgba(255, 255, 255, 0.7);
  animation: floatSoft 6s ease-in-out infinite;
  flex-shrink: 0;
}

.profile-name {
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
}

.profile-role {
  margin: 6px 0 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  gap: 14px;
}

.stat-card {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.25s ease;
}

.stat-label {
  margin: 0 0 6px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.stat-value {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cards-grid--equal {
  align-items: stretch;
}

.info-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  animation: fadeUp 0.9s ease;
  transition: 0.3s ease;
}

.info-card--community {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.community-card-footer {
  margin-top: 24px;
}

.community-card-footer .btn {
  width: 100%;
  text-align: center;
}

.card-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(255, 207, 224, 0.9),
    rgba(201, 245, 216, 0.9)
  );
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #52606f;
}

.card-title {
  margin: 0 0 12px;
  font-size: 1.45rem;
  font-weight: 900;
}

.card-text {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.panel {
  padding: 28px;
  border-radius: var(--radius-xl);
  animation: fadeUp 1s ease;
  margin-top: 30px;
}

.mini-label {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
}

.froggy-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 236, 243, 0.85),
    rgba(232, 255, 241, 0.85)
  );
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.froggy-box p {
  margin: 0;
  line-height: 1.8;
  color: var(--text-soft);
}

.froggy-site {
  margin-top: 12px !important;
}

.froggy-buttons {
  margin-top: 18px;
}

.highlight-line {
  margin-top: 12px;
  font-weight: 800;
  color: var(--text);
}

.footer-quote {
  margin-top: 26px;
  padding: 34px;
  border-radius: var(--radius-xl);
  text-align: center;
  animation: fadeUp 1.1s ease;
}

.footer-quote h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  font-weight: 900;
}

.footer-quote p {
  max-width: 820px;
  margin: 16px auto 0;
  color: var(--text-soft);
  line-height: 1.9;
  font-size: 1.05rem;
}

@keyframes fadeNavbar {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes floatSoft {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulseSoft {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 22px, 1180px);
  }

  .navbar {
    border-radius: 26px;
    padding: 16px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .navbar {
    display: none;
  }

  .container {
    padding-top: 16px;
    padding-bottom: 34px;
  }

  .hero-left,
  .hero-card,
  .panel,
  .footer-quote,
  .info-card {
    padding: 22px;
  }

  .profile-top {
    align-items: flex-start;
  }

  .username-tag {
    position: static;
    display: inline-flex;
    margin-bottom: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn,
  .community-card-footer .btn {
    width: 100%;
  }

  .mobile-theme-toggle {
    display: flex;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
  }

  .mobile-theme-toggle .theme-toggle {
    width: 52px;
    height: 52px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  }
}
