.profile-page {
  position: relative;
  background: transparent;
  color: var(--profile-text-main, #ffffff);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  overflow-x: hidden;
}

.profile-shell {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0 !important;
  padding-bottom: var(--space-6, 24px);
  padding-left: var(--space-4, 16px);
  padding-right: var(--space-4, 16px);
  margin-top: -10px !important;
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: visible;
  overflow-x: hidden;
  overflow-y: visible;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  transform: translateY(-10px);
}

.profile-shell::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

.profile-shell::-webkit-scrollbar-track {
  display: none !important;
  background: transparent !important;
}

.profile-shell::-webkit-scrollbar-thumb {
  display: none !important;
  background: transparent !important;
}

.profile-content {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.profile-header {
  margin-bottom: var(--space-8);
}

.profile-avatar-wrapper {
  margin-bottom: var(--space-5);
  display: flex;
  justify-content: center;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--profile-accent, #A18CD1);
  box-shadow: 0 0 20px var(--profile-social-glow, rgba(255, 255, 255, 0.35));
  transition: transform var(--profile-transition-fast, 180ms ease-out), box-shadow var(--profile-transition-fast, 180ms ease-out);
}

.profile-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px var(--profile-social-glow, rgba(255, 255, 255, 0.5));
}

.profile-avatar-default {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--profile-card-bg, #111111);
  border: 2px solid var(--profile-accent, #A18CD1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--profile-text-main, #ffffff);
  box-shadow: 0 0 20px var(--profile-social-glow, rgba(255, 255, 255, 0.35));
}

.profile-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--profile-text-main, #ffffff);
  margin: 0 0 var(--space-3) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  line-height: 1.3;
}

.profile-verified {
  color: #1DA1F2;
  font-size: 14px;
  filter: drop-shadow(0 0 3px rgba(29, 161, 242, 0.5));
  position: relative;
  cursor: help;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.profile-verified:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(29, 161, 242, 0.8));
}

