     /* Base styles */
        body {
            background: url('bg.png') center center fixed;
            background-size: cover;
            background-color: #0d0d0d;
            color: #00ff99;/* Base styles (mobile-first) */
body {
    background: url('bg.png') center center fixed;
    background-size: cover;
    background-color: #0d0d0d;
    color: #00ff99;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#add-bowler-button {
    width: 150px; /* Smaller width */
    padding: 5px 10px; /* Adjust padding as needed */
    font-size: 14px; /* Smaller font size */
}


a.button-link {
    display: block;
    text-decoration: none;
    color: #00ff99;
    background-color: #1a1a1a;
    padding: 10px 20px;
    border: 2px solid #00ff99;
    border-radius: 5px;
    margin: 10px 0;
    transition: all 0.3s ease;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: 0 0 10px rgba(0, 255, 153, 0.5);
}

.neon-box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
}

.neon-box {
    width: 90%;
    max-width: 390px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff99;
    border-radius: 10px;
    box-shadow: 0 0 20px #00ccff, 0 0 30px #00ff99;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    box-shadow: 0 0 20px #00ccff, 0 0 30px #00ff99;
}

h1 {
    text-align: center;
    font-size: 1.8rem;
    color: #00ccff;
    text-shadow: 0 0 5px #00ccff, 0 0 10px #00ccff;
    margin-bottom: 10px;
}

.instructions {
    text-align: center;
    margin-bottom: 15px;
    color: #00ccff;
    font-size: 0.9rem;
}

.score-sheet {
    margin-top: 15px;
    background-color: #0d0d0d;
    padding: 5px;
    width: 100%;
    overflow-x: auto;
}

.frames-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    border: 1px solid #00ff99;
    width: 100%;
}

.frame {
    flex: 1 0 0;
    border: 1px solid #00ff99;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    height: 50px;
}

.frame:nth-child(10) {
    flex: 1.2 0 0;
}

.frame.selected {
    box-shadow: 0 0 10px #00ff99;
}

.frame-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1px;
    box-sizing: border-box;
    height: 60%;
    border-bottom: 1px solid #00ff99;
}

.frame-bottom {
    text-align: center;
    font-size: 10px;
    padding: 1px;
    box-sizing: border-box;
    height: 40%;
}

.roll1, .roll2, .roll3 {
    font-size: 10px;
    color: #00ff99;
    flex: 1;
    text-align: center;
    min-width: 0;
}

.roll2, .roll3 {
    border-left: 1px solid #00ff99;
}

#input-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
}

#roll-info {
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #00ccff;
}

#input-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 300px;
}

#input-buttons button {
    width: auto;
    padding: 8px 12px;
    margin: 3px;
    font-size: 0.9rem;
    background-color: #00ff99;
    color: #0d0d0d;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#input-buttons button:hover {
    background-color: #00ccff;
}

#game-label {
    margin-top: 15px;
    text-align: center;
}

.text-input {
    background-color: #1a1a1a;
    color: #00ff99;
    border: 2px solid #00ff99;
    padding: 5px;
    border-radius: 5px;
    font-size: 0.9rem;
    width: 200px; /* Ensure consistent width */
}


#game-label input {
    margin-top: 5px;
    background-color: #1a1a1a;
    color: #00ff99;
    border: 2px solid #00ff99;
    padding: 5px;
    border-radius: 5px;
    font-size: 0.9rem;
}

#game-label, #file-input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

#game-name {
    margin: 10px 0;
    padding: 5px;
    width: 100%;
    max-width: 300px;
}

#file-input-container input[type="file"] {
    display: none;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.title-container img {
    width: 50px;
    height: 50px;
    margin: 0 10px;
}

#file-input-container {
    margin-top: 15px;
    text-align: center;
}

.tooltip {
    display: inline-block;
    position: relative;
    cursor: pointer;
    border-bottom: 1px dotted #00ff99;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #1a1a1a;
    color: #00ff99;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; 
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.progress-bar {
    width: 100%;
    background-color: #333;
    border-radius: 5px;
    margin-top: 15px;
    overflow: hidden;
}

.progress-bar-inner {
    width: 0;
    height: 20px;
    background-color: #00ff99;
    text-align: center;
    line-height: 20px;
    color: #000;
    transition: width 0.3s ease;
}

#simulate-button, .cyberpunk-button {
    background-color: #0d0d0d;
    color: #00ff99;
    border: 2px solid #00ff99;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px #00ff99;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    display: block;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

#simulate-button:hover, .cyberpunk-button:hover {
    background-color: #00ff99;
    color: #0d0d0d;
    box-shadow: 0 0 20px #00ff99, 0 0 40px #00ff99;
}

#simulate-button::before, .cyberpunk-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

#simulate-button:hover::before, .cyberpunk-button:hover::before {
    left: 100%;
}

.button-container {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 49%;
}

.file-input-wrapper input[type=file] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

