@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600&display=swap');

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

*::selection {
  background-color: #e02020 !important;
  color: #ffffff !important;
}

*::-moz-selection {
  background-color: #e02020 !important;
  color: #ffffff !important;
}

body {
  min-height: 100vh;
  background-color: #0f0000;
  /* Simples, unaufdringliches Karomuster in Rot & Schwarz */
  background-image: 
    linear-gradient(to right, rgba(255, 40, 40, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 40, 40, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  color: #f5e6e6;
  font-family: 'Fredoka', -apple-system, sans-serif;
  padding: 40px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 540px;
  background: #140202;
  border: 2px solid #e02020;
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
}

/* Header */
.profile-header {
  margin-bottom: 28px;
}

.tree-badge img {
  display: block;
  margin: 0 auto 10px auto;
  width: 44px;
  height: 44px;
}

.name {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ff3333;
  letter-spacing: 0.5px;
}

.back-link {
  margin-top: 12px;
}

.back-link a {
  color: #ff5555;
  text-decoration: underline;
  font-size: 0.9rem;
}

.back-link a:hover {
  color: #ffffff;
}

.credit-disclaimer {
  margin-top: 24px;
  font-size: 0.78rem;
  color: #883333;
}

.credit-disclaimer a {
  color: #ff5555;
  text-decoration: underline;
}

.credit-disclaimer a:hover {
  color: #ffffff;
}

/* 4 Große Kreis-Knöpfe */
.nav-circles {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px 0 10px 0;
}

.circle-btn {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #200404;
  border: 2px solid #e02020;
  color: #f5e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px;
  transition: all 0.2s ease;
}

.circle-btn:hover {
  background: #e02020;
  color: #0f0000;
  transform: scale(1.05);
}

/* Inhalts-Karten auf den Unterseiten */
.section-card {
  background: #1e0505;
  border: 1px solid #e02020;
  border-radius: 14px;
  padding: 20px;
  margin-top: 10px;
  text-align: left;
}

.section-card h2 {
  font-size: 1.2rem;
  color: #ff3333;
  margin-bottom: 8px;
  font-weight: 600;
}

.section-card p {
  color: #e0d0d0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.section-card a,
.section-card a:visited {
  color: #ff5555;
  text-decoration: underline;
}

.section-card a:hover {
  color: #ffffff;
}

/* Account Widgets / Buttons */
.account-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.account-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e0505;
  border: 1px solid #e02020;
  border-radius: 12px;
  padding: 14px 18px;
  color: #f5e6e6;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.account-card:hover {
  background: #e02020;
  color: #0f0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(224, 32, 32, 0.35);
}

.account-arrow {
  font-size: 1.1rem;
}

.example-gallery {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.example-img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e02020;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.example-img:hover {
  transform: scale(1.03);
}

/* Vereinfachter Modal / Lightbox Image Viewer */
.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  justify-content: center;
  align-items: center;
  padding: 20px;
  cursor: pointer;
}

.image-modal.open {
  display: flex;
}

.image-modal img {
  max-width: 90vw;
  max-height: 85vh;
  border: 2px solid #e02020;
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(224, 32, 32, 0.35);
  cursor: default;
}
