body,html {
    background: url('background.png') #09090b;
    background-repeat: no-repeat;
    background-size: cover;
    color: #e4e4e7;
}

.container {
    font-family: 'Franklin Gothic' !important;
}

.ch-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 82%;
    text-transform: uppercase;
    text-shadow: 2px 2px 3px #000;
}

.card {
    background-color: #18181b;
    border-color: #27272a;
}

.card-header {
    background-color: #27272a;
    border-bottom-color: #3f3f46;
    color: #e4e4e7;
}

.h1, .h2, .h3, .h4, .h5, h1, h2, h3, h4, h5 {
    color: #e4e4e7;
}

.person-entry {
    border: 1px solid #3f3f46;
    border-radius: 0.25rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #27272a;
    color: #e4e4e7;
}

.slot-list {
    margin-top: 0.5rem;
}

.suggestions {
    position: absolute;
    background: #27272a;
    border: 1px solid #3f3f46;
    border-radius: 0.25rem;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: none;
}

.suggestion-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #3f3f46;
}

.slot-entry {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

#wheelContainer {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

#wheelContainer canvas {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .person-entry {
        padding: 0.75rem;
    }
    
    .slot-entry {
        flex-direction: column;
        align-items: stretch;
    }
    
    .slot-entry .btn {
        width: 100%;
        margin-top: 0.25rem;
    }
}

.person-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.btn-remove-person {
    padding: 0.25rem 0.5rem;
}

.slot-count {
    font-size: 0.875rem;
    color: #a1a1aa;
    margin-left: 0.5rem;
}

.form-control {
    background-color: #27272a;
    border-color: #3f3f46;
    color: #e4e4e7;
}

.form-control:focus {
    background-color: #27272a;
    border-color: #6366f1;
    color: #e4e4e7;
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

.form-control::placeholder {
    color: #71717a;
}

.btn-outline-danger {
    color: #fb7185;
    border-color: #fb7185;
}

.btn-outline-danger:hover {
    background-color: #fb7185;
    border-color: #fb7185;
    color: #09090b;
}

.btn-outline-primary {
    color: #6366f1;
    border-color: #6366f1;
}

.btn-outline-primary:hover {
    background-color: #6366f1;
    border-color: #6366f1;
    color: #09090b;
}

.btn-outline-secondary {
    color: #a1a1aa;
    border-color: #a1a1aa;
}

.btn-outline-secondary:hover {
    background-color: #a1a1aa;
    border-color: #a1a1aa;
    color: #09090b;
}

.btn-success {
    background-color: #10b981;
    border-color: #10b981;
    color: #09090b;
}

.btn-success:hover {
    background-color: #059669;
    border-color: #059669;
    color: #09090b;
}

.modal-content {
    background-color: #18181b;
    border-color: #27272a;
}

.modal-header {
    border-bottom-color: #27272a;
}

.modal-footer {
    border-top-color: #27272a;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.wheel-pointer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid #e4e4e7;
    z-index: 1;
}

.collapse:not(.show) + .when-open {
    display: none;
}

.collapse.show + .when-closed {
    display: none;
}

.btn[data-bs-toggle="collapse"] .when-closed {
    display: none;
}

.btn[data-bs-toggle="collapse"][aria-expanded="true"] .when-open {
    display: none;
}

.btn[data-bs-toggle="collapse"][aria-expanded="true"] .when-closed {
    display: inline;
}

.picked-slot {
    background-color: #3f3f46;
    color: #a1a1aa;
    cursor: not-allowed;
}

.btn[data-bs-toggle="collapse"][aria-expanded="true"] .when-closed {
    display: inline;
}

.picked-slot {
    background-color: #3f3f46;
    color: #a1a1aa;
    cursor: not-allowed;
}

.btn[data-bs-toggle="collapse"][aria-expanded="true"] .when-closed {
    display: inline;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    color: #a1a1aa;
    font-size: 1.5rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.social-icon[title="X (Twitter)"]:hover {
    color: #ffffff;
}

.social-icon[title="Kick"]:hover {
    color: #53fc18;
}

.social-icon[title="Instagram"]:hover {
    color: #e4405f;
}

.social-icon[title="YouTube"]:hover {
    color: #ff0000;
}

.social-icon[title="Discord"]:hover {
    color: #5865f2;
}


/* Slot Overlay Styles */
.slot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.slot-overlay-content {
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.slot-image {
    max-width: 100%;
    max-height: 60vh;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.close-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-overlay:hover {
    color: #000;
}

/* History Modal Styles */
#historyModal .modal-content {
    background-color: #27272a;
    color: #e4e4e7;
}

#historyModal .modal-header,
#historyModal .modal-footer {
    border-color: #3f3f46;
}

#historyModal .card {
    background-color: #3f3f46;
    border-color: #52525b;
    transition: transform 0.2s ease;
}

#historyModal .card:hover {
    transform: translateY(-5px);
}

#historyModal .card-header {
    background-color: #52525b;
    border-color: #71717a;
}

#historyModal .text-muted {
    color: #a1a1aa !important;
}

.play-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.play-button:hover {
    background-color: #218838;
    text-decoration: none;
    color: white;
}