  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f0f1a;
    color: #ffffff;
    line-height: 1.6;
}

/* Header and navigation */
header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 1rem 0;
    border-bottom: 3px solid #ff4d4d;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo a {
    color: #ff4d4d;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo span {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 300;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff4d4d;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #ff4d4d;
}

/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1f1f3a;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    z-index: 1;
    border-radius: 5px;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    display: block;
    border-bottom: 1px solid #333;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: #ff4d4d;
    transform: translateX(5px);
}

.dropdown:hover .dropdown-content {
    display: block;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    min-height: 60vh;
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8));
    background-size: cover;
    background-position: center;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 3rem;
    border: 1px solid #333;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff4d4d;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== ОСНОВНАЯ СЕТКА КАРТОЧЕК (ПРАВИЛЬНАЯ) ===== */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0 3rem 0;
}

/* Карточки */
.slot-card {
    background: linear-gradient(145deg, #1e1e2f, #151525);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 460px;
}

.slot-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 77, 77, 0.3);
    border-color: #ff4d4d;
}

.slot-image {
    height: 200px;
    overflow: hidden;
    background: #2a2a4a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.slot-card:hover .slot-image {
    transform: scale(1.05);
}

.slot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slot-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.slot-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ff4d4d;
}

.slot-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #aaa;
    margin: 0.5rem 0;
    min-height: 3.8rem;
}

.slot-info p {
    color: #b9c2d4;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0.5rem 0 1rem 0;
    min-height: 4rem;
}

.btn {
    display: inline-block;
    background: #ff4d4d;
    color: white;
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: auto;
    align-self: flex-start;
}

.btn:hover {
    background: #ff3333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);
}

/* Provider section */
.provider-deepdive {
    margin: 3.5rem 0 2rem;
    background: linear-gradient(145deg, #0c0f17 0%, #0a0d14 100%);
    border-radius: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 2rem;
}

.provider-deepdive h2 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(120deg, #e9d5ff, #c4b5fd, #a78bfa);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.provider-sub {
    color: #8f9bb3;
    border-left: 3px solid #8b5cf6;
    padding-left: 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.provider-deepdive h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 1.6rem 0 0.8rem 0;
    color: #e2e8ff;
    border-bottom: 2px solid rgba(139, 92, 246, 0.4);
    display: inline-block;
    padding-bottom: 6px;
}

.provider-deepdive p {
    margin-bottom: 1rem;
    color: #cdd9ff;
    line-height: 1.65;
}

.provider-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 1rem;
}

.stat-badge {
    background: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 60px;
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #cbd5ff;
}

.accent-text {
    color: #c084fc;
    font-weight: 700;
}

hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
    margin: 1.8rem 0;
}

/* Footer */
footer {
    background: #0a0a14;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 3rem;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1100px) {
    .slot-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .slot-card {
        min-height: 440px;
    }
}

@media (max-width: 850px) {
    .slot-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .slot-card {
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .nav-links a {
        font-size: 0.9rem;
    }
    .dropdown-content {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
    }
    .slot-image {
        height: 180px;
    }
    .slot-info {
        padding: 1rem;
    }
    .slot-info h3 {
        font-size: 1.3rem;
    }
    .hero {
        padding: 2rem 1rem;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 0.95rem;
    }
    main {
        padding: 0 1rem;
    }
    footer {
        padding: 1.5rem;
        font-size: 0.85rem;
    }
    .provider-deepdive {
        padding: 1.2rem;
    }
}

@media (max-width: 560px) {
    .slot-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .slot-card {
        min-height: auto;
    }
    .slot-meta {
        min-height: auto;
    }
    .slot-info p {
        min-height: auto;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo a {
        font-size: 1.4rem;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .slot-image {
        height: 150px;
    }
    .slot-info h3 {
        font-size: 1.1rem;
    }
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    .provider-deepdive h2 {
        font-size: 1.4rem;
    }
}
