/* 
 * CSS для главной страницы
 * Размер: ~16KB (минимизировать для продакшена)
 * Mobile First подход
 */
/* Fonts - Using Google Fonts */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold-primary: #F7B72A;
    --gold-light: #FFE752;
    --gold-medium: #EDBC44;
    --gold-dark: #D4931E;
    --gold-darker: #A75E06;
    --blue-primary: #155FB3;
    --blue-dark: #0A2877;
    --blue-darker: #113984;
    --dark-bg: #1a1a1a;
    --dark-text: #070707;
    --white: #FFFFFF;
    --gray-light: #EEEDED;
    --gray-medium: #888787;
    --text-primary: #2c2c2c;
    --text-secondary: #555555;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--white);
    overflow-x: hidden;
}

/* Header - Mobile First */
header {
    background: linear-gradient(135deg, var(--blue-darker) 0%, var(--blue-primary) 100%);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.logo {
    height: 45px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
    max-width: 180px;
}

.main-nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--gold-light);
}

/* Hero Section - Mobile First */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 20px;
    border-bottom: 3px solid var(--gold-primary);
}

.hero-content {
    max-width: 100%;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--blue-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.hero-section h1 {
    font-size: 1.8rem;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-description-wrapper {
    position: relative;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
    text-align: left;
}

.hero-ellipsis {
    display: inline;
    font-weight: 600;
    color: var(--blue-primary);
}

.hero-description-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out, margin 0.3s ease-out;
    opacity: 0;
    margin-top: 0;
}

.hero-description-collapsible.expanded {
    max-height: 2000px;
    opacity: 1;
    margin-top: 20px;
    transition: max-height 0.5s ease-in, opacity 0.4s ease-in, margin 0.4s ease-in;
}

.hero-read-more-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-darker) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(21, 95, 179, 0.3);
}

.hero-read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(21, 95, 179, 0.4);
    background: linear-gradient(135deg, var(--blue-darker) 0%, var(--blue-primary) 100%);
}

.hero-read-more-btn:active {
    transform: translateY(0);
}

/* Article Meta Info - Mobile First */
.article-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #e0e0e0;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.meta-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.meta-text {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Casinos Section - Mobile First */
.casinos-section {
    padding: 50px 20px;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    font-weight: 700;
}

.casinos-grid {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.casino-card {
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--gold-primary);
}

.casino-top-1 {
    background: linear-gradient(135deg, #fff9e6 0%, #fff4d6 100%);
    border: 3px solid var(--gold-primary);
    box-shadow: 0 8px 30px rgba(247, 183, 42, 0.3);
    position: relative;
    overflow: hidden;
}

.casino-top-1::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(247, 183, 42, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.top-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(247, 183, 42, 0.4);
    z-index: 10;
}

.casino-logo {
    height: 70px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.casino-top-1 .casino-logo {
    height: 80px;
}

.casino-logo img {
    max-height: 100%;
    max-width: 200px;
    width: auto;
    object-fit: contain;
}

/* Tonyspins logo background */
.casino-tonyspins .casino-logo {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-darker) 100%);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.casino-tonyspins .casino-logo img {
    filter: brightness(0) invert(1);
}

.casino-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.casino-info h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 18px;
    font-weight: 700;
}

.casino-top-1 .casino-info h3 {
    font-size: 1.8rem;
    color: var(--blue-darker);
}

.casino-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-item strong {
    color: var(--blue-primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.detail-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.casino-btn,
.top-card__btn {
    display: inline-block;
    margin-top: auto;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 183, 42, 0.3);
    border: none;
    cursor: pointer;
    width: 100%;
    align-self: flex-end;
    font-family: inherit;
}

.casino-btn:hover,
.top-card__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 183, 42, 0.5);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
}

.casino-top-1 .casino-btn,
.casino-top-1 .top-card__btn {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-darker) 100%);
    box-shadow: 0 4px 15px rgba(21, 95, 179, 0.3);
    font-size: 1.1rem;
    padding: 16px 35px;
}

