/* Custom CSS for Cipher Wins Casino */

/* Base Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(214, 0, 203, 0.5); }
    50% { box-shadow: 0 0 40px rgba(214, 0, 203, 0.8), 0 0 60px rgba(214, 0, 203, 0.4); }
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes spotlight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-emoji {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-emoji:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-emoji:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.floating-emoji:nth-child(3) {
    top: 40%;
    left: 5%;
    animation-delay: 2s;
}

.floating-emoji:nth-child(4) {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.floating-emoji:nth-child(5) {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.floating-emoji:nth-child(6) {
    top: 30%;
    left: 50%;
    animation-delay: 5s;
}

.floating-emoji:nth-child(7) {
    top: 70%;
    right: 30%;
    animation-delay: 6s;
}

.floating-emoji:nth-child(8) {
    top: 50%;
    right: 5%;
    animation-delay: 7s;
}

/* Cyber Gradient Background */
.cyber-gradient {
    background: linear-gradient(45deg, #22015b, #D600CB, #06B6D4, #8B5CF6);
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
    opacity: 0.1;
}

/* Text Effects */
.cyber-text-glow {
    text-shadow: 0 0 10px rgba(214, 0, 203, 0.5), 0 0 20px rgba(214, 0, 203, 0.3);
}

.cyber-title {
    background: linear-gradient(45deg, #D600CB, #8B5CF6, #06B6D4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    text-shadow: 0 0 30px rgba(214, 0, 203, 0.5);
}

/* Navigation */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: #D600CB;
    text-shadow: 0 0 10px rgba(214, 0, 203, 0.5);
}

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

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

/* Buttons */
.cta-button {
    background: linear-gradient(45deg, #D600CB, #8B5CF6);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(214, 0, 203, 0.4);
}

.cta-button-large {
    background: linear-gradient(45deg, #D600CB, #8B5CF6);
    border: none;
    padding: 1rem 2rem;
    border-radius: 1rem;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(214, 0, 203, 0.5);
}

.cta-button-secondary {
    background: transparent;
    border: 2px solid #D600CB;
    padding: 1rem 2rem;
    border-radius: 1rem;
    color: #D600CB;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.cta-button-secondary:hover {
    background: #D600CB;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(214, 0, 203, 0.3);
}

.cta-button-small {
    background: linear-gradient(45deg, #D600CB, #8B5CF6);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cta-button-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(214, 0, 203, 0.4);
}

/* Bonus Box */
.bonus-box {
    background: rgba(34, 1, 91, 0.8);
    backdrop-filter: blur(10px);
    animation: glow 2s ease-in-out infinite alternate;
}

.glow-box {
    box-shadow: 0 0 30px rgba(214, 0, 203, 0.3);
}

/* Step Cards */
.step-card {
    background: rgba(34, 1, 91, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(214, 0, 203, 0.2);
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease forwards;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(214, 0, 203, 0.2);
    border-color: rgba(214, 0, 203, 0.5);
}

.step-icon {
    animation: pulse 2s ease-in-out infinite;
}

/* Game Cards */
.game-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(214, 0, 203, 0.3);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(34, 1, 91, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

/* Provider Cards */
.provider-card {
    background: rgba(34, 1, 91, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(214, 0, 203, 0.2);
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.provider-card:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 0, 203, 0.5);
    box-shadow: 0 10px 25px rgba(214, 0, 203, 0.2);
    color: #D600CB;
}

/* Payment Tables */
.payment-table {
    background: rgba(34, 1, 91, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(214, 0, 203, 0.2);
}

.payment-table table {
    width: 100%;
}

.payment-table th {
    color: #D600CB;
    font-weight: bold;
    padding: 0.75rem 0;
}

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

/* VIP Levels */
.vip-level {
    background: rgba(34, 1, 91, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(214, 0, 203, 0.2);
    transition: all 0.3s ease;
}

.vip-level:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(214, 0, 203, 0.2);
    border-color: rgba(214, 0, 203, 0.5);
}

/* Bonus Review Cards */
.bonus-review-card {
    background: rgba(34, 1, 91, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(214, 0, 203, 0.2);
    margin-bottom: 2rem;
}

/* Support Cards */
.support-card {
    background: rgba(34, 1, 91, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(214, 0, 203, 0.2);
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(214, 0, 203, 0.2);
    border-color: rgba(214, 0, 203, 0.5);
}

/* Promo Cards */
.promo-card {
    background: rgba(34, 1, 91, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(214, 0, 203, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(214, 0, 203, 0.3);
    border-color: rgba(214, 0, 203, 0.5);
}

/* Trust Badges */
.trust-badge {
    background: rgba(34, 1, 91, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(214, 0, 203, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(214, 0, 203, 0.2);
    border-color: rgba(214, 0, 203, 0.5);
}

/* FAQ */
.faq-item {
    background: rgba(34, 1, 91, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(214, 0, 203, 0.2);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(214, 0, 203, 0.1);
    color: #D600CB;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
    color: #ccc;
    border-top: 1px solid rgba(214, 0, 203, 0.2);
}

/* Hero Image Effects */
.hero-image-container {
    position: relative;
}

.glow-image {
    filter: drop-shadow(0 0 20px rgba(214, 0, 203, 0.3));
    transition: all 0.3s ease;
}

.glow-image:hover {
    filter: drop-shadow(0 0 30px rgba(214, 0, 203, 0.5));
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-emoji {
        font-size: 1.5rem;
    }
    
    .cyber-title {
        font-size: 2.5rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .game-card {
        margin-bottom: 1rem;
    }
    
    .cta-button-large,
    .cta-button-secondary {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .cyber-title {
        font-size: 2rem;
    }
    
    .bonus-box {
        padding: 1rem;
    }
    
    .step-card {
        padding: 1rem;
    }
    
    .floating-emoji {
        font-size: 1.2rem;
        opacity: 0.05;
    }
}

/* Spotlight Effect */
.spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(214, 0, 203, 0.1), transparent);
    animation: spotlight 8s linear infinite;
    pointer-events: none;
}

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

.loading {
    animation: spin 1s linear infinite;
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

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

::-webkit-scrollbar-track {
    background: #22015b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #D600CB, #8B5CF6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #8B5CF6, #D600CB);
}

/* Selection Color */
::selection {
    background: rgba(214, 0, 203, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(214, 0, 203, 0.3);
    color: white;
}