/* Custom styles for NoPayForSlay */

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
}

/* Cool Navbar Brand Styling */
.cool-brand {
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.cool-brand:hover {
    transform: scale(1.05);
}

.brand-shield {
    color: #dc3545 !important;
    filter: drop-shadow(0 0 5px rgba(220, 53, 69, 0.3));
}

.brand-nav-text {
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}

.nav-no {
    color: #ff6b6b !important;
}

.nav-pay {
    color: #4ecdc4 !important;
    text-decoration: underline;
    text-decoration-color: #4ecdc4;
    text-underline-offset: 3px;
}

.nav-for {
    color: #45b7d1 !important;
}

.nav-slay {
    color: #96ceb4 !important;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(150, 206, 180, 0.2);
}

/* Brand Hero Section Styles */
.brand-hero-section {
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.brand-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.brand-icon {
    width: 60px !important;
    height: 60px !important;
    color: #dc3545;
    filter: drop-shadow(0 0 10px rgba(220, 53, 69, 0.3));
    animation: pulse-glow 2s infinite;
}

.brand-text {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    font-family: 'Arial Black', sans-serif;
    letter-spacing: -0.05em;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.no-pay {
    color: #ff6b6b !important;
    -webkit-text-fill-color: #ff6b6b !important;
    font-weight: 900;
}

.pay-highlight {
    color: #4ecdc4 !important;
    -webkit-text-fill-color: #4ecdc4 !important;
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: #4ecdc4;
    text-underline-offset: 8px;
}

.for-slay {
    color: #45b7d1 !important;
    -webkit-text-fill-color: #45b7d1 !important;
    font-weight: 900;
}

.slay-highlight {
    color: #96ceb4 !important;
    -webkit-text-fill-color: #96ceb4 !important;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(150, 206, 180, 0.3);
}

.brand-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    color: #28a745;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
    animation: fade-in-up 1s ease-out 0.5s both;
}

/* Gaza War Crime Highlighting */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.gaza-highlight {
    border: 2px solid #dc3545 !important;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05)) !important;
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.3) !important;
}

.gaza-badge {
    background: #dc3545 !important;
    color: white !important;
    font-weight: bold !important;
    animation: pulse 2s infinite;
}

.war-crime-text {
    color: #dc3545 !important;
    font-weight: bold !important;
}

.brand-description {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0;
    animation: fade-in-up 1s ease-out 1s both;
}

/* Animations */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse-glow {
    0% {
        filter: drop-shadow(0 0 10px rgba(220, 53, 69, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(220, 53, 69, 0.6));
    }
    100% {
        filter: drop-shadow(0 0 10px rgba(220, 53, 69, 0.3));
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .brand-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .brand-icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    .brand-tagline {
        font-size: 1.2rem;
    }
    
    .brand-description {
        font-size: 1rem;
    }
}

.card {
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.alert {
    border-left: 4px solid;
}

.alert-warning {
    border-left-color: var(--bs-warning);
}

.alert-success {
    border-left-color: var(--bs-success);
}

.alert-danger {
    border-left-color: var(--bs-danger);
}

.badge {
    font-size: 0.75em;
    font-weight: 500;
}

.text-warning {
    color: var(--bs-warning) !important;
}

.bg-danger {
    background-color: var(--bs-danger) !important;
}

.bg-warning {
    background-color: var(--bs-warning) !important;
}

.bg-success {
    background-color: var(--bs-success) !important;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

.feather {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* Result highlighting */
.match-context {
    background-color: rgba(255, 193, 7, 0.1);
    border-radius: 0.25rem;
    padding: 0.5rem;
}

.risk-high {
    border-left: 4px solid var(--bs-danger);
}

.risk-medium {
    border-left: 4px solid var(--bs-warning);
}

.risk-low {
    border-left: 4px solid var(--bs-info);
}

/* Footer styles */
footer {
    margin-top: auto;
}

/* Enhanced Button Animations */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

/* Scan Button Special Effect */
.btn-success {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    position: relative;
}

.btn-success::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn-success:hover::after {
    width: 100%;
    height: 100%;
}

/* Card Animations */
.card {
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 300% 100%;
    animation: gradient-slide 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

@keyframes gradient-slide {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced Form Animations */
.form-control {
    transition: all 0.3s ease;
    position: relative;
}

.form-control:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Input Group Animations */
.input-group {
    position: relative;
}

.input-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: width 0.3s ease;
}

.input-group:focus-within::after {
    width: 100%;
}

/* Alert Animations */
.alert {
    border-left: 4px solid;
    animation: slide-in-right 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: alert-shine 2s ease-in-out infinite;
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes alert-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Badge Animations */
.badge {
    font-size: 0.75em;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.badge:hover::before {
    left: 100%;
}

.badge:hover {
    transform: scale(1.1);
}

/* Navigation Animations */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    transform: translateY(-2px);
}

/* Progress Bar Animations */
.progress {
    position: relative;
    overflow: hidden;
}

.progress-bar {
    position: relative;
    overflow: hidden;
    animation: progress-shine 2s ease-in-out infinite;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progress-light 2s ease-in-out infinite;
}

@keyframes progress-light {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes progress-shine {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
    100% { filter: brightness(1); }
}

/* Loading Spinner Enhancements */
.spinner-border {
    animation: spin 0.75s linear infinite, pulse-glow 2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Action Animations */
.floating-action {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Loading Screen Effects */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(40, 167, 69, 0.3);
    border-top: 4px solid #28a745;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.loading-dots {
    display: inline-block;
    width: 20px;
    text-align: left;
}

.loading-dots::after {
    content: '';
    animation: loading-dots 1.5s infinite;
}

@keyframes loading-dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60% { content: '...'; }
    80%, 100% { content: ''; }
}

/* Result Card Animations */
.result-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(40, 167, 69, 0.1), transparent);
    transition: left 0.5s ease;
}

.result-card:hover::before {
    left: 100%;
}

.result-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Ethical Score Animations */
.ethical-score {
    position: relative;
    overflow: hidden;
}

.ethical-score::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: score-shimmer 3s ease-in-out infinite;
}

@keyframes score-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Icon Animations */
.feather {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.feather:hover {
    transform: scale(1.2) rotate(5deg);
}

/* Stagger Animation for Lists */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    animation: stagger-in 0.5s ease-out forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes stagger-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Result Highlight Animation */
.search-highlight {
    background: linear-gradient(45deg, #ffc107, #fd7e14);
    color: #000;
    padding: 2px 4px;
    border-radius: 3px;
    animation: highlight-pulse 2s ease-in-out infinite;
}

@keyframes highlight-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        font-size: 0.875rem;
    }
    
    .floating-action {
        bottom: 15px;
        right: 15px;
    }
}
