/* Variables pour les effets */
:root {
    --glow-color: rgba(52, 152, 219, 0.5);
    --neon-color: #3498db;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Effet de verre futuriste */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Effet néon pour les titres */
.neon-text {
    color: var(--neon-color);
    text-shadow: 0 0 10px var(--glow-color),
                 0 0 20px var(--glow-color),
                 0 0 30px var(--glow-color);
}

/* Effet de carte 3D */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    perspective: 1000px;
}

.card-3d:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

/* Effet de bordure brillante */
.glow-border {
    position: relative;
    border: none;
}

.glow-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3498db, #2ecc71, #3498db);
    border-radius: inherit;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

/* Effet de particules flottantes */
.floating-particles {
    position: relative;
    overflow: hidden;
}

.floating-particles::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--neon-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: particleFloat 20s linear infinite;
}

/* Effet de bouton futuriste */
.btn-futuristic {
    background: linear-gradient(45deg, #3498db, #2ecc71);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2ecc71, #3498db);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-futuristic:hover::before {
    opacity: 1;
}

/* Effet de carte holographique */
.holographic-card {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.1) 0%,
        rgba(255,255,255,0.2) 50%,
        rgba(255,255,255,0.1) 100%
    );
    backdrop-filter: blur(10px);
}

.holographic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        transparent 0%,
        rgba(255,255,255,0.1) 50%,
        transparent 100%
    );
    animation: holographicShine 2s linear infinite;
}

/* Animations */
@keyframes borderGlow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes particleFloat {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

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

/* Effet de profondeur pour les sections */
.depth-section {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.depth-section::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: rgba(0,0,0,0.1);
    filter: blur(20px);
    transform: translateZ(-50px);
    z-index: -1;
}

/* Effet de texte cyberpunk */
.cyber-text {
    position: relative;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-color),
                 0 0 20px var(--neon-color),
                 0 0 40px var(--neon-color);
    animation: cyberGlow 2s ease-in-out infinite alternate;
}

@keyframes cyberGlow {
    from { text-shadow: 0 0 10px var(--neon-color),
                        0 0 20px var(--neon-color),
                        0 0 40px var(--neon-color); }
    to { text-shadow: 0 0 5px var(--neon-color),
                      0 0 10px var(--neon-color),
                      0 0 20px var(--neon-color); }
}

/* Thème Cyber */
.cyber-theme {
    font-family: 'Rajdhani', sans-serif;
    background: #0a192f;
    color: #e2e8f0;
}

/* Fond avec particules */
.particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #0a192f 0%, #172a45 100%);
    overflow: hidden;
}

.particles-background::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(52, 152, 219, 0.1) 1px, transparent 1px),
        radial-gradient(circle, rgba(46, 204, 113, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    background-position: 0 0, 25px 25px;
    animation: particleFloat 20s linear infinite;
}

/* Texte Cyber */
.cyber-heading {
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    color: #e2e8f0;
}

.cyber-text {
    font-weight: 400;
    line-height: 1.6;
    color: #a0aec0;
}

.glow-text {
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5),
                 0 0 20px rgba(52, 152, 219, 0.3),
                 0 0 30px rgba(52, 152, 219, 0.1);
}

/* Cartes Cyber */
.cyber-card {
    background: rgba(23, 42, 69, 0.8);
    border: 1px solid rgba(52, 152, 219, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(52, 152, 219, 0.1),
        transparent
    );
    transition: 0.5s;
}

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

.cyber-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.2);
}

/* Bordure néon */
.neon-border {
    position: relative;
}

.neon-border::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(52, 152, 219, 0.5),
        rgba(46, 204, 113, 0.5)
    );
    z-index: -1;
    border-radius: 16px;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.neon-border:hover::after {
    opacity: 1;
}

/* Icons */
.cyber-icon {
    color: #3498db;
    margin-right: 0.5rem;
    transition: color 0.3s ease;
}

.cyber-card:hover .cyber-icon {
    color: #2ecc71;
}

