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

:root {
  --orange: #ff7700;
  --orange-dark: #e06500;
  --orange-light: #ff9933;
  --dark-bg: #1a1008;
  --light-bg: #f2f2f2;
  --white: #ffffff;
  --text-dark: #222;
  --text-muted: #555;
  --card-border: #ff7700;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
div,
input,
textarea,
select,
label {
  font-family: inherit;
}

/* ── HEADER ── */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 108px;
  background: transparent;
  transition: background .3s, box-shadow .3s;
}

header.sticky {
  position: fixed;
  top: 0;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

header.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  max-width: 1620px;
  padding: 0 10px;
  margin: 0 auto;
}

.header-logo-img {
  background-size: contain;
  width: 100%;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .header-logo-img {
    max-width: 400px;
  }
}

@media (min-width: 1600px) and (min-height: 850px) {
  .header-logo-img {
    max-width: 500px;
    height: 4em;
  }
}

.profile-online-tag.away {
  color: #ff7700;
}

.profile-online-tag.away .dot {
  background: #ff7700;
  animation: none;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.header-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color .2s;
}

@media (min-width: 768px) and (min-width: 1600px) and (min-height: 850px) {
  .header-links a {
    font-size: 150%;
  }

  .btn-login {
    font-size: 150% !important;
  }
}

.header-links a:hover {
  color: var(--orange);
}

header.scrolled .header-links a {
  color: var(--text-dark);
}

header.scrolled .header-links a:hover {
  color: var(--orange);
}

header.sticky .header-links a {
  color: var(--text-dark);
}

header.sticky .header-links a:hover {
  color: var(--orange);
}

.btn-login {
  background: #888;
  color: var(--white) !important;
  padding: 10px 12px;
  border-radius: 4px;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background .2s !important;
}

.btn-login:hover {
  background: #777 !important;
  color: var(--white) !important;
}

/* ── HEADER HIDE MOBILE ── */
@media (max-width: 900px) {
  .header-hide-mobile {
    display: none;
  }
}

/* ── BTN CTA ── */
.btn-cta {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 1px 1px 1px #000;
  padding: 16px 48px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}

.btn-cta:hover {
  background: var(--orange-dark);
}

.hero .btn-cta,
.cta-footer .btn-cta,
.how-cta-wrap .btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.hero .btn-cta {
  width: 380px;
  height: 60px;
  margin: 0 auto;
}

.cta-footer .btn-cta {
  width: 300px;
  height: 50px;
  margin: 0 auto;
}

.btn-cta-outline {
  display: inline-block;
  background: transparent;
  color: var(--orange);
  font-family: Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 48px;
  border-radius: 10px;
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.btn-cta-outline:hover {
  background: rgba(255, 119, 0, 0.08);
}

/* ── ONLINE BADGE ── */
@keyframes onlineFlash {
  0% {
    color: #ffffff;
  }

  30% {
    color: #4cff72;
  }

  100% {
    color: #ffffff;
  }
}

.online-flash {
  animation: onlineFlash 0.6s ease forwards;
}

.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 119, 0, 0.5);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 22px;
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 600;
}

.online-dot {
  width: 9px;
  height: 9px;
  background: #4cff72;
  border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

/* ── ONLINE TAG ── */
.profile-online-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #4cff72;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.4px;
}

.profile-online-tag .dot {
  width: 7px;
  height: 7px;
  background: #4cff72;
  border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

@keyframes onlineFlash {
  0% {
    color: #fff;
  }

  30% {
    color: #4cff72;
  }

  100% {
    color: #fff;
  }
}

.online-flash {
  animation: onlineFlash 0.6s ease forwards;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/background-desktop.webp') center/cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.hero-card {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  padding: 52px 60px;
  text-align: center;
  max-width: 620px;
  width: 100%;
  backdrop-filter: blur(1px);
  border: none;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 119, 0, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 119, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 119, 0, 0);
  }
}

.btn-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.btn-pulse:hover {
  animation: none;
}

