:root {
  --brand-purple: #8b2fc9;
  --brand-purple-dark: #6a1e9e;
  --brand-lime: #85d638;
  --brand-lime-dark: #6fb328;
  --bg-dark: #0d0617;
  --bg-gradient-start: #1f1035;
  --text-main: #ffffff;
  --text-muted: #9ca3af;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-dark);
  background-image: linear-gradient(
    135deg,
    var(--bg-gradient-start) 0%,
    var(--bg-dark) 100%
  );
  background-attachment: fixed;
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

.page-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 10px;
  position: relative;
  overflow-x: hidden;
}

.blur-circle-1 {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  background: rgba(139, 47, 201, 0.15);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.blur-circle-2 {
  position: absolute;
  bottom: 5%;
  right: 10%;
  width: 240px;
  height: 240px;
  background: rgba(133, 214, 56, 0.1);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 500px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  margin-bottom: 20px;
}

.card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.official-badge {
  background: var(--brand-lime);
  color: #111827;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  border-color: var(--brand-lime);
}

.lang-btn i.fa-chevron-right {
  font-size: 9px;
  margin-left: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-dropdown-wrapper.active .lang-btn i.fa-chevron-right {
  transform: rotate(90deg);
}

.flag-icon {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  background: #150a24;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
  min-width: 150px;
}

.lang-dropdown-wrapper.active .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-option {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
  text-align: left;
  width: 100%;
  background: none;
  border: none;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand-lime);
}

.logo-frame {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px auto;
  border-radius: 20px;
  padding: 4px;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-lime));
  box-shadow: 0 8px 20px rgba(139, 47, 201, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-inner {
  width: 100%;
  height: 100%;
  background: #111827;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
}

.logo-inner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.profile-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.profile-location {
  color: var(--brand-lime);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

.profile-desc {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
  padding: 0 8px;
}

.quick-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-lime);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: var(--brand-lime);
  transform: translateY(-2px);
}

.links-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-item {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brand-lime);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(133, 214, 56, 0.2);
}

.link-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.link-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.link-icon-box img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.link-text h2 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  transition: color 0.2s ease;
}

.link-item:hover .link-text h2 {
  color: var(--brand-lime);
}

.link-text p {
  font-size: 11px;
  color: var(--text-muted);
}

.link-arrow {
  color: var(--text-muted);
  font-size: 13px;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.link-item:hover .link-arrow {
  color: var(--text-main);
  transform: translateX(4px);
}

.accordion-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-header {
  width: 100%;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.08);
}

.accordion-header:hover h2 {
  color: var(--brand-lime);
}

.accordion-arrow {
  font-size: 13px;
  color: #9ca3af;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-container.active .accordion-arrow {
  transform: rotate(90deg);
  color: #fff;
}

.accordion-content {
  max-height: 0;
  overflow-y: auto;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 12px;
}

.accordion-container.active .accordion-content {
  max-height: 600px;
  padding: 12px;
}

.sub-link-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s ease;
}

.sub-link-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brand-lime);
  transform: translateX(4px);
}

.sub-link-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sub-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(133, 214, 56, 0.15);
  color: var(--brand-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.sub-link-text h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.sub-link-text p {
  font-size: 10px;
  color: #9ca3af;
}

.footer {
  margin-top: 30px;
  text-align: center;
}

.footer p {
  font-size: 11px;
  color: var(--text-muted);
}

.footer span {
  color: var(--text-main);
  font-weight: 500;
}

.footer .sub-note {
  font-size: 10px;
  color: #6b7280;
  margin-top: 4px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.share-modal {
  background: #150a24;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 90%;
  max-width: 340px;
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .share-modal {
  transform: scale(1);
}

.share-modal h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.share-option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  text-decoration: none;
}

.share-option-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform 0.2s ease;
}

.share-wa {
  background: #25d366;
  color: #fff;
}
.share-fb {
  background: #1877f2;
  color: #fff;
}
.share-tw {
  background: #1da1f2;
  color: #fff;
}
.share-copy {
  background: #4b5563;
  color: #fff;
}

.close-modal-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #111827;
  border: 1px solid var(--brand-lime);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1100;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast i {
  color: var(--brand-lime);
  font-size: 16px;
}

.wc-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.wc-modal-overlay.show {
  display: flex;
}
.wc-modal-box {
  position: relative;
  background: #ffffff;
  padding: 16px;
  border-radius: 18px;
  max-width: 320px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.wc-modal-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.wc-modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #111827;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}