*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

body {
  background: #000;
  color: #eee;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  user-select: none;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

header {
  background: #111;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow:
    0 1px 4px rgba(255 255 255 / 0.08),
    0 6px 12px rgba(255 255 255 / 0.04);
}

.logo-title-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #eee;
  object-fit: cover;
  transition: box-shadow 0.3s ease;
  flex-shrink: 0;
}

.logo:hover {
  box-shadow: 0 0 12px 3px #fff;
}

h1.site-title {
  font-weight: 700;
  font-size: 2rem;
  background: linear-gradient(90deg, #fff, #bbb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: text;
  white-space: nowrap;
}

nav { position: relative; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links li a {
  font-weight: 600;
  font-size: 1rem;
  color: #ddd;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a:focus-visible {
  color: #fff;
}

.nav-links li a:hover::after,
.nav-links li a:focus-visible::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 26px;
  height: 22px;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #eee;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 60vw;
    max-width: 280px;
    height: calc(100% - 70px);
    background: #111;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1rem;
    box-shadow: -2px 0 16px rgba(255 255 255 / 0.05);
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.open { right: 0; }

  .hamburger { display: flex; }
}

main.container {
  max-width: 960px;
  margin: 3rem auto 4rem;
  padding: 0 1rem;
  flex-grow: 1;
  box-sizing: border-box;
}

.donation-card {
  background: #1e1e1e;
  border-radius: 20px;
  border: 1px solid #333;
  padding: 2rem;
  box-shadow:
    0 8px 16px rgba(255 255 255 / 0.04),
    inset 0 0 0 1px #222;
  max-width: 800px;
  margin: 0 auto;
}

.donation-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #fff, #bbb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: text;
}

.donation-card p { font-size: 1.1rem; color: #ccc; user-select: text; }

.iban-box {
  margin: 2rem 0;
  background: #222;
  border: 1px dashed #555;
  padding: 1.5rem;
  border-radius: 12px;
}

.iban-box p { margin: 0.5rem 0; font-size: 1.1rem; font-weight: 500; }

.iban-number { font-size: 1.2rem; font-weight: 700; color: #fff; user-select: all; }

.copy-btn {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  user-select: none;
}

.copy-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255,255,255,0.2);
}

article.app-card {
  background: #1e1e1e;
  border-radius: 20px;
  border: 1px solid #333;
  padding: 2rem;
  box-shadow:
    0 8px 16px rgba(255 255 255 / 0.04),
    inset 0 0 0 1px #222;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  user-select: none;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

article.app-card:hover,
article.app-card:focus-within {
  transform: translateY(-10px);
  box-shadow:
    0 16px 32px rgba(255 255 255 / 0.12),
    inset 0 0 0 1px #444;
  outline: none;
}

.app-logo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid #eee;
  object-fit: cover;
  transition: box-shadow 0.3s ease;
}

article.app-card:hover .app-logo {
  box-shadow: 0 0 15px 5px #fff;
}

.app-info { flex-grow: 1; display: flex; flex-direction: column; gap: 0.6rem; }

