      :root {
            --first-color: #000;
            --second-color: #fff;
            --third-color: #f000f8;
            --fourth-color: #490139;
        }

        body {
            background: url("/backgroundgc.jpg");
            /* background-color: var(--first-color); */
            color: var(--second-color);
            background-size: cover !important;
            background-attachment: fixed !important;
            background-position-x: center !important;
            background-position-y: center !important;
            font-family: 'arial';
            position: relative; /* Creates a stacking context for canvas */
          }
          
            canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1; /* Keeps the canvas behind all content */
            pointer-events: none; /* Prevents interactions with the canvas */
          }

        @keyframes futuristicGradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* Reset body and html default margins and paddings */
        body, html {
            margin: 0;
            padding: 0;
            width: 100%;
        }

        .header {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 10px 20px;
            background: linear-gradient(90deg, #690052, #a10080, #cc00cc, #a10080, #690052); /* Purple futuristic gradient */
            background-size: 300% 300%; /* Expands the gradient for smooth animation */
            animation: futuristicGradient 6s infinite; /* Gradient animation */
            width: auto; /* Full viewport width */
            border-bottom: 2px solid #444;
            margin-top: 0px;
            box-sizing: border-box; /* Ensures padding and border are included in the width */
        }

        .header .logo {
            width: 200px; /* Adjust logo size */
            height: auto;
        }

        .header .buttons {
            display: flex;
            gap: 10px;
        }

        .header button {
            margin: 0;
            padding: 10px 20px;
            font-size: 16px;
            color: #fff;
            background-color: #000000;
            border: 2px solid #ff00b3;
            cursor: pointer;
            transition: 0.3s;
        }

        .header button:hover {
            background-color: #ff00dd;
            border-color: #ff00dd;
        }
        .copyright {
            text-transform: uppercase;
            font-size: 0.7rem;
            text-align: center;
          }

        /* Mobile styles */
        @media (max-width: 768px) {
            .header {
                flex-direction: column;
                justify-content: center;
                align-items: center;
            }

            .header .logo {
                margin-bottom: 10px;
            }

            .header .buttons {
                flex-direction: column; /* Stack buttons vertically */
                gap: 5px; /* Reduce gap between buttons */
                width: 100%; /* Ensure full width on mobile */
            }

            .header button {
                width: 40vh;
            }
            .container {
                width: auto;
                padding: 15px;
            }

            .form-group button {
                width: 100%;
                margin: 5px 0;
                transition: background-color 0.3s ease, transform 0.2s ease;
            }
        
            .form-group button:hover {
                background-color: #e91ae8; /* Brighter purple */
                transform: scale(1.0); /* Slight scaling effect */
            }
        
            .form-group button:last-child:hover {
                background-color: #df3f3f; /* Brighter red */
                transform: scale(1.0); /* Slight scaling effect */
            }

            .result textarea {
                height: 100px;
            }
            
            .copyright {
                font-size: 0.54rem;
                padding: 0.3rem 0;
            }
        }

        .container {
            z-index: 1; /* Ensures content is above the canvas */
            background: var(--first-color);
            border: 2px solid var(--third-color);
            display: block;
            margin: 20px auto;
            margin-top: 10px;
            padding: 20px;
            border-radius: 1rem;
            width: 100vh; /* Default width for larger screens */
        }
        
        @media (max-width: 768px) {
            .container {
                width: auto; /* Adjust width for smaller devices */
            }
        }

        .container h1 {
            text-align: center;
            margin-bottom: 20px;
            font-size: 20px;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-size: 14px;
        }

        .form-group input, .form-group select {
            width: 100%;
            padding: 0px;
            height: 30px;
            font-size: 14px;
            border: 1px solid #555;
            border-radius: 4px;
            background-color: #444;
            color: #fff;
        }

        .form-group button {
            width: 100%;
            padding: 10px;
            font-size: 14px;
            display: block;
            border: none;
            border-radius: 4px;
            background-color: #d612bc;
            color: #ffffff;
            margin-bottom: 10px;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }
        
        .form-group button:hover {
            background-color: #e91ae8; /* Brighter purple */
            transform: scale(1.0); /* Slight scaling effect */
        }
        
        .form-group button:last-child {
            background-color: #d61212;
            color: #fff;
        }
        
        .form-group button:last-child:hover {
            background-color: #df3f3f; /* Brighter red */
            transform: scale(1.0); /* Slight scaling effect */
        }

        .result {
            margin-top: 20px;
            padding: 10px;
            background-color: #222;
            border: 1px solid #555;
            border-radius: 4px;
            font-size: 14px;
            overflow-x: auto;
        }

        .result p {
            margin: 0;
        }

        .result textarea {
            width: 100%;
            height: 80px;
            background-color: #444;
            color: #fff;
            border: none;
            padding: 10px;
            resize: none;
            font-size: 14px;
            border-radius: 4px;
        }
        .kombinasi-container {
            z-index: 1; /* Ensures content is above the canvas */
            background: var(--first-color);
            border: 2px solid var(--third-color);
            display: block;
            margin: 20px auto;
            margin-top: -10px;
            padding: 20px;
            border-radius: 1rem;
            width: 100vh; /* Default width for larger screens */
        }
        
        @media (max-width: 768px) {
            .kombinasi-container {
                width: auto; /* Adjust width for smaller devices */
            }
        }
        @media (max-width: 1280px) {
            .kombinasi-container {
                width: auto; /* Adjust width for smaller devices */
            }
            .container {
            width: auto; /* Adjust width for smaller devices */
            }
        }

    .kombinasi-header {
      text-align: center;
      margin-top: 30px;
      margin-bottom: 25px;
      font-size: 20px;
      font-weight: bold;
      color: #ffffff;
    }

    .kombinasi-instructions {
      background-color: #f7f9fc;
      border-left: 4px solid #ff00aa;
      padding: 15px;
      font-size: 14px;
      color: #555;
      margin-bottom: 20px;
      border-radius: 5px;
    }

    .kombinasi-instructions strong {
      color: #222;
    }

    .kombinasi-input-container {
  display: flex;
  flex-direction: column;  /* Stack input and button vertically on smaller screens */
  gap: 10px;
}

.kombinasi-input {
  padding: 0px;
  height: 30px;
  font-size: 16px;  /* Increase font size for easier typing */
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;  /* Make the input take the full width of the container */
}

.kombinasi-button {
  padding: 12px;
  font-size: 16px;
  color: #fff;
  background-color: #d612bc;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;  /* Make button stretch to the full width */
}

    .kombinasi-button:hover {
      background-color: #ff00c8;
    }

    .kombinasi-result {
      margin-top: 20px;
      padding: 15px;
      background-color: #f7f9fc;
      border: 1px solid #ddd;
      border-radius: 5px;
      font-size: 14px;
      line-height: 1.6;
      color: #444;
      white-space: pre-wrap;
    }

    .kombinasi-result-title {
      color: #d94fce;
      font-weight: bold;
      margin-bottom: 10px;
    }
    #bbfsResult2 {
    width: auto;  /* Ensures the container takes up the full width of its parent */
    max-width: 100%;  /* Prevents the container from stretching beyond its available width */
    overflow-wrap: break-word; /* Forces long words to break and wrap to the next line */
    word-wrap: break-word; /* Ensures the long text breaks in older browsers too */
    white-space: pre-wrap; /* Ensures text respects newlines and wraps as needed */
    overflow: auto; /* Adds a scrollbar if the content is too wide */
    text-align: left; /* Ensure text alignment is left */
}

.kombinasi-result-content {
    font-family: monospace; /* Makes the output look cleaner for numbers */
    word-break: break-all; /* Ensure words are broken correctly at the container's edge */
}