<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>OSRS Services | Skilling, Bossing, PvM, OSRS Gold</title>
    <link rel="stylesheet" href="styles.css">
    <link rel="icon" href="favicon.png" type="image/png">
    <style>
      /* Smooth Page Transition */
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        font-family: 'Roboto', sans-serif;
        background: url('background.png') no-repeat center center fixed;
        background-size: cover;
        overflow-y: scroll;
        position: relative;
      }

      /* Custom Scrollbar */
      ::-webkit-scrollbar {
        width: 8px;
      }

      ::-webkit-scrollbar-track {
        background: #f1f1f1;
      }

      ::-webkit-scrollbar-thumb {
        background: #2ea2cc;
        border-radius: 4px;
      }

      ::-webkit-scrollbar-thumb:hover {
        background: #1f6bb5;
      }

      .navbar {
        background: rgba(9, 55, 144, 0);
        /* New color with 80% transparency */
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        position: sticky;
        top: 0;
        z-index: 1000;
      }

      .navbar .logo img {
        height: 50px;
      }

      .navbar .logo a {
        text-decoration: none;
      }

      .navbar ul {
        list-style: none;
        display: flex;
        margin: 0;
        padding: 0;
      }

      .navbar ul li {
        position: relative;
      }

      .navbar ul li a {
        color: white;
        text-decoration: none;
        font-weight: 600;
        padding: 10px 15px;
        display: block;
      }

      .navbar ul li.has-dropdown>a::after {
        content: '\25BC';
        margin-left: 8px;
        font-size: 0.8em;
      }

      .navbar ul li:hover>a {
        background: rgba(6, 40, 104, 0.8);
      }

      .navbar ul li .dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(6, 40, 104, 0.9);
        min-width: 200px;
        z-index: 1001;
      }

      .navbar ul li:hover .dropdown,
      .navbar ul li.show .dropdown {
        display: block;
      }

      .dropdown li {
        width: 100%;
      }

      .dropdown li a {
        padding: 10px;
        color: white;
      }

      .dropdown li a:hover {
        background-color: rgba(4, 30, 78, 0.9);
      }

      .menu-toggle {
        display: none;
        cursor: pointer;
        color: white;
        font-size: 1.5em;
        margin-left: 20px;
        z-index: 1001;
        transition: transform 0.3s ease;
      }

      .menu-toggle.active {
        transform: rotate(90deg);
      }

      @media (max-width: 768px) {
        .navbar ul {
          flex-direction: column;
          display: none;
          background: rgba(9, 55, 144, 0.9);
          position: absolute;
          top: 60px;
          right: 0;
          width: 100%;
          transition: all 0.5s ease-in-out;
        }

        .navbar ul.active {
          display: flex;
        }

        .menu-toggle {
          display: block;
        }

        .navbar ul.active li.has-dropdown .dropdown {
          display: none;
          position: static;
          background: rgba(6, 40, 104, 0.9);
        }

        .navbar ul.active li.has-dropdown.show .dropdown {
          display: block;
        }

        .navbar ul li.has-dropdown>a {
          display: flex;
          justify-content: space-between;
        }

        .navbar ul.active li.discord {
          text-align: center;
          margin-top: 20px;
        }

        .navbar ul.active li.discord a {
          display: inline-block;
        }

        .navbar ul.active li.discord a img {
          height: 40px;
        }

        .navbar .social {
          display: none;
        }
      }

      .hero {
        text-align: center;
        color: white;
        margin: 50px 20px;
        animation: fadeIn 1.5s ease-in-out;
      }

      .hero h1 {
        font-size: 2.5em;
        font-weight: bold;
        margin: 0;
      }

      .hero p {
        font-size: 1.2em;
        font-weight: bold;
        color: white;
        margin: 10px 0;
        background: none;
        border: none;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
        }

        to {
          opacity: 1;
        }
      }

      /* Hero Section Styling */
      .hero-section {
        text-align: center;
        margin: 50px auto;
        padding: 20px;
        color: white;
        font-family: 'Roboto', sans-serif;
        animation: fadeIn 1.5s ease-in-out;
      }

      .hero-section h1 {
        font-size: 3.5em;
        /* Increased font size */
        font-weight: bold;
        margin-bottom: 10px;
      }

      .hero-section p {
        font-size: 1.2em;
        margin: 5px 0;
      }

      .hero-section a {
        color: #2ea2cc;
        text-decoration: underline;
      }

      /* Image Links Section */
      .image-links {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin: 50px auto;
        flex-wrap: wrap;
      }

      .image-card {
        text-align: center;
        position: relative;
        overflow: hidden;
        width: 180px;
        height: 180px;
        border-radius: 10px;
        background: rgba(9, 55, 144, 0.8);
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        text-decoration: none;
        color: white;
      }

      .image-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
      }

      .image-card span {
        position: absolute;
        bottom: 10px;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 1em;
        font-weight: bold;
        background: rgba(0, 0, 0, 0.6);
        padding: 5px 0;
        transition: background 0.3s ease-in-out;
      }

      /* Hover Animation */
      .image-card:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      }

      .image-card:hover span {
        background: rgba(0, 0, 0, 0.8);
      }

      /* Trustpilot Review Section */
      .trustpilot-reviews {
        text-align: center;
        background: rgba(9, 55, 144, 0.1);
        padding: 40px 20px;
        margin: 40px auto;
      }

      .trustpilot-reviews h2 {
        font-size: 2em;
        margin-bottom: 20px;
        color: #ffffff;
        /* Change text color to white */
      }

      .review-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
      }

      .review {
        background: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 20px;
        width: 300px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
      }

      .review:hover {
        transform: translateY(-5px);
      }

      .review-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
      }

      .review-header img {
        height: 24px;
      }

      .review-name {
        font-weight: bold;
        color: #093790;
        flex-grow: 1;
      }

      .review-rating {
        color: #ffcc00;
      }

      .review-text {
        font-size: 0.9em;
        color: #555;
        line-height: 1.4;
      }

      /* Disable Sticky Navbar on PC */
      @media (min-width: 769px) {
        .navbar {
          position: static;
          /* Remove sticky behavior on larger screens */
        }
      }

      /* Payment Options Section */
      .payment-options {
        text-align: center;
        margin: 50px auto;
        padding: 20px;
        background: rgba(9, 55, 144, 0.1);
        border-radius: 10px;
      }

      .payment-options h2 {
        font-size: 2em;
        font-weight: bold;
        margin-bottom: 20px;
        color: #ffffff;
        /* White text */
      }

      .payment-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
      }

      .payment-icon {
        width: 120px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease-in-out;
      }

      .payment-icon img {
        max-width: 60%;
        max-height: 60%;
        object-fit: contain;
      }

      .payment-icon:hover {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
      }

      /* About Section Styling */
      .about-section {
        background: rgba(9, 55, 144, 0.1);
        /* Slight blue background */
        padding: 50px 20px;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .about-container {
        display: flex;
        align-items: center;
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
      }

      .about-image {
        flex: 1;
        max-width: 500px;
      }

      .about-image img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      }

      .about-text {
        flex: 1;
        font-family: 'Roboto', sans-serif;
        color: #fff;
      }

      .about-text h2 {
        font-size: 2em;
        margin-bottom: 10px;
        color: #ffffff;
      }

      .about-text p {
        font-size: 1em;
        line-height: 1.6;
        margin-bottom: 15px;
      }

      /* Responsive Design */
      @media (max-width: 768px) {
        .about-container {
          flex-direction: column;
          text-align: center;
        }

        .about-image,
        .about-text {
          max-width: 100%;
        }

        .about-text h2 {
          font-size: 1.8em;
        }

        .about-text p {
          font-size: 0.9em;
        }
      }

      /* Why Choose OSRS-PVM Section Styling */
      .why-choose-section {
        text-align: center;
        padding: 50px 20px;
        background: rgba(9, 55, 144, 0);
        /* Slight blue background */
        color: #ffffff;
      }

      .why-choose-section h2 {
        font-size: 2.5em;
        margin-bottom: 30px;
        font-weight: bold;
      }

      .why-choose-container {
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 20px;
        flex-wrap: wrap;
        max-width: 1200px;
        margin: 0 auto;
      }

      .why-choose-box {
        background: rgba(9, 55, 144, 0.2);
        /* Solid blue box */
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        text-align: center;
        padding: 20px;
        flex: 1;
        min-width: 250px;
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
      }

      .why-choose-box h3 {
        font-size: 1.5em;
        margin-bottom: 10px;
        color: #ffffff;
      }

      .why-choose-box p {
        font-size: 1em;
        color: #d0e6ff;
        /* Light blue text */
      }

      .why-choose-box:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
      }

      /* Responsive Design */
      @media (max-width: 768px) {
        .why-choose-container {
          flex-direction: column;
          gap: 15px;
        }

        .why-choose-box {
          min-width: 100%;
        }

        .why-choose-section h2 {
          font-size: 2em;
        }
      }

      /* Footer Section Styling */
      .footer {
        background: rgba(9, 55, 144, 0.4);
        /* Transparent Dark Blue Footer */
        color: white;
        padding: 40px 20px;
        font-family: 'Roboto', sans-serif;
        backdrop-filter: blur(5px);
        /* Slight blur effect for clarity */
      }

      /* Footer Container */
      .footer-container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
      }

      /* Left Section */
      .footer-left {
        flex: 1;
        min-width: 280px;
      }

      .footer-left img {
        width: 150px;
        margin-bottom: 15px;
      }

      .footer-left p {
        font-size: 0.9em;
        line-height: 1.6;
        color: #d0e6ff;
      }

      /* Middle Section */
      .footer-middle {
        flex: 1;
        min-width: 280px;
        text-align: center;
      }

      .footer-middle h3 {
        font-size: 1.2em;
        margin-bottom: 10px;
        text-transform: uppercase;
        color: #ffffff;
      }

      .footer-middle ul {
        list-style: none;
        padding: 0;
        text-align: center;
      }

      .footer-middle ul li {
        margin-bottom: 8px;
      }

      .footer-middle ul li a {
        color: #d0e6ff;
        text-decoration: none;
        transition: color 0.3s ease;
      }

      .footer-middle ul li a:hover {
        color: #2ea2cc;
      }

      /* Right Section */
      .footer-right {
        flex: 1;
        min-width: 280px;
        text-align: right;
      }

      .footer-right h3 {
        font-size: 1.2em;
        margin-bottom: 10px;
        text-transform: uppercase;
        color: #ffffff;
      }

      .footer-right p {
        font-size: 0.9em;
        line-height: 1.6;
        color: #d0e6ff;
        margin-bottom: 15px;
      }

      .footer-right h4 {
        font-size: 1em;
        margin-top: 20px;
        color: #ffffff;
      }

      .footer-social {
        margin-top: 10px;
        text-align: center;
        /* Center social icons on mobile */
      }

      .footer-social a {
        display: inline-block;
        margin: 5px;
        transition: transform 0.3s ease;
      }

      .footer-social img {
        width: 24px;
        height: 24px;
      }

      .footer-social a:hover {
        transform: scale(1.1);
      }

      /* Bottom Section */
      .footer-bottom {
        text-align: center;
        margin-top: 30px;
        font-size: 0.8em;
        color: #d0e6ff;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 20px;
        background: transparent;
        /* Fully Transparent */
        backdrop-filter: none;
        /* Remove any blur effect */
      }

      /* Responsive Design */
      @media (max-width: 768px) {
        .footer-container {
          flex-direction: column;
          text-align: center;
          align-items: center;
          gap: 20px;
        }

        .footer-left,
        .footer-middle,
        .footer-right {
          text-align: center;
          margin-bottom: 20px;
        }

        .footer-left img {
          margin: 0 auto 10px;
        }

        .footer-middle ul {
          text-align: center;
        }

        .footer-right h3,
        .footer-right p {
          text-align: center;
        }

        .footer-social {
          text-align: center;
          margin-top: 10px;
        }
      }

      .centered-gif {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 40px 0;
        /* Add space around the GIF */
        text-align: center;
      }

      .centered-gif img {
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
        /* Optional: adds rounded corners */
        transition: transform 0.3s ease-in-out;
      }

      .centered-gif img:hover {
        transform: scale(1.05);
        /* Slight zoom on hover */
      }

      /* Services Section */
      .services-section {
        text-align: center;
        padding: 40px 20px;
        background: rgba(9, 55, 144, 0.2);
        border-radius: 10px;
        max-width: 900px;
        margin: 50px auto;
      }

      .services-section h2 {
        font-size: 2em;
        margin-bottom: 20px;
        color: white;
      }

      /* Services Grid */
      .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns */
        gap: 20px;
        justify-items: center;
        margin-top: 20px;
      }

      .service-card {
        text-align: center;
        position: relative;
        overflow: hidden;
        width: 200px;
        height: 200px;
        border-radius: 10px;
        background: rgba(9, 55, 144, 0.6);
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        cursor: pointer;
        color: white;
      }

      .service-card img {
        width: 100%;
        height: 140px;
        object-fit: cover;
        border-radius: 10px 10px 0 0;
      }

      .service-card p {
        margin: 10px 0;
        font-size: 1em;
        font-weight: bold;
      }

      /* Popup Modal */
      .service-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        justify-content: center;
        align-items: center;
        z-index: 10000;
      }

      .service-modal-content {
        background: rgba(9, 55, 144, 0.95);
        padding: 30px;
        border-radius: 10px;
        text-align: left;
        color: white;
        max-width: 400px;
        width: 90%;
        animation: fadeIn 0.3s ease-in-out;
      }

      .service-modal-content h3 {
        font-size: 1.5em;
        margin-bottom: 15px;
      }

      .service-modal-content ul {
        list-style: none;
        padding: 0;
        margin-bottom: 20px;
      }

      .service-modal-content ul li {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .service-modal-content input[type="checkbox"] {
        transform: scale(1.2);
      }

      .buy-now-btn {
        display: block;
        width: 100%;
        padding: 10px;
        font-size: 1em;
        font-weight: bold;
        color: white;
        background: #2ea2cc;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        text-align: center;
      }

      .buy-now-btn:hover {
        background: #1f6bb5;
      }

      /* Close Button */
      .close-btn {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 1.5em;
        cursor: pointer;
        color: white;
      }

      /* Responsive Adjustments */
      @media (max-width: 768px) {
        .services-grid {
          grid-template-columns: repeat(2, 1fr);
          /* Switch to 2 columns */
        }
      }

      @media (max-width: 480px) {
        .services-grid {
          grid-template-columns: 1fr;
          /* Single column on small devices */
        }
      }

      /* Services Section Styling */
      .services-section {
        text-align: center;
        padding: 40px 20px;
        font-family: 'Roboto', sans-serif;
        background: rgba(9, 55, 144, 0.1);
      }

      .services-section h2 {
        font-size: 2.5em;
        margin-bottom: 20px;
        color: white;
      }

      /* Services Grid */
      .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 20px;
      }

      /* Service Card */
      .service-card {
        text-align: center;
        background: rgba(9, 55, 144, 0.3);
        border-radius: 10px;
        overflow: hidden;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
      }

      /* Service Card Image */
      .service-card img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-bottom: 2px solid #2ea2cc;
      }

      /* Service Card Text */
      .service-card p {
        margin: 10px 0;
        font-size: 1.1em;
        font-weight: bold;
        color: white;
      }

      /* Hover Animation */
      .service-card:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
      }

      /* Add a subtle background glow */
      .service-card:hover::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 10px;
        box-shadow: 0 0 15px #2ea2cc;
        z-index: -1;
        animation: glow 1.5s infinite alternate;
      }

      /* Glow Animation Keyframes */
      @keyframes glow {
        from {
          box-shadow: 0 0 10px #2ea2cc;
        }

        to {
          box-shadow: 0 0 25px #2ea2cc;
        }
      }

      .service-card {
        display: block;
        text-decoration: none;
        /* Remove default link underline */
        color: inherit;
        /* Inherit text color */
      }

      /* Preloader Animation */
      #preloader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #093790;
        /* Change to your theme color */
        z-index: 9999;
        display: none;
        opacity: 1;
        transition: opacity 0.5s ease-in-out;
      }

      /* Fade-in Animation for Pages */
      body {
        animation: fadeIn 0.8s ease-in-out;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
        }

        to {
          opacity: 1;
        }
      }

      .minigames-section {
        padding: 40px 20px;
        background: rgba(9, 55, 144, 0.4);
        border-radius: 8px;
      }

      .minigames-section h2,
      .minigames-section h3 {
        text-align: center;
        color: white;
        margin-bottom: 15px;
      }

      .minigames-section p {
        text-align: center;
        color: #d0e6ff;
        margin-bottom: 20px;
      }

      .quest-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 20px;
      }

      .quest-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(9, 55, 144, 0.4);
        padding: 10px 15px;
        border-radius: 5px;
        transition: background 0.3s ease;
      }

      .quest-item:hover {
        background: rgba(9, 55, 144, 0.6);
      }

      .quest-item .quest-name {
        font-weight: bold;
        color: white;
      }

      .quest-item .quest-price {
        color: white;
      }

      .quest-item input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: #2ea2cc;
      }

      /* Buy Button */
      .submit-btn {
        margin-top: 20px;
        padding: 10px 20px;
        font-size: 1em;
        font-weight: bold;
        cursor: pointer;
        border: none;
        border-radius: 5px;
        background: #2ea2cc;
        color: white;
        transition: background 0.3s;
      }

      .submit-btn:hover {
        background: #1f6bb5;
      }
    </style>
    <div id="preloader"></div>
    <script>
      document.addEventListener('DOMContentLoaded', () => {
        const preloader = document.getElementById('preloader');
        // Smooth Page Exit
        document.querySelectorAll('a.smooth-link').forEach(link => {
          link.addEventListener('click', function(e) {
            e.preventDefault();
            const href = this.getAttribute('href');
            preloader.style.display = 'block';
            setTimeout(() => {
              window.location.href = href;
            }, 500); // Matches transition time
          });
        });
        // Smooth Page Load
        window.addEventListener('pageshow', () => {
          preloader.style.opacity = '0';
          setTimeout(() => {
            preloader.style.display = 'none';
          }, 500);
        });
      });
    </script>
    <script>
      function toggleMenu() {
        const menu = document.querySelector('.navbar ul');
        const toggle = document.querySelector('.menu-toggle');
        menu.classList.toggle('active');
        toggle.classList.toggle('active');
      }

      function toggleDropdown(event) {
        if (event.target.closest('li').classList.contains('has-dropdown')) {
          event.target.closest('li').classList.toggle('show');
        }
      }
    </script>
  </head>
  <body>
    <nav class="navbar">
      <div class="logo">
        <a href="./index.html">
          <img src="website_logo_transparent.png" alt="OSRS Services Logo">
        </a>
      </div>
      <div class="menu-toggle" onclick="toggleMenu()">☰</div>
      <ul onclick="toggleDropdown(event)">
        <li>
          <a href="./gold-items.html">OSRS Gold</a>
        </li>
        <li>
          <a href="./accounts.html">Accounts</a>
        </li>
        <li>
          <a href="./infernal-cape.html">Infernal Cape</a>
        </li>
        <li>
          <a href="./megascales.html">Megascales</a>
        </li>
        <li>
          <a href="./services.html">Services</a>
        </li>
      </ul>
      <ul>
        <li class="discord">
          <a href="https://discord.com/invite/osrspvmer" target="_blank">
            <img src="Discord.png" alt="Discord">
          </a>
        </li>
      </ul>
    </nav>
    <!-- Minigames Section -->
    <section class="minigames-section">
      <center>
        <a href="minigames.html" class="service-card">
          <img src="minigames.png" alt="Minigames">
          <p>Minigames</p>
        </a>
      </center>
      <br>
      <br>
      <!-- Buy Now Button -->
      <center>
        <button class="submit-btn" onclick="buyMinigames()">Buy Now</button>
      </center>
      <br>
      <br>
      <!-- Barbarian Assault -->
      <h3>Barbarian Assault</h3>
      <p>Prices assume login. Leech is +20%</p>
      <div class="quest-grid">
        <div class="quest-item">
          <span class="quest-name">Queen kill</span>
          <span class="quest-price">$5</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Fighter Torso</span>
          <span class="quest-price">$20</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Penance Skirt</span>
          <span class="quest-price">$20</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Penance Hat</span>
          <span class="quest-price">$12</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Penance Gloves</span>
          <span class="quest-price">$12</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Runner Boots</span>
          <span class="quest-price">$12</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Level 5 (per role)</span>
          <span class="quest-price">$20</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Level 5 (all roles)</span>
          <span class="quest-price">$72</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">High Gamble</span>
          <span class="quest-price">$6</span>
          <input type="checkbox">
        </div>
      </div>
      <!-- Mage Training Arena -->
      <h3>Mage Training Arena</h3>
      <p>Prices are the same for both Login & Leech</p>
      <div class="quest-grid">
        <div class="quest-item">
          <span class="quest-name">Bones to Peaches</span>
          <span class="quest-price">60m</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Mage's Book</span>
          <span class="quest-price">126m</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Master Wand</span>
          <span class="quest-price">115m</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Infinity Hat</span>
          <span class="quest-price">80m</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Infinity Top</span>
          <span class="quest-price">95m</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Infinity Bottom</span>
          <span class="quest-price">115m</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Infinity Gloves</span>
          <span class="quest-price">42m</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Infinity Boots</span>
          <span class="quest-price">35m</span>
          <input type="checkbox">
        </div>
      </div>
      <!-- Last Man Standing -->
      <h3>Last Man Standing</h3>
      <div class="quest-grid">
        <div class="quest-item">
          <span class="quest-name">Normal Price (&lt; 100 points)</span>
          <span class="quest-price">650k/point</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Bulk Price (&gt; 100 points)</span>
          <span class="quest-price">625k/point</span>
          <input type="checkbox">
        </div>
      </div>
      <!-- Hallowed Sepulchre -->
      <h3>Hallowed Sepulchre</h3>
      <div class="quest-grid">
        <div class="quest-item">
          <span class="quest-name">Black graceful at 92 Agility</span>
          <span class="quest-price">325m</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Black graceful at 82 Agility</span>
          <span class="quest-price">400m</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Dark Acorn at 92 Agility</span>
          <span class="quest-price">500m</span>
          <input type="checkbox">
        </div>
        <div class="quest-item">
          <span class="quest-name">Dark Acorn at 82 Agility</span>
          <span class="quest-price">650m</span>
          <input type="checkbox">
        </div>
      </div>
      <!-- Buy Now Button -->
      <center>
        <button class="submit-btn" onclick="buyMinigames()">Buy Now</button>
      </center>
      <br>
      <br>
    </section>
    <script>
      // ✅ Buy Minigames Functionality with Live Chat Integration (No Total Price)
      function buyMinigames() {
        const selectedMinigames = {};
        // Iterate through each section (h3 and its corresponding grid)
        document.querySelectorAll('.minigames-section h3').forEach(section => {
          const sectionTitle = section.textContent.trim(); // Get the section title (e.g., Barbarian Assault)
          // Find the next '.quest-grid' after the current h3
          let grid = section.nextElementSibling;
          while (grid && !grid.classList.contains('quest-grid')) {
            grid = grid.nextElementSibling;
          }
          if (grid) {
            const selectedItems = Array.from(grid.querySelectorAll('.quest-item input[type="checkbox"]:checked'));
            selectedItems.forEach(checkbox => {
              const questItem = checkbox.closest('.quest-item');
              const questName = questItem.querySelector('.quest-name').textContent.trim();
              const questPriceText = questItem.querySelector('.quest-price').textContent.trim();
              // Add selected quest to section
              if (!selectedMinigames[sectionTitle]) {
                selectedMinigames[sectionTitle] = [];
              }
              selectedMinigames[sectionTitle].push(`${questName}: ${questPriceText}`);
            });
          }
        });
        // ✅ Build the final message
        if (Object.keys(selectedMinigames).length > 0) {
          let message = `I would like to purchase the following Minigames services:\n\n`;
          for (const [section, items] of Object.entries(selectedMinigames)) {
            message += `${section}:\n`;
            items.forEach(item => {
              message += `- ${item}\n`;
            });
            message += `\n`; // Add a line break between sections
          }
          // ✅ Send Message via Smartsupp Live Chat
          if (window.smartsupp) {
            smartsupp('chat:open');
            smartsupp('chat:message', message);
            console.log('✅ Message sent to Live Chat:', message);
          } else {
            console.error('❌ Smartsupp not initialized.');
            alert('LiveChat is not ready. Please try again later.');
          }
        } else {
          alert('Please select at least one minigame before proceeding.');
        }
      }
    </script>
    <br>
    <br>
    <br>
    <footer class="footer">
      <div class="footer-container">
        <!-- Left Section: Logo and Description -->
        <div class="footer-section footer-left">
          <img src="website_logo_transparent.png" alt="OSRS Services Logo">
          <p> Providing efficient and affordable OSRS Services, we have completed over $250,000 in orders across numerous sites. Speak to Live Chat if you need any support. </p>
        </div>
        <!-- Middle Section: Help and Links -->
        <div class="footer-section footer-middle">
          <h3>Quick Links</h3>
          <ul>
            <li>
              <a href="./contact.html"></a>
            </li>
            <li>
              <a href="./blog.html"></a>
            </li>
            <li>
              <a href="./privacy.html"></a>
            </li>
            <li>
              <a href="https://discord.com/invite/osrspvmer">Discord</a>
            </li>
            <li>
              <a href="https://www.eldorado.gg/users/OSRSServicesPvM?tab=Feedback">Eldorado</a>
            </li>
            <li>
              <a href="https://www.sythe.org/threads/osrs-services-vouch-thread/#post-11617726">Sythe</a>
            </li>
            <li>
              <a href="https://uk.trustpilot.com/review/osrs-pvm.com">Trustpilot</a>
            </li>
          </ul>
        </div>
        <div class="footer-section footer-right">
          <h3>Our Commitment</h3>
          <p> Dedicated to offering secure and efficient OSRS services. Our team operates with professionalism and transparency, ensuring customer satisfaction. </p>
          <h4>Join our Discord <a href="https://discord.com/invite/osrspvmer">
              <img src="Discord.png" alt="Discord">
            </a>
          </h4>
        </div>
      </div>
      <div class="footer-bottom">
        <p>© 2025 OSRS Services. All rights reserved.</p>
      </div>
    </footer>
    <script src="chat.js"></script>
    <script src="script.js"></script>
  </body>
</html>