/* Style pour la page d'accueil */
:root {
    /* Couleurs principales */
    --valorant-red: #ff4655;
    --valorant-dark: #0f1923;
    --valorant-white: #ece8e1;
    --valorant-accent: #bd3944;
    
    /* Couleurs de thème */
    --primary-color: var(--valorant-red);
    --secondary-color: var(--valorant-dark);
    --accent-color: var(--valorant-white);
    --background-color: #121212;
    --card-background: #1e1e1e;
    
    /* Texte */
    --text-color: #e0e0e0;
    --light-text: #ffffff;
    --dark-text: #0f1923;
    --muted-text: #a0a0a0;
    
    /* Éléments UI */
    --border-color: #2a2a2a;
    --success-color: #4cd964;
    --warning-color: #ffcc00;
    --error-color: #ff3b30;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --card-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    --glass-bg: rgba(30, 30, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Animations */
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--valorant-accent);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 70, 85, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-secondary:hover {
    background-color: #1a2530;
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(15, 25, 35, 0.3);
}

.btn-login, .btn-register {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
}

.btn-login {
    background-color: transparent;
    color: var(--light-text);
    border: 1px solid var(--light-text);
}

.btn-login:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-register {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-register:hover {
    background-color: var(--valorant-accent);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(15, 25, 35, 0.8), rgba(15, 25, 35, 0.9)), url('../img/valorant-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    overflow: hidden;
}

.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1.typing-effect {
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    visibility: hidden;
}

.hero h1.typing-complete {
    border-right: 3px solid transparent;
    animation: blink-caret 1s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--background-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--muted-text);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.feature-card p {
    color: var(--muted-text);
}

/* Packs Section */
.packs {
    padding: 80px 0;
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.packs-slider {
    position: relative;
    margin-top: 40px;
    padding: 20px 0;
    overflow: hidden;
    transition: transform 0.5s ease-in-out;
}

.pack-cards {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    justify-content: center;
}

.pack-card {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    flex: 0 0 300px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.pack-card.active {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.pack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
}

.pack-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--light-text);
}

.pack-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pack-features {
    margin-bottom: 25px;
}

.pack-features li {
    margin-bottom: 10px;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.pack-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-nav:hover {
    background-color: var(--primary-color);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--background-color);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px;
}

.testimonial {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    text-align: center;
    position: relative;
    transition: opacity 0.3s ease;
    border: 1px solid var(--border-color);
}

.testimonial.active {
    transform: scale(1.02);
    border-color: var(--primary-color);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    position: absolute;
}

.testimonial-text::before {
    top: -20px;
    left: -10px;
}

.testimonial-text::after {
    bottom: -30px;
    right: -10px;
}

.testimonial-name {
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 5px;
}

.testimonial-role {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.slider-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.pagination-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Premium Teaser Section */
.premium-teaser {
    padding: 80px 0;
    background: linear-gradient(rgba(15, 25, 35, 0.9), rgba(15, 25, 35, 0.9)), url('../img/premium-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.premium-feature {
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 25px;
    transition: var(--transition);
    transform: translateY(50px);
    opacity: 0;
    box-shadow: var(--card-shadow);
}

.premium-feature.visible {
    transform: translateY(0);
    opacity: 1;
}

.premium-feature.active {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.premium-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.premium-feature p {
    color: var(--muted-text);
    margin-bottom: 15px;
}

.premium-cta {
    text-align: center;
    margin-top: 50px;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--muted-text);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--card-background);
    color: var(--light-text);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--muted-text);
    font-size: 0.9rem;
}

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

@keyframes explode {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--x, 0), var(--y, 0)) scale(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .pack-cards {
        flex-wrap: wrap;
    }
    
    .pack-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .feature-card, .pack-card, .testimonial {
        padding: 20px;
    }
    
    .pack-card {
        flex: 0 0 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}