.casino-top-1 .casino-btn:hover,
.casino-top-1 .top-card__btn:hover {
    background: linear-gradient(135deg, var(--blue-darker) 0%, var(--blue-primary) 100%);
    box-shadow: 0 6px 20px rgba(21, 95, 179, 0.5);
}

.casinos-note {
    max-width: 1400px;
    margin: 40px auto 0;
    text-align: center;
    font-style: italic;
    color: var(--text-secondary);
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Content Sections - Mobile First */
.content-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-section h2 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.content-section p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
    text-align: left;
    line-height: 1.7;
}

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 60px 40px;
    margin: 40px auto;
}

.faq-item {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 1.4rem;
    color: var(--blue-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Conclusion Section */
.conclusion-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 60px 40px;
    margin: 40px auto;
    border-left: 5px solid var(--gold-primary);
}

.conclusion-section h2 {
    color: var(--blue-darker);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--blue-darker) 0%, var(--blue-primary) 100%);
    padding: 40px 30px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo-item {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.footer-logo-item:hover {
    transform: scale(1.05);
}

.footer-logo-item img {
    max-height: 100%;
    max-width: 150px;
    width: auto;
    object-fit: contain;
}

.footer-text {
    text-align: center;
    color: var(--white);
}

.footer-text p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Responsive Design - Mobile First (min-width) */
@media (min-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }
}

@media (min-width: 768px) {
    .header-container {
        padding: 0 30px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .main-nav {
        width: auto;
        justify-content: flex-end;
        gap: 25px;
    }

    .hero-section {
        padding: 50px 30px;
    }

    .hero-section h1 {
        font-size: 2.4rem;
    }

    .hero-description {
        font-size: 1.05rem;
        text-align: justify;
    }

    .article-meta {
        gap: 25px;
        margin-top: 30px;
        padding-top: 25px;
    }

    .meta-item {
        font-size: 0.9rem;
    }

    .meta-icon {
        width: 18px;
        height: 18px;
    }

    .casinos-section {
        padding: 60px 30px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .casinos-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        margin-bottom: 35px;
    }

    .casino-card {
        padding: 22px;
    }

    .casino-logo {
        height: 75px;
        margin-bottom: 20px;
    }

    .casino-top-1 .casino-logo {
        height: 90px;
    }

    .casino-info h3 {
        font-size: 1.6rem;
    }

    .casino-top-1 .casino-info h3 {
        font-size: 2rem;
    }

    .content-section {
        padding: 50px 30px;
    }

    .content-section h2 {
        font-size: 2rem;
    }

    .content-section p {
        font-size: 1.05rem;
        text-align: justify;
    }

    .faq-section {
        padding: 50px 30px;
    }

    .footer-logos {
        gap: 20px;
    }

    .footer-logo-item {
        height: 55px;
        padding: 10px 18px;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 60px 30px;
    }

    .hero-section h1 {
        font-size: 2.8rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .casinos-section {
        padding: 80px 30px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .casinos-grid {
        max-width: 1400px;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
        margin-bottom: 40px;
    }

    .casino-card {
        padding: 25px;
    }

    .casino-logo {
        height: 80px;
    }

    .casino-top-1 .casino-logo {
        height: 100px;
    }

    .casino-info h3 {
        font-size: 1.8rem;
    }

    .casino-top-1 .casino-info h3 {
        font-size: 2.2rem;
    }

    .casino-top-1 {
        grid-column: 1 / -1;
    }

    .content-section {
        max-width: 1000px;
        padding: 60px 30px;
    }

    .content-section h2 {
        font-size: 2.2rem;
    }

    .article-meta {
        gap: 25px;
    }

    .meta-item {
        font-size: 0.95rem;
    }

    .meta-icon {
        width: 20px;
        height: 20px;
    }
}


