/* community.css */
.community-hero {
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 14, 14, 0.9), rgba(88, 101, 242, 0.2));
    margin-top: 70px;
}

.community-hero h1 {
    font-family: var(--font-title);
    font-size: 56px;
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    margin-bottom: 20px;
}

.discord-widget {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c1a3a 100%);
    text-align: center;
}

.discord-content i.fab {
    font-size: 120px;
    color: #5865F2;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.discord-content h2 {
    font-family: var(--font-title);
    font-size: 48px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.discord-content p {
    font-size: 20px;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: #5865F2;
    color: white;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(88, 101, 242, 0.6);
    background: #4752C4;
}

.gallery-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.gallery-carousel {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-item {
    position: absolute;
    width: 80%;
    max-width: 800px;
    height: 450px;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-slow);
    pointer-events: none;
}

.gallery-item.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
    pointer-events: all;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--accent-gold);
}

.gallery-placeholder p {
    font-size: 24px;
    margin-top: 20px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border: none;
    border-radius: 50%;
    color: var(--bg-dark);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-gold);
}

.quotes-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark), #1a1a1a);
}

.quote-display {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    padding: 50px;
    background: rgba(212, 175, 55, 0.05);
    border: 2px solid var(--accent-gold);
    border-radius: 15px;
}

.quote-text {
    font-size: 28px;
    font-style: italic;
    color: var(--accent-gold);
    margin-bottom: 25px;
    line-height: 1.6;
}

.quote-author {
    font-size: 18px;
    color: var(--text-gray);
}

.download-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.download-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 40px auto;
    flex-wrap: wrap;
}

.download-info {
    flex: 1;
}

.download-info h3 {
    font-family: var(--font-title);
    font-size: 32px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.download-info p {
    font-size: 18px;
    margin-bottom: 25px;
}

.download-features {
    list-style: none;
    padding: 0;
}

.download-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    font-size: 18px;
}

.download-features i {
    color: var(--accent-gold);
    font-size: 20px;
}

.btn-download {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 50px;
    background: linear-gradient(135deg, var(--accent-gold), #c49b2e);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 15px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 20px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-gold);
}

.btn-download i {
    font-size: 50px;
}

.btn-download:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.6);
}

.roadmap-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #1a1a1a, var(--bg-dark));
}

.timeline {
    max-width: 900px;
    margin: 60px auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-gold), var(--accent-blue));
    box-shadow: var(--shadow-gold);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin: 50px 0;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 30px;
    height: 30px;
    background: var(--accent-gold);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow-gold);
    z-index: 2;
}

.timeline-marker.pulse {
    animation: pulse-heart 2s ease-in-out infinite;
}

.timeline-content {
    width: 45%;
    padding: 25px;
    background: var(--bg-card);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content:hover {
    border-color: var(--accent-gold);
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

.timeline-content h3 {
    font-family: var(--font-title);
    font-size: 24px;
    color: var(--accent-gold);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-item.completed h3 {
    color: #32cd32;
}

.timeline-item.current h3 {
    color: var(--accent-gold);
    animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.timeline-item.future h3 {
    color: var(--text-gray);
}

.timeline-date {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
    font-weight: 600;
}

.beta-signup {
    padding: 80px 0;
    background: var(--bg-dark);
}

.beta-form {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    background: var(--bg-card);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 10px;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--accent-gold), #c49b2e);
    border: none;
    border-radius: 50px;
    color: var(--bg-dark);
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-gold);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
}

/* Nouveaux styles pour la roadmap dynamique */
.priority-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 10px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.95); }
}

.timeline-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-sans);
    text-transform: uppercase;
}

.category-feature {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.category-content {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.category-fix {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.category-improvement {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.status-cancelled {
    padding: 6px 14px;
    background: rgba(158, 158, 158, 0.2);
    color: #9e9e9e;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: line-through;
}

.timeline-item.cancelled {
    opacity: 0.6;
}

.timeline-item.cancelled .timeline-marker {
    background: #9e9e9e;
}

.timeline-item.cancelled h3 {
    color: #9e9e9e;
    text-decoration: line-through;
}

.empty-message {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--text-gray);
    font-style: italic;
}

@media (max-width: 768px) {
    .community-hero h1 { font-size: 36px; }
    .discord-content h2 { font-size: 32px; }
    .timeline::before { left: 20px; }
    .timeline-item { flex-direction: column !important; align-items: flex-start; padding-left: 60px; }
    .timeline-marker { left: 20px; }
    .timeline-content { width: 100%; margin: 0 !important; }
    .download-content { flex-direction: column; text-align: center; }
    .btn-download { width: 100%; }
    .priority-badge { font-size: 10px; padding: 3px 8px; }
    .timeline-meta { flex-direction: column; align-items: flex-start; }
}