.app-title { font-weight: 700; font-size: 2rem; color: #f5f5f5; user-select: text; line-height: 1.2; }

.app-description { color: #bbb; font-size: 1.1rem; line-height: 1.4; user-select: text; }

.app-version { font-size: 0.95rem; font-weight: 600; color: #aaa; margin-top: 0.4rem; user-select: text; }

.app-features { margin-top: 1rem; font-size: 1rem; color: #ccc; user-select: text; list-style: inside disc; line-height: 1.5; }

.app-link {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.8rem 1.8rem;
  border-radius: 35px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #000;
  background: linear-gradient(90deg, #fff, #ccc);
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(255 255 255 / 0.3);
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease;
  user-select: none;
  position: relative;
  z-index: 10;
}

.app-link:hover, .app-link:focus {
  background: #fff;
  color: #111;
  box-shadow: 0 6px 14px rgba(255 255 255 / 0.6);
  transform: scale(1.05);
  outline: none;
}

.about-title {
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #fff, #bbb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text { color: #ccc; font-size: 1.1rem; line-height: 1.6; user-select: text; }

footer {
  background-color: #111;
  color: #666;
  font-size: 0.9rem;
  padding: 2rem;
  text-align: center;
  box-shadow: inset 0 1px 0 #222;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

footer a {
  color: #ccc;
  font-size: 2rem;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

footer a:hover, footer a:focus { color: #fff; outline: none; }

#scrollTopBtn {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  background: linear-gradient(90deg, #fff, #ccc);
  color: #000;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  border: none;
  box-shadow: 0 4px 10px rgba(255 255 255 / 0.3);
  font-size: 1.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3000;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

#scrollTopBtn:hover, #scrollTopBtn:focus {
  background: #fff;
  color: #111;
  box-shadow: 0 6px 14px rgba(255 255 255 / 0.6);
  transform: scale(1.1);
  outline: none;
}

:root {
  --privacy-bg-1: rgba(16,16,20,0.6);
  --privacy-bg-2: rgba(22,22,26,0.6);
  --privacy-card-border: rgba(255,255,255,0.06);
  --privacy-muted: #b9b9b9;
  --privacy-accent-a: #60a5fa;
  --privacy-accent-b: #7c3aed;
  --privacy-glass: rgba(255,255,255,0.03);
  --privacy-glass-2: rgba(255,255,255,0.02);
}

.policy-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.005));
  min-height: calc(100vh - 220px);
}

.policy-card {
  width: 100%;
  max-width: 980px;
  background: linear-gradient(180deg, var(--privacy-bg-1), var(--privacy-bg-2));
  border-radius: 18px;
  padding: 2.4rem;
  border: 1px solid var(--privacy-card-border);
  box-shadow:
    0 20px 50px rgba(2,6,23,0.7),
    0 2px 8px rgba(255,255,255,0.015) inset;
  color: #eaeaea;
  line-height: 1.75;
  font-size: 1.03rem;
  position: relative;
  overflow: hidden;
  transition: transform 280ms cubic-bezier(.2,.8,.2,1), box-shadow 280ms ease;
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
}

.policy-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 6px;
  width: 40%;
  background: linear-gradient(90deg, var(--privacy-accent-a), var(--privacy-accent-b));
  border-bottom-right-radius: 12px;
  border-top-left-radius: 18px;
  filter: drop-shadow(0 6px 18px rgba(124,58,237,0.12));
  transform-origin: left center;
  transition: width 350ms ease;
}
.policy-card:hover::before { width: 55%; }

.policy-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 70px rgba(2,6,23,0.8),
    0 3px 12px rgba(255,255,255,0.02) inset;
}

.policy-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.policy-card h2 {
  font-size: 1.55rem;
  margin: 0;
  letter-spacing: -0.02em;
  color: #fff;
  font-weight: 700;
}

.policy-meta {
  display: inline-block;
  max-width: 100%;
  color: var(--privacy-muted);
  font-size: 0.9rem;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 4px 10px rgba(2,6,23,0.45);
}

@media (max-width: 480px) {
  .policy-meta {
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
  }
  
  .policy-card header {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
}

.policy-card h3 { margin-top: 1.25rem; margin-bottom: 0.45rem; font-size: 1.03rem; color: #f7f7f7; font-weight: 600; }
.policy-card p { margin: 0 0 0.9rem 0; color: #d6d6d6; }
.policy-card ul { margin: 0 0 0.9rem 1.2rem; color: #d6d6d6; }
.policy-card a { color: #bfe7ff; text-decoration: underline; }

.policy-actions { text-align: center; margin-top: 1.8rem; }
.policy-card .app-link {
  display: inline-block;
  padding: 0.72rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, rgba(255,255,255,0.98), rgba(220,220,220,0.9));
  color: #0b0b0b;
  box-shadow: 0 8px 22px rgba(96,165,250,0.08), 0 2px 6px rgba(0,0,0,0.45);
  transition: transform 160ms ease, box-shadow 160ms ease;
  text-decoration: none;
}

.policy-card .app-link:focus,
.policy-card .app-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(96,165,250,0.12);
  outline: none;
}

@media (max-width: 760px) {
  .policy-wrapper { padding: 2rem 1rem; }
  .policy-card { padding: 1.4rem; border-radius: 14px; }
  .policy-card h2 { font-size: 1.35rem; }
  .policy-card::before { height: 5px; }
}

@supports not (backdrop-filter: blur(1px)) {
  .policy-card {
    background: linear-gradient(180deg, rgba(18,18,20,0.9), rgba(24,24,28,0.9));
  }
}

.policy-card ul { list-style: disc inside; margin-left: 0.6rem; }

article.app-card {
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

article.app-card:hover,
article.app-card:focus-within {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 14px 28px rgba(255 255 255 / 0.15),
    inset 0 0 0 1px #444;
}

article.app-card .app-link { transition: all 0.35s ease; }
article.app-card .app-link:hover, article.app-card .app-link:focus { transform: scale(1.08); box-shadow: 0 8px 20px rgba(255 255 255 / 0.6); }

article.app-card:hover .app-logo {
  box-shadow: 0 0 25px 8px rgba(255 255 255 / 0.25);
  transition: box-shadow 0.4s ease;
}

footer .privacy-link {
  display: inline-block;
  font-size: 0.8rem;
  color: #aaa;
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

footer .privacy-link:hover,
footer .privacy-link:focus {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  main.container,
  .policy-card,
  .donation-card,
  article.app-card {
    width: 100%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }

  header { padding: 0.8rem 1rem; align-items: center; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 60vw;
    max-width: 280px;
    height: calc(100% - 70px);
    background: #111;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.6rem 1rem;
    box-shadow: -2px 0 14px rgba(255 255 255 / 0.04);
    transition: right 0.28s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.open { right: 0; }

  .nav-links li a { padding: 0.35rem 0.25rem; display: inline-block; }

  article.app-card { flex-direction: row; gap: 1rem; align-items: flex-start; }
  .app-logo { width: 84px; height: 84px; }

  h1.site-title { font-size: clamp(1.1rem, 4vw, 1.6rem); }
  .app-title { font-size: clamp(1.05rem, 4.2vw, 1.5rem); }
  .app-description, .policy-card p, .about-text { font-size: clamp(0.95rem, 3.6vw, 1.05rem); }

  #scrollTopBtn { display: flex; width:44px; height:44px; bottom:1.8rem; right:1.8rem; }

  html, body { overflow-x: hidden; }
  
  .mobile-only, [data-mobile-only], .old-mobile-theme { display: none; }

  .policy-card, .donation-card { padding: 1.6rem; border-radius: 14px; }

  .nav-links { flex-wrap: wrap; gap: 0.8rem; }
}

.login-btn {
  padding: 8px 14px;
  border-radius: 8px;
  background: #0b5ed7;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s;
}

.login-btn:hover {
  background: #0948a8;
}