/* Style pour la page des packs */
:root {
    --starter-color: #7b9fa0;
    --booster-color: #43a047;
    --progression-color: #1e88e5;
    --elite-color: #8e24aa;
    --mastery-color: #fb8c00;
    --ultimate-color: #e53935;
    
    /* Thème sombre cohérent */
    --primary-color: #ff4655;
    --secondary-color: #0f1923;
    --accent-color: #ece8e1;
    --text-color: #ece8e1;
    --light-text: #ece8e1;
    --dark-text: #0f1923;
    --background-color: #121212;
    --card-bg: #1e2328;
    --border-color: #2c3e50;
    --success-color: #4cd964;
    --warning-color: #ffcc00;
    --error-color: #ff3b30;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --glass-bg: rgba(30, 35, 40, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    --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: #e63e4c;
    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);
    border: 1px solid var(--accent-color);
}

.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-sm {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(rgba(15, 25, 35, 0.8), rgba(15, 25, 35, 0.8)), url('../images/valorant-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light-text);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Packs Section */
.packs-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--light-text);
    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 {
    font-size: 1.1rem;
    color: var(--light-text);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

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

.pack-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    box-shadow: var(--glass-shadow);
    padding: 30px;
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pack-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.pack-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

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

.pack-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-text);
}

.pack-body {
    flex: 1;
    margin-bottom: 20px;
}

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

.pack-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.pack-features i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 1rem;
    margin-top: 4px;
}

.pack-description {
    font-size: 0.9rem;
    color: var(--light-text);
    opacity: 0.8;
}

.pack-footer {
    text-align: center;
}

.pack-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Styles spécifiques pour chaque pack */
.pack-starter {
    border-top: 5px solid var(--starter-color);
}

.pack-booster {
    border-top: 5px solid var(--booster-color);
}

.pack-progression {
    border-top: 5px solid var(--progression-color);
}

.pack-elite {
    border-top: 5px solid var(--elite-color);
}

.pack-mastery {
    border-top: 5px solid var(--mastery-color);
}

.pack-ultimate {
    border-top: 5px solid var(--ultimate-color);
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: rgba(15, 25, 35, 0.8);
    color: var(--light-text);
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background-color: rgba(30, 35, 40, 0.5);
}

.comparison-table tr:hover {
    background-color: rgba(40, 45, 50, 0.7);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--light-text);
}

.comparison-table i.fas.fa-check {
    color: var(--success-color);
}

.comparison-table i.fas.fa-times {
    color: var(--error-color);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--light-text);
    margin: 0;
}

.faq-toggle {
    font-size: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--light-text);
    opacity: 0.9;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(15, 25, 35, 0.9), rgba(15, 25, 35, 0.9)), url('../images/valorant-cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light-text);
}

.footer-column p {
    margin-bottom: 20px;
    opacity: 0.8;
}

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

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

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

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

.footer-links a {
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .packs-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .pack-price {
        font-size: 2rem;
    }
    
    .pack-name {
        font-size: 1.3rem;
    }
}

/* Particle container */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Typing effect */
.typing-effect {
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    margin: 0 auto;
    animation: typing 3.5s steps(30, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

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