.panel-container {
      display: flex;
      flex-wrap: nowrap; /* Single row for larger screens */
      gap: 10px;
      justify-content: center; /* Centers panels */
      padding: 10px;
      padding-top: 20px;
      box-sizing: border-box;
      width: 100%; /* Full viewport width */
    }

    .panel {
      position: relative;
      width: calc(25% - 10px); /* Each panel takes 25% minus gaps */
      max-width: 300px;
      min-width: 200px;
      height: 200px;
      background: #001565;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      text-align: center;
      overflow: visible;
      border: 2px solid #ccc;
      padding: 20px;
      box-sizing: border-box;
      z-index: 2;
      flex-shrink: 0;
    }

    .left-section {
      align-items: center;
      text-align: center;
      justify-content: center;
      display: flex;
      flex-direction: column;
    }

    .highlight-bar {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 5px;
      background: linear-gradient(45deg, #000a66, #003300);
    }

    .symbol-box {
      position: absolute;
      top: -30px;
      left: 15px;
      width: 50px;
      height: 50px;
      background: linear-gradient(45deg, #0ff, #0f0);
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 28px;
      border-radius: 6px;
      z-index: 3;
      color: #000;
      box-shadow: 0 0 5px #0f0;
      animation: bounce 1.5s infinite;
    }

    .symbol-box .symbol {
      animation: pulse-rotate 2s infinite;
    }
      div.text-line{
        font-weight: 600;
        /* line-height: 2; */
      }
    @keyframes bounce {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-10px);
      }
    }

    @keyframes pulse-rotate {
      0% {
        transform: scale(1) rotate(0deg);
      }
      50% {
        transform: scale(1.2) rotate(15deg);
      }
      100% {
        transform: scale(1) rotate(0deg);
      }
    }

    .text-line {
      font-size: 16px;
      z-index: 2;
      color: #fff;
      margin: 10px 0;
      flex-grow: 1;
    }

    .text-line .symbol {
      margin-right: 8px;
    }

    canvas {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      pointer-events: none;
      width: 100%;
      height: 100%;
    }

    .action-button {
      position: absolute;
      bottom: 20px;
      padding: 8px 16px;
      background: linear-gradient(45deg, #0ff, #0f0);
      border: none;
      color: #000;
      font-weight: bold;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.4s ease;
      background-size: 200% auto;
      background-position: left center;
      z-index: 3;
    }

    .action-button:hover {
      background-position: right center;
      background-image: linear-gradient(45deg, #00ffea, #ffffff, #00ffea);
      box-shadow: 0 0 12px #00ffee, 0 0 25px #00ffea;
      transform: scale(1.05);
    }

    .link-text {
      position: absolute;
      bottom: 100px;
      color: #0ff;
      text-decoration: underline;
      font-size: 14px;
      transition: color 0.3s ease;
      z-index: 3;
    }

    .link-text:hover {
      color: #00ffea;
    }

    .pulse-effect {
      display: inline-block;
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
      0% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.2);
      }
      100% {
        transform: scale(1);
      }
    }

    /* Mobile view */
    @media (max-width: 768px) {
      .panel-container {
        flex-wrap: wrap; /* Stack panels vertically */
        flex-direction: column; /* Ensure vertical stacking */
        align-items: center; /* Center panels horizontally */
        gap: 20px; /* Increase gap for spacing between stacked panels */
        padding: 10px;
      }

      .panel {
        width: 100%; /* Full width for mobile */
        max-width: 400px; /* Slightly larger max-width for readability */
        min-width: 280px; /* Minimum width for small screens */
        height: auto; /* Allow height to adjust based on content */
        min-height: 150px; /* Ensure minimum height */
        padding: 15px; /* Slightly reduced padding */
      }

      .text-line {
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4; /* Improve readability */
      }

      .symbol-box {
        width: 40px;
        height: 40px;
        font-size: 24px;
        left: 10px;
        top: -25px;
      }

      .action-button {
        padding: 6px 12px;
        font-size: 14px;
        bottom: 15px;
      }

      .link-text {
        font-size: 12px;
        bottom: 45px;
      }
    }

    /* Extra small screens (e.g., very narrow phones) */
    /* @media (max-width: 480px) {
      .panel {
        min-width: 250px; /* Further reduce minimum width */
     width: 1px;
      } */

      .text-line {
        font-size: 12px;
      }

      .symbol-box {
        width: 36px;
        height: 36px;
        font-size: 20px;
        left: 8px;
        top: -20px;
      }

      .action-button {
        padding: 5px 10px;
        font-size: 12px;
      }

      .link-text {
        font-size: 15px;
        padding-bottom: 30px;
      }
    }