.profile-verified-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.profile-verified-tooltip {
  position: absolute;
  bottom: 100%;
  right: 50%;
  transform: translateX(50%);
  margin-bottom: 8px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
  font-family: var(--profile-font-family, 'Cairo'), sans-serif;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.profile-verified-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 50%;
  transform: translateX(50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
}

.profile-verified-wrapper:hover .profile-verified-tooltip {
  opacity: 1;
}

/* للجوال - يعمل مع tap */
@media (hover: none) and (pointer: coarse) {
  .profile-verified-wrapper:active .profile-verified-tooltip {
    opacity: 1;
  }
}

.profile-bio {
  font-size: 14px;
  color: var(--profile-text-muted, #d1d5db);
  line-height: 1.6;
  margin: 0;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.profile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.link-card {
  display: block;
  background: var(--profile-card-bg, #111111);
  border: 1px solid var(--profile-card-border, rgba(255, 255, 255, 0.04));
  border-radius: var(--profile-radius-lg, 18px);
  padding: 16px 18px;
  text-decoration: none;
  color: var(--profile-text-main, #ffffff);
  transition: transform var(--profile-transition-fast, 180ms ease-out), box-shadow var(--profile-transition-fast, 180ms ease-out), background var(--profile-transition-fast, 180ms ease-out);
  box-shadow: var(--profile-card-shadow, 0 18px 45px rgba(0, 0, 0, 0.50));
}

.link-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.60);
  background: var(--profile-card-bg, #111111);
}

.link-card-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-align: right;
}

.link-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--profile-accent, #A18CD1)20;
  color: var(--profile-accent, #A18CD1);
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--profile-social-glow, rgba(255, 255, 255, 0.35));
  transition: all var(--profile-transition-fast, 180ms ease-out);
}

.link-card:hover .link-icon {
  box-shadow: 0 0 15px var(--profile-social-glow, rgba(255, 255, 255, 0.5));
  transform: scale(1.1);
}

.link-content {
  flex: 1;
  text-align: right;
}

.link-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--profile-text-main, #ffffff);
  margin-bottom: var(--space-1);
}

.link-description {
  font-size: 13px;
  color: var(--profile-text-muted, #d1d5db);
  line-height: 1.4;
}

.link-whatsapp {
  background: linear-gradient(135deg, var(--profile-accent, #A18CD1), var(--profile-accent, #A18CD1));
  border-color: var(--profile-accent, #A18CD1);
  color: #ffffff;
}

.link-whatsapp:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.60), 0 0 30px var(--profile-accent, #A18CD1)40;
}

.profile-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.social-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: var(--profile-social-color, #ffffff);
  text-decoration: none;
  font-size: 24px;
  transition: all var(--profile-transition-fast, 180ms ease-out);
  filter: drop-shadow(0 0 8px var(--profile-social-glow, rgba(255, 255, 255, 0.35)));
}

.social-icon:hover {
  transform: translateY(-2px) scale(1.1);
  filter: drop-shadow(0 0 12px var(--profile-social-glow, rgba(255, 255, 255, 0.5)));
}

.profile-blocks {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.profile-block {
  background: var(--profile-card-bg, #111111);
  border: 1px solid var(--profile-card-border, rgba(255, 255, 255, 0.04));
  border-radius: var(--profile-radius-lg, 18px);
  padding: var(--space-5);
  box-shadow: var(--profile-card-shadow, 0 18px 45px rgba(0, 0, 0, 0.50));
}

.block-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--profile-text-main, #ffffff);
  margin: 0 0 var(--space-3) 0;
}

.block-content {
  color: var(--profile-text-muted, #d1d5db);
  line-height: 1.7;
  font-size: 14px;
}

.block-image {
  width: 100%;
  border-radius: var(--profile-radius-lg, 18px);
  cursor: pointer;
  transition: transform var(--profile-transition-fast, 180ms ease-out);
}

.block-image:hover {
  transform: scale(1.02);
}

.block-gallery {
  width: 100%;
  border-radius: var(--profile-radius-lg, 18px);
  overflow: hidden;
}

.block-gallery .swiper-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  cursor: pointer;
}

.block-video {
  border-radius: var(--profile-radius-lg, 18px);
  overflow: hidden;
}

.block-video iframe,
.block-video video {
  width: 100%;
  border-radius: var(--profile-radius-lg, 18px);
}

.block-counter {
  text-align: center;
  padding: var(--space-6);
}

.counter-value {
  font-size: 48px;
  font-weight: 700;
  color: var(--profile-accent, #A18CD1);
  margin-bottom: var(--space-2);
  line-height: 1;
  text-shadow: 0 0 15px var(--profile-social-glow, rgba(255, 255, 255, 0.35));
}

.counter-label {
  font-size: 16px;
  color: var(--profile-text-muted, #d1d5db);
}

.block-product {
  text-align: center;
}

.product-image {
  width: 100%;
  max-width: 280px;
  border-radius: var(--profile-radius-lg, 18px);
  margin-bottom: var(--space-4);
}

.product-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--profile-text-main, #ffffff);
  margin: 0 0 var(--space-3) 0;
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--profile-accent, #A18CD1);
  margin: var(--space-4) 0;
  text-shadow: 0 0 12px var(--profile-social-glow, rgba(255, 255, 255, 0.35));
}

.block-contact {
  text-align: right;
}

.contact-form {
  margin-top: var(--space-4);
}

.block-calendar,
.block-music,
.block-file {
  text-align: center;
}

.music-embed {
  border-radius: var(--profile-radius-lg, 18px);
  margin-top: var(--space-4);
}

.profile-report {
  margin-bottom: var(--space-6);
}

.profile-footer {
  margin-top: auto;
  padding: var(--space-5) var(--space-4);
  border-top: 1px solid var(--profile-card-border, rgba(255, 255, 255, 0.04));
  background: var(--profile-card-bg, #111111);
  position: relative;
  z-index: 1;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.footer-content {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.footer-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: var(--profile-text-muted, #d1d5db);
  font-size: 12px;
}

.footer-powered .logo-icon {
  width: 12px;
  height: 12px;
}

.profile-page .btn-primary {
  background: var(--profile-accent, #A18CD1);
  color: #ffffff;
  border: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--profile-radius-lg, 18px);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--profile-transition-fast, 180ms ease-out);
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 15px var(--profile-social-glow, rgba(255, 255, 255, 0.35));
}

.profile-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--profile-social-glow, rgba(255, 255, 255, 0.5));
  opacity: 0.9;
}

.profile-page .input,
.profile-page .textarea,
.profile-page .select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--profile-radius-lg, 18px);
  border: 1px solid var(--profile-card-border, rgba(255, 255, 255, 0.04));
  background: var(--profile-card-bg, #111111);
  color: var(--profile-text-main, #ffffff);
  font-family: inherit;
  transition: all var(--profile-transition-fast, 180ms ease-out);
}

.profile-page .input:focus,
.profile-page .textarea:focus,
.profile-page .select:focus {
  outline: none;
  border-color: var(--profile-accent, #A18CD1)60;
  box-shadow: 0 0 12px var(--profile-social-glow, rgba(255, 255, 255, 0.2));
}

.profile-page .textarea {
  resize: vertical;
  min-height: 100px;
}

.report-card {
  background: var(--profile-card-bg, #111111);
  border: 1px solid var(--profile-card-border, rgba(255, 255, 255, 0.04));
  border-radius: var(--profile-radius-lg, 18px);
  padding: var(--space-5);
  box-shadow: var(--profile-card-shadow, 0 18px 45px rgba(0, 0, 0, 0.50));
}

.report-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--profile-text-main, #ffffff);
  margin: 0 0 var(--space-2) 0;
}

.report-description {
  font-size: 13px;
  color: var(--profile-text-muted, #d1d5db);
  margin: 0 0 var(--space-4) 0;
}

.report-form {
  margin-top: var(--space-4);
}

.report-form .form-group {
  margin-bottom: var(--space-3);
}

.report-form .form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--profile-text-main, #ffffff);
}

.report-form .btn-danger {
  background: #dc3545;
  color: #fff;
  border: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--profile-radius-lg, 18px);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--profile-transition-fast, 180ms ease-out);
  font-size: 14px;
}

.report-form .btn-danger:hover {
  background: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.report-form .btn-danger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 768px) {
  .profile-shell {
    padding: var(--space-4) var(--space-3);
    min-height: calc(100vh - 50px);
  }

  .profile-content {
    max-width: 100%;
    padding: 0 var(--space-2);
  }

  .profile-header {
    margin-bottom: var(--space-6);
  }

  .profile-avatar-wrapper {
    margin-bottom: var(--space-4);
  }

  .profile-avatar,
  .profile-avatar-default {
    width: 90px;
    height: 90px;
    font-size: 32px;
  }

  .profile-name {
    font-size: 18px;
    margin-bottom: var(--space-2);
  }

  .profile-bio {
    font-size: 13px;
    max-width: 100%;
    padding: 0 var(--space-2);
  }

  .profile-links {
    gap: var(--space-2);
    margin-bottom: var(--space-4);
  }

  .link-card {
    padding: 14px 16px;
  }

  .link-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .link-title {
    font-size: 15px;
  }

  .link-description {
    font-size: 12px;
  }

  .profile-social {
    gap: 16px;
    margin-bottom: var(--space-4);
  }

  .social-icon {
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

  .profile-blocks {
    gap: var(--space-3);
    margin-bottom: var(--space-4);
  }

  .profile-block {
    padding: var(--space-4);
  }

  .block-gallery .swiper-slide img {
    height: 200px;
  }

  .block-video iframe,
  .block-video video {
    aspect-ratio: 16/9;
    height: auto;
  }

  .product-image {
    max-width: 100%;
  }

  .block-title {
    font-size: 16px;
  }

  .block-content {
    font-size: 13px;
  }

  .counter-value {
    font-size: 36px;
  }

  .counter-label {
    font-size: 14px;
  }

  .product-title {
    font-size: 18px;
  }

  .product-price {
    font-size: 20px;
  }

  .profile-footer {
    padding: var(--space-4) var(--space-3);
  }

  .footer-powered {
    font-size: 11px;
  }
}

@media (min-width: 768px) {
  .profile-content {
    max-width: 480px;
  }

  .profile-avatar {
    width: 110px;
    height: 110px;
  }

  .profile-avatar-default {
    width: 110px;
    height: 110px;
    font-size: 40px;
  }

  .profile-name {
    font-size: 22px;
  }

  .profile-bio {
    font-size: 15px;
    max-width: 380px;
  }

  .link-card {
    padding: 18px 20px;
  }

  .link-title {
    font-size: 17px;
  }

  .link-description {
    font-size: 14px;
  }
}

@media (min-width: 1024px) {
  .profile-content {
    max-width: 520px;
  }

  .profile-avatar {
    width: 120px;
    height: 120px;
  }

  .profile-avatar-default {
    width: 120px;
    height: 120px;
    font-size: 44px;
  }

  .profile-name {
    font-size: 24px;
  }

  .profile-bio {
    font-size: 16px;
    max-width: 420px;
  }
}

@media (max-width: 480px) {
  .profile-shell {
    padding: var(--space-4) var(--space-3);
  }

  .profile-content {
    max-width: 100%;
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
  }

  .profile-avatar-default {
    width: 80px;
    height: 80px;
    font-size: 32px;
  }

  .profile-name {
    font-size: 20px;
  }

  .profile-bio {
    font-size: 14px;
    max-width: 100%;
  }

  .link-card {
    padding: 14px 16px;
  }

  .link-title {
    font-size: 15px;
  }

  .link-description {
    font-size: 13px;
  }

  .social-links {
    gap: 12px;
  }

  .social-link {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}


.kick-widget-card {
  direction: rtl;
  text-align: right;
}

.kick-widget-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 20px var(--kick-card-glow, rgba(83, 252, 24, 0.2)) !important;
  transform: translateY(-2px);
}

.kick-visit-btn {
  direction: rtl;
}

.kick-visit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--kick-btn-hover-glow, rgba(83, 252, 24, 0.4)) !important;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.kick-connection-card {
  direction: rtl;
  text-align: right;
}

.kick-connection-card:hover {
  border-color: rgba(83, 252, 24, 0.5) !important;
  box-shadow: 0 8px 24px rgba(83, 252, 24, 0.2) !important;
}

[dir="rtl"] .kick-widget-card,
[dir="rtl"] .kick-connection-card {
  direction: rtl;
  text-align: right;
}

[dir="ltr"] .kick-widget-card,
[dir="ltr"] .kick-connection-card {
  direction: ltr;
  text-align: left;
}

.block-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.block-gallery-item {
  position: relative;
  padding-top: 80%;
  overflow: hidden;
  border-radius: 4px;
}

.block-gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.block-gallery-item:first-child {
  border-start-start-radius: 20px;
  border-end-start-radius: 20px;
}

.block-gallery-item:last-child {
  border-start-end-radius: 20px;
  border-end-end-radius: 20px;
}

[dir="rtl"] .block-gallery-item:first-child {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

[dir="rtl"] .block-gallery-item:last-child {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

[dir="ltr"] .block-gallery-item:first-child {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

[dir="ltr"] .block-gallery-item:last-child {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}