/* ========================================
   SETTINGS MODAL - BLACK & GOLD THEME
   ======================================== */

.settings-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    z-index: 99999; /* ✅ HIGH z-index to appear above everything */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.settings-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.settings-modal-container {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(5, 5, 5, 0.98));
    border: 2px solid rgba(200, 170, 110, 0.4);
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.settings-modal-overlay.active .settings-modal-container {
    transform: scale(1);
}

/* ========================================
   MODAL HEADER
   ======================================== */

.settings-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(200, 170, 110, 0.2);
}

.settings-modal-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #C8AA6E;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.modal-close-btn:hover {
    background: rgba(255, 68, 68, 0.3);
    border-color: #ff4444;
    color: #ff4444;
}

/* ========================================
   MODAL BODY
   ======================================== */

.settings-modal-body {
    overflow-y: auto;
    padding: 2rem;
    flex: 1;
}

/* Scrollbar styling */
.settings-modal-body::-webkit-scrollbar {
    width: 8px;
}

.settings-modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.settings-modal-body::-webkit-scrollbar-thumb {
    background: rgba(200, 170, 110, 0.5);
    border-radius: 4px;
}

.settings-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 170, 110, 0.7);
}

/* ========================================
   PROFILE PREVIEW CARD
   ======================================== */

.profile-preview-card {
    background: rgba(200, 170, 110, 0.1);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.preview-avatar {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.2), rgba(200, 170, 110, 0.1));
    border: 3px solid rgba(200, 170, 110, 0.4);
    border-radius: 50%;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.preview-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.preview-info {
    flex: 1;
}

.preview-username {
    font-size: 1.25rem;
    font-weight: 700;
    color: #C8AA6E;
    margin-bottom: 0.25rem;
}

