/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6B3FE4;
    --secondary-color: #8B5CF6;
    --accent-color: #A78BFA;
    --dark-bg: #1F1F1F;
    --light-bg: #F5F5F7;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-gray: #6B6B6B;
    --border-radius: 16px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(107, 63, 228, 0.15);
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 820px;
    width: 90%;
    animation: slideUp 0.4s ease;
    position: relative;
}

.modal-header-label {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
}

/* Age Modal */
.age-modal h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    margin-top: 10px;
    color: var(--text-dark);
}

.age-modal .modal-main-text {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.age-modal .modal-subtitle {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 35px;
}

.age-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-age {
    flex: 1;
    min-width: 180px;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito Sans', sans-serif;
}

.btn-yes {
    background: #5014DB;
    color: var(--white);
}

.btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(80, 20, 219, 0.4);
    background: #4511C4;
}

.btn-no {
    background: #000000;
    color: var(--white);
}

.btn-no:hover {
    background: #2A2A2A;
}

/* Cookie Modal */
.cookie-modal {
    max-width: 520px;
}

.cookie-modal h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    margin-top: 10px;
    color: var(--text-dark);
}

.cookie-modal p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-cookie {
    flex: 1;
    min-width: 180px;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito Sans', sans-serif;
}

.btn-accept {
    background: #5014DB;
    color: var(--white);
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(80, 20, 219, 0.4);
    background: #4511C4;
}

.btn-decline {
    background: #000000;
    color: var(--white);
}

.btn-decline:hover {
    background: #2A2A2A;
}

/* Header */
.header {
    padding: 30px 0;

}

.logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
}
.logo a {
    text-decoration: none;
    color: #4511C4;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: var(--white);
    margin: 30px auto;
    border-radius: var(--border-radius);
    max-width: 1200px;
    padding-top: 0;

    border-radius: 60px;
background: #FFF;
padding: 24px 40px 43px 40px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-dark);
}

.hero-description {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-description p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* Platforms Section */
.platforms {
    padding: 40px 0;
}

.platform-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.platform-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.platform-rank {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-dark);
    min-width: 60px;
    text-align: center;
}

.platform-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    flex: 1;
}

.platform-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.platform-logo {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    height: 100px;

    border-radius: 10px;
background: #5014DB;
}

.platform-logo img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
}

.platform-offer {
    text-align: left;
}

.offer-label {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-amount {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-dark);
    margin: 5px 0;
}

.offer-bonus {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
}

.platform-rating {
    text-align: left;
}

.rating-score {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.rating-stars {
    font-size: 18px;
    margin-bottom: 5px;
}

.rating-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-cta {
    min-width: 150px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;

    border-radius: 10px;
background: #5014DB;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 63, 228, 0.4);
}

/* Info Cards Section */
.info-cards {
    padding: 60px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;

    transition: all 0.3s ease;
}

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

.card-icon {
    margin-bottom: 20px;
}

.card-icon img {
    width: 80px;
    height: 80px;
}

.card-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);

    color: #000;
leading-trim: both;
text-edge: cap;
font-family: "Nunito Sans";
font-size: 28px;
font-style: normal;
font-weight: 700;
line-height: 100%; /* 28px */
letter-spacing: -0.84px;
text-align: left;
}

.card-content p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.6;
    color: #000;
leading-trim: both;
text-edge: cap;
font-family: "Nunito Sans";
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 24px */
letter-spacing: -0.48px;
text-align: left;
}

/* Footer */
.footer {
    margin: 0 auto;
    background: var(--white);
    padding: 50px 0 30px;
    margin-top: 60px;

    border-radius: 50px;
background: #FFF;
padding: 56px 80px 24px 80px;
max-width: 1160px;
margin-bottom: 40px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logos img {
    height: 40px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    max-width: 160px;
}

.footer-logos img:hover {
    opacity: 1;
}

.footer-copyright {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    padding-top: 20px;
    border-top: 1px solid #E5E5E5;
}

.platform-info-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    gap: 20px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .platform-wrapper {
        gap: 20px;
    }
    
    .platform-rank {
        font-size: 40px;
        min-width: 50px;
    }
    
    .platform-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px;
    }
    
    .platform-info-mobile {
        display: contents;
    }
    
    .platform-logo {
        min-width: 80%;
        justify-self: center;
    }
    
    .platform-offer {
        text-align: center;
    }
    
    .platform-cta {
        width: 100%;
    }
    
    .btn-primary {
        width: 100%;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 26px;
    }
    
    .hero {
        padding: 40px 0;
        margin: 20px auto;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description p {
        font-size: 15px;
    }
    
    .hero-image img {
        max-width: 200px;
    }
    
    /* Скрыть цифры на мобилке */
    .platform-rank {
        display: none;
    }
    
    .platform-wrapper {
        gap: 0;
    }
    
    .platform-item {
        padding: 30px 20px;
        gap: 20px;
        display: flex;
        flex-direction: column;
    }
    
    .platform-logo {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
        height: 90px;
        padding: 20px 30px;
    }
    
    .platform-logo img {
        max-height: 50px;
    }
    
    /* На мобилке: сумма слева, рейтинг справа в одну строку */
    .platform-info-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 20px;
    }
    
    .platform-offer {
        text-align: left;
    }
    
    .platform-rating {
        text-align: right;
    }
    
    .offer-amount {
        font-size: 32px;
    }
    
    .rating-score {
        font-size: 28px;
    }
    
    .rating-stars {
        font-size: 16px;
    }
    
    .platform-cta {
        width: 100%;
    }
    
    .footer-nav {
      
        align-items: center;
        gap: 15px;
    }
    
    .footer-logos {
        gap: 20px;
    }
    
    .footer-logos img {
        height: 30px;
    }
    
    .age-buttons,
    .cookie-buttons {
        flex-direction: column;
    }
    
    .btn-age,
    .btn-cookie {
        width: 100%;
    }
    
    .modal-content {
        padding: 35px 25px;
    }
    
    .modal-header-label {
        left: 25px;
        top: 15px;
    }
    
    .age-modal h2,
    .cookie-modal h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .platform-info-mobile{
        justify-content: center;
    }
    
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-description p {
        font-size: 14px;
    }
    
    .platform-logo {
        max-width: 70%;
        height: 80px;
    }
    
    .offer-amount {
        font-size: 28px;
    }
    
    .rating-score {
        font-size: 24px;
    }
    
    .card-title {
        font-size: 19px;
    }
    
    .card-content p {
        font-size: 14px;
    }
    
    .info-card {
        padding: 30px 20px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .age-modal h2,
    .cookie-modal h2 {
        font-size: 22px;
    }
}