/* Lock/Gate UI */
.lock-container {
    background: #1e1e3e;
    border: 2px solid #ffc107;
    border-radius: 15px;
    padding: 20px;
    margin: 20px auto 10px auto;
    max-width: 640px;
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.2);
    font-family: 'Fredoka', 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.lock-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffc107;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: 'Fredoka', 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.lock-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lock-label {
    font-size: 0.9rem;
    color: #b3d9ff;
    font-family: 'Fredoka', 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.lock-input-row {
    display: flex;
    gap: 10px;
}

.lock-input {
    flex: 1;
    background: rgba(30, 30, 62, 0.8);
    border: 2px solid #2e2e5e;
    color: #e5e5e5;
    padding: 10px 12px;
    border-radius: 10px;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Fredoka', 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.lock-input:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

.lock-submit {
    background: #ffc107;
    color: #000000;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
    font-family: 'Fredoka', 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.lock-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.4);
}

.lock-message {
    min-height: 18px;
    font-size: 0.9rem;
    font-family: 'Fredoka', 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.lock-message.error { color: #d32f2f; }
.lock-message.success { color: #388e3c; }

/* Show Details Link */
.show-details-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: #64b5f6;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    min-height: 28px;
    padding: 4px 10px;
}

.show-details-link:hover {
    color: #90caf9;
    text-decoration: underline;
}

#habbo-content .show-details-link {
    color: #ffc107;
}

#habbo-content .show-details-link:hover {
    color: #ffd54f;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: #1e1e3e;
    border: 2px solid #ffc107;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 1001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 193, 7, 0.3);
    animation: modalSlideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid rgba(255, 193, 7, 0.2);
    background: rgba(255, 193, 7, 0.05);
}

.modal-header h3 {
    margin: 0;
    color: #ffc107;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    background: transparent;
    border: none;
    color: #ffc107;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 193, 7, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
}

.modal-description {
    color: #e5e5e5;
    margin-bottom: 20px;
    font-size: 1rem;
    text-align: center;
}

.footballer-names-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}

.footballer-name-item {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 10px 12px;
    text-align: center;
    color: #ffc107;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footballer-name-item:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.2);
}

.modal-price-info {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 193, 7, 0.2);
}

.modal-price-info p {
    color: #e5e5e5;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.modal-price-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

