@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    /* Palette de couleurs futuriste et sombre */
    --bg-dark: #0a0a14;
    --bg-medium: #12121f;
    --bg-light: #1a1a2e;
    --accent-primary: #4361ee;
    --accent-secondary: #4cc9f0;
    --accent-tertiary: #f72585;
    --text-primary: #e6e6e6;
    --text-secondary: #b3b3cc;
    --text-glow: rgba(67, 97, 238, 0.6);
    --danger: #f72585;
    --success: #00f5d4;
    --header-gradient: linear-gradient(135deg, #1a1a2e, #0a0a14);
    --card-gradient: linear-gradient(135deg, rgba(26, 26, 46, 0.7), rgba(10, 10, 20, 0.9));
    --button-gradient: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    --border-color: rgba(67, 97, 238, 0.3);
    --shadow-glow: 0 0 20px rgba(67, 97, 238, 0.3);
    --shadow-thin: 0 0 5px rgba(67, 97, 238, 0.2);
    --border-radius: 4px;
    --glass-effect: rgba(255, 255, 255, 0.05);
    --warning-color: #e0a500;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
/*    line-height: 1.6;*/
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(67, 97, 238, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(76, 201, 240, 0.1) 0%, transparent 20%);
    overflow-x: hidden;
}

/* Base styles */
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 5px var(--text-glow);
    line-height: 1.2;
}

a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

a:hover {
    color: var(--accent-secondary);
    text-shadow: 0 0 8px var(--accent-secondary);
}

a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: var(--accent-secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hero section */
.hero {
    background: var(--header-gradient);
    position: relative;
    padding: 2rem;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--button-gradient);
    z-index: 2;
}

.hero::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    top: -125px;
    right: -125px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    opacity: 0.1;
    z-index: -1;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo i {
    margin-right: 0.8rem;
    font-size: 1.75rem;
    color: var(--accent-secondary);
    text-shadow: 0 0 10px var(--accent-secondary);
}

.cta-button {
    background: var(--button-gradient);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 0 20px rgba(76, 201, 240, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-tertiary), var(--accent-primary));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button i {
    margin-right: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(76, 201, 240, 0.5);
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.cta-button:hover::before {
    opacity: 1;
}

/* Message board */
.message-board {
    margin: 3rem auto;
    max-width: 900px;
}

.messages-container {
    margin-top: 2rem;
    position: relative;
}

.last-message-container {
    background: var(--card-gradient);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: var(--shadow-glow);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    transform: scale(1.1);
}

.last-message-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
}

.last-message-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    opacity: 0.05;
}

.last-message-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(67, 97, 238, 0.4);
}

.last-message {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    word-wrap: break-word;
    color: var(--text-primary);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
    padding: 2rem;
}

.price-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(45deg, var(--accent-tertiary), var(--accent-secondary));
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(76, 201, 240, 0.4);
    display: flex;
    align-items: center;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
}

.price-tag i {
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.previous-message-container {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-thin);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.previous-message-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-secondary), transparent);
}

.previous-message {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.4;
    word-wrap: break-word;
    font-style: italic;
}

/* Write page */
.write-page {
    background: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 80% 10%, rgba(247, 37, 133, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 20% 90%, rgba(76, 201, 240, 0.1) 0%, transparent 25%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.write-container {
    width: 100%;
    max-width: 650px;
    background: var(--card-gradient);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    border: 1px solid var(--border-color);
    position: relative;
}

.write-container::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--accent-tertiary) 0%, transparent 70%);
    opacity: 0.1;
    z-index: 0;
}

.write-container .header {
    background: var(--header-gradient);
    padding: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.write-container .header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--button-gradient);
}

.back-button {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
}

.back-button:hover {
    transform: translateX(-3px);
    color: var(--accent-secondary);
    background: rgba(76, 201, 240, 0.1);
    border-color: var(--accent-secondary);
    box-shadow: 0 0 15px rgba(76, 201, 240, 0.3);
}

.back-button:hover::after {
    transform: scaleX(0);
}

.write-container h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.write-container h1 i {
    color: var(--accent-secondary);
    margin-right: 0.5rem;
}

.write-form-container {
    padding: 2rem;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

textarea, input[type="number"] {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.price-input {
    position: relative;
}

.price-input i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-secondary);
}

