/* Cinema Movies TMDB Styles */
.cinema-movies-block {
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 2px solid #e5e7eb;
}

.cinema-movies-block h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.cinema-movies-block h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #374151;
}

.cinema-movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cinema-movie-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

/* Обертка для карточки */
.cinema-movie-card-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Ссылка на всю карточку */
.cinema-movie-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

/* Если нет ссылки, делаем карточку кликабельной через CSS */
.cinema-movie-card {
    position: relative;
    cursor: pointer;
}

/* Убеждаемся, что карточка кликабельна даже без ссылки */
.cinema-movies-grid .cinema-movie-card {
    cursor: pointer;
}

.cinema-movie-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.cinema-movie-card-link .cinema-movie-card {
    width: 100%;
    height: 100%;
}

.cinema-movie-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
    pointer-events: none;
}

.cinema-movie-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.cinema-movie-card:hover::before {
    opacity: 1;
}

.cinema-movie-poster {
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cinema-movie-poster::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.cinema-movie-card:hover .cinema-movie-poster::after {
    opacity: 1;
}

.cinema-movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.cinema-movie-card:hover .cinema-movie-poster img {
    transform: scale(1.05);
}

.cinema-movie-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.cinema-movie-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
    transition: all 0.3s;
}

.cinema-movie-card:hover .cinema-movie-info h3 {
    transform: translateX(4px);
}

.cinema-movie-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #374151;
}

.cinema-movie-year {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 0.5rem;
}

.cinema-movie-genres {
    font-size: 0.875rem;
    color: #4b5563;
    margin: 0 0 0.75rem;
    font-style: italic;
}

.cinema-movie-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-radius: 8px;
}

.cinema-movie-rating .stars {
    color: #fbbf24;
    font-size: 1.125rem;
    letter-spacing: 2px;
    filter: drop-shadow(0 1px 2px rgba(251, 191, 36, 0.3));
}

.cinema-movie-rating .star.full {
    color: #fbbf24;
}

.cinema-movie-rating .star.half {
    color: #fbbf24;
    opacity: 0.5;
}

.cinema-movie-rating .star.empty {
    color: #d1d5db;
}

