/* Custom Styles for Game Registration Page */

body.game-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.register-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.game-icon {
    font-size: 50px;
    color: #e94560;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(233, 69, 96, 0.5));
}

.game-title {
    color: #1a1a2e;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #e94560;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.2);
}

.toggle-password {
    border-color: #e0e0e0;
    background: #f8f9fa;
}

.toggle-password:hover {
    background: #e94560;
    border-color: #e94560;
    color: white;
}

.toggle-password:hover i {
    color: white;
}

.server-selector {
    display: flex;
    gap: 15px;
}

.server-option {
    flex: 1;
    margin-bottom: 0;
    cursor: pointer;
}

.server-option input {
    display: none;
}

.server-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.server-card i {
    font-size: 24px;
    color: #666;
    margin-bottom: 5px;
}

.server-card strong {
    font-size: 14px;
    color: #333;
}

.server-card small {
    font-size: 11px;
    color: #888;
}

.server-option input:checked + .server-card {
    border-color: #1fdf69;
    background: linear-gradient(135deg, #5edf53, #2fc162);
    color: white;
}

.server-option input:checked + .server-card i,
.server-option input:checked + .server-card strong,
.server-option input:checked + .server-card small {
    color: white;
}

.server-option:hover .server-card {
    border-color: #e94560;
    transform: translateY(-2px);
}

.btn-gradient {
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #d63651, #ff5252);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
    color: white;
}

.btn-download {
    background: transparent;
    border: 2px solid #666;
    border-radius: 10px;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.btn-download:hover {
    border-color: #1a1a2e;
    background: #1a1a2e;
    color: white;
    transform: translateY(-2px);
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.download-item:hover {
    border-color: #e94560;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
}

.download-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
}

.download-icon.pc {
    background: linear-gradient(135deg, #4a90d9, #357abd);
    color: white;
}

.download-icon.android {
    background: linear-gradient(135deg, #3ddc84, #2cb05a);
    color: white;
}

.download-icon.apple {
    background: linear-gradient(135deg, #333, #1a1a1a);
    color: white;
}

.download-info {
    flex: 1;
}

.download-info strong {
    display: block;
    font-size: 15px;
}

.download-info small {
    color: #888;
    font-size: 13px;
}

.download-action {
    font-size: 18px;
    color: #e94560;
}

.result-icon {
    font-size: 60px;
}

.modal-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    border-radius: calc(.3rem - 1px) calc(.3rem - 1px) 0 0;
}

.modal-header .close {
    color: white;
}

.modal-header .close:hover {
    color: #e94560;
}

.modal-title i {
    color: #e94560;
}

.modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.form-text {
    font-size: 12px;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-append .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

@media (max-width: 576px) {
    .register-card {
        padding: 30px 20px;
        margin: 15px;
    }

    .server-selector {
        flex-direction: column;
    }

    .game-icon {
        font-size: 40px;
    }
}