.preview-rank {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.preview-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.preview-stats i {
    color: #C8AA6E;
    margin-right: 0.25rem;
}

/* ========================================
   SETTINGS FORM
   ======================================== */

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.settings-section {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(200, 170, 110, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.settings-section h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: #C8AA6E;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* ========================================
   FORM GROUPS
   ======================================== */

.form-group {
    margin-bottom: 1rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Lora', serif;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: #C8AA6E;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 12px rgba(200, 170, 110, 0.3);
}

.form-hint {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.form-error {
    margin-top: 0.5rem;
    color: #ff4444;
    font-size: 0.85rem;
    display: none;
    font-weight: 600;
}

/* ========================================
   AVATAR SEARCH
   ======================================== */

.avatar-search-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.avatar-search-wrapper input {
    width: 100%;
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Lora', serif;
    transition: all 0.3s ease;
}

.avatar-search-wrapper input:focus {
    outline: none;
    border-color: #C8AA6E;
    background: rgba(0, 0, 0, 0.7);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    pointer-events: none;
}

/* ========================================
   SELECTED AVATAR DISPLAY
   ======================================== */

.selected-avatar-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(200, 170, 110, 0.1);
    border: 2px solid rgba(200, 170, 110, 0.4);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.selected-avatar-display img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.selected-avatar-display span {
    flex: 1;
    color: #C8AA6E;
    font-weight: 600;
    font-size: 0.95rem;
}

.clear-avatar-btn {
    background: rgba(255, 68, 68, 0.2);
    border: 1px solid rgba(255, 68, 68, 0.4);
    color: #ff4444;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.clear-avatar-btn:hover {
    background: rgba(255, 68, 68, 0.3);
    border-color: #ff4444;
}

/* ========================================
   CHAMPION GRID
   ======================================== */

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 0.5rem;
    max-height: 250px;
    overflow-y: auto;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.champion-avatar-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(200, 170, 110, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
}

.champion-avatar-option:hover {
    border-color: #C8AA6E;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(200, 170, 110, 0.4);
    z-index: 10;
}

.champion-avatar-option.selected {
    border-color: #C8AA6E;
    border-width: 3px;
    box-shadow: 0 0 16px rgba(200, 170, 110, 0.6);
}

.champion-avatar-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Scrollbar styling for avatar grid */
.avatar-grid::-webkit-scrollbar {
    width: 6px;
}

.avatar-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.avatar-grid::-webkit-scrollbar-thumb {
    background: rgba(200, 170, 110, 0.5);
    border-radius: 3px;
}

.avatar-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 170, 110, 0.7);
}

/* ========================================
   PRIVACY TOGGLE
   ======================================== */

.toggle-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.toggle-label:hover {
    background: rgba(0, 0, 0, 0.5);
}

.toggle-input {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 50px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 13px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
}

.toggle-input:checked + .toggle-slider {
    background: linear-gradient(135deg, #C8AA6E, #B89A5E);
}

.toggle-input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.toggle-info {
    flex: 1;
}

.toggle-info strong {
    display: block;
    color: #C8AA6E;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.toggle-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* ========================================
   FORM ACTIONS
   ======================================== */

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-save {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #C8AA6E, #B89A5E);
    border: none;
    border-radius: 8px;
    color: #0a0a0a;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(200, 170, 110, 0.4);
}

.btn-cancel {
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 8px;
    color: #C8AA6E;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lora', serif;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #C8AA6E;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */

@media (max-width: 768px) {
    .settings-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .settings-modal-container {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
    }
    
    .settings-modal-overlay.active .settings-modal-container {
        transform: translateY(0);
    }
    
    .settings-modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    .settings-modal-header h2 {
        font-size: 1.25rem;
    }
    
    .settings-modal-body {
        padding: 1.5rem;
    }
    
    .profile-preview-card {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .preview-avatar {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .preview-username {
        font-size: 1.1rem;
    }
    
    .preview-stats {
        justify-content: center;
    }
    
    .settings-section {
        padding: 1.25rem;
    }
    
    .avatar-grid {
        grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
        max-height: 200px;
    }
    
    .champion-avatar-option {
        width: 45px;
        height: 45px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .settings-modal-header h2 {
        font-size: 1.1rem;
    }
    
    .modal-close-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .preview-username {
        font-size: 1rem;
    }
    
    .preview-rank {
        font-size: 0.85rem;
    }
    
    .avatar-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
        gap: 0.4rem;
        max-height: 180px;
    }
    
    .champion-avatar-option {
        width: 40px;
        height: 40px;
    }
}
/* Privacy Settings Grid */
.privacy-settings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

/* Select Dropdown Styling */
.privacy-select {
    width: 100%;
    max-width: 200px;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}

.privacy-select:hover {
    border-color: rgba(200, 170, 110, 0.5);
}

.privacy-select:focus {
    outline: none;
    border-color: #C8AA6E;
    box-shadow: 0 0 0 3px rgba(200, 170, 110, 0.1);
}

.privacy-select option {
    background: #1a1a2e;
    color: #fff;
    padding: 0.5rem;
}

/* Select wrapper for alignment */
.select-wrapper {
    display: flex;
    align-items: flex-start;
    padding: 0;
}

.select-wrapper .toggle-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
/* Bio textarea styling */
.settings-form textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 8px;
    color: #f0e6d2;
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s ease;
}

.settings-form textarea:focus {
    outline: none;
    border-color: #c8aa6e;
    background: rgba(0, 0, 0, 0.4);
}

.settings-form textarea::placeholder {
    color: rgba(240, 230, 210, 0.4);
}

.form-hint {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

#bioCharCount {
    color: #c8aa6e;
    font-weight: 600;
}
/* Loading spinner for save button */
.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* ========================================
   BANNER PREVIEW
   ======================================== */

.banner-preview {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    background-size: cover;
    background-position: center 30%;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(200, 170, 110, 0.3);
    transition: all 0.3s ease;
}

.banner-preview:hover {
    border-color: #c8aa6e;
    transform: scale(1.02);
}

.banner-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #f0e6d2;
    font-weight: 600;
    text-align: center;
}

/* ========================================
   SETTING HINT - MATCH OTHER HINTS
   ======================================== */

.setting-hint {
    margin-top: 0.5rem;
    color: rgba(240, 230, 210, 0.5);
    font-size: 0.8rem;
    font-style: italic;
}
/* ========================================
   SOCIAL MEDIA INPUTS
   ======================================== */

.social-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.social-input-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.social-input-row:focus-within {
    border-color: #c8aa6e;
    background: rgba(0, 0, 0, 0.4);
}

.social-input-row i {
    color: #c8aa6e;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.social-input-row input {
    flex: 1;
    background: transparent;
    border: none;
    color: #f0e6d2;
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    padding: 0.25rem 0;
}

.social-input-row input:focus {
    outline: none;
}

.social-input-row input::placeholder {
    color: rgba(240, 230, 210, 0.4);
}
/* ========================================
   CHAMPION PACK SELECTOR
   ======================================== */

.champion-pack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.champion-pack-card {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.champion-pack-card:hover {
    border-color: #C8AA6E;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(200, 170, 110, 0.3);
    background: rgba(0, 0, 0, 0.7);
}

.champion-pack-card.active {
    border-color: #C8AA6E;
    border-width: 3px;
    background: rgba(200, 170, 110, 0.15);
    box-shadow: 0 0 20px rgba(200, 170, 110, 0.4);
}

.champion-pack-card.active::before {
    content: '✓';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 24px;
    height: 24px;
    background: #C8AA6E;
    color: #0a0a0a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
}

.champion-pack-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.champion-pack-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    display: block;
}

.champion-pack-name {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #C8AA6E;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.champion-pack-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.champion-preview-btn {
    width: 100%;
    padding: 0.5rem;
    background: rgba(200, 170, 110, 0.2);
    border: 1px solid rgba(200, 170, 110, 0.4);
    border-radius: 6px;
    color: #C8AA6E;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.champion-preview-btn:hover {
    background: rgba(200, 170, 110, 0.3);
    border-color: #C8AA6E;
}

.coming-soon-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.5rem;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .champion-pack-grid {
        grid-template-columns: 1fr;
    }
    
    .champion-pack-icon {
        font-size: 2.5rem;
    }
}
/* ========================================
   CHAMPION PACK ICON STYLING
======================================== */

.champion-pack-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
}

.champion-icon-img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid rgba(200, 170, 110, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.champion-pack-card:hover .champion-icon-img {
    transform: scale(1.05);
    border-color: rgba(200, 170, 110, 0.6);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.champion-pack-card.active .champion-icon-img {
    border-color: #C8AA6E;
    border-width: 4px;
    box-shadow: 0 0 20px rgba(200, 170, 110, 0.6),
                0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Fallback emoji styling */
.champion-emoji-fallback {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Disabled/Coming Soon state */
.champion-pack-card.disabled .champion-icon-img {
    opacity: 0.3;
    filter: grayscale(100%);
}

.champion-pack-card.disabled .champion-emoji-fallback {
    opacity: 0.3;
    filter: grayscale(100%);
}
/* Champion Pack Grid */
.champion-pack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.champion-pack-option {
    position: relative;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    text-align: center;
}

.champion-pack-option:hover {
    border-color: var(--accent-gold);
    background: rgba(200, 170, 110, 0.1);
    transform: translateY(-2px);
}

.champion-pack-option.selected {
    border-color: var(--accent-gold);
    background: rgba(200, 170, 110, 0.15);
    box-shadow: 0 0 20px rgba(200, 170, 110, 0.3);
}

.champion-pack-option.selected::before {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--accent-gold);
    color: #0a0a0a;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.champion-avatar {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s ease;
}

.champion-pack-option:hover .champion-avatar,
.champion-pack-option.selected .champion-avatar {
    border-color: var(--accent-gold);
}

.champion-pack-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-size: 0.95em;
}

.champion-pack-team {
    font-size: 0.85em;
    color: var(--accent-gold);
    opacity: 0.8;
}
/* Champion Pack Selector */
#championPackSelector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.champion-pack-card {
    position: relative;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    text-align: center;
}

.champion-pack-card:hover:not(.disabled) {
    border-color: var(--accent-gold);
    background: rgba(200, 170, 110, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(200, 170, 110, 0.2);
}

.champion-pack-card.active {
    border-color: var(--accent-gold);
    background: rgba(200, 170, 110, 0.15);
    box-shadow: 0 0 30px rgba(200, 170, 110, 0.4);
}

.champion-pack-card.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Active Badge */
.active-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-gold);
    color: #0a0a0a;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Coming Soon Badge */
.coming-soon-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
}

/* Champion Avatar */
.champion-pack-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 12px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.champion-pack-card:hover .champion-pack-avatar,
.champion-pack-card.active .champion-pack-avatar {
    border-color: var(--accent-gold);
}

.champion-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.champion-emoji-only {
    font-size: 3.5em;
}

/* Team Name (emphasized) */
.champion-pack-team {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Champion Name */
.champion-pack-name {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    opacity: 0.8;
}

/* Description */
.champion-pack-description {
    font-size: 0.85em;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 12px;
    min-height: 60px;
}

/* Preview Button */
.champion-preview-btn {
    width: 100%;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.champion-preview-btn:hover {
    background: rgba(200, 170, 110, 0.2);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Team Preview Box */
.team-identity-preview {
    margin-top: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--accent-gold);
    display: none;
    align-items: center;
    gap: 16px;
}

#teamAvatar {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    border: 2px solid var(--accent-gold);
    object-fit: cover;
}

.team-identity-preview strong {
    color: var(--accent-gold);
    font-weight: 600;
}

#teamName {
    font-size: 1.15em;
    font-weight: 700;
    color: var(--text-primary);
}