.price-input input {
    padding-left: 2.5rem;
}

textarea {
    height: 150px;
    resize: none;
}

textarea:focus, input:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 15px rgba(76, 201, 240, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.char-count {
    position: absolute;
    bottom: -25px;
    right: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.price-info {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.price-info i {
    margin-right: 0.5rem;
    color: var(--accent-tertiary);
}

.submit-button {
    background: var(--button-gradient);
    color: #fff;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-shadow: 0 0 20px rgba(76, 201, 240, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-tertiary), var(--accent-primary));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.submit-button i {
    margin-right: 0.75rem;
}

.submit-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 30px rgba(76, 201, 240, 0.5);
}

.submit-button:hover::before {
    opacity: 1;
}

.error-message, .success-message {
    margin-bottom: 1.5rem;
    font-weight: 500;
    padding: 1rem;
    border-radius: var(--border-radius);
    display: none;
    position: relative;
    overflow: hidden;
}

.error-message {
    color: #fff;
    background: rgba(247, 37, 133, 0.1);
    border-left: 4px solid var(--danger);
}

.error-message::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(247, 37, 133, 0.1), transparent);
    z-index: -1;
}

.success-message {
    color: #fff;
    background: rgba(0, 245, 212, 0.1);
    border-left: 4px solid var(--success);
}

.success-message::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 245, 212, 0.1), transparent);
    z-index: -1;
}

.error-message.active, .success-message.active {
    display: block;
    animation: slideIn 0.3s forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--bg-medium);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* Cyberpunk effect - Lines across the screen */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(67, 97, 238, 0.03) 50px, rgba(67, 97, 238, 0.03) 51px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(76, 201, 240, 0.02) 50px, rgba(76, 201, 240, 0.02) 51px);
    pointer-events: none;
    z-index: -1;
}

/* Animations */
@keyframes pulse {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

.logo i {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .logo {
        justify-content: center;
    }
    
    .write-page {
        padding: 1rem;
    }
    
    .last-message {
        font-size: 1.6rem;
        padding: 1.5rem;
    }
    
    .price-tag {
        position: relative;
        top: 0;
        right: 0;
        display: inline-flex;
        margin-top: 1rem;
        margin-left: auto;
    }
    
    .write-container .header {
        padding: 1rem;
    }
    
    .write-form-container {
        padding: 1.5rem;
    }
}

/* Sous la section du Hero, ajoutez ces styles */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-button {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
}

.info-button i {
    margin-right: 0.5rem;
    color: var(--accent-secondary);
}

.info-button:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(76, 201, 240, 0.2);
    transform: translateY(-2px);
}

/* Modal styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-light);
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    border-radius: 8px;
    overflow-y: auto;
    box-shadow: var(--shadow-glow), 0 0 30px rgba(247, 37, 133, 0.2);
    border: 1px solid var(--border-color);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-content.show {
    transform: scale(1);
    opacity: 1;
}

.modal-header {
    background: var(--header-gradient);
    padding: 1.5rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
}

.modal-header h2 i {
    margin-right: 0.75rem;
    color: var(--accent-secondary);
}

.close-modal {
    color: var(--text-secondary);
    font-size: 1.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--accent-tertiary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.rule-section {
    display: flex;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rule-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.rule-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    color: var(--accent-primary);
    display: flex;
    align-items: flex-start;
    padding-top: 0.5rem;
}

.rule-text {
    flex: 1;
}

.rule-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.rule-text p, .rule-text li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.rule-text ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.rule-text li {
    margin-bottom: 0.5rem;
}

.highlight {
    color: var(--accent-secondary);
    font-weight: bold;
}

.warning {
    color: var(--accent-tertiary);
    font-style: italic;
    border-left: 3px solid var(--accent-tertiary);
    padding-left: 0.75rem;
}

/* Pour les appareils mobiles */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .info-button, .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .rule-section {
        flex-direction: column;
    }
    
    .rule-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        justify-content: center;
    }
}

