﻿/* Base Styles */
    html {
      scroll-behavior: smooth
    }

    html,
    body {
      height: 100%
    }

    body {
      margin: 0;
      background: #000;
      color: #fff;
      font-family: 'Tajawal', 'Cairo', 'Inter', 'Poppins', system-ui, Segoe UI, Helvetica, Arial, sans-serif;
      font-weight: 400;
      letter-spacing: .01em;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale
    }

    [dir="rtl"] body {
      font-family: 'Tajawal', 'Cairo', 'Inter', system-ui, Segoe UI, Helvetica, Arial, sans-serif
    }

    [dir="ltr"] body {
      font-family: 'Inter', 'Poppins', 'Tajawal', 'Cairo', system-ui, Segoe UI, Helvetica, Arial, sans-serif
    }

    a {
      color: inherit;
      text-decoration: none
    }

    .container {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 16px
    }

    /* Header */
    header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: linear-gradient(135deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .75));
      backdrop-filter: blur(20px) saturate(180%);
      border-bottom: 1px solid rgba(255, 255, 255, .08);
      box-shadow: 0 8px 32px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .05);
      transition: all .3s ease;
      position: relative;
      overflow: visible
    }

    header:before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(16, 185, 129, .03), rgba(45, 212, 191, .02), transparent);
      pointer-events: none;
      z-index: 0
    }

    header:after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(16, 185, 129, .4), transparent);
      opacity: .6;
      opacity: 0.5
    }

    @keyframes headerGlow {

      0%,
      100% {
        opacity: .3
      }

      50% {
        opacity: .8
      }
    }

    .nav {
      display: flex;
      flex-direction: row !important;
      direction: ltr !important;
      align-items: center;
      justify-content: space-between;
      padding: 20px 0;
      position: relative;
      z-index: 1;
      overflow: visible;
      gap: 24px
    }

    header .container {
      padding-right: 0;
      padding-left: 16px
    }

    .brand {
      display: flex;
      gap: 12px;
      align-items: center;
      transition: transform .3s ease;
      position: relative;
      flex-wrap: nowrap
    }

    .brand:hover {
      transform: scale(1.02)
    }

    .brand span:not(.dot),
    .brand a {
      font-weight: 800;
      font-size: 18px;
      background: linear-gradient(135deg, #fff, #34d399);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      transition: all .3s ease;
      position: relative;
      font-family: 'Tajawal', 'Cairo', 'Inter', 'Poppins', system-ui, sans-serif;
      letter-spacing: -.01em;
      color: #fff;
      text-decoration: none;
      white-space: nowrap;
      display: inline-block;
      line-height: 1.2
    }

    .dot {
      width: 12px;
      height: 12px;
      border-radius: 9999px;
      background: linear-gradient(135deg, #10b981, #34d399);
      display: inline-block;
      position: relative;
      box-shadow: 0 0 10px rgba(16, 185, 129, .5), 0 0 20px rgba(16, 185, 129, .3);
      opacity: 0.8
    }

    .dot:before {
      content: "";
      position: absolute;
      inset: -4px;
      border-radius: 9999px;
      background: radial-gradient(circle, #10b981, transparent);
      opacity: .4;
      opacity: 0.6
    }

    @keyframes dotPulse {

      0%,
      100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(16, 185, 129, .5), 0 0 20px rgba(16, 185, 129, .3)
      }

      50% {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(16, 185, 129, .7), 0 0 30px rgba(16, 185, 129, .5)
      }
    }

    @keyframes dotRipple {
      0% {
        transform: scale(.8);
        opacity: .4
      }

      100% {
        transform: scale(1.5);
        opacity: 0
      }
    }

    .links {
      display: flex;
      flex-direction: row !important;
      direction: ltr !important;
      gap: 12px;
      color: rgba(255, 255, 255, .8);
      font-size: 15px;
      align-items: center !important;
      position: relative;
      flex-wrap: nowrap;
      align-self: center !important;
      justify-content: center;
      flex: 1;
      max-width: fit-content;
      margin: 0 auto
    }

    .links a,
    .links button,
    .links>div {
      position: relative;
      transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
      padding: 12px 22px;
      border-radius: 14px;
      font-weight: 600;
      overflow: visible;
      white-space: nowrap;
      min-width: fit-content;
      flex-shrink: 0;
      direction: ltr !important;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      height: auto;
      line-height: 1.4;
      margin: 0;
      font-size: 15px
    }

    .links a {
      background: linear-gradient(135deg, rgba(16, 185, 129, .08), rgba(45, 212, 191, .05));
      backdrop-filter: blur(10px) saturate(180%);
      border: 1.5px solid rgba(52, 211, 153, .2);
      color: rgba(255, 255, 255, .95);
      text-decoration: none;
      cursor: pointer;
      box-shadow: 0 2px 8px rgba(0, 0, 0, .2), 0 0 20px rgba(16, 185, 129, .1), inset 0 1px 0 rgba(255, 255, 255, .1);
      text-shadow: 0 1px 2px rgba(0, 0, 0, .3)
    }

    .links a:hover {
      color: #34d399;
      transform: translateY(-4px) scale(1.05);
      background: linear-gradient(135deg, rgba(16, 185, 129, .2), rgba(45, 212, 191, .15));
      border-color: rgba(52, 211, 153, .5);
      box-shadow: 0 8px 24px rgba(16, 185, 129, .4), 0 0 40px rgba(16, 185, 129, .3), 0 0 60px rgba(16, 185, 129, .15), inset 0 1px 0 rgba(255, 255, 255, .2);
      text-shadow: 0 0 10px rgba(52, 211, 153, .5), 0 2px 4px rgba(0, 0, 0, .4)
    }

    /* Shop Section */
    .shop-hero {
      padding: 80px 0 60px;
      text-align: center;
      position: relative;
      overflow: hidden
    }

    .shop-hero::before {
      content: "";
      position: absolute;
      top: -50%;
      right: -50%;
      width: 200%;
      height: 200%;
      background: conic-gradient(from 0deg, transparent, rgba(251, 191, 36, .08), transparent);
      /* removed */
      ;
      filter: blur(60px);
      pointer-events: none
    }

    @keyframes gradientRotate {
      from {
        transform: rotate(0deg)
      }

      to {
        transform: rotate(360deg)
      }
    }

    .shop-hero h1 {
      font-size: 42px;
      font-weight: 800;
      margin: 0 0 16px;
      background: linear-gradient(135deg, #fbbf24, #fcd34d);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: fadeInUp .8s ease-out
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px)
      }

      to {
        opacity: 1;
        transform: translateY(0)
      }
    }

    .shop-hero p {
      font-size: 18px;
      color: rgba(255, 255, 255, .7);
      margin: 0;
      animation: fadeInUp .8s ease-out .2s both
    }

    .shop-container {
      padding: 40px 0 80px;
      position: relative;
      z-index: 1
    }

    .shop-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 24px;
      max-width: 1200px;
      margin: 0 auto
    }

    .shop-item {
      background: rgba(0, 0, 0, .5);
      border: 2px solid rgba(251, 191, 36, .2);
      border-radius: 20px;
      overflow: hidden;
      transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
      box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
      position: relative;
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp .6s ease-out forwards
    }

    .shop-item:nth-child(1) {
      animation-delay: .1s
    }

    .shop-item:nth-child(2) {
      animation-delay: .2s
    }

    .shop-item:nth-child(3) {
      animation-delay: .3s
    }

    .shop-item:nth-child(4) {
      animation-delay: .4s
    }

    .shop-item:nth-child(5) {
      animation-delay: .5s
    }

    .shop-item:nth-child(6) {
      animation-delay: .6s
    }

    .shop-item-header {
      position: relative;
      padding: 28px;
      text-align: center;
      background: linear-gradient(135deg, rgba(251, 191, 36, .1), rgba(245, 158, 11, .05));
      border-bottom: 1px solid rgba(251, 191, 36, .2)
    }

    .shop-item-icon {
      width: 80px;
      height: 80px;
      margin: 0 auto 16px;
      border-radius: 50%;
      background: linear-gradient(135deg, #fbbf24, #fcd34d);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 32px rgba(251, 191, 36, .4), 0 0 40px rgba(251, 191, 36, .2);
      position: relative;
      overflow: hidden
    }

    .shop-item-icon i {
      font-size: 36px;
      color: #000;
      position: relative;
      z-index: 1;
      transition: all 0.3s ease
    }

    @keyframes iconFloat {

      0%,
      100% {
        transform: translateY(0)
      }

      50% {
        transform: translateY(-8px)
      }
    }

    .shop-item-icon::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle, rgba(255, 255, 255, .3), transparent);
      opacity: 0.7
    }

    @keyframes pulseGlow {

      0%,
      100% {
        opacity: .6
      }

      50% {
        opacity: 1
      }
    }

    .shop-item-title {
      font-size: 20px;
      font-weight: 700;
      color: #fbbf24;
      margin: 0 0 8px;
      text-shadow: 0 2px 10px rgba(251, 191, 36, .4)
    }

    .shop-item-desc {
      font-size: 14px;
      color: rgba(255, 255, 255, .7);
      margin: 0;
      line-height: 1.6;
      min-height: 40px
    }

    .shop-item-body {
      padding: 24px
    }

    .shop-item-price {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-bottom: 20px;
      padding: 16px;
      background: rgba(251, 191, 36, .08);
      border-radius: 12px;
      border: 1px solid rgba(251, 191, 36, .2)
    }

    .shop-item-price-icon {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: linear-gradient(135deg, #10b981, #34d399);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(16, 185, 129, .3)
    }

    .shop-item-price-icon i {
      font-size: 16px;
      color: #000
    }

    .shop-item-price-value {
      font-size: 24px;
      font-weight: 800;
      color: #34d399;
      text-shadow: 0 2px 8px rgba(52, 211, 153, .4)
    }

    .shop-item-price-unit {
      font-size: 14px;
      color: rgba(255, 255, 255, .7)
    }

    .shop-item-buy {
      width: 100%;
      padding: 16px;
      background: linear-gradient(135deg, rgba(251, 191, 36, .2), rgba(245, 158, 11, .15));
      border: 2px solid rgba(251, 191, 36, .4);
      border-radius: 12px;
      color: #fbbf24;
      cursor: pointer;
      transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
      font-size: 16px;
      font-weight: 700;
      font-family: inherit;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      box-shadow: 0 4px 16px rgba(251, 191, 36, .2);
      position: relative;
      overflow: hidden
    }

    /* Under-button shimmer effect */
    .shop-item-buy::before {
      content: "";
      position: absolute;
      inset: 0;
      transform: translateX(-100%);
      background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .25), transparent);
      opacity: 0;
      transition: opacity .3s ease;
      pointer-events: none
    }

    .shop-item-buy:hover::before {
      opacity: .9;
      opacity: 0.5
    }

    .shop-item-buy:hover {
      background: linear-gradient(135deg, rgba(251, 191, 36, .3), rgba(245, 158, 11, .25));
      border-color: rgba(251, 191, 36, .6);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(251, 191, 36, .4), 0 0 40px rgba(251, 191, 36, .2)
    }

    .shop-item-buy:active {
      transform: translateY(0)
    }

    .shop-item-buy:disabled {
      opacity: .5;
      cursor: not-allowed;
      transform: none
    }

    .shop-item-buy:disabled:hover {
      transform: none;
      box-shadow: 0 4px 16px rgba(251, 191, 36, .2)
    }

    .shop-item:hover {
      border-color: rgba(251, 191, 36, .4);
      box-shadow: 0 8px 32px rgba(251, 191, 36, .2), 0 0 40px rgba(251, 191, 36, .1);
      transform: translateY(-4px)
    }

    /* User Points Display */
    .user-points-banner {
      max-width: 1200px;
      margin: 0 auto 40px;
      padding: 24px;
      background: linear-gradient(135deg, rgba(52, 211, 153, .15), rgba(16, 185, 129, .1));
      border: 2px solid rgba(52, 211, 153, .3);
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      box-shadow: 0 8px 32px rgba(52, 211, 153, .15);
      cursor: pointer;
      transition: all .3s ease;
      user-select: none
    }

    .user-points-banner:hover {
      border-color: rgba(52, 211, 153, .5);
      background: linear-gradient(135deg, rgba(52, 211, 153, .2), rgba(16, 185, 129, .15));
      transform: translateY(-2px);
      box-shadow: 0 12px 40px rgba(52, 211, 153, .2)
    }

    .user-points-banner:active {
      transform: translateY(0) scale(.99)
    }

    .user-points-info {
      display: flex;
      align-items: center;
      gap: 20px;
      flex: 1
    }

    .user-points-icon {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: linear-gradient(135deg, #10b981, #34d399);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 24px rgba(16, 185, 129, .4), 0 0 30px rgba(16, 185, 129, .2);
      flex-shrink: 0
    }

    .user-points-icon i {
      font-size: 28px;
      color: #000
    }

    .user-points-text {
      flex: 1
    }

    .user-points-label {
      font-size: 14px;
      color: rgba(255, 255, 255, .7);
      margin-bottom: 6px
    }

    .user-points-value {
      font-size: 32px;
      font-weight: 800;
      color: #34d399;
      text-shadow: 0 2px 12px rgba(52, 211, 153, .4);
      display: flex;
      align-items: center;
      gap: 8px
    }

    .user-points-unit {
      font-size: 16px;
      font-weight: 500;
      color: rgba(255, 255, 255, .7)
    }

    /* Success/Error Messages */
    .shop-message {
      position: fixed;
      top: 20px;
      right: 20px;
      padding: 20px 24px;
      border-radius: 16px;
      box-shadow: 0 12px 40px rgba(0, 0, 0, .8);
      z-index: 999999;
      animation: slideInRight .4s cubic-bezier(.34, 1.56, .64, 1);
      max-width: 400px;
      backdrop-filter: blur(20px)
    }

    @keyframes slideInRight {
      from {
        transform: translateX(400px);
        opacity: 0
      }

      to {
        transform: translateX(0);
        opacity: 1
      }
    }

    .shop-message.success {
      background: linear-gradient(135deg, rgba(16, 185, 129, .9), rgba(52, 211, 153, .85));
      border: 2px solid rgba(52, 211, 153, .5)
    }

    .shop-message.error {
      background: linear-gradient(135deg, rgba(239, 68, 68, .9), rgba(248, 113, 113, .85));
      border: 2px solid rgba(239, 68, 68, .5)
    }

    .shop-message-content {
      display: flex;
      align-items: center;
      gap: 16px;
      color: #fff
    }

    .shop-message-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .2);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0
    }

    .shop-message-icon i {
      font-size: 20px
    }

    .shop-message-text {
      flex: 1;
      font-size: 15px;
      font-weight: 600;
      line-height: 1.5
    }

    /* Confirmation Modal */
    .confirmation-modal {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .8);
      backdrop-filter: blur(10px);
      z-index: 999999;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: all .3s ease
    }

    .confirmation-modal.show {
      opacity: 1;
      visibility: visible
    }

    .confirmation-modal-content {
      background: linear-gradient(135deg, rgba(0, 0, 0, .95), rgba(0, 0, 0, .9));
      border: 2px solid rgba(251, 191, 36, .3);
      border-radius: 20px;
      padding: 32px;
      max-width: 400px;
      width: 90%;
      box-shadow: 0 20px 60px rgba(0, 0, 0, .8), 0 0 40px rgba(251, 191, 36, .2);
      transform: scale(.9);
      transition: transform .3s ease
    }

    .confirmation-modal.show .confirmation-modal-content {
      transform: scale(1)
    }

    .confirmation-modal-header {
      text-align: center;
      margin-bottom: 24px
    }

    .confirmation-modal-icon {
      width: 80px;
      height: 80px;
      margin: 0 auto 16px;
      border-radius: 50%;
      background: linear-gradient(135deg, #fbbf24, #fcd34d);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 32px rgba(251, 191, 36, .4)
    }

    .confirmation-modal-icon i {
      font-size: 32px;
      color: #000
    }

    .confirmation-modal-title {
      font-size: 24px;
      font-weight: 700;
      color: #fbbf24;
      margin: 0 0 8px;
      text-shadow: 0 2px 10px rgba(251, 191, 36, .4)
    }

    .confirmation-modal-subtitle {
      font-size: 16px;
      color: rgba(255, 255, 255, .7);
      margin: 0;
      line-height: 1.5
    }

    .confirmation-modal-body {
      text-align: center;
      margin-bottom: 32px
    }

    .confirmation-modal-item {
      background: rgba(251, 191, 36, .1);
      border: 1px solid rgba(251, 191, 36, .3);
      border-radius: 12px;
      padding: 20px;
      margin-bottom: 16px
    }

    .confirmation-modal-item-name {
      font-size: 18px;
      font-weight: 600;
      color: #fcd34d;
      margin-bottom: 8px
    }

    .confirmation-modal-item-price {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 20px;
      font-weight: 700;
      color: #34d399
    }

    .confirmation-modal-item-price i {
      font-size: 16px
    }

    .confirmation-modal-actions {
      display: flex;
      gap: 16px
    }

    .confirmation-modal-btn {
      flex: 1;
      padding: 16px;
      border: none;
      border-radius: 12px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: all .3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px
    }

    .confirmation-modal-btn.confirm {
      background: linear-gradient(135deg, rgba(16, 185, 129, .2), rgba(52, 211, 153, .15));
      border: 2px solid rgba(52, 211, 153, .4);
      color: #34d399
    }

    .confirmation-modal-btn.confirm:hover {
      background: linear-gradient(135deg, rgba(16, 185, 129, .3), rgba(52, 211, 153, .25));
      border-color: rgba(52, 211, 153, .6);
      transform: translateY(-2px)
    }

    .confirmation-modal-btn.cancel {
      background: linear-gradient(135deg, rgba(239, 68, 68, .2), rgba(248, 113, 113, .15));
      border: 2px solid rgba(239, 68, 68, .4);
      color: #f87171
    }

    .confirmation-modal-btn.cancel:hover {
      background: linear-gradient(135deg, rgba(239, 68, 68, .3), rgba(248, 113, 113, .25));
      border-color: rgba(239, 68, 68, .6);
      transform: translateY(-2px)
    }

    /* Footer */
    footer {
      background: rgba(0, 0, 0, .7);
      border-top: 1px solid rgba(255, 255, 255, .1);
      margin-top: 60px
    }

    .foot {
      color: rgba(255, 255, 255, .7);
      font-size: 14px;
      padding: 18px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px
    }

    /* User Dropdown Styles */
    .user-info {
      display: flex !important;
      align-items: center;
      gap: 12px;
      margin-left: auto !important;
      margin-right: 0 !important;
      position: relative;
      z-index: 99999 !important;
      isolation: isolate;
      padding-right: 0
    }

    .user-profile {
      display: flex;
      align-items: center;
      gap: 12px;
      cursor: pointer !important;
      padding: 8px 12px;
      border-radius: 12px;
      transition: all .3s cubic-bezier(.4, 0, .2, 1);
      position: relative;
      overflow: visible;
      pointer-events: auto !important;
      z-index: 99999 !important;
      background: transparent;
      user-select: none;
      -webkit-user-select: none;
      -moz-user-select: none;
      touch-action: manipulation
    }

    .user-profile:hover {
      background: rgba(255, 255, 255, .05)
    }

    .user-profile:active {
      transform: scale(.98)
    }

    .user-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: linear-gradient(135deg, #10b981, #34d399);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      font-weight: 700;
      color: #000;
      box-shadow: 0 4px 12px rgba(16, 185, 129, .4), 0 0 20px rgba(16, 185, 129, .2);
      border: 2px solid rgba(52, 211, 153, .5);
      position: relative;
      overflow: hidden;
      flex-shrink: 0;
      pointer-events: none
    }

    .user-name {
      font-weight: 600;
      color: rgba(255, 255, 255, .9);
      font-size: 15px;
      max-width: 150px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      pointer-events: none
    }

    .user-dropdown {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      min-width: 200px;
      max-width: 250px;
      background: rgba(0, 0, 0, .98) !important;
      backdrop-filter: blur(20px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, .15);
      border-radius: 14px;
      padding: 8px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px) scale(.95);
      transition: all .2s cubic-bezier(.4, 0, .2, 1);
      z-index: 999999 !important;
      box-shadow: 0 12px 40px rgba(0, 0, 0, .8), 0 0 40px rgba(16, 185, 129, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
      overflow: visible;
      pointer-events: none !important;
      display: none
    }

    .user-profile.open .user-dropdown {
      opacity: 1 !important;
      visibility: visible !important;
      transform: translateY(0) scale(1) !important;
      pointer-events: auto !important;
      display: block !important
    }

    [dir="ltr"] .user-dropdown {
      right: auto;
      left: 0
    }

    .user-dropdown-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      cursor: pointer !important;
      transition: all .25s cubic-bezier(.4, 0, .2, 1);
      color: rgba(255, 255, 255, .8);
      border-radius: 10px;
      position: relative;
      z-index: 1;
      margin: 2px 0;
      pointer-events: auto !important;
      user-select: none;
      -webkit-user-select: none;
      -moz-user-select: none;
      touch-action: manipulation;
      text-decoration: none
    }

    .user-dropdown-item:before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(16, 185, 129, .15), rgba(45, 212, 191, .1));
      opacity: 0;
      transition: opacity .25s ease;
      border-radius: 10px;
      z-index: -1;
      pointer-events: none
    }

    .user-dropdown-item:hover:before {
      opacity: 1
    }

    .user-dropdown-item:hover {
      background: rgba(52, 211, 153, .1);
      color: #34d399;
      transform: translateX(-4px);
      box-shadow: 0 4px 12px rgba(16, 185, 129, .2)
    }

    .user-dropdown-item i {
      font-size: 16px;
      width: 20px;
      text-align: center;
      color: rgba(255, 255, 255, .7);
      pointer-events: none
    }

    .user-dropdown-item:hover i {
      color: #34d399
    }

    .user-dropdown-item.shop-item:hover {
      background: linear-gradient(135deg, rgba(251, 191, 36, .18), rgba(245, 158, 11, .12)) !important;
      border-color: rgba(251, 191, 36, .4) !important;
      box-shadow: 0 4px 16px rgba(251, 191, 36, .3), 0 0 20px rgba(251, 191, 36, .15)
    }

    .user-dropdown-item.shop-item:hover i {
      color: #fbbf24 !important;
      transform: scale(1.1);
      transition: all .3s ease
    }

    .user-dropdown-item.shop-item:hover span {
      color: #fcd34d !important;
      text-shadow: 0 0 10px rgba(251, 191, 36, .5)
    }

    /* Premium Test Button */
    #testButton:hover {
      background: linear-gradient(135deg, rgba(138, 43, 226, .18), rgba(147, 51, 234, .12)) !important;
      border-color: rgba(138, 43, 226, .4) !important;
      box-shadow: 0 4px 16px rgba(138, 43, 226, .3), 0 0 20px rgba(138, 43, 226, .15)
    }

    #testButton:hover i {
      color: #9333ea !important;
      transform: scale(1.1);
      transition: all .3s ease
    }

    #testButton:hover span {
      color: #a855f7 !important;
      text-shadow: 0 0 10px rgba(138, 43, 226, .5)
    }

    /* Premium star removed */

    /* Premium Chat Styles */
    .chat-modal {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .8);
      backdrop-filter: blur(10px);
      z-index: 999999;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: all .3s ease
    }

    .chat-modal.show {
      opacity: 1;
      visibility: visible
    }

    .chat-modal-content {
      background: linear-gradient(135deg, rgba(0, 0, 0, .95), rgba(0, 0, 0, .9));
      border: 2px solid rgba(52, 211, 153, .3);
      border-radius: 20px;
      width: 90%;
      max-width: 500px;
      height: 80vh;
      max-height: 600px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, .8), 0 0 40px rgba(52, 211, 153, .2);
      transform: scale(.9);
      transition: transform .3s ease;
      display: flex;
      flex-direction: column;
      overflow: hidden
    }

    .chat-modal.show .chat-modal-content {
      transform: scale(1)
    }

    .chat-header {
      padding: 20px;
      background: linear-gradient(135deg, rgba(52, 211, 153, .15), rgba(16, 185, 129, .1));
      border-bottom: 1px solid rgba(52, 211, 153, .3);
      display: flex;
      justify-content: space-between;
      align-items: center
    }

    .chat-header-info {
      display: flex;
      align-items: center;
      gap: 12px
    }

    .chat-header-icon {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: linear-gradient(135deg, #10b981, #34d399);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 16px rgba(16, 185, 129, .3)
    }

    .chat-header-icon i {
      font-size: 20px;
      color: #000
    }

    .chat-title {
      font-size: 18px;
      font-weight: 700;
      color: #34d399;
      margin: 0
    }

    .chat-subtitle {
      font-size: 12px;
      color: rgba(255, 255, 255, .6);
      margin: 0
    }

    .chat-close-btn {
      background: rgba(239, 68, 68, .2);
      border: 1px solid rgba(239, 68, 68, .4);
      color: #f87171;
      padding: 8px;
      border-radius: 8px;
      cursor: pointer;
      transition: all .3s ease
    }

    .chat-close-btn:hover {
      background: rgba(239, 68, 68, .3);
      transform: scale(1.1)
    }

    .chat-messages {
      flex: 1;
      overflow-y: auto;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      scrollbar-width: thin;
      scrollbar-color: rgba(52, 211, 153, .3) transparent
    }

    .chat-messages::-webkit-scrollbar {
      width: 6px
    }

    .chat-messages::-webkit-scrollbar-track {
      background: transparent
    }

    .chat-messages::-webkit-scrollbar-thumb {
      background: rgba(52, 211, 153, .3);
      border-radius: 3px
    }

    .chat-welcome-msg {
      text-align: center;
      padding: 20px;
      background: rgba(52, 211, 153, .1);
      border-radius: 12px;
      border: 1px solid rgba(52, 211, 153, .3)
    }

    .chat-welcome-msg i {
      font-size: 24px;
      color: #FFD700;
      margin-bottom: 8px
    }

    .chat-welcome-msg p {
      margin: 8px 0;
      color: #34d399;
      font-weight: 600
    }

    .chat-welcome-msg small {
      color: rgba(255, 255, 255, .6)
    }

    .chat-message {
      max-width: 80%;
      padding: 12px 16px;
      border-radius: 16px;
      position: relative;
      margin: 4px 0;
      word-wrap: break-word
    }

    .chat-message.user {
      background: linear-gradient(135deg, #10b981, #34d399);
      color: #000;
      align-self: flex-end;
      margin-left: auto;
      border-bottom-right-radius: 4px
    }

    .chat-message.admin {
      background: rgba(255, 255, 255, .1);
      color: #fff;
      align-self: flex-start;
      margin-right: auto;
      border-bottom-left-radius: 4px;
      border: 1px solid rgba(255, 255, 255, .1)
    }

    .chat-message-time {
      font-size: 10px;
      opacity: .7;
      margin-top: 4px;
      text-align: right
    }

    .chat-message.admin .chat-message-time {
      text-align: left
    }

    .chat-input-area {
      padding: 16px;
      background: rgba(0, 0, 0, .3);
      border-top: 1px solid rgba(255, 255, 255, .1)
    }

    .chat-input-wrapper {
      display: flex;
      gap: 8px;
      align-items: center
    }

    .chat-input-wrapper input {
      flex: 1;
      padding: 12px 16px;
      background: rgba(255, 255, 255, .05);
      border: 1px solid rgba(255, 255, 255, .1);
      border-radius: 25px;
      color: #fff;
      font-size: 14px;
      outline: none;
      transition: all .3s ease
    }

    .chat-input-wrapper input:focus {
      border-color: rgba(52, 211, 153, .5);
      background: rgba(255, 255, 255, .08)
    }

    .chat-input-wrapper input::placeholder {
      color: rgba(255, 255, 255, .4)
    }

    .chat-send-btn {
      background: linear-gradient(135deg, #10b981, #34d399);
      border: none;
      color: #000;
      padding: 12px;
      border-radius: 50%;
      cursor: pointer;
      transition: all .3s ease;
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center
    }

    .chat-send-btn:hover {
      transform: scale(1.1);
      box-shadow: 0 4px 16px rgba(16, 185, 129, .4)
    }

    .chat-send-btn:disabled {
      opacity: .5;
      cursor: not-allowed;
      transform: none
    }

    .chat-typing-indicator {
      padding: 8px 0;
      color: rgba(255, 255, 255, .6);
      font-size: 12px;
      font-style: italic
    }

    .chat-typing-indicator span {
      opacity: 0.7;
    }

    @keyframes typing {

      0%,
      60% {
        opacity: 1
      }

      30% {
        opacity: .5
      }
    }

    /* Shimmer keyframes for button effect */
    @keyframes shimmer {
      0% {
        transform: translateX(-100%)
      }

      100% {
        transform: translateX(100%)
      }
    }

    .login-dropdown {
      position: relative;
      z-index: 10001;
      margin-right: 0;
      margin-left: auto;
      isolation: isolate
    }

    .login-link {
      background: linear-gradient(135deg, rgba(16, 185, 129, .15), rgba(45, 212, 191, .1));
      border: 1px solid rgba(52, 211, 153, .3);
      padding: 10px 20px;
      border-radius: 12px;
      font-weight: 600;
      position: relative;
      overflow: visible;
      transition: all .4s cubic-bezier(.4, 0, .2, 1);
      box-shadow: 0 4px 16px rgba(16, 185, 129, .2), 0 0 30px rgba(16, 185, 129, .1);
      cursor: pointer !important;
      pointer-events: auto !important;
      z-index: 10001;
      display: flex;
      align-items: center;
      gap: 8px;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent
    }

    .login-link:hover {
      background: linear-gradient(135deg, rgba(16, 185, 129, .25), rgba(45, 212, 191, .2));
      border-color: rgba(52, 211, 153, .5);
      transform: translateY(-2px) scale(1.02);
      box-shadow: 0 6px 24px rgba(16, 185, 129, .4), 0 0 40px rgba(16, 185, 129, .2), inset 0 1px 0 rgba(255, 255, 255, .1)
    }

    .login-menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      min-width: 200px;
      max-width: 250px;
      background: rgba(0, 0, 0, .98) !important;
      backdrop-filter: blur(20px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, .15);
      border-radius: 14px;
      padding: 8px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px) scale(.95);
      transition: all .2s cubic-bezier(.4, 0, .2, 1);
      z-index: 999999 !important;
      box-shadow: 0 12px 40px rgba(0, 0, 0, .8), 0 0 40px rgba(16, 185, 129, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
      overflow: visible;
      pointer-events: none !important;
      display: none;
      margin-top: 4px
    }

    .login-dropdown.open .login-menu {
      opacity: 1 !important;
      visibility: visible !important;
      transform: translateY(0) scale(1) !important;
      pointer-events: auto !important;
      display: block !important
    }

    .login-menu-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      cursor: pointer;
      transition: all .25s cubic-bezier(.4, 0, .2, 1);
      color: rgba(255, 255, 255, .8);
      border-radius: 10px;
      position: relative;
      z-index: 1;
      margin: 2px 0;
      text-decoration: none;
      pointer-events: auto !important
    }

    .login-menu-item:hover {
      background: rgba(52, 211, 153, .1);
      color: #34d399;
      transform: translateX(-4px);
      box-shadow: 0 4px 12px rgba(16, 185, 129, .2)
    }

    .login-menu-item i {
      font-size: 16px;
      width: 20px;
      text-align: center;
      color: rgba(255, 255, 255, .7)
    }

    .login-menu-item:hover i {
      color: #34d399
    }

    /* Language Dropdown */
    .lang-dropdown {
      position: relative;
      margin-right: 0 !important;
      z-index: 1002;
      isolation: isolate;
      direction: ltr !important
    }

    .lang-toggle {
      display: flex;
      flex-direction: row !important;
      direction: ltr !important;
      align-items: center;
      gap: 8px;
      padding: 12px 22px !important;
      border-radius: 14px !important;
      background: linear-gradient(135deg, rgba(16, 185, 129, .08), rgba(45, 212, 191, .05)) !important;
      backdrop-filter: blur(10px) saturate(180%) !important;
      border: 1.5px solid rgba(52, 211, 153, .2) !important;
      cursor: pointer;
      transition: all .4s cubic-bezier(.34, 1.56, .64, 1) !important;
      position: relative;
      overflow: visible;
      z-index: 1;
      white-space: nowrap;
      min-width: fit-content;
      flex-shrink: 0;
      font-size: 15px !important;
      font-weight: 600 !important;
      color: rgba(255, 255, 255, .95) !important;
      box-shadow: 0 2px 8px rgba(0, 0, 0, .2), 0 0 20px rgba(16, 185, 129, .1), inset 0 1px 0 rgba(255, 255, 255, .1) !important;
      justify-content: center;
      text-shadow: 0 1px 2px rgba(0, 0, 0, .3) !important
    }

    .lang-toggle:hover {
      background: linear-gradient(135deg, rgba(16, 185, 129, .2), rgba(45, 212, 191, .15)) !important;
      border-color: rgba(52, 211, 153, .5) !important;
      color: #34d399 !important;
      transform: translateY(-4px) scale(1.05) !important;
      box-shadow: 0 8px 24px rgba(16, 185, 129, .4), 0 0 40px rgba(16, 185, 129, .3), 0 0 60px rgba(16, 185, 129, .15), inset 0 1px 0 rgba(255, 255, 255, .2) !important;
      text-shadow: 0 0 10px rgba(52, 211, 153, .5), 0 2px 4px rgba(0, 0, 0, .4) !important
    }

    .lang-menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      min-width: 160px;
      background: rgba(0, 0, 0, .98);
      backdrop-filter: blur(20px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, .15);
      border-radius: 14px;
      padding: 8px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px) scale(.95);
      transition: all .3s cubic-bezier(.4, 0, .2, 1);
      z-index: 9999;
      box-shadow: 0 12px 40px rgba(0, 0, 0, .8), 0 0 40px rgba(16, 185, 129, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
      overflow: visible;
      pointer-events: none
    }

    .lang-dropdown.open .lang-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
      pointer-events: auto
    }

    .lang-option {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      cursor: pointer;
      transition: all .25s cubic-bezier(.4, 0, .2, 1);
      color: rgba(255, 255, 255, .8);
      border-radius: 10px;
      position: relative;
      z-index: 1;
      margin: 2px 0
    }

    .lang-option:hover {
      background: rgba(52, 211, 153, .1);
      color: #34d399;
      transform: translateX(-4px);
      box-shadow: 0 4px 12px rgba(16, 185, 129, .2)
    }

    .lang-option.active {
      color: #34d399;
      background: linear-gradient(135deg, rgba(52, 211, 153, .15), rgba(52, 211, 153, .08));
      border: 1px solid rgba(52, 211, 153, .2);
      box-shadow: 0 2px 8px rgba(16, 185, 129, .15)
    }

    .lang-option .flag-icon {
      font-size: 20px;
      transition: all .3s ease
    }

    .lang-option:hover .flag-icon {
      transform: scale(1.15) rotate(3deg)
    }

    .lang-option.active .flag-icon {
      transform: scale(1.1)
    }

    .lang-toggle i {
      transition: transform .3s ease;
      color: rgba(255, 255, 255, .7)
    }

    .lang-toggle:hover i {
      transform: rotate(15deg);
      color: #34d399
    }

    @media(max-width:768px) {
      .shop-hero h1 {
        font-size: 32px
      }

      .shop-hero p {
        font-size: 16px
      }

      .shop-grid {
        grid-template-columns: 1fr
      }

      .user-points-banner {
        flex-direction: column;
        text-align: center
      }
    }

    /* Edit Account Modal Styles */
    .edit-account-modal {
      position: fixed;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 999999;
      opacity: 0;
      visibility: hidden;
      transition: opacity .3s ease, visibility .3s ease;
      padding: 20px
    }

    .edit-account-modal[style*="display: flex"] {
      opacity: 1;
      visibility: visible
    }

    .edit-account-modal-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, .85);
      backdrop-filter: blur(10px);
      z-index: 1
    }

    .edit-account-modal-content {
      position: relative;
      z-index: 2;
      background: rgba(0, 0, 0, .95);
      backdrop-filter: blur(20px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, .15);
      border-radius: 20px;
      max-width: 550px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 20px 60px rgba(0, 0, 0, .8), 0 0 60px rgba(16, 185, 129, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
      animation: modalSlideIn .3s ease-out
    }

    @keyframes modalSlideIn {
      from {
        opacity: 0;
        transform: translateY(-20px) scale(.95)
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1)
      }
    }

    .edit-account-modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 24px 28px;
      border-bottom: 1px solid rgba(255, 255, 255, .1)
    }

    .edit-account-modal-header h2 {
      margin: 0;
      font-size: 24px;
      font-weight: 700;
      color: #34d399;
      font-family: 'Tajawal', 'Cairo', 'Inter', 'Poppins', system-ui, sans-serif
    }

    .edit-account-modal-close {
      background: rgba(255, 255, 255, .05);
      border: 1px solid rgba(255, 255, 255, .1);
      color: rgba(255, 255, 255, .7);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      transition: all .3s ease;
      padding: 0
    }

    .edit-account-modal-close:hover {
      background: rgba(239, 68, 68, .2);
      border-color: rgba(239, 68, 68, .4);
      color: #ef4444;
      transform: rotate(90deg) scale(1.1)
    }

    .edit-account-modal-body {
      padding: 28px
    }

    .form-group {
      margin-bottom: 24px
    }

    .form-group label {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
      font-weight: 600;
      color: rgba(255, 255, 255, .9);
      font-size: 15px
    }

    .form-group label i {
      color: #34d399;
      width: 20px;
      text-align: center
    }

    .form-group input {
      width: 100%;
      padding: 14px 16px;
      background: rgba(255, 255, 255, .05);
      border: 1px solid rgba(255, 255, 255, .1);
      border-radius: 12px;
      color: #fff;
      font-size: 15px;
      transition: all .3s ease;
      font-family: inherit;
      box-sizing: border-box
    }

    .form-group input:focus {
      outline: none;
      border-color: #34d399;
      background: rgba(52, 211, 153, .05);
      box-shadow: 0 0 0 3px rgba(52, 211, 153, .1), 0 4px 12px rgba(16, 185, 129, .15)
    }

    .form-group input::placeholder {
      color: rgba(255, 255, 255, .4)
    }

    .form-help {
      display: block;
      margin-top: 8px;
      font-size: 13px;
      color: rgba(255, 255, 255, .5);
      line-height: 1.5
    }

    .error-message {
      background: rgba(239, 68, 68, .15);
      border: 1px solid rgba(239, 68, 68, .3);
      color: #ef4444;
      padding: 14px 16px;
      border-radius: 12px;
      margin-bottom: 20px;
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 10px
    }

    .success-message {
      background: rgba(16, 185, 129, .15);
      border: 1px solid rgba(16, 185, 129, .3);
      color: #34d399;
      padding: 14px 16px;
      border-radius: 12px;
      margin-bottom: 20px;
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 10px
    }

    .form-actions {
      display: flex;
      gap: 12px;
      justify-content: flex-end;
      margin-top: 28px;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, .1)
    }

    .btn-secondary {
      background: rgba(255, 255, 255, .05);
      border: 1px solid rgba(255, 255, 255, .1);
      color: rgba(255, 255, 255, .8);
      padding: 12px 24px;
      border-radius: 12px;
      font-weight: 600;
      cursor: pointer;
      transition: all .3s ease;
      font-size: 15px
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, .1);
      border-color: rgba(255, 255, 255, .2);
      color: #fff;
      transform: translateY(-2px)
    }

    .btn-secondary:active {
      transform: translateY(0)
    }

    /* Strong specificity for modal primary button */
    .edit-account-modal .btn.btn-primary {
      background: #10b981 !important;
      color: #000 !important;
      border: none !important;
      box-shadow: 0 10px 30px rgba(16, 185, 129, .25) !important;
      border-radius: 12px !important;
      padding: 12px 20px !important;
      font-weight: 700 !important;
      width: 140px !important;
      min-width: 140px !important;
      max-width: 140px !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      flex-shrink: 0 !important;
    }

    .edit-account-modal .btn.btn-primary:hover {
      background: #34d399 !important;
      box-shadow: 0 15px 40px rgba(16, 185, 129, .4) !important
    }

    .edit-account-modal .btn.btn-primary:active {
      transform: translateY(0) !important;
      box-shadow: 0 8px 20px rgba(16, 185, 129, .3) !important
    }