.cinema-movie-rating .rating-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.cinema-movie-overview {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.cinema-movies-coming-soon {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.cinema-movies-coming-soon .cinema-movie-card {
    min-height: auto;
}

.cinema-movies-coming-soon .cinema-movie-poster {
    height: 300px;
}

/* FAQ Styles */
.movies-faq {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.movies-faq h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    text-align: center;
}

.faq-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.faq-answer {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* Cinema Links Styles */
.cinema-links-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.cinema-links-list li {
    margin: 0;
}

.cinema-links-list a {
    display: block;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cinema-links-list a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Hub Page Specific Styles */
.movies-hub-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.movies-hub-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #0f172a;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.movies-hub-page > p:first-of-type {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.movies-hub-page h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    color: #1e293b;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #667eea;
}

.movies-hub-page h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    color: #334155;
}

/* Enhanced Movie Cards - уже определены выше */

.cinema-movie-rating .stars {
    font-size: 1.125rem;
    letter-spacing: 2px;
}

/* Coming Soon Section */
.cinema-movies-coming-soon {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px dashed #cbd5e1;
}

/* Movie Detail Page Styles */
.movie-detail-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.movie-detail-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.movie-detail-poster {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.movie-detail-poster img {
    width: 100%;
    height: auto;
    display: block;
}

.movie-detail-info h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.movie-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.movie-detail-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.movie-detail-meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.movie-detail-meta-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.movie-detail-overview {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.movie-detail-section {
    margin: 3rem 0;
}

.movie-detail-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #667eea;
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cast-card {
    text-align: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.cast-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

.cast-photo {
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: #f1f5f9;
}

.cast-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cast-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.cast-character {
    font-size: 0.875rem;
    color: #64748b;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .cinema-movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .cinema-movie-poster {
        height: 260px;
    }
    
    .movie-detail-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .movie-detail-info h1 {
        font-size: 1.875rem;
    }
    
    .cast-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .movies-hub-page h1 {
        font-size: 2rem;
    }
    
    .movies-hub-page h2 {
        font-size: 1.75rem;
    }
    
    .cinema-links-list {
        grid-template-columns: 1fr;
    }
    
    .movies-faq {
        padding: 1.5rem;
    }
}

/* ============================================
   NEW MOVIE PAGE STRUCTURE STYLES
   ============================================ */

/* 1. INTRO BLOCK */
.movie-intro-block {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.movie-title-large {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.movie-intro-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
    font-size: 1.25rem;
}

.rating-stars {
    font-size: 1.5rem;
    color: #ffd700;
    letter-spacing: 2px;
}

.rating-value {
    font-weight: 700;
    font-size: 1.5rem;
}

.rating-label {
    opacity: 0.9;
    font-size: 1rem;
}

.movie-intro-genres {
    font-size: 1.25rem;
    margin: 1rem 0;
    opacity: 0.95;
    font-weight: 500;
}

.movie-intro-release {
    font-size: 1.1rem;
    margin-top: 1rem;
    opacity: 0.9;
}

/* 2. WHERE TO WATCH */
.movie-where-to-watch {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.movie-where-to-watch h2 {
    font-size: 1.75rem;
    margin: 0 0 1.5rem 0;
    color: #1e293b;
}

.cinema-list-simple {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.cinema-list-simple li {
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 500;
    color: #475569;
    transition: all 0.3s ease;
}

.cinema-list-simple li:hover {
    background: #f1f5f9;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.showtimes-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.showtimes-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* 3. GALLERY */
.movie-gallery-section {
    margin: 3rem 0;
}

.movie-gallery-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.movie-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gallery-backdrop {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-backdrop img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-stills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 4. TRAILER */
.movie-trailer-section {
    margin: 3rem 0;
}

.movie-trailer-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.trailer-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.trailer-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 5. STORYLINE */
.movie-storyline-section {
    margin: 3rem 0;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.movie-storyline-section h2 {
    font-size: 2rem;
    margin: 0 0 1.5rem 0;
    color: #1e293b;
}

.storyline-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
}

.storyline-content p {
    margin-bottom: 1.5rem;
}

.storyline-content p:last-child {
    margin-bottom: 0;
}

/* 6. CAST & CREW (улучшенный) */
.movie-cast-section {
    margin: 3rem 0;
}

.movie-cast-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.crew-section {
    margin-bottom: 3rem;
}

.crew-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #334155;
}

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

.crew-card {
    text-align: center;
}

.crew-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.crew-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crew-name {
    font-weight: 600;
    color: #1e293b;
}

.cast-section {
    margin-top: 2rem;
}

.cast-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #334155;
}

/* 7. RELATED MOVIES */
.movie-related-section {
    margin: 3rem 0;
}

.movie-related-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.related-movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.related-movie-card-wrapper {
    display: flex;
    width: 100%;
}

.related-movie-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
}

.related-movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.related-poster {
    width: 100%;
    padding-top: 150%; /* 2:3 aspect ratio */
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}

.related-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-movie-title {
    padding: 1rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
    line-height: 1.4;
}

.related-movie-year {
    padding: 0 1rem 1rem;
    color: #64748b;
    font-size: 0.875rem;
}

/* 8. FAQ */
.movie-faq-section {
    margin: 3rem 0;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
}

.movie-faq-section h2 {
    font-size: 2rem;
    margin: 0 0 2rem 0;
    color: #1e293b;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    color: #1e293b;
}

.faq-answer {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

/* Responsive adjustments for new structure */
@media (max-width: 768px) {
    .movie-title-large {
        font-size: 2rem;
    }
    
    .movie-intro-block {
        padding: 2rem 1.5rem;
    }
    
    .cinema-list-simple {
        grid-template-columns: 1fr;
    }
    
    .gallery-stills {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .trailer-container {
        padding-bottom: 56.25%;
    }
    
    .related-movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* Snack prices section */
.movie-snack-prices-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.movie-snack-prices-section h2 {
    margin-top: 0;
    color: #1e293b;
    font-size: 1.75rem;
}

.movie-snack-prices-section ul.snack-prices-links {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.movie-snack-prices-section ul.snack-prices-links li {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.movie-snack-prices-section ul.snack-prices-links li:before {
    content: "🍿";
    position: absolute;
    left: 0;
}

.movie-snack-prices-section ul.snack-prices-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.movie-snack-prices-section ul.snack-prices-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.movie-snack-prices-section p {
    color: #64748b;
    line-height: 1.6;
}

/* Fix for movie-title-large when it's H2 */
h2.movie-title-large {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #1e293b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

/* Related movies by genre section */
.movie-related-by-genre {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.movie-related-by-genre .genre-label {
    color: #64748b;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Countries page styles */
.countries-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.countries-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #0f172a;
    text-align: center;
}

.countries-page .countries-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.country-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.country-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.country-card a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 1.125rem;
    display: block;
}

.country-card:hover a {
    color: #667eea;
}

.countries-faq {
    margin-top: 4rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
}

.countries-faq h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.countries-faq .faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.countries-faq .faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.countries-faq .faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.countries-faq .faq-answer {
    color: #64748b;
    line-height: 1.6;
}

