@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&display=swap');

:root {
  --bg-overlay: rgba(0, 0, 0, .70);
  --card: rgba(18, 18, 20, .82);
  --card-2: rgba(18, 18, 20, .58);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .70);
  --muted-2: rgba(255, 255, 255, .52);


  --accent: #E52521;
  --accent-2: #FBD000;
  --danger: rgba(229, 37, 33, .90);

  --radius: 18px;
  --shadow: 0 18px 55px rgba(0, 0, 0, .60);
  --stroke: rgba(255, 255, 255, .10);
  --stroke-2: rgba(255, 255, 255, .16);
  --stroke-accent: rgba(229, 37, 33, .35);
  --stroke-accent-strong: rgba(229, 37, 33, .65);
}


* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: url('grafiki/tlom.png') no-repeat center center fixed;
  background-size: cover;
  overflow-y: auto;
}

.bg-blur {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(7px);
  z-index: -1;
}

.page {
  min-height: 100%;
  padding: 28px 18px 40px;
  display: flex;
  justify-content: center;
}

.shell {
  width: min(860px, 100%);
  display: grid;
  gap: 18px;
}

.header {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--stroke-accent);
  box-shadow: var(--shadow);
}

.avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: url('grafiki/avatar.png') center/cover no-repeat;
  border: 2px solid rgba(229, 37, 33, .45);
  box-shadow: 0 0 0 6px rgba(229, 37, 33, .10);
  flex: 0 0 auto;
}

.headtext {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.kontakt {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .2px;
}

.username {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.05;
}

.user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.user-row .socials {
  margin-top: 0;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.icon-btn {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--stroke-accent);
  background: rgba(0, 0, 0, .15);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  position: relative;
  overflow: hidden;
}

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 37, 33, .55);
  background: rgba(0, 0, 0, .28);
}

.icon-btn img {
  width: 24px;
  height: 24px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 6px 0;
}

.section-title h2 {
  margin: 0;
  font-size: 13px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

.cards {
  display: grid;
  gap: 14px;
}

.card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 14, 24, .62), rgba(10, 14, 24, .34));
  border: 1px solid var(--stroke-accent);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 37, 33, .55);
}

.card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  flex-wrap: wrap;
}

.brand {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .18);
  border: 1px solid var(--stroke-accent);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 260px;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-weight: 800;
  font-size: 11px;
  border-radius: 999px;
  background: rgba(255, 0, 0, .16);
  border: 1px solid rgba(255, 0, 0, .35);
  color: rgba(255, 255, 255, .95);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 12px;
}

.meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .18);
  border: 1px solid rgba(255, 255, 255, .10);
}

.action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

.cta {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 11px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(229, 37, 33, .95), rgba(98, 163, 248, .65));
  box-shadow: 0 12px 30px rgba(229, 37, 33, .35);
  border: 1px solid rgba(229, 37, 33, .30);
  transition: transform .18s ease, filter .18s ease;
  white-space: nowrap;
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.kod {
  color: var(--muted-2);
  font-size: 11px;
  text-align: right;
  max-width: 220px;
}

.kick-special {
  border-color: rgba(0, 255, 0, .35) !important;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 255, 0, .12) inset;
}

.kick-special .cta {
  background: linear-gradient(135deg, rgba(0, 255, 0, .85), rgba(98, 163, 248, .65));
}

.pulse {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  pointer-events: none;
  border: 2px solid rgba(0, 255, 0, .0);
  animation: pulse 1.8s infinite;
  opacity: .8;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 0, .20);
    border-color: rgba(0, 255, 0, .25);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(0, 255, 0, .0);
    border-color: rgba(0, 255, 0, .0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 0, .0);
    border-color: rgba(0, 255, 0, .0);
  }
}

.footer {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .70);
  font-size: 12px;
  line-height: 1.45;
}

.footer a {
  color: rgba(229, 37, 33, .9);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.bahu-logo {
  width: 120px;
  height: 40px;
  margin: 10px auto 0;
  opacity: .5;
  background: url('grafiki/bahuu.png') center/contain no-repeat;
  display: block;
}

@media (max-width: 720px) {
  .header {
    padding: 14px;
  }

  .avatar {
    width: 72px;
    height: 72px;
  }

  .username {
    font-size: 22px;
  }

  .user-row {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .socials {
    justify-content: flex-start;
    margin-top: 6px;
  }

  .card-inner {
    align-items: flex-start;
  }

  .brand {
    width: 74px;
    height: 58px;
  }

  .action {
    width: 100%;
    margin-left: 0;
    align-items: stretch;
  }

  .kod {
    text-align: left;
    max-width: none;
  }

  .cta {
    width: 100%;
    text-align: center;
  }
}