#generate-game {
    width: 100%;
    margin-top: 20px;
}

#file-count {
    text-align: center;
    margin-top: 10px;
    color: #00ff99;
    font-size: 0.9rem;
}

/* Media query for tablets and larger screens */
@media screen and (min-width: 768px) {
    body {
        padding: 20px;
    }

    .container {
        padding: 20px;
    }

    .frame {
        height: 60px;
    }

    .frame-bottom, .roll1, .roll2, .roll3 {
        font-size: 14px;
    }

    .frame-top, .frame-bottom {
        padding: 2px;
    }

    .instructions, #input-buttons button, #game-label input, #download-button, #file-input-container label {
        font-size: 1rem;
    }

    #input-buttons button, #download-button, #file-input-container label {
        padding: 10px 15px;
    }
}
/* This styles the scrollbar itself */
::-webkit-scrollbar {
    height: 10px;  /* Height of the horizontal scrollbar */
}

/* This styles the track (part the thumb slides within) */
::-webkit-scrollbar-track {
    background: #1a1a1a;  /* Match the dark theme of your design */
    border-radius: 5px;
}

/* This styles the thumb (the part that is draggable) */
::-webkit-scrollbar-thumb {
    background-color: #00ff99;  /* Neon green to match your style */
    border-radius: 5px;
    border: 2px solid #00ccff;  /* Optional: adds a border around the thumb */
}

/* Optional: style the thumb on hover */
::-webkit-scrollbar-thumb:hover {
    background-color: #00ccff;
}
            font-family: 'Courier New', Courier, monospace;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .neon-box {
            width: 90%;
            max-width: 800px;
            padding: 20px;
            background: rgba(0, 0, 0, 0.8);
            border: 2px solid #00ff99;
            border-radius: 10px;
            box-shadow: 0 0 20px #00ccff, 0 0 30px #00ff99;
            text-align: center;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            justify-content: center;
            overflow-y: auto;
        }

        .title-container {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }

        .title-container img {
            width: 50px;
            height: 50px;
            margin: 0 10px;
        }

        h1 {
            font-size: 1.8rem;
            color: #00ccff;
            text-shadow: 0 0 5px #00ccff, 0 0 10px #00ccff;
            margin: 0;
        }

        #game-management {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
        }

        .cyberpunk-button {
            background-color: #0d0d0d;
            color: #00ff99;
            border: 2px solid #00ff99;
            padding: 10px 20px;
            font-size: 1rem;
            font-family: 'Courier New', Courier, monospace;
            text-transform: uppercase;
            letter-spacing: 2px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 0 10px #00ff99;
            margin: 5px;
            flex: 1;
        }

        .cyberpunk-button:hover {
            background-color: #00ff99;
            color: #0d0d0d;
            box-shadow: 0 0 20px #00ff99, 0 0 40px #00ff99;
        }

        .game-container {
            margin-bottom: 20px;
            border: 2px solid #00ff99;
            padding: 10px;
            border-radius: 5px;
        }

        .game-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .game-title {
            font-size: 1.2em;
            color: #00ccff;
        }

        .delete-game {
            background-color: #ff4444;
            color: white;
            border: none;
            padding: 5px 10px;
            border-radius: 3px;
            cursor: pointer;
        }

        .score-sheet {
            margin-top: 15px;
            background-color: #0d0d0d;
            padding: 5px;
            width: 100%;
            overflow-x: auto;
        }

        .frames-container {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            border: 1px solid #00ff99;
            width: 100%;
        }

        .frame {
            flex: 1 0 0;
            border: 1px solid #00ff99;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-sizing: border-box;
            height: 50px;
        }

        .frame:nth-child(10) {
            flex: 1.2 0 0;
        }

        .frame-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1px;
            box-sizing: border-box;
            height: 60%;
            border-bottom: 1px solid #00ff99;
        }

        .frame-bottom {
            text-align: center;
            font-size: 10px;
            padding: 1px;
            box-sizing: border-box;
            height: 40%;
        }

        .roll1, .roll2, .roll3 {
            font-size: 10px;
            color: #00ff99;
            flex: 1;
            text-align: center;
            min-width: 0;
        }

        .roll2, .roll3 {
            border-left: 1px solid #00ff99;
        }

        #input-area {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: 15px;
        }

        #roll-info {
            margin-bottom: 10px;
            font-size: 1.2em;
            color: #00ccff;
        }

        #input-buttons {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            max-width: 300px;
        }

        #input-buttons button {
            width: auto;
            padding: 8px 12px;
            margin: 3px;
            font-size: 0.9rem;
            background-color: #00ff99;
            color: #0d0d0d;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        #input-buttons button:hover {
            background-color: #00ccff;
        }

.input-buttons button {
    width: auto;
    padding: 6px 10px;
    margin: 1px;
    font-size: 0.9rem;
    background-color: #00ff99;
    color: #0d0d0d;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-buttons button:hover {
    background-color: #00ccff;
}