.hero-card h1 {
  font-family: 'Open Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.hero-card .tagline {
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.hero-card .sub {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* ── SECTION BASE ── */
section {
  padding: 40px 20px;
}

.section-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  text-align: center;
  margin-bottom: 28px;
  margin-top: -8px;
  letter-spacing: 0.3px;
}

/* ── PROFILES ── */
.profiles {
  background: var(--light-bg);
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.profile-card {
  background: var(--white);
  border-radius: 10px;
  border: 2px solid var(--card-border);
  overflow: hidden;
  text-align: center;
  position: relative;
}

.profile-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
}

.profile-name {
  color: var(--orange);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 14px 0 4px;
  padding: 0 12px;
}

.profile-dist {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.profile-card .btn-cta {
  display: block;
  margin: 0 14px 16px;
  padding: 14px 16px;
  font-size: 1rem;
}

/* ── FEATURES ── */
.features {
  background: var(--white);
}

.features-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.feature-text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
}

.feature-text strong {
  font-weight: 700;
}

/* ── HOW IT WORKS ── */
.how {
  background: var(--light-bg);
}

.how-subtitle {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-top: -16px;
  margin-bottom: 28px;
}

.how-cta-wrap {
  text-align: center;
  margin-top: 36px;
}

.how-cta-wrap .btn-cta {
  width: 300px;
  height: 50px;
  margin: 0 auto;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.how-circle {
  width: 88px;
  height: 88px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.how-circle svg {
  width: 42px;
  height: 42px;
  fill: var(--white);
}

.how-subtitle {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-top: -4px;
  margin-bottom: 28px;
}

.how-item h3 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.how-item p {
  font-size: 0.9rem;
  color: #000;
  line-height: 1.65;
}

/* ── REVIEWS ── */
.reviews {
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.review-stars {
  color: var(--orange);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-card {
  background: var(--light-bg);
  border-radius: 10px;
  padding: 28px 30px;
  text-align: center;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-dark);
}

.review-user {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.review-user img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
}

.review-user-info {
  text-align: left;
}

.review-user-name {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.95rem;
}

.review-user-gender {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ── CTA FOOTER ── */
.cta-footer {
  position: relative;
  text-align: center;
  padding: 50px 20px;
  overflow: hidden;
}

.cta-footer-bg {
  position: absolute;
  inset: 0;
  background: url('../images/background-desktop.webp') center/cover no-repeat;
}

.cta-footer-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.cta-footer-content {
  position: relative;
  z-index: 2;
}

.cta-footer h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-footer p {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 30px;
}

/* ── PROFILE PAGE LAYOUT ── */
.profile-page-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 100px 20px 10px;
}

.profile-page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin-bottom: 32px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.3px;
  transition: color .2s;
}

.profile-page-back:hover {
  color: var(--orange-dark);
}

.profile-page-back svg {
  width: 18px;
  height: 18px;
  fill: var(--orange);
}

.profile-page-top {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  margin-bottom: 40px;
  margin-top: 30px;
}

.profile-page-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--orange);
}

.profile-page-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
}

.profile-page-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}

#pp-verified {
  margin-top: 0;
  margin-bottom: 0;
}

.profile-page-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0;
}

.profile-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-meta-realname {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--text-dark) !important;
  background: #f0f0f0 !important;
  border: 1px solid #ddd !important;
  border-radius: 999px;
  padding: 5px 14px;
}

.profile-meta-tag {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--text-dark) !important;
  background: #f0f0f0 !important;
  border: 1px solid #ddd !important;
  border-radius: 999px;
  padding: 5px 14px;
}

.profile-page-desc {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--light-bg);
  border-radius: 10px;
  padding: 18px 20px;
}

.profile-page-cta {
  margin-top: 8px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.profile-btn {
  font-size: 1rem;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
}

.btn-cta-outline.profile-btn {
  padding: 10px 22px;
  border: 2px solid var(--orange);
}

.profile-btn-icon {
  flex-shrink: 0;
}

.profile-verified-icon {
  width: 26px;
  height: 26px;
  vertical-align: middle;
  margin-left: 6px;
  margin-top: -6px;
  flex-shrink: 0;
  display: inline-block;
}

/* ── PROFILE TABS ── */
.profile-tabs {
  display: flex;
  justify-content: center;
  border-bottom: 2px solid var(--orange);
  margin-bottom: 24px;
}

.profile-tab {
  padding: 12px 28px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: #e8e8e8;
  color: var(--text-dark);
  letter-spacing: 0.2px;
  transition: background .2s, color .2s;
  border-right: 1px solid #ccc;
}

.profile-tab:first-child {
  border-radius: 4px 0 0 0;
}

.profile-tab:last-child {
  border-right: none;
  border-radius: 0 4px 0 0;
}

.profile-tab:hover {
  background: #d4d4d4;
}

.profile-tab.active {
  background: var(--orange);
  color: var(--white);
}

.profile-tab-content {
  display: none;
}

.profile-tab-content.active {
  display: block;
}

/* ── LOCKED SECTION ── */
.profile-lock-section {
  text-align: center;
  padding: 28px 0;
  margin-top: 8px;
}

/* zakładki bez galerii — mniejszy padding górny */
#tab-videos .profile-lock-section,
#tab-friends .profile-lock-section,
#tab-posts .profile-lock-section {
  padding-top: 5px;
}