/* Liste Cyber */
.cyber-list {
    list-style: none;
    padding: 0;
}

.cyber-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.cyber-list li:hover {
    transform: translateX(10px);
}

/* Header Cyber */
.cyber-header {
    background: linear-gradient(135deg,
        rgba(52, 152, 219, 0.2) 0%,
        rgba(46, 204, 113, 0.2) 100%
    );
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
    padding: 1.5rem;
}

/* Navigation Cyber */
.cyber-nav {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
}

.cyber-nav .nav-link {
    position: relative;
    overflow: hidden;
}

.cyber-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.cyber-nav .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Sections Cyber */
.cyber-section {
    position: relative;
    overflow: hidden;
}

.cyber-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(52, 152, 219, 0.5),
        transparent
    );
}

/* Footer Cyber */
.cyber-footer {
    background: rgba(10, 25, 47, 0.95);
    border-top: 1px solid rgba(52, 152, 219, 0.2);
    padding: 2rem 0;
}

/* Animations */
@keyframes particleFloat {
    0% { background-position: 0 0, 25px 25px; }
    100% { background-position: 50px 50px, 75px 75px; }
}

@keyframes glowPulse {
    0% { text-shadow: 0 0 10px rgba(52, 152, 219, 0.5); }
    50% { text-shadow: 0 0 20px rgba(52, 152, 219, 0.8); }
    100% { text-shadow: 0 0 10px rgba(52, 152, 219, 0.5); }
}

/* Bitcoin Price Display */
.bitcoin-price-display {
    margin: 2rem 0;
    font-family: 'Rajdhani', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    z-index: 10;
    position: relative;
}

.bitcoin-price-display .price {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #00ff88, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
    transition: all 0.3s ease;
    padding: 0 15px;
}

