body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    background-color: #1B1833;
    color: #fff;
}

h1,
h2 {
    margin: 10px;
    font-weight: bold;
    text-align: center;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 22px;
}

span {
    font-size: 18px;
}

.category {
    margin: 15px auto;
    max-width: 100%;
    padding: 10px;
}

.trick-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.trick-item {
    display: flex;
    flex: 1 1 calc(50% - 20px);
    /* Two items per row */
    flex-direction: column;
    text-align: center;
    gap: 10px;
    min-width: 200px;
    /* Minimum size for smaller screens */
    max-width: 300px;
    /* Limit size for larger screens */
    justify-content: space-between;
    align-items: center;
    background: #2c2753;
    margin-bottom: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;

}

.checkbox-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Hide checkboxes */
input[type="checkbox"] {
    display: none;
}

/* Label as button styles */
label {
    display: inline-block;
    padding: 15px 20px;
    margin: 5px auto;
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #AB4459;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
    /* Add subtle interaction feedback */
}

label:active {
    transform: scale(0.95);
    /* Add a slight "pressed" effect */
}

/* Styles for active states */
input[type="checkbox"]:checked+label.landed {
    background-color: #4caf50;
    /* Green */
}

input[type="checkbox"]:checked+label.stuck {
    background-color: #ffb12b;
    /* Gold */
}

/* Disable styles */
label.disabled {
    cursor: not-allowed;
}

nav {
    background-color: #2c2753;
    border-bottom: 1px solid #fff;
    padding: 10px;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    margin: 0 15px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

.stats-container {
    text-align: center;
    max-width: 400px;
    margin: auto;
    margin-top: 20px;
    background: #2c2753;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stats-container p {
    font-size: 18px;
    margin: 10px 0;
}

.progress-bar {
    border: 1px solid #ddd;
    width: 100%;
    background-color: #1B1833;
    border-radius: 20px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-bar-inner {
    height: 20px;
    text-align: center;
    line-height: 20px;
    color: white;
    border-radius: 20px;
    transition: width 0.3s ease;
}


#landed-progress-bar-inner {
    background-color: #4caf50;
}

#stick-progress-bar-inner {
    background-color: #ffb12b;
}

a:visited, a {
    color: white;
}