/* ========== HOW TO PLAY PAGE STYLES ========== */
.how-to-play-section {
    padding: 6rem 0 4rem;
    background-color: var(--darker-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--light-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-header .subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Game Mechanics Section */
.game-mechanics {
    margin-bottom: 5rem;
}

.game-mechanics h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--light-color);
    font-size: 2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.game-mechanics h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.mechanics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mechanic-card {
    background: rgba(15, 14, 23, 0.7);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    text-align: center;
}

.mechanic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mechanic-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.mechanic-card h3 {
    color: var(--light-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.mechanic-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Steps to Victory Section */
.steps-to-victory {
    margin-bottom: 5rem;
}

.steps-to-victory h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--light-color);
    font-size: 2rem;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(15, 14, 23, 0.7);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--light-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Winning Tips Section */
.winning-tips {
    margin-bottom: 5rem;
}

.winning-tips h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--light-color);
    font-size: 2rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: rgba(15, 14, 23, 0.7);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.tip-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tip-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(108, 92, 231, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tip-header h3 {
    color: var(--light-color);
    font-size: 1.2rem;
}

.tip-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Ready to Play Section */
.ready-to-play {
    text-align: center;
    padding: 3rem;
    background: rgba(15, 14, 23, 0.7);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
}

.ready-to-play h2 {
    color: var(--light-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.ready-to-play p {
    color: var(--gray-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .section-header h1 {
        font-size: 2.2rem;
    }
    
    .section-header .subtitle {
        font-size: 1rem;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .section-header h1 {
        font-size: 1.8rem;
    }
    
    .ready-to-play {
        padding: 2rem 1rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
}