/* Styles pour la page Game Over */
.game-over-page {
    background: radial-gradient(circle at center, #1a1a4a, #000000);
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.game-over-container {
    width: 90%;
    max-width: 800px;
    background: rgba(10, 10, 20, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(247, 37, 133, 0.5);
    overflow: hidden;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.god-message-header {
    background: linear-gradient(135deg, #4b006e, #ff0059);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.god-icon {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.god-message-header h1 {
    font-size: 2.5rem;
    letter-spacing: 3px;
    font-weight: 700;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.god-message-content {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}

.god-text {
    font-size: 1.8rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.god-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    width: fit-content;
    margin: 0 auto;
}

.god-price span {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-tertiary);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.price-value {
    font-size: 2rem !important;
    font-weight: 700;
    margin-top: 0.5rem;
}

.game-over-info {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 20, 0.5);
}

.game-over-info p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.cosmic-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0.3;
}

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

/* Mettre à jour les styles pour afficher les status sur les messages */
.last-message-container {
    position: relative;
}

.message-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.status-boss {
    background: linear-gradient(45deg, #f72585, #4361ee);
    color: white;
    box-shadow: 0 0 10px rgba(247, 37, 133, 0.5);
}

.status-god {
    background: linear-gradient(45deg, #f9c80e, #ff4d00);
    color: white;
    box-shadow: 0 0 10px rgba(249, 200, 14, 0.7);
}

.price-update-notification {
    background: linear-gradient(90deg, rgba(67, 97, 238, 0.1), rgba(10, 10, 20, 0.5));
    border-left: 4px solid var(--accent-primary);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.price-update-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.price-update-notification i {
    color: var(--accent-secondary);
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

.special-prices {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.special-price-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.special-price-tag i {
    color: var(--accent-secondary);
}

/* Ajouter ces styles pour la section de prix actuel */

.current-price-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.price-info-card {
    background: var(--card-gradient);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-thin);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.price-info-card:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.price-info-header {
    background: var(--header-gradient);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.price-info-header i {
    color: var(--accent-secondary);
    font-size: 1.25rem;
}

.price-info-header h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-primary);
}

.price-info-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.price-display {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-secondary);
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(76, 201, 240, 0.5);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.next-price {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
}

.next-price span {
    color: var(--accent-primary);
    font-weight: 600;
}

.price-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.price-status i {
    color: var(--accent-secondary);
}

.price-status.boss-mode {
    background: linear-gradient(45deg, rgba(247, 37, 133, 0.1), rgba(67, 97, 238, 0.1));
    border-color: rgba(247, 37, 133, 0.3);
}

.price-status.boss-mode i {
    color: #f72585;
}

.price-status.god-mode {
    background: linear-gradient(45deg, rgba(249, 200, 14, 0.1), rgba(255, 77, 0, 0.1));
    border-color: rgba(249, 200, 14, 0.3);
}

.price-status.god-mode i {
    color: #f9c80e;
}

/* Ajuster le responsive */
@media (max-width: 768px) {
    .current-price-container {
        margin-bottom: 1.5rem;
    }
    
    .price-display {
        font-size: 2rem;
    }
    
    .next-price {
        font-size: 1rem;
    }
}

/* Styles améliorés pour le header principal avec prix en ligne */
.main-header {
    width: 100%;
    background: var(--header-gradient);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    box-shadow: var(--shadow-thin);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.current-price-header {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.price-info-group {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.price-value {
    font-size: 1.35rem;
    font-weight: bold;
    color: var(--accent-secondary);
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 5px rgba(76, 201, 240, 0.5);
}

.next-price-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.price-separator {
    color: var(--text-secondary);
    margin: 0 0.35rem;
}

.badge-small {
    display: inline-flex;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    font-size: 0.6rem;
    margin-left: 0.35rem;
}

.boss-badge {
    background: linear-gradient(135deg, #f72585, #4361ee);
    color: white;
}

/* Amélioration du dropdown de langue */
.lang-dropdown-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
}

.current-lang {
    display: inline-block;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Ajustements responsive améliorés */
@media (max-width: 768px) {
    .main-header {
        padding: 0.5rem 1rem;
    }
    
    .current-price-header {
        padding: 0.4rem 0.75rem;
    }
    
    .price-value {
        font-size: 1.15rem;
    }
    
    .next-price-value {
        font-size: 0.95rem;
    }
    
    .price-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .main-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .logo {
        order: 1;
        width: 50%;
    }
    
    .language-dropdown {
        order: 2;
        width: auto;
        margin-left: auto;
    }
    
    .current-price-header {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

/* Groupe de boutons en ligne dans le header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-button {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.header-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.header-button i {
    font-size: 1rem;
}

.write-btn {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.write-btn:hover {
    background: var(--accent-secondary);
    color: white;
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
}

.lang-btn {
    padding: 0.4rem 0.6rem;
}

/* Ajustements responsifs pour les boutons */
@media (max-width: 992px) {
    .btn-text {
        display: none;
    }
    
    .header-button {
        padding: 0.4rem;
        justify-content: center;
    }
    
    .header-button i {
        margin: 0;
    }
    
    .current-lang {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-actions {
        order: 2;
        margin-left: auto;
    }
    
    .logo {
        order: 1;
    }
    
    .current-price-header {
        order: 3;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .main-header {
        flex-wrap: wrap;
        padding: 0.5rem 1rem;
    }
}

/* Style pour la signature */
.signature-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    padding: 0.75rem;
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.signature-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(76, 201, 240, 0.2);
    outline: none;
}

.signature-count {
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* Style pour l'affichage de la signature sur la page principale */
.message-signature {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    text-align: right;
    margin-top: 1rem;
    opacity: 0.8;
    font-family: 'Courier New', monospace;
}

.message-signature::before {
    content: "— ";
}

/* Styles pour la section légale */
.legal-section {
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
    padding-top: 2rem;
}

.legal-section .rule-icon {
    background: var(--warning-color);
}

.legal-section .rule-icon i {
    color: var(--bg-dark);
}

.legal-section h3 {
    color: var(--warning-color);
}

.legal-section ul {
    list-style-type: none;
    padding-left: 0;
    margin: 1rem 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.legal-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--warning-color);
}

/* Styles pour la case à cocher d'acceptation */
.legal-agreement {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-container input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: var(--accent-primary);
}

.checkbox-container label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.text-button {
    background: none;
    border: none;
    color: var(--accent-primary);
    padding: 0;
    font-size: inherit;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.text-button:hover {
    color: var(--accent-secondary);
}

/* Styles pour les options de prix */
.price-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-option {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.price-option:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.price-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.price-option label {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 1rem;
    cursor: pointer;
}

.price-option input[type="radio"]:checked + label {
    background: rgba(67, 97, 238, 0.15);
    border-color: var(--accent-primary);
}

.price-option input[type="radio"]:checked + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--accent-primary);
}

.option-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    width: 70%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.option-price {
    width: 30%;
    text-align: right;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-secondary);
}

.option-description {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.price-summary {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-top: 1.5rem;
    border: 1px solid var(--border-color);
}

.total-price {
    display: flex;
    justify-content: space-between;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.75rem;
}

.total-price span:last-child {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

.price-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.price-info i {
    color: var(--accent-primary);
}

/* Styles pour les boutons d'option spéciaux */
#price-boss + label .option-name {
    color: #ffd700;
}

#price-god + label .option-name {
    color: var(--accent-tertiary);
}

.price-update-notification {
    background: rgba(67, 97, 238, 0.2);
    border-left: 4px solid var(--accent-primary);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.price-update-notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Style amélioré pour les options de prix - version compacte */
.price-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-selector-tabs {
    display: flex;
    width: 100%;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 0.25rem;
    overflow: hidden;
}

.price-selector-tab {
    flex: 1;
    padding: 0.75rem 0.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
}

.price-selector-tab:not(.active) {
    color: var(--text-secondary);
}

.price-selector-tab:hover:not(.active) {
    color: var(--text-primary);
}

.price-selector-tab.active {
    color: var(--text-primary);
}

.price-selector-tab.boss-tab.active {
    color: #ffd700;
}

.price-selector-tab.god-tab.active {
    color: var(--accent-tertiary);
}

.price-selector-indicator {
    position: absolute;
    height: calc(100% - 0.5rem);
    background: rgba(255, 255, 255, 0.1);
    border-radius: calc(var(--border-radius) - 2px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    top: 0.25rem;
    left: 0.25rem;
    z-index: 1;
}

/* Largeur de l'indicateur - sera ajustée par JavaScript */

.price-selector-tab i {
    margin-right: 0.3rem;
    font-size: 0.9rem;
}

.price-selector-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-option-details {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.price-option-details.active {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-title {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.option-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.option-price {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--accent-secondary);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    align-self: flex-end;
}

.boss-tab .option-title,
.boss-details .option-title {
    color: #ffd700;
}

.god-tab .option-title,
.god-details .option-title {
    color: var(--accent-tertiary);
}

/* Style pour les inputs radio */
input[type="radio"] {
    display: none;
}

input[type="radio"]:checked + label {
    color: var(--text-primary);
}

input[type="radio"]:checked + label + .price-option-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Animation pour l'indicateur - 3 onglets */
input[type="radio"]:first-of-type:checked ~ .price-selector-indicator {
    transform: translateX(0);
}

input[type="radio"]:nth-of-type(2):checked ~ .price-selector-indicator {
    transform: translateX(100%);
}

input[type="radio"]:nth-of-type(3):checked ~ .price-selector-indicator {
    transform: translateX(200%);
}

/* Animation pour l'indicateur - 2 onglets (mode boss) */
.price-selector-tabs.boss-mode input[type="radio"]:first-of-type:checked ~ .price-selector-indicator {
    transform: translateX(0);
}

.price-selector-tabs.boss-mode input[type="radio"]:nth-of-type(2):checked ~ .price-selector-indicator {
    transform: translateX(100%);
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mise à jour du résumé de prix */
.price-summary {
    margin-top: 0.5rem;
}



/* Styles pour le message de fin de jeu */
.game-ended-message {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
    margin: 1rem 0;
}

.game-ended-message i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.game-ended-details {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 2px solid var(--accent-primary);
}

.game-ended-details .option-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.game-ended-details .option-description {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Styles pour les pages de paiement */
.payment-page {
    background: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(67, 97, 238, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(76, 201, 240, 0.08) 0%, transparent 30%);
}

.payment-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 2rem;
}

.payment-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-glow);
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.payment-card.success {
    border-top: 4px solid var(--success);
}

.payment-card.error {
    border-top: 4px solid var(--danger);
}

.payment-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.payment-card.success .payment-icon {
    color: var(--success);
}

.payment-card.error .payment-icon {
    color: var(--danger);
}

.payment-card h1 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.payment-message {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.payment-message.small {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: -1rem;
}

.payment-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.payment-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.payment-button.primary {
    background: var(--button-gradient);
    color: white;
}

.payment-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.payment-button:hover {
    transform: translateY(-3px);
}

.payment-button.primary:hover {
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.message-preview {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    text-align: left;
}

.message-preview h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--accent-secondary);
}

.message-content {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-primary);
    word-wrap: break-word;
}

.message-signature {
    text-align: right;
    font-style: italic;
    margin-top: 1rem;
    color: var(--text-secondary);
}

.message-price {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-secondary);
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 1rem;
    text-align: right;
}

.status-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge.boss {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.status-badge.god {
    background: rgba(247, 37, 133, 0.2);
    color: var(--accent-tertiary);
    border: 1px solid rgba(247, 37, 133, 0.4);
}

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

.message-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.75rem;
    font-size: 0.85rem;
}

.message-date {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
}

.message-card {
    position: relative;
    padding-top: 1.5rem;
}

.message-signature {
    font-style: italic;
    color: var(--accent-secondary);
    font-weight: 500;
    text-align: right;
}

/* Styles pour la modale des règles légales */
.legal-rules-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.legal-rules-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
}

.legal-rules-list li i {
    color: var(--danger);
    margin-right: 0.75rem;
    font-size: 1rem;
}

.legal-warning {
    margin-top: 1.5rem;
    padding: 0.75rem;
    background: rgba(247, 37, 133, 0.1);
    border-left: 3px solid var(--danger);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
}

.legal-warning i {
    color: var(--danger);
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.modal-intro {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Style pour le lien des règles légales */
.modal-trigger {
    color: var(--accent-secondary);
    text-decoration: underline;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.modal-trigger:hover {
    color: var(--accent-primary);
    text-decoration: none;
}

/* Animation pour le bouton de fermeture */
.close-modal {
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--danger);
    transform: rotate(90deg) scale(1.1);
}

/* Empêcher le scroll du body quand la modal est ouverte */
body.modal-open {
    overflow: hidden;
}

/* Animation d'entrée pour la modal */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================================================
   EFFET "LETTRES DE FEU" POUR LE MESSAGE DIEU
   ============================================================================ */

/* Animation de feu pour le texte */
@keyframes fireText {
    0% {
        color: #ff6b35;
        text-shadow: 
            0 0 5px #ff6b35,
            0 0 10px #ff6b35,
            0 0 15px #ff6b35,
            0 0 20px #ff4500;
    }
    25% {
        color: #ff8c42;
        text-shadow: 
            0 0 5px #ff8c42,
            0 0 10px #ff8c42,
            0 0 15px #ff8c42,
            0 0 20px #ff6347;
    }
    50% {
        color: #ffd700;
        text-shadow: 
            0 0 5px #ffd700,
            0 0 10px #ffd700,
            0 0 15px #ffd700,
            0 0 20px #ffa500;
    }
    75% {
        color: #ff6347;
        text-shadow: 
            0 0 5px #ff6347,
            0 0 10px #ff6347,
            0 0 15px #ff6347,
            0 0 20px #ff4500;
    }
    100% {
        color: #ff6b35;
        text-shadow: 
            0 0 5px #ff6b35,
            0 0 10px #ff6b35,
            0 0 15px #ff6b35,
            0 0 20px #ff4500;
    }
}

/* Animation de flammes pour le conteneur */
@keyframes fireGlow {
    0% {
        box-shadow: 
            0 0 10px rgba(255, 107, 53, 0.3),
            0 0 20px rgba(255, 107, 53, 0.2),
            0 0 30px rgba(255, 107, 53, 0.1);
    }
    50% {
        box-shadow: 
            0 0 15px rgba(255, 215, 0, 0.4),
            0 0 25px rgba(255, 215, 0, 0.3),
            0 0 35px rgba(255, 215, 0, 0.2);
    }
    100% {
        box-shadow: 
            0 0 10px rgba(255, 107, 53, 0.3),
            0 0 20px rgba(255, 107, 53, 0.2),
            0 0 30px rgba(255, 107, 53, 0.1);
    }
}

/* Style pour le message Dieu */
.god-message {
    animation: fireGlow 2s ease-in-out infinite;
    border: 2px solid transparent;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.1), 
        rgba(255, 215, 0, 0.1), 
        rgba(255, 107, 53, 0.1)
    );
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

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

@keyframes fireSweep {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Style pour le texte du message Dieu */
.god-text {
    animation: fireText 2s ease-in-out infinite;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

/* Effet de particules de feu */
.god-message::after {
    content: '🔥';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    animation: fireParticle 1.5s ease-in-out infinite;
    z-index: 3;
}

@keyframes fireParticle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
    }
}

/* Style pour la signature du message Dieu */
.god-signature {
    animation: fireText 2s ease-in-out infinite;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 107, 53, 0.8);
}

.modal.show .modal-content {
    animation: modalFadeIn 0.3s ease-out;
}

/* Ajouter de l'espace entre la date et le texte dans les messages secondaires */
.secondary-message .message-content {
    margin-top: 12px;
}

/* Séparateur entre l'en-tête et le contenu du message */
.message-separator {
    height: 8px; /* Hauteur du séparateur */
}

/* Ou si vous préférez une ligne de séparation visuelle */
.message-separator {
    height: 1px;
    background-color: rgba(0,0,0,0.05);
    margin: 8px 0;
} 

/* Styles pour la page de timeout */
.timeout-page {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
}

.timeout-container {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
}

.timeout-card {
    background: rgba(26, 26, 46, 0.9);
    border: 2px solid var(--accent-secondary);
    border-radius: 15px;
    padding: 3rem 2rem;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.timeout-icon {
    font-size: 4rem;
    color: var(--accent-secondary);
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.timeout-card h1 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.timeout-card p {
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.timeout-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.timeout-actions .btn-primary,
.timeout-actions .btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.timeout-actions .btn-primary {
    background: var(--accent-secondary);
    color: #000;
    border: 2px solid var(--accent-secondary);
}

.timeout-actions .btn-primary:hover {
    background: transparent;
    color: var(--accent-secondary);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.timeout-actions .btn-secondary {
    background: transparent;
    color: var(--accent-tertiary);
    border: 2px solid var(--accent-tertiary);
}

.timeout-actions .btn-secondary:hover {
    background: var(--accent-tertiary);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
}

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