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

    body {
      box-sizing: border-box;
      font-family: 'Cairo', 'Amiri', sans-serif;
      background: linear-gradient(135deg, #0d3b2a 0%, #1a5f47 50%, #0d3b2a 100%);
      color: #e5ddd0;
    }

    html, body {
      height: 100%;
      width: 100%;
    }

    .wrapper {
      width: 100%;
      height: 100%;
      overflow-y: auto;
      background: linear-gradient(180deg, #0d3b2a 0%, #1a5f47 50%, #0d3b2a 100%);
      position: relative;
    }

    .wrapper::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image:
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(212, 175, 133, 0.05) 40px, rgba(212, 175, 133, 0.05) 80px),
        repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(212, 175, 133, 0.05) 40px, rgba(212, 175, 133, 0.05) 80px),
        repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(212, 175, 133, 0.04) 60px, rgba(212, 175, 133, 0.04) 120px);
      pointer-events: none;
      z-index: 0;
    }

    .wrapper > * {
      position: relative;
      z-index: 1;
    }

    /* HEADER/NAVBAR */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: linear-gradient(135deg, #0d3b2a 0%, #1a5f47 50%, #0d3b2a 100%);
      padding: 1rem 2rem;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      box-shadow: 0 8px 30px rgba(212, 175, 133, 0.15);
      border-bottom: 3px solid rgba(212, 175, 133, 0.3);
      position: relative;
    }

    .header::after {
      content: '◆ ◆ ◆ ◆';
      position: absolute;
      bottom: 5px;
      left: 0;
      right: 0;
      text-align: center;
      font-size: 0.8rem;
      color: rgba(212, 175, 133, 0.3);
      letter-spacing: 8px;
    }

    .header-container {
      display: flex;
      align-items: center;
      gap: 2.5rem;
      width: 100%;
      max-width: 1200px;
      justify-content: space-between;
      position: relative;
    }

    .logo {
      font-size: 1.8rem;
      font-weight: 900;
      background: linear-gradient(135deg, #ffd700 0%, #f5deb3 50%, #ffed4e 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-family: 'Abril Fatface', 'El Messiri', 'Cairo', sans-serif;
      letter-spacing: 0.5px;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      text-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
      font-style: italic;
      filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
      cursor: pointer;
      transition: all 0.3s;
      white-space: nowrap;
    }

    .logo:hover {
      transform: scale(1.05);
      filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
    }

    .logo-moon {
      font-size: 1.6rem;
      animation: moonShine 2.5s ease-in-out infinite;
      filter: drop-shadow(0 0 10px rgba(212, 175, 133, 0.6));
    }

    @keyframes moonShine {
      0%, 100% {
        filter: drop-shadow(0 0 10px rgba(212, 175, 133, 0.6));
        transform: scale(1);
      }
      50% {
        filter: drop-shadow(0 0 25px rgba(212, 175, 133, 1));
        transform: scale(1.05);
      }
    }

    /* NAVIGATION MENU */
    .nav-wrapper {
      position: relative;
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1.5rem;
    }

    .nav-menu {
      display: flex;
      gap: 0.3rem;
      list-style: none;
      align-items: center;
    }

    .nav-item {
      position: relative;
    }

    .nav-item a {
      color: #d4af85;
      text-decoration: none;
      font-weight: 700;
      font-size: 0.85rem;
      transition: all 0.3s ease;
      padding: 0.6rem 1.2rem;
      border-radius: 10px;
      position: relative;
      font-family: 'Cairo', sans-serif;
      border: 2px solid transparent;
      background: rgba(212, 175, 133, 0.08);
      overflow: hidden;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .nav-item a::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: rgba(212, 175, 133, 0.2);
      transition: left 0.3s ease;
      z-index: -1;
    }

    .nav-item a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, #d4af85, #f5deb3, #d4af85);
      transition: width 0.3s ease;
    }

    .nav-item a:hover {
      color: #f5deb3;
      border-color: rgba(212, 175, 133, 0.4);
      transform: translateY(-2px);
    }

    .nav-item a:hover::before {
      left: 0;
    }

    .nav-item a:hover::after {
      width: 100%;
    }

    .nav-icon {
      font-size: 1rem;
    }

    /* SEARCH GAMES */
    .search-box {
      position: relative;
      background: rgba(212, 175, 133, 0.1);
      border: 2px solid rgba(212, 175, 133, 0.3);
      border-radius: 10px;
      padding: 0.65rem 1rem;
      width: 180px;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .search-box:focus-within {
      background: rgba(212, 175, 133, 0.15);
      border-color: #d4af85;
      box-shadow: 0 0 20px rgba(212, 175, 133, 0.2);
    }

    .search-box input {
      flex: 1;
      background: none;
      border: none;
      color: #e5ddd0;
      font-size: 0.85rem;
      font-family: 'Cairo', sans-serif;
      font-weight: 600;
      outline: none;
    }

    .search-box input::placeholder {
      color: rgba(212, 175, 133, 0.5);
    }

    .search-icon {
      color: #d4af85;
      font-size: 1rem;
    }

    .search-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: linear-gradient(135deg, #1a5f47 0%, #0d3b2a 100%);
      border: 2px solid #d4af85;
      border-radius: 10px;
      border-top: none;
      max-height: 250px;
      overflow-y: auto;
      display: none;
      z-index: 999;
      margin-top: 5px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .search-dropdown.active {
      display: block;
      animation: dropdownSlide 0.3s ease;
    }

    @keyframes dropdownSlide {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .search-item {
      padding: 0.8rem 1rem;
      cursor: pointer;
      border-bottom: 1px solid rgba(212, 175, 133, 0.1);
      transition: all 0.2s;
      display: flex;
      align-items: center;
      gap: 0.8rem;
      font-weight: 700;
      color: #d4af85;
      font-size: 0.9rem;
    }

    .search-item:last-child {
      border-bottom: none;
    }

    .search-item:hover {
      background: rgba(212, 175, 133, 0.15);
      color: #f5deb3;
      padding-left: 1.2rem;
    }

    .search-item-icon {
      font-size: 1.3rem;
    }

    /* HERO SECTION */
    .hero {
      margin-top: 70px;
      padding: 5rem 2rem;
      text-align: center;
      background: linear-gradient(135deg, #0d3b2a 0%, #1a5f47 50%, #0d3b2a 100%);
      color: #e5ddd0;
      position: relative;
      overflow: hidden;
      border-bottom: 3px solid rgba(212, 175, 133, 0.2);
    }

    .hero::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -10%;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(212, 175, 133, 0.1) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    .hero::after {
      content: '◆ ◆ ◆';
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 1.5rem;
      opacity: 0.15;
      letter-spacing: 20px;
      color: #d4af85;
    }

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

    .hero-moon {
      font-size: 5rem;
      margin-bottom: 1rem;
      animation: moonFloat 4s ease-in-out infinite;
      filter: drop-shadow(0 0 30px rgba(212, 175, 133, 0.8));
    }

    @keyframes moonFloat {
      0%, 100% {
        transform: translateY(0px);
        filter: drop-shadow(0 0 30px rgba(212, 175, 133, 0.8));
      }
      50% {
        transform: translateY(-25px);
        filter: drop-shadow(0 0 50px rgba(212, 175, 133, 1));
      }
    }

    .hero-badge {
      display: inline-block;
      background: rgba(212, 175, 133, 0.15);
      color: #f5deb3;
      padding: 0.8rem 2rem;
      border-radius: 30px;
      font-size: 0.95rem;
      font-weight: 800;
      margin-bottom: 1.5rem;
      border: 2px solid rgba(212, 175, 133, 0.4);
      letter-spacing: 1px;
      font-family: 'Cairo', sans-serif;
      backdrop-filter: blur(10px);
    }

    .hero-title {
      font-size: 5.5rem;
      font-weight: 900;
      font-family: 'Playfair Display', 'Abril Fatface', 'El Messiri', 'Cairo', sans-serif;
      margin-bottom: 0.5rem;
      letter-spacing: -1px;
      background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #fff44f 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
      animation: titleGlow 3s ease-in-out infinite;
    }

    @keyframes titleGlow {
      0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4)); }
      50% { filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.7)); }
    }

    .hero-subtitle {
      font-size: 2rem;
      font-weight: 800;
      color: #ffed4e;
      margin-bottom: 1rem;
      font-family: 'Prata', 'Cormorant Garamond', 'Cairo', sans-serif;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      font-style: italic;
      filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.4));
      animation: subtitleShimmer 2.5s ease-in-out infinite;
    }

    @keyframes subtitleShimmer {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.85; }
    }

    .hero-description {
      font-size: 1.3rem;
      opacity: 0.98;
      margin-bottom: 2rem;
      line-height: 1.9;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
      color: #ffed4e;
      font-weight: 600;
      font-family: 'Cormorant Garamond', 'Cairo', serif;
      letter-spacing: 0.5px;
      font-style: italic;
    }

    /* MAIN CONTENT */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 4rem 2rem;
    }

    .welcome-section {
      text-align: center;
      margin-bottom: 4rem;
      background: linear-gradient(135deg, rgba(212, 175, 133, 0.1), rgba(212, 175, 133, 0.05));
      padding: 3rem;
      border-radius: 16px;
      border: 3px dashed rgba(212, 175, 133, 0.3);
      position: relative;
      overflow: hidden;
    }

    .welcome-section::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -10%;
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(212, 175, 133, 0.1) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    .welcome-content {
      position: relative;
      z-index: 1;
    }

    .welcome-emoji {
      font-size: 3rem;
      margin-bottom: 1rem;
      filter: drop-shadow(0 0 15px rgba(212, 175, 133, 0.5));
    }

    .welcome-title {
      font-size: 3rem;
      font-weight: 900;
      background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-family: 'Playfair Display', 'Abril Fatface', 'El Messiri', 'Cairo', sans-serif;
      margin-bottom: 1rem;
      letter-spacing: -0.5px;
    }

    .welcome-text {
      font-size: 1.2rem;
      color: #ffed4e;
      margin-bottom: 1rem;
      font-weight: 700;
      font-family: 'Cormorant Garamond', 'Cairo', serif;
      letter-spacing: 0.5px;
      font-style: italic;
    }

    .welcome-doa {
      font-size: 1.5rem;
      color: #f5deb3;
      font-family: 'Amiri', serif;
      font-weight: 700;
      margin-top: 1.5rem;
      direction: rtl;
      letter-spacing: 2px;
      line-height: 2.2;
    }

    /* AMANAH BADGE */
    .amanah-badge {
      display: inline-block;
      background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
      border: 3px solid #4caf50;
      color: #90ee90;
      padding: 1.2rem 2.5rem;
      border-radius: 16px;
      font-size: 1.3rem;
      font-weight: 900;
      margin-top: 1.5rem;
      font-family: 'Cairo', sans-serif;
      letter-spacing: 1px;
      text-transform: uppercase;
      animation: amanahPulse 2s ease-in-out infinite;
      box-shadow: 0 0 30px rgba(76, 175, 80, 0.3);
    }

    @keyframes amanahPulse {
      0%, 100% {
        box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
        transform: scale(1);
      }
      50% {
        box-shadow: 0 0 40px rgba(76, 175, 80, 0.6);
        transform: scale(1.02);
      }
    }

    /* EVENT SECTION */
    .event-section {
      margin-bottom: 4rem;
      perspective: 1000px;
    }

    .event-card {
      background: linear-gradient(135deg, #1a5f47 0%, #0d3b2a 50%, #1a5f47 100%);
      border: 3px solid #d4af85;
      border-radius: 20px;
      padding: 2.5rem;
      position: relative;
      overflow: hidden;
      box-shadow: 0 15px 40px rgba(212, 175, 133, 0.25), inset 0 1px 0 rgba(212, 175, 133, 0.1);
      transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
      animation: eventCardEntry 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes eventCardEntry {
      from {
        opacity: 0;
        transform: translateY(40px) rotateX(10deg);
      }
      to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
      }
    }

    .event-card::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -10%;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(212, 175, 133, 0.2) 0%, transparent 70%);
      border-radius: 50%;
      animation: eventGlow 4s ease-in-out infinite;
      z-index: 0;
    }

    @keyframes eventGlow {
      0%, 100% {
        opacity: 0.8;
        transform: scale(1);
      }
      50% {
        opacity: 1;
        transform: scale(1.1);
      }
    }

    .event-card::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image:
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(212, 175, 133, 0.05) 40px, rgba(212, 175, 133, 0.05) 80px),
        repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(212, 175, 133, 0.05) 40px, rgba(212, 175, 133, 0.05) 80px);
      pointer-events: none;
      z-index: 0;
    }

    .event-card:hover {
      transform: translateY(-8px) scale(1.01);
      box-shadow: 0 20px 60px rgba(212, 175, 133, 0.35), inset 0 1px 0 rgba(212, 175, 133, 0.2);
      border-color: #f5deb3;
    }

    .event-header {
      text-align: center;
      margin-bottom: 2rem;
      position: relative;
      z-index: 1;
    }

    .event-badge {
      display: inline-block;
      background: rgba(212, 175, 133, 0.15);
      color: #f5deb3;
      padding: 0.8rem 2rem;
      border-radius: 30px;
      font-size: 0.95rem;
      font-weight: 800;
      margin-bottom: 1rem;
      border: 2px solid rgba(212, 175, 133, 0.4);
      letter-spacing: 1px;
      font-family: 'Cairo', sans-serif;
      backdrop-filter: blur(10px);
      animation: badgeBounce 2s ease-in-out infinite;
    }

    @keyframes badgeBounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-5px); }
    }

    .event-title {
      font-size: 3rem;
      font-weight: 900;
      background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #fff44f 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-family: 'Playfair Display', 'Abril Fatface', 'Cairo', sans-serif;
      margin-bottom: 0.5rem;
      letter-spacing: -0.5px;
      animation: titleShine 3s ease-in-out infinite;
    }

    @keyframes titleShine {
      0%, 100% {
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
      }
      50% {
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.7));
        text-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
      }
    }

    .event-subtitle {
      font-size: 1.3rem;
      color: #d4af85;
      font-weight: 700;
      font-family: 'Cairo', sans-serif;
      letter-spacing: 0.5px;
    }

    .event-content {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.5rem;
      align-items: center;
      position: relative;
      z-index: 1;
      max-width: 600px;
      margin: 0 auto;
    }

    .event-icon-container {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 180px;
    }

    .event-main-icon {
      font-size: 6rem;
      animation: giftBounce 2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
      filter: drop-shadow(0 0 30px rgba(212, 175, 133, 0.6));
      z-index: 2;
      position: relative;
    }

    @keyframes giftBounce {
      0%, 100% {
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 0 30px rgba(212, 175, 133, 0.6));
      }
      50% {
        transform: translateY(-20px) scale(1.05);
        filter: drop-shadow(0 0 50px rgba(212, 175, 133, 1));
      }
    }

    .event-floating-icons {
      position: absolute;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: space-around;
      align-items: flex-start;
      padding-top: 0.5rem;
    }

    .floating-icon {
      font-size: 2rem;
      animation: float 3s ease-in-out infinite;
      filter: drop-shadow(0 0 20px rgba(212, 175, 133, 0.4));
    }

    .floating-icon:nth-child(1) {
      animation-delay: 0s;
      animation-duration: 3.5s;
    }

    .floating-icon:nth-child(2) {
      animation-delay: 0.5s;
      animation-duration: 3s;
    }

    .floating-icon:nth-child(3) {
      animation-delay: 1s;
      animation-duration: 3.5s;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0px) translateX(0px); }
      25% { transform: translateY(-15px) translateX(-8px); }
      50% { transform: translateY(-30px) translateX(0px); }
      75% { transform: translateY(-15px) translateX(8px); }
    }

    .event-description {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .event-description-title {
      font-size: 1.6rem;
      font-weight: 900;
      background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-family: 'Playfair Display', 'Abril Fatface', 'Cairo', sans-serif;
      margin: 0;
      letter-spacing: -0.2px;
    }

    .event-description-text {
      font-size: 0.95rem;
      color: #e5ddd0;
      line-height: 1.6;
      margin: 0;
      font-weight: 600;
      font-family: 'Cairo', sans-serif;
    }

    .event-button {
      background: linear-gradient(135deg, #d4af85 0%, #e6c9a8 100%);
      color: #0d3b2a;
      border: none;
      padding: 1rem 1.5rem;
      border-radius: 12px;
      font-size: 0.95rem;
      font-weight: 900;
      font-family: 'Cairo', sans-serif;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      box-shadow: 0 8px 20px rgba(212, 175, 133, 0.25);
      position: relative;
      overflow: hidden;
    }

    .event-button::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, 0.2);
      transition: left 0.3s;
      z-index: 0;
    }

    .event-button:hover::before {
      left: 100%;
    }

    .event-button:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 12px 30px rgba(212, 175, 133, 0.35);
    }

    .event-button:active {
      transform: translateY(-1px) scale(1.01);
    }

    .button-icon {
      font-size: 1.2rem;
      animation: buttonIconBounce 1.5s ease-in-out infinite;
      position: relative;
      z-index: 1;
    }

    @keyframes buttonIconBounce {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.15); }
    }

    .button-text {
      position: relative;
      z-index: 1;
      font-weight: 900;
    }

    .button-arrow {
      position: relative;
      z-index: 1;
      font-weight: 900;
      animation: arrowMove 1.5s ease-in-out infinite;
    }

    @keyframes arrowMove {
      0%, 100% { transform: translateX(0); }
      50% { transform: translateX(3px); }
    }

    /* GAMES SECTION */
    .section-title {
      font-size: 3.5rem;
      font-weight: 900;
      background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #fff44f 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-family: 'Playfair Display', 'Abril Fatface', 'El Messiri', 'Cairo', sans-serif;
      margin-bottom: 1rem;
      text-align: center;
      letter-spacing: -0.5px;
      animation: sectionTitlePulse 3s ease-in-out infinite;
    }

    @keyframes sectionTitlePulse {
      0%, 100% { filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.3)); }
      50% { filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6)); }
    }

    .section-subtitle {
      font-size: 1.3rem;
      color: #ffed4e;
      text-align: center;
      margin-bottom: 3rem;
      font-weight: 700;
      font-family: 'Cormorant Garamond', 'Cairo', serif;
      letter-spacing: 1px;
      font-style: italic;
    }

    .games-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 2rem;
      margin-bottom: 4rem;
    }

    .game-card {
      background: linear-gradient(135deg, #1a5f47 0%, #0d3b2a 100%);
      border: 3px solid #d4af85;
      border-radius: 16px;
      padding: 2rem;
      text-align: center;
      cursor: pointer;
      transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
      box-shadow: 0 8px 25px rgba(212, 175, 133, 0.15), inset 0 1px 0 rgba(212, 175, 133, 0.1);
      position: relative;
      overflow: hidden;
    }

    .game-card::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -50%;
      width: 200px;
      height: 200px;
      background: radial-gradient(circle, rgba(212, 175, 133, 0.15) 0%, transparent 70%);
      border-radius: 50%;
      z-index: 0;
    }

    .game-card::after {
      content: '◆ ◆ ◆';
      position: absolute;
      top: 8px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 0.8rem;
      color: #d4af85;
      opacity: 0;
      transition: opacity 0.3s;
      letter-spacing: 8px;
    }

    .game-card:hover {
      transform: translateY(-12px) scale(1.02);
      border-color: #f5deb3;
      background: linear-gradient(135deg, #0d3b2a 0%, #1a5f47 100%);
      box-shadow: 0 15px 40px rgba(212, 175, 133, 0.3), inset 0 1px 0 rgba(212, 175, 133, 0.2);
    }

    .game-card:hover::after {
      opacity: 1;
    }

    .game-icon {
      font-size: 4rem;
      margin-bottom: 1rem;
      display: inline-block;
      transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
      position: relative;
      z-index: 1;
    }

    .game-card:hover .game-icon {
      transform: scale(1.2) rotate(10deg);
    }

    .game-name {
      font-size: 1.25rem;
      font-weight: 900;
      background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 0.8rem;
      font-family: 'Playfair Display', 'Abril Fatface', 'Cairo', sans-serif;
      position: relative;
      z-index: 1;
      letter-spacing: 0.3px;
    }

    .game-status {
      font-size: 0.85rem;
      color: #0d3b2a;
      font-weight: 800;
      background: linear-gradient(135deg, #d4af85 0%, #e6c9a8 100%);
      padding: 0.5rem 1rem;
      border-radius: 20px;
      display: inline-block;
      position: relative;
      z-index: 1;
      font-family: 'Cairo', sans-serif;
    }

    /* PRICE SECTION */
    .price-section {
      background: linear-gradient(135deg, #1a5f47 0%, #0d3b2a 100%);
      border-radius: 16px;
      padding: 2.5rem;
      margin-bottom: 2.5rem;
      display: none;
      box-shadow: 0 8px 25px rgba(212, 175, 133, 0.15);
      border-top: 5px solid #d4af85;
      position: relative;
    }

    .price-section::before {
      content: '◆ ◆ ◆ ◆ ◆';
      position: absolute;
      top: -15px;
      left: 50%;
      transform: translateX(-50%);
      background: linear-gradient(135deg, #1a5f47 0%, #0d3b2a 100%);
      padding: 0 1rem;
      color: #d4af85;
      font-size: 1rem;
      letter-spacing: 10px;
    }

    .price-section.active {
      display: block;
      animation: slideInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes slideInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .price-header {
      font-size: 2.5rem;
      font-weight: 900;
      background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 2rem;
      font-family: 'Playfair Display', 'Abril Fatface', 'Cairo', sans-serif;
      letter-spacing: -0.3px;
    }

    .price-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
      gap: 1.5rem;
    }

    .price-item {
      background: linear-gradient(135deg, #1a5f47 0%, #0d3b2a 100%);
      border: 3px solid #d4af85;
      border-radius: 12px;
      padding: 1.4rem;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      font-size: 0.9rem;
      font-weight: 700;
      position: relative;
      overflow: hidden;
    }

    .price-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(212, 175, 133, 0.08) 8px, rgba(212, 175, 133, 0.08) 16px);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .price-item:hover {
      border-color: #f5deb3;
      background: linear-gradient(135deg, #0d3b2a 0%, #1a5f47 100%);
      transform: scale(1.08);
      box-shadow: 0 10px 25px rgba(212, 175, 133, 0.25);
    }

    .price-item:hover::before {
      opacity: 1;
    }

    .price-item.selected {
      background: linear-gradient(135deg, #d4af85 0%, #e6c9a8 100%);
      color: #0d3b2a;
      border-color: #f5deb3;
      box-shadow: 0 12px 35px rgba(212, 175, 133, 0.4);
      transform: scale(1.1);
    }

    .price-amount {
      font-size: 1.3rem;
      font-weight: 900;
      color: #f5deb3;
      margin-bottom: 0.5rem;
      font-family: 'El Messiri', 'Cairo', sans-serif;
      position: relative;
      z-index: 1;
    }

    .price-item.selected .price-amount {
      color: #0d3b2a;
    }

    .price-rupiah {
      font-size: 0.9rem;
      font-weight: 700;
      color: #d4af85;
      position: relative;
      z-index: 1;
    }

    .price-item.selected .price-rupiah {
      color: #0d3b2a;
    }

    .price-habis {
      background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
      color: #fff;
      padding: 0.8rem 0.6rem;
      border-radius: 8px;
      font-weight: 900;
      font-size: 0.85rem;
      text-align: center;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
      border: 2px solid rgba(255, 255, 255, 0.3);
      position: relative;
      z-index: 1;
      animation: pulseHabis 2s ease-in-out infinite;
    }

    @keyframes pulseHabis {
      0%, 100% { transform: scale(1); box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4); }
      50% { transform: scale(1.02); box-shadow: 0 8px 25px rgba(239, 68, 68, 0.7); }
    }

    /* FORM SECTION */
    .form-section {
      background: linear-gradient(135deg, #1a5f47 0%, #0d3b2a 100%);
      border-radius: 16px;
      padding: 2.5rem;
      margin-bottom: 2.5rem;
      display: none;
      box-shadow: 0 8px 25px rgba(212, 175, 133, 0.15);
      border-top: 5px solid #d4af85;
      position: relative;
    }

    .form-section::before {
      content: '◆ ◆ ◆ ◆ ◆';
      position: absolute;
      top: -15px;
      left: 50%;
      transform: translateX(-50%);
      background: linear-gradient(135deg, #1a5f47 0%, #0d3b2a 100%);
      padding: 0 1rem;
      color: #d4af85;
      font-size: 1rem;
      letter-spacing: 10px;
    }

    .form-section.active {
      display: block;
      animation: slideInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .form-title {
      font-size: 2.5rem;
      font-weight: 900;
      background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 2rem;
      font-family: 'Playfair Display', 'Abril Fatface', 'Cairo', sans-serif;
      letter-spacing: -0.3px;
    }

    .order-summary {
      background: linear-gradient(135deg, rgba(212, 175, 133, 0.1), rgba(212, 175, 133, 0.05));
      border-left: 5px solid #d4af85;
      border-radius: 12px;
      padding: 1.8rem;
      margin-bottom: 2rem;
      position: relative;
    }

    .order-summary::before {
      content: '📦';
      position: absolute;
      top: -10px;
      left: 20px;
      font-size: 1.5rem;
      color: #e6c9a8;
    }

    .summary-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 1rem;
      font-size: 0.98rem;
      font-weight: 700;
      color: #d4af85;
    }

    .summary-row:last-child {
      margin-bottom: 0;
      font-weight: 900;
      font-size: 1.3rem;
      color: #f5deb3;
      padding-top: 1.2rem;
      border-top: 2px solid rgba(212, 175, 133, 0.2);
      font-family: 'El Messiri', 'Cairo', sans-serif;
    }

    .form-group {
      margin-bottom: 1.8rem;
    }

    .form-label {
      display: block;
      font-weight: 800;
      color: #ffed4e;
      margin-bottom: 0.7rem;
      font-size: 1.05rem;
      font-family: 'Cairo', sans-serif;
      letter-spacing: 0.3px;
      text-transform: uppercase;
    }

    .form-input {
      width: 100%;
      padding: 0.95rem 1.3rem;
      border: 3px solid #d4af85;
      border-radius: 10px;
      font-family: 'Cairo', sans-serif;
      font-size: 0.98rem;
      transition: all 0.3s;
      background: rgba(212, 175, 133, 0.05);
      color: #e5ddd0;
    }

    .form-input::placeholder {
      color: rgba(212, 175, 133, 0.5);
    }

    .form-input:focus {
      outline: none;
      border-color: #f5deb3;
      background: rgba(212, 175, 133, 0.1);
      box-shadow: 0 0 0 4px rgba(212, 175, 133, 0.15);
      transform: scale(1.01);
    }

    /* QUANTITY CONTROL */
    .qty-control {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      margin-bottom: 1.8rem;
      background: rgba(212, 175, 133, 0.1);
      padding: 1rem;
      border-radius: 10px;
      border: 2px solid rgba(212, 175, 133, 0.2);
    }

    .qty-btn {
      width: 48px;
      height: 48px;
      border: 3px solid #d4af85;
      background: linear-gradient(135deg, #1a5f47 0%, #0d3b2a 100%);
      border-radius: 10px;
      font-size: 1.4rem;
      font-weight: 800;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      color: #f5deb3;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Cairo', sans-serif;
    }

    .qty-btn:hover {
      background: linear-gradient(135deg, #d4af85 0%, #e6c9a8 100%);
      color: #0d3b2a;
      transform: scale(1.1);
    }

    .qty-display {
      font-size: 1.4rem;
      font-weight: 900;
      color: #f5deb3;
      min-width: 70px;
      text-align: center;
      font-family: 'El Messiri', 'Cairo', sans-serif;
    }

    /* PAYMENT OPTIONS */
    .payment-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 1.2rem;
      margin-bottom: 1.8rem;
    }

    .payment-option {
      padding: 1.2rem;
      border: 3px solid #d4af85;
      border-radius: 10px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      background: rgba(212, 175, 133, 0.05);
      font-weight: 700;
      font-size: 0.95rem;
      font-family: 'Cairo', sans-serif;
      color: #d4af85;
    }

    .payment-option:hover {
      border-color: #f5deb3;
      background: rgba(212, 175, 133, 0.15);
      transform: scale(1.05);
    }

    .payment-option.selected {
      background: linear-gradient(135deg, #d4af85 0%, #e6c9a8 100%);
      color: #0d3b2a;
      border-color: #f5deb3;
      box-shadow: 0 8px 20px rgba(212, 175, 133, 0.3);
    }

    /* BUTTONS */
    .btn {
      padding: 1.1rem;
      border: none;
      border-radius: 10px;
      font-size: 1.05rem;
      font-weight: 900;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      width: 100%;
      font-family: 'El Messiri', 'Cairo', sans-serif;
    }

    .btn-primary {
      background: linear-gradient(135deg, #d4af85 0%, #e6c9a8 100%);
      color: #0d3b2a;
      margin-bottom: 1rem;
      box-shadow: 0 8px 20px rgba(212, 175, 133, 0.25);
    }

    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 30px rgba(212, 175, 133, 0.35);
    }

    .btn-primary:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }

    .btn-secondary {
      background: rgba(212, 175, 133, 0.1);
      color: #d4af85;
      border: 3px solid #d4af85;
    }

    .btn-secondary:hover {
      background: rgba(212, 175, 133, 0.2);
      border-color: #f5deb3;
      color: #f5deb3;
    }

    /* FOOTER */
    .footer {
      background: linear-gradient(135deg, #0d3b2a 0%, #1a5f47 50%, #0d3b2a 100%);
      color: #e5ddd0;
      padding: 3.5rem 2rem;
      text-align: center;
      margin-top: 3rem;
      position: relative;
      border-top: 3px solid rgba(212, 175, 133, 0.2);
    }

    .footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image:
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(212, 175, 133, 0.05) 40px, rgba(212, 175, 133, 0.05) 80px),
        repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(212, 175, 133, 0.05) 40px, rgba(212, 175, 133, 0.05) 80px);
      pointer-events: none;
    }

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

    .footer-decorations {
      font-size: 3rem;
      margin-bottom: 1rem;
      animation: moonFloat 4s ease-in-out infinite;
      filter: drop-shadow(0 0 30px rgba(212, 175, 133, 0.6));
    }

    .footer-title {
      font-size: 2.5rem;
      font-weight: 900;
      margin-bottom: 1.5rem;
      font-family: 'Playfair Display', 'Abril Fatface', 'Cairo', sans-serif;
      background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: -0.3px;
    }

    .footer-button {
      background: linear-gradient(135deg, #d4af85 0%, #e6c9a8 100%);
      color: #0d3b2a;
      padding: 1.1rem 2.2rem;
      border-radius: 10px;
      border: none;
      text-decoration: none;
      display: inline-block;
      font-weight: 900;
      margin-bottom: 2rem;
      cursor: pointer;
      transition: all 0.3s;
      font-size: 1rem;
      font-family: 'Cairo', sans-serif;
      box-shadow: 0 8px 20px rgba(212, 175, 133, 0.25);
    }

    .footer-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 30px rgba(212, 175, 133, 0.35);
    }

    .footer-text {
      font-size: 0.95rem;
      opacity: 0.95;
      margin-top: 2.5rem;
      line-height: 1.8;
    }

    .footer-doa {
      font-size: 1.3rem;
      color: #f5deb3;
      font-family: 'Amiri', serif;
      font-weight: 700;
      margin-top: 1.5rem;
      direction: rtl;
      letter-spacing: 2px;
      line-height: 2.2;
    }

    /* MODAL */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.8);
      z-index: 2000;
      justify-content: center;
      align-items: center;
      padding: 1rem;
    }

    .modal.show {
      display: flex;
      animation: fadeInScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes fadeInScale {
      from {
        opacity: 0;
        transform: scale(0.9);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    .modal-content {
      background: linear-gradient(135deg, #1a5f47 0%, #0d3b2a 100%);
      border-radius: 16px;
      padding: 2.5rem;
      max-width: 500px;
      width: 100%;
      max-height: 80%;
      overflow-y: auto;
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(212, 175, 133, 0.1);
      border-top: 5px solid #d4af85;
    }

    /* RECEIPT MODAL STYLING */
    .receipt-modal .modal-content {
      background: linear-gradient(135deg, #1f4d3a 0%, #0d3b2a 100%);
      border: 3px solid #d4af85;
      border-radius: 20px;
      padding: 0;
      max-width: 420px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(212, 175, 133, 0.15);
    }

    .receipt-header {
      background: linear-gradient(135deg, #d4af85 0%, #e6c9a8 100%);
      color: #0d3b2a;
      padding: 2rem 1.5rem;
      text-align: center;
      border-radius: 17px 17px 0 0;
      position: relative;
      overflow: hidden;
    }

    .receipt-header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(13, 59, 42, 0.05) 10px,
        rgba(13, 59, 42, 0.05) 20px
      );
      pointer-events: none;
    }

    .receipt-icon {
      font-size: 3rem;
      margin-bottom: 1rem;
      display: block;
      position: relative;
      z-index: 1;
      animation: checkmark 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes checkmark {
      0% { transform: scale(0) rotate(-45deg); }
      100% { transform: scale(1) rotate(0); }
    }

    .receipt-title {
      font-size: 1.8rem;
      font-weight: 900;
      font-family: 'Playfair Display', 'Abril Fatface', 'Cairo', sans-serif;
      position: relative;
      z-index: 1;
      letter-spacing: 0.3px;
    }

    .receipt-body {
      padding: 2rem 1.5rem;
      border-bottom: 2px dashed #d4af85;
      position: relative;
    }

    .receipt-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      margin-bottom: 1.2rem;
      padding-bottom: 1.2rem;
      border-bottom: 1px solid rgba(212, 175, 133, 0.2);
    }

    .receipt-row:last-child {
      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 0;
    }

    .receipt-label {
      font-size: 0.85rem;
      font-weight: 800;
      color: #ffed4e;
      font-family: 'Cairo', sans-serif;
      letter-spacing: 0.2px;
      text-transform: uppercase;
    }

    .receipt-value {
      font-size: 1rem;
      font-weight: 900;
      background: linear-gradient(135deg, #ffd700 0%, #f5deb3 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-family: 'El Messiri', 'Cairo', sans-serif;
      text-align: right;
      word-break: break-all;
    }

    .receipt-order-num {
      background: rgba(212, 175, 133, 0.1);
      border: 2px dashed #d4af85;
      border-radius: 10px;
      padding: 1rem;
      margin-bottom: 1.2rem;
      text-align: center;
    }

    .receipt-order-label {
      font-size: 0.75rem;
      color: #d4af85;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.2px;
      margin-bottom: 0.4rem;
      font-family: 'Cairo', sans-serif;
    }

    .receipt-order-value {
      font-size: 1.4rem;
      font-weight: 900;
      background: linear-gradient(135deg, #ffd700 0%, #f5deb3 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-family: 'El Messiri', 'Cairo', sans-serif;
      word-break: break-all;
    }

    .receipt-divider {
      width: 100%;
      text-align: center;
      color: #d4af85;
      margin: 1rem 0;
      font-size: 0.9rem;
      letter-spacing: 8px;
      opacity: 0.5;
    }

    .receipt-total {
      background: linear-gradient(135deg, rgba(212, 175, 133, 0.2), rgba(212, 175, 133, 0.08));
      border: 2px solid #d4af85;
      border-radius: 12px;
      padding: 1.5rem;
      text-align: center;
      margin-bottom: 1.5rem;
    }

    .receipt-total-label {
      font-size: 0.85rem;
      color: #d4af85;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.2px;
      margin-bottom: 0.6rem;
      font-family: 'Cairo', sans-serif;
    }

    .receipt-total-amount {
      font-size: 2rem;
      font-weight: 900;
      background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #fff44f 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-family: 'El Messiri', 'Cairo', sans-serif;
    }

    .receipt-footer {
      padding: 1.5rem;
      background: rgba(212, 175, 133, 0.05);
      border-radius: 0 0 17px 17px;
    }

    .receipt-message {
      font-size: 0.9rem;
      color: #d4af85;
      margin-bottom: 1.2rem;
      font-weight: 700;
      text-align: center;
      font-family: 'Cormorant Garamond', 'Cairo', serif;
      font-style: italic;
    }

    .receipt-actions {
      display: grid;
      gap: 1rem;
    }

    .receipt-code-section {
      background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.08));
      border: 2px solid #4caf50;
      border-radius: 12px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      text-align: center;
    }

    .receipt-code-label {
      font-size: 0.85rem;
      color: #90ee90;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.2px;
      margin-bottom: 0.6rem;
      font-family: 'Cairo', sans-serif;
    }

    .receipt-code-value {
      font-size: 1.6rem;
      font-weight: 900;
      background: linear-gradient(135deg, #90ee90 0%, #7fff7f 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-family: 'El Messiri', 'Cairo', sans-serif;
      word-break: break-all;
      letter-spacing: 1px;
    }

    .receipt-code-info {
      font-size: 0.8rem;
      color: #90ee90;
      margin-top: 0.8rem;
      font-weight: 700;
      font-style: italic;
    }

    .modal-header {
      text-align: center;
      margin-bottom: 2rem;
      padding-bottom: 1.5rem;
      border-bottom: 2px dashed rgba(212, 175, 133, 0.3);
    }

    .modal-title {
      font-size: 2.2rem;
      font-weight: 900;
      background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-family: 'Playfair Display', 'Abril Fatface', 'Cairo', sans-serif;
      letter-spacing: -0.3px;
    }

    .modal-actions {
      display: grid;
      gap: 1rem;
      margin-top: 2rem;
    }

    .history-item {
      background: linear-gradient(135deg, rgba(212, 175, 133, 0.1), rgba(212, 175, 133, 0.05));
      padding: 1.5rem;
      border-radius: 12px;
      margin-bottom: 1rem;
      border-left: 5px solid #d4af85;
      transition: all 0.3s;
      cursor: pointer;
      position: relative;
    }

    .history-item:hover {
      background: linear-gradient(135deg, rgba(212, 175, 133, 0.15), rgba(212, 175, 133, 0.1));
      transform: translateX(5px);
    }

    .history-order-num {
      font-weight: 900;
      background: linear-gradient(135deg, #e6c9a8 0%, #f5deb3 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 0.8rem;
      font-size: 1.1rem;
      font-family: 'El Messiri', 'Cairo', sans-serif;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .history-details {
      color: #d4af85;
      font-size: 0.9rem;
      line-height: 1.8;
      font-weight: 700;
      display: grid;
      gap: 0.6rem;
    }

    .history-status {
      display: inline-block;
      padding: 0.4rem 0.8rem;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.1px;
    }

    .status-pending {
      background: rgba(255, 215, 0, 0.2);
      color: #ffed4e;
      border: 1px solid #ffed4e;
    }

    .status-completed {
      background: rgba(76, 175, 80, 0.2);
      color: #90ee90;
      border: 1px solid #90ee90;
    }

    /* RESPONSIVE */
    @media (max-width: 968px) {
      .search-box {
        width: 160px;
        font-size: 0.8rem;
      }

      .nav-item a {
        padding: 0.5rem 0.9rem;
        font-size: 0.8rem;
      }

      .header-container {
        gap: 1rem;
      }
    }

    @media (max-width: 768px) {
      .header {
        padding: 0.8rem 1rem;
      }

      .header-container {
        gap: 0.8rem;
        flex-direction: column;
      }

      .logo {
        font-size: 1.2rem;
        gap: 0.3rem;
      }

      .logo-moon {
        font-size: 1rem;
      }

      .nav-wrapper {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        width: 100%;
      }

      .nav-menu {
        gap: 0.2rem;
        flex-wrap: wrap;
        justify-content: center;
      }

      .nav-item a {
        width: auto;
        text-align: center;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        justify-content: center;
      }

      .search-box {
        width: 130px;
        font-size: 0.75rem;
        padding: 0.55rem 0.8rem;
      }

      .search-box input::placeholder {
        font-size: 0.7rem;
      }

      .hero {
        padding: 3rem 1rem;
        margin-top: 130px;
      }

      .hero-title {
        font-size: 2.8rem;
      }

      .hero-subtitle {
        font-size: 1.2rem;
      }

      .hero-moon {
        font-size: 3.5rem;
      }

      .container {
        padding: 2rem 1rem;
      }

      .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
      }

      .game-card {
        padding: 1.2rem;
      }

      .game-icon {
        font-size: 3rem;
        margin-bottom: 0.5rem;
      }

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

      .welcome-section {
        padding: 2rem;
      }

      .price-section,
      .form-section {
        padding: 1.5rem;
      }

      .price-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
      }

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

      .receipt-modal .modal-content {
        max-width: 100%;
      }

      .footer {
        padding: 2rem 1rem;
      }

      .footer-decorations {
        font-size: 2rem;
      }

      .event-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }

      .event-icon-container {
        height: 200px;
      }

      .event-main-icon {
        font-size: 5rem;
      }

      .event-title {
        font-size: 2rem;
      }

      .event-description-title {
        font-size: 1.3rem;
      }

      .event-button {
        font-size: 0.9rem;
        padding: 1rem 1.5rem;
      }
    }

    @media (max-width: 480px) {
      .games-grid {
        grid-template-columns: 1fr;
      }

      .hero-title {
        font-size: 2rem;
      }

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

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

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

      .welcome-title {
        font-size: 1.8rem;
      }

      .receipt-row {
        grid-template-columns: 1fr;
      }

      .receipt-value {
        text-align: left;
      }

      .event-floating-icons {
        flex-direction: column;
        align-items: center;
      }
    }

    /* Refactored Utility Classes (Extracted from Inline Styles) */
    .welcome-subtitle {
      color: #d4af85;
      margin-top: 0.8rem;
      font-size: 0.95rem;
    }

    .event-buttons-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      margin-top: 1.5rem;
    }

    .event-button-reset {
      margin: 0;
    }

    .server-id-group {
      display: none;
    }

    .footer-text-highlight {
      color: #f5deb3;
      font-weight: 900;
    }

    .footer-text-arabic {
      margin-top: 1.2rem;
    }

    .footer-owner-container {
      margin-top: 1.5rem;
      font-size: 0.9rem;
    }

    .footer-owner-text {
      background: linear-gradient(135deg, #f5deb3 0%, #e6c9a8 50%, #ffd700 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-weight: 900;
      font-family: 'El Messiri', 'Cairo', sans-serif;
      text-shadow: 0 0 30px rgba(212, 175, 133, 0.8);
      filter: drop-shadow(0 0 15px rgba(212, 175, 133, 0.6));
    }

    .footer-copyright {
      margin-top: 0.8rem;
      font-size: 0.85rem;
      opacity: 0.8;
    }

    .btn-receipt-email {
      background: linear-gradient(135deg, #5b9bd5 0%, #4a8bc2 100%);
      box-shadow: 0 8px 20px rgba(91, 155, 213, 0.25);
    }

    .history-form-group {
      margin-bottom: 1.5rem;
    }

    .history-phone-input {
      margin-bottom: 0.8rem;
    }

    .history-search-btn {
      margin-bottom: 0;
    }

    .history-list {
      max-height: 400px;
      overflow-y: auto;
      padding: 1rem 0;
      display: none;
    }

    .history-actions {
      margin-top: 1.5rem;
    }

    /* Image Icon Styles */
    .game-icon img {
      width: 100px;
      height: 100px;
      object-fit: cover;
      border-radius: 16px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .search-item-icon img {
      width: 28px;
      height: 28px;
      object-fit: cover;
      border-radius: 6px;
    }