.profile-lock-section svg {
  width: 52px;
  height: 52px;
  fill: var(--orange);
  margin-bottom: 12px;
}

.profile-lock-section h3 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.profile-lock-section p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.profile-lock-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn-lock-login {
  background: none;
  color: var(--orange);
  font-family: Arial, sans-serif;
  font-weight: 700;
  padding: 13px 0;
  border-radius: 10px;
  border: 2px solid var(--orange);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  width: 180px;
  text-align: center;
  transition: background .2s, color .2s;
  text-shadow: 1px 1px 1px #fff;
}

.btn-lock-login:hover {
  background: rgba(255, 119, 0, 0.08);
}

.btn-lock-register {
  background: var(--orange);
  color: var(--white);
  font-family: Arial, sans-serif;
  font-weight: 700;
  padding: 13px 0;
  border-radius: 10px;
  border: 2px solid var(--orange);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  width: 180px;
  text-align: center;
  transition: background .2s;
  text-shadow: 1px 1px 1px #000;
}

.btn-lock-register:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

/* ── PROFILE GALLERY ── */
.profile-page-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.profile-page-gallery img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: border-color .2s;
  cursor: pointer;
}

.profile-page-gallery img:hover {
  border-color: var(--orange);
}

.profile-page-locked {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
}

.profile-page-locked img {
  filter: brightness(0.5);
  display: block;
  width: 100%;
}

.profile-page-locked:hover {
  border-color: var(--orange);
}

.profile-page-locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-page-locked-overlay svg {
  width: 32px;
  height: 32px;
  fill: rgba(255, 255, 255, 0.8);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .profile-page-top {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 30px;
  }

  .profile-page-photo {
    max-width: 400px;
    margin: 0 auto;
  }

  .profile-page-cta .btn-cta,
  .profile-page-cta .btn-cta-outline {
    width: 250px;
    justify-content: center;
  }

  .profile-page-info {
    align-items: center;
    text-align: center;
  }

  .profile-page-name {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .profile-page-name::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .profile-page-name span {
    flex: 1;
    text-align: center;
  }

  .profile-page-name .profile-verified-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .profile-page-meta {
    justify-content: center;
  }

  .profile-page-cta {
    justify-content: center;
  }

  .profile-page-gallery {
    grid-template-columns: repeat(2, 1fr);

  }

  .profiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  /* header-links zawsze widoczne, ukrywamy tylko pozycje .header-hide-mobile */
}

@media (max-width: 600px) {
  header {
    height: 96px;
  }

  .profile-page-wrap {
    padding: 110px 20px 10px;
  }

  .profile-page-top {
    margin-top: 0px;
  }

  .profile-page-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .profiles-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-card {
    padding: 36px 24px;
  }

  .hero-card h1 {
    font-size: 1.7rem;
  }

  .header-inner {
    padding: 0 16px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .logo img {
    width: 95% !important;
  }

  .cta-footer h2 {
    font-size: 1.65rem;
  }

  .hero .btn-cta {
    width: calc(100% - 20px);
    height: 58px;
    margin: 0 auto;
  }

  .cta-footer .btn-cta {
    width: 90%;
    margin: 0 auto;
  }

  .how-cta-wrap .btn-cta {
    width: 90%;
    margin: 0 auto;
  }

  .profile-lock-btns {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .btn-lock-login,
  .btn-lock-register {
    width: 100%;
  }

  .profile-tab {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .profile-page-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .profile-page-cta .btn-cta,
  .profile-page-cta .btn-cta-outline,
  .profile-page-cta .profile-btn {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero-bg {
    background-image: url('../images/background-mobile.webp');
  }

}