/* ========================================
   GAME ACCOUNT VALIDATOR - CLEAN DESIGN
   ======================================== */

/* Container */
#gav-validator-result {
    margin: 20px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
    box-sizing: border-box !important;
}

/* Loading State */
.gav-result-box.gav-loading {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 24px;
    border-radius: 12px;
    display: flex !important;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    animation: slideInDown 0.4s ease-out;
}

.gav-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.gav-loading .gav-text {
    font-size: 15px;
    font-weight: 600;
    color: white;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Card - Matching Screenshot */
.gav-result-box.gav-success-card {
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
    color: white;
    padding: 24px;
    border-radius: 12px;
    display: flex !important;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.3);
    animation: slideInDown 0.5s ease-out;
    margin-bottom: 16px;
}

.gav-checkmark-circle {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: checkPop 0.6s ease-out;
}

@keyframes checkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.gav-checkmark-circle svg {
    color: white;
    stroke: white;
}

.gav-verified-content {
    flex: 1;
}

.gav-verified-title {
    font-size: 20px;
    font-weight: 800;
    color: white !important;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.gav-verified-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gav-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.gav-info-label {
    font-weight: 700;
    color: white !important;
    opacity: 0.95;
}

.gav-info-value {
    font-weight: 800;
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 14px;
    border-radius: 6px;
}

/* Available Packages Section */
.gav-packages-section {
    background: linear-gradient(135deg, #dbeafe 0%, #fce7f3 100%);
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.5s ease-out 0.1s both;
    margin-bottom: 12px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gav-packages-header {
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gav-packages-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gav-package-item {
    background: white;
    padding: 14px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.gav-package-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gav-package-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}

.gav-package-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    flex: 1;
}

/* Blocked Notice */
.gav-blocked-notice {
    margin-top: 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 12px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(253, 230, 138, 0.4);
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

.gav-blocked-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.gav-blocked-text {
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
}

.gav-blocked-text strong {
    font-weight: 800;
}

/* Error State */
.gav-result-box.gav-error {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 12px;
    display: flex !important;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
    animation: slideInDown 0.4s ease-out;
}

.gav-error-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: errorShake 0.5s ease-out;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.gav-error-icon svg {
    color: white;
    stroke: white;
}

.gav-error-text {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: white !important;
}

/* Region Restricted */
.gav-result-box.gav-region-restricted {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #8b4513;
    padding: 24px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    animation: slideInDown 0.4s ease-out;
    box-shadow: 0 4px 15px rgba(252, 182, 159, 0.3);
}

.gav-warning-icon {
    font-size: 40px;
    flex-shrink: 0;
    line-height: 1;
    animation: warningPulse 1.5s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.gav-region-content {
    flex: 1;
}

.gav-region-content .gav-title {
    font-size: 18px;
    font-weight: 800;
    color: #8b4513 !important;
    margin-bottom: 12px;
}

.gav-region-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.gav-region-item {
    display: flex;
    gap: 10px;
    font-size: 14px;
}

.gav-region-label {
    font-weight: 700;
    color: #8b4513;
}

.gav-region-value {
    font-weight: 800;
    background: rgba(139, 69, 19, 0.15);
    padding: 4px 12px;
    border-radius: 6px;
    color: #8b4513;
}

/* Inline Notice - Validation Required */
.gav-inline-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 15px rgba(253, 230, 138, 0.3);
    animation: slideInDown 0.4s ease-out;
    margin-bottom: 16px;
}

.gav-inline-notice.gav-validate-notice {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    box-shadow: 0 4px 15px rgba(254, 202, 202, 0.3);
}

.gav-notice-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.gav-notice-text {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #92400e;
    line-height: 1.5;
}

.gav-validate-notice .gav-notice-text {
    color: #991b1b;
}

.gav-notice-text strong {
    font-weight: 800;
}

/* Block Overlay on Variation Cards */
.gav-block-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    cursor: not-allowed !important;
}

.gav-block-content {
    text-align: center !important;
    padding: 16px !important;
}

.gav-block-icon {
    font-size: 36px !important;
    margin-bottom: 8px !important;
    animation: blockPulse 2s ease-in-out infinite !important;
}

@keyframes blockPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.gav-block-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: white !important;
    margin-bottom: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.gav-block-subtitle {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.gav-blocked {
    pointer-events: none !important;
    opacity: 0.6 !important;
}

/* Modal Styles */
.gav-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

.gav-modal.gav-modal-active {
    opacity: 1 !important;
    visibility: visible !important;
}

.gav-modal-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(4px) !important;
}

.gav-modal-content {
    position: relative !important;
    background: white !important;
    border-radius: 16px !important;
    max-width: 480px !important;
    width: 100% !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    animation: modalSlideIn 0.4s ease-out !important;
    z-index: 1 !important;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gav-modal-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 36px !important;
    height: 36px !important;
    border: none !important;
    background: rgba(0, 0, 0, 0.1) !important;
    border-radius: 50% !important;
    font-size: 24px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748b !important;
}

.gav-modal-close:hover {
    background: rgba(0, 0, 0, 0.15) !important;
    transform: rotate(90deg) !important;
}

.gav-modal-body {
    padding: 40px 32px !important;
    text-align: center !important;
}

.gav-modal-icon {
    font-size: 64px !important;
    margin-bottom: 16px !important;
    animation: iconBounce 0.6s ease-out !important;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.gav-modal-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin-bottom: 12px !important;
}

.gav-modal-text {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
}

.gav-modal-actions {
    display: flex !important;
    gap: 12px !important;
    justify-content: center !important;
}

.gav-modal-btn {
    padding: 12px 28px !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.gav-modal-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
}

.gav-modal-btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
}

/* Hidden Replacements */
.gav-hidden-replacement {
    display: none !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gav-result-box.gav-success-card {
        padding: 20px;
        gap: 16px;
    }
    
    .gav-checkmark-circle {
        width: 48px;
        height: 48px;
    }
    
    .gav-checkmark-circle svg {
        width: 22px;
        height: 22px;
    }
    
    .gav-verified-title {
        font-size: 18px;
    }
    
    .gav-info-row {
        font-size: 14px;
        flex-wrap: wrap;
    }
    
    .gav-info-value {
        padding: 3px 12px;
    }
    
    .gav-packages-section {
        padding: 16px 20px;
    }
    
    .gav-packages-header {
        font-size: 15px;
    }
    
    .gav-package-item {
        padding: 12px 16px;
    }
    
    .gav-package-icon {
        font-size: 24px;
    }
    
    .gav-package-name {
        font-size: 14px;
    }
    
    .gav-modal-content {
        max-width: 90%;
    }
    
    .gav-modal-body {
        padding: 32px 24px;
    }
    
    .gav-modal-title {
        font-size: 20px;
    }
    
    .gav-modal-text {
        font-size: 14px;
    }
}
