/* Guides Page Styles for Luxury Social Casino */

/* Featured Guides */
.featured-guides {
    padding: 3rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/section_bg.png');
    background-size: cover;
}

.featured-guides h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guide-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
    border-color: var(--accent-color);
}

.guide-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.guide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), rgba(255, 215, 0, 0.1));
}

.guide-level {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.guide-content {
    padding: 1.5rem;
}

.guide-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
}

.guide-duration {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.guide-category {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.guide-title {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    line-height: 1.3;
}

.guide-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.guide-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.guide-features {
    margin-bottom: 1.5rem;
}

.guide-features h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.guide-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-features li {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    opacity: 0.9;
    position: relative;
    padding-left: 1.5rem;
}

.guide-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.guide-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.guide-read-more:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.guide-read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.guide-read-more:hover::after {
    transform: translateX(3px);
}

/* Quick Tips Section */
.quick-tips {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/card_bg.png');
    background-size: cover;
    padding: 3rem 0;
}

.quick-tips h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.tip-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.tip-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.tip-card p {
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.5;
}

/* Guide Images */
.guide-image.beginner {
    background-image: url('images/accent_element.png');
}

.guide-image.intermediate {
    background-image: url('images/decorative_icon.png');
}

.guide-image.advanced {
    background-image: url('images/hero_desktop_bg.png');
}

/* Mobile Styles */
@media (max-width: 768px) {
    .featured-guides,
    .quick-tips {
        padding: 2rem 0;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .guide-card,
    .tip-card {
        margin: 0 0.5rem;
    }
    
    .guide-content {
        padding: 1rem;
    }
    
    .guide-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .guide-title {
        font-size: 1.1rem;
    }
    
    .guide-description {
        font-size: 0.9rem;
    }
    
    .tip-card {
        padding: 1rem;
    }
    
    .tip-icon {
        font-size: 2rem;
    }
}

/* Loading Animation */
.guides-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No Guides Found */
.no-guides {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-light);
    opacity: 0.8;
}

.no-guides h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.no-guides p {
    font-size: 1.1rem;
}

/* Guide Animation */
.guide-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.guide-card:nth-child(1) { animation-delay: 0.1s; }
.guide-card:nth-child(2) { animation-delay: 0.2s; }
.guide-card:nth-child(3) { animation-delay: 0.3s; }
.guide-card:nth-child(4) { animation-delay: 0.4s; }
.guide-card:nth-child(5) { animation-delay: 0.5s; }

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

/* Responsive Grid Adjustments */
@media (min-width: 1200px) {
    .guides-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
