/* ==========================================================================
   Neon Effects & Glowing Styles
   ========================================================================== */

/* Neon Text Effects */
.neon-text {
    color: #00ffff;
    text-shadow: 
        0 0 5px #00ffff,
        0 0 10px #00ffff,
        0 0 15px #00ffff,
        0 0 20px #00ffff,
        0 0 35px #00ffff,
        0 0 40px #00ffff;
    animation: neon-flicker 2s infinite alternate;
}

.neon-glow {
    color: #fff;
    text-shadow: 
        0 0 5px #00ffff,
        0 0 10px #00ffff,
        0 0 15px #00ffff,
        0 0 20px #00ffff,
        0 0 35px #00ffff,
        0 0 40px #00ffff,
        0 0 50px #00ffff,
        0 0 75px #00ffff;
    animation: neon-pulse 3s ease-in-out infinite alternate;
}

/* Neon Links */
.neon-link {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.neon-link:hover {
    color: #fff;
    text-shadow: 
        0 0 5px #00ffff,
        0 0 10px #00ffff,
        0 0 15px #00ffff,
        0 0 20px #00ffff;
}

.neon-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    box-shadow: 
        0 0 5px #00ffff,
        0 0 10px #00ffff;
    transition: width 0.3s ease;
}

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

/* Neon Borders */
.neon-border {
    border: 2px solid transparent;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.neon-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00, #00ffff);
    border-radius: 15px;
    z-index: -1;
    animation: neon-border-rotate 4s linear infinite;
    opacity: 0.7;
}

.neon-border::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 13px;
    z-index: -1;
}

/* Neon Buttons */
.btn-neon {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #00ffff;
    color: #00ffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-neon:hover {
    color: #000;
    background: #00ffff;
    box-shadow: 
        0 0 10px #00ffff,
        0 0 20px #00ffff,
        0 0 30px #00ffff,
        0 0 40px #00ffff;
    text-shadow: none;
}

.btn-neon::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;
}

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

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #ff00ff;
    color: #ff00ff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-outline:hover {
    color: #000;
    background: #ff00ff;
    box-shadow: 
        0 0 10px #ff00ff,
        0 0 20px #ff00ff,
        0 0 30px #ff00ff;
    text-shadow: none;
}

/* Neon Inputs */
.neon-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 25px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.neon-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.neon-input:focus {
    border-color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 
        0 0 10px rgba(0, 255, 255, 0.3),
        inset 0 0 10px rgba(0, 255, 255, 0.1);
}

/* Neon Card Effects */
.neon-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.neon-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00);
    border-radius: 15px;
    z-index: -1;
    /* opacity: 0; */
    transition: opacity 0.3s ease;
}

.neon-card:hover::before {
    opacity: 0.7;
}

.neon-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px rgba(0, 255, 255, 0.3),
        0 0 50px rgba(0, 255, 255, 0.2);
}

/* Neon Animations */
@keyframes neon-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow: 
            0 0 5px #00ffff,
            0 0 10px #00ffff,
            0 0 15px #00ffff,
            0 0 20px #00ffff,
            0 0 35px #00ffff,
            0 0 40px #00ffff;
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

@keyframes neon-pulse {
    0% {
        text-shadow: 
            0 0 5px #00ffff,
            0 0 10px #00ffff,
            0 0 15px #00ffff,
            0 0 20px #00ffff,
            0 0 35px #00ffff,
            0 0 40px #00ffff,
            0 0 50px #00ffff,
            0 0 75px #00ffff;
    }
    100% {
        text-shadow: 
            0 0 2px #00ffff,
            0 0 5px #00ffff,
            0 0 8px #00ffff,
            0 0 12px #00ffff,
            0 0 18px #00ffff,
            0 0 20px #00ffff,
            0 0 25px #00ffff,
            0 0 35px #00ffff;
    }
}

@keyframes neon-border-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes neon-glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.7)) drop-shadow(0 0 20px rgba(0, 255, 255, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.9)) drop-shadow(0 0 30px rgba(0, 255, 255, 0.6));
    }
}

/* Neon Loading Effect */
.neon-loading {
    position: relative;
    overflow: hidden;
}

.neon-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.4), transparent);
    animation: neon-shimmer 2s infinite;
}

@keyframes neon-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Neon Gradient Backgrounds */
.neon-gradient-bg {
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.1) 0%, 
        rgba(255, 0, 255, 0.1) 25%, 
        rgba(255, 255, 0, 0.1) 50%, 
        rgba(0, 255, 255, 0.1) 75%, 
        rgba(255, 0, 255, 0.1) 100%);
    background-size: 400% 400%;
    animation: neon-gradient-shift 8s ease infinite;
}

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

/* Neon Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 10, 0.9);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

/* Cookie Banner Neon Styling */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-top: 2px solid #00ffff;
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -5px 30px rgba(0, 255, 255, 0.3);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.cookie-modal.active {
    display: flex;
}

.cookie-modal-content {
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid #00ffff;
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.3);
}

.cookie-modal-content h3 {
    color: #00ffff;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.cookie-option {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #fff;
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #00ffff;
}

/* Neon Table Styling */
.neon-table {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.neon-table th {
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.neon-table td {
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.neon-table tr:hover {
    background: rgba(0, 255, 255, 0.05);
}

/* Responsive Neon Adjustments */
@media (max-width: 768px) {
    .neon-text,
    .neon-glow {
        text-shadow: 
            0 0 3px #00ffff,
            0 0 6px #00ffff,
            0 0 9px #00ffff,
            0 0 12px #00ffff;
    }
    
    .btn-neon,
    .btn-outline {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .neon-input {
        padding: 12px 18px;
    }
}

@media (max-width: 480px) {
    .neon-text,
    .neon-glow {
        text-shadow: 
            0 0 2px #00ffff,
            0 0 4px #00ffff,
            0 0 6px #00ffff;
    }
    
    .btn-neon,
    .btn-outline {
        padding: 8px 20px;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }
}

/* Accessibility Improvements for Neon Effects */
@media (prefers-reduced-motion: reduce) {
    .neon-text,
    .neon-glow,
    .neon-border::before,
    .neon-loading::after {
        animation: none;
    }
    
    .neon-text {
        text-shadow: 0 0 10px #00ffff;
    }
    
    .neon-glow {
        text-shadow: 0 0 15px #00ffff;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .neon-text,
    .neon-glow {
        color: #fff;
        text-shadow: none;
        border: 1px solid #00ffff;
        padding: 2px 4px;
    }
    
    .neon-border {
        border: 3px solid #00ffff;
    }
    
    .btn-neon {
        border-width: 3px;
    }
}