.bitcoin-price-display .price-change {
    font-size: 2rem;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.bitcoin-price-display .price-change.positive {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    border-left: 3px solid #00ff88;
}

.bitcoin-price-display .price-change.negative {
    color: #ff4444;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
    border-left: 3px solid #ff4444;
}

.price-update {
    animation: priceUpdate 0.5s ease-out;
}

@keyframes priceUpdate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        text-shadow: 0 0 30px rgba(0, 255, 136, 0.8);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive styles for Bitcoin price */
@media (max-width: 768px) {
    .bitcoin-price-display .price {
        font-size: 2.5rem;
    }

    .bitcoin-price-display .price-change {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .bitcoin-price-display {
        flex-direction: column;
        gap: 10px;
    }

    .bitcoin-price-display .price {
        font-size: 2rem;
    }

    .bitcoin-price-display .price-change {
        font-size: 1.2rem;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .bitcoin-price-display .price {
        font-size: 2.5rem;
    }

    .price-changes {
        gap: 1rem;
        padding: 0.8rem;
    }

    .change-item {
        min-width: 100px;
        padding: 0.4rem 0.8rem;
    }

    .change-label {
        font-size: 0.8rem;
    }

    .price-change {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .bitcoin-price-display .price {
        font-size: 2rem;
    }

    .price-changes {
        gap: 0.5rem;
        padding: 0.5rem;
        width: 100%;
    }

    .change-item {
        min-width: 90px;
        padding: 0.3rem 0.6rem;
    }
}

.learning-card.beginner-card {
    background-color: black;
    color: white;
}

.learning-card.beginner-card p {
    color: white;
}

.learning-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.learning-card .card-header {
    margin-bottom: 1.5rem;
}

.learning-card .cyber-heading {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.learning-card .cyber-text {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.learning-card .cyber-text.secondary {
    color: rgba(255, 255, 255, 0.8);
}

.learning-card .feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.learning-card .feature-list li {
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.learning-card .cyber-icon {
    color: #00ff88;
    margin-right: 10px;
    font-size: 1.1rem;
}

.learning-card .steps-list {
    margin-top: 1rem;
}

.learning-card .step-item {
    color: #ffffff;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.learning-card .step-number {
    background: #00ff88;
    color: #000000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
    font-size: 0.9rem;
}

.learning-card .step-text {
    color: #ffffff;
}

.learning-section {
    margin-bottom: 2rem;
}

.learning-section:last-child {
    margin-bottom: 0;
}

/* Styles pour les cartes d'apprentissage Bitcoin */
.bitcoin-learn-card {
    position: relative !important;
    background: rgba(13, 17, 23, 0.95) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
    height: 100% !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.bitcoin-learn-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4) !important;
}

.bitcoin-learn-card .card-content {
    color: #ffffff !important;
    background: transparent !important;
}

.bitcoin-learn-card h3 {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3) !important;
}

.bitcoin-learn-card p {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    opacity: 0.9 !important;
}

.bitcoin-learn-card {
    background: rgba(13, 17, 23, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
    height: 100% !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.bitcoin-learn-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4) !important;
}

.bitcoin-learn-card .card-content {
    color: #ffffff !important;
    background: transparent !important;
}

.bitcoin-learn-card h3 {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3) !important;
}

.bitcoin-learn-card p {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    opacity: 0.9 !important;
}

/* Style pour l'alerte */
.cyber-alert {
    background: rgba(255, 193, 7, 0.1) !important;
    border: 1px solid rgba(255, 193, 7, 0.3) !important;
    color: #ffffff !important;
    border-radius: 15px !important;
    padding: 1rem 2rem !important;
    margin-bottom: 2rem !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.cyber-alert i {
    color: #ffc107 !important;
    font-size: 1.5rem !important;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5) !important;
}

.cyber-alert strong {
    color: #ffc107 !important;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.3) !important;
    margin-right: 0.5rem !important;
}

/* Style pour l'alerte d'avertissement */
.alert-warning {
    background: rgba(13, 17, 23, 0.95) !important;
    border: 1px solid rgba(255, 193, 7, 0.5) !important;
    border-radius: 15px !important;
    padding: 1.5rem !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
}

.alert-warning i {
    color: #ffc107 !important;
    font-size: 1.5rem !important;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5) !important;
}

.alert-warning strong {
    color: #ffc107 !important;
    margin-right: 0.5rem !important;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.3) !important;
}

.bitcoin-text {
    background: rgba(13, 17, 23, 0.95) !important;
    color: #ffffff !important;
    padding: 1.5rem !important;
    border-radius: 10px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    margin: 1rem 0 !important;
}

.buy-bitcoin-text {
    background: rgba(13, 17, 23, 0.95) !important;
    color: #ffffff !important;
    padding: 1.5rem !important;
    border-radius: 10px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    margin: 1rem 0 !important;
}

.secure-crypto-text {
    background: rgba(13, 17, 23, 0.95) !important;
    color: #ffffff !important;
    padding: 1.5rem !important;
    border-radius: 10px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    margin: 1rem 0 !important;
}

/* Styles pour le formulaire de contact */
.contact-form-card {
    background: rgba(13, 17, 23, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
    margin-top: 6rem !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3) !important;
}

.cyber-form .form-label {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
}

.cyber-form .form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 0.8rem !important;
}

.cyber-form .form-control:focus {
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.3) !important;
    border-color: #3498db !important;
}

.selected-pack-info {
    background: rgba(52, 152, 219, 0.1) !important;
    border: 1px solid rgba(52, 152, 219, 0.3) !important;
    border-radius: 10px !important;
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
}

.selected-pack-info h3 {
    color: #3498db !important;
    margin-bottom: 1rem !important;
}

.selected-pack-info .cyber-price {
    font-size: 1.5rem !important;
    color: #2ecc71 !important;
    margin-top: 1rem !important;
}

.cyber-button {
    background: linear-gradient(45deg, #3498db, #2980b9) !important;
    border: none !important;
    padding: 1rem 2rem !important;
    color: #ffffff !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.cyber-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4) !important;
}

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

.cyber-button:hover:before {
    left: 100% !important;
}
