* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #796DFF;
    --primary-muted: #675DDC;
    --primary-muted-2: #2D286E;
    --card-1: #1C1C1C;
    --card-2: #202020;
    --card-3: #2E2E2E;
    --bg-light: #F5F5F5;
    --text-dark: #1C1C1C;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-muted-dark: rgba(28, 28, 28, 0.6);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.header {
    background-color: var(--bg-light);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-headphones {
    color: rgba(28, 28, 28, 0.5);
    width: 24px;
    height: 24px;
}

.flag-icon {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    overflow: hidden;
}

.btn-telegram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-telegram:hover {
    background-color: var(--primary-muted);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(121, 109, 255, 0.3);
}

.btn-telegram svg {
    width: 16px;
    height: 16px;
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.title-line-1 {
    display: block;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.title-line-2 {
    display: block;
    color: var(--primary);
}

/* Promotions Section */
.promotions {
    padding: 60px 0 100px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.promotions-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.promo-card {
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

.promo-card-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-category {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.promo-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    font-weight: 400;
}

.promo-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.btn-promo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-promo:hover {
    background-color: var(--primary-muted);
    transform: translateX(4px);
}

.btn-promo svg {
    width: 16px;
    height: 16px;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.timer-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1;
}

.timer-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timer-separator {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 4px;
    line-height: 1;
}

.promo-card-right {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-image {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Footer */
.footer {
    padding: 60px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.footer-subscribe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.telegram-icon {
    width: 24px;
    height: 24px;
    color: var(--text-dark);
    flex-shrink: 0;
}

.footer-text {
    font-size: 0.95rem;
    color: var(--text-muted-dark);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 968px) {
    .promo-card-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .promo-card-right {
        order: -1;
    }

    .promo-image {
        height: 250px;
    }

    .promo-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 16px;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .promotions {
        padding: 40px 0 80px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .promo-card {
        padding: 30px 20px;
    }

    .promo-card-content {
        gap: 24px;
    }

    .promo-image {
        height: 200px;
    }

    .countdown-timer {
        flex-wrap: wrap;
    }

    .timer-value {
        font-size: 1.2rem;
    }

    .timer-label {
        font-size: 0.65rem;
    }

    .footer-subscribe {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .btn-telegram {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .promo-card {
        padding: 24px 16px;
    }

    .promo-description {
        font-size: 0.9rem;
    }

    .timer-value {
        font-size: 1rem;
    }

    .timer-separator {
        font-size: 1rem;
    }
}

/* Promo Detail Pages */
.promo-page {
    background-color: var(--bg-light);
}

.promo-detail {
    padding: 40px 0 80px;
    background-color: var(--bg-light);
}

.back-link {
    display: inline-block;
    color: var(--text-muted-dark);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary);
}

.promo-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.promo-detail-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.promo-detail-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.promo-detail-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted-dark);
    font-weight: 400;
}

.reward-bank {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(121, 109, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(121, 109, 255, 0.1);
    position: relative;
}

.reward-bank-timer {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.reward-timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.reward-timer-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.reward-timer-label {
    font-size: 0.65rem;
    color: var(--text-muted-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reward-timer-separator {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 2px;
    line-height: 1;
}

.reward-bank-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.reward-amount {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.reward-note {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
    font-weight: 400;
}

.promo-detail-right {
    position: relative;
}

.promo-detail-image {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.promo-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Top Participants Section */
.top-participants {
    padding: 80px 0;
    background-color: var(--card-1);
}

.top-participants .section-title {
    color: var(--text-light);
    margin-bottom: 50px;
}

.participants-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.participant-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background-color: var(--card-2);
    border-radius: 16px;
    padding: 24px 32px;
    transition: all 0.3s ease;
}

.participant-item:hover {
    background-color: var(--card-3);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(121, 109, 255, 0.2);
}

.participant-rank {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 40px;
    text-align: center;
}

.participant-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.participant-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: -0.01em;
}

.participant-reward {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.participant-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
}

/* Countdown Timer Section */
.countdown-section {
    padding: 40px 0;
    background-color: var(--bg-light);
}

.countdown-card {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    border-radius: 16px;
    padding: 24px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.countdown-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.countdown-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-muted) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.countdown-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.countdown-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.countdown-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.countdown-timer-large {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timer-item-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.timer-value-large {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.timer-label-large {
    font-size: 0.7rem;
    color: var(--text-muted-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timer-separator-large {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 4px;
    line-height: 1;
}

/* Responsive for Promo Pages */
@media (max-width: 968px) {
    .promo-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .promo-detail-right {
        order: -1;
    }

    .promo-detail-image {
        height: 350px;
    }

    .participant-item {
        padding: 20px 24px;
    }
}

@media (max-width: 768px) {
    .promo-detail {
        padding: 30px 0 60px;
    }

    .promo-detail-title {
        font-size: 2rem;
    }

    .promo-detail-description {
        font-size: 1rem;
    }

    .reward-amount {
        font-size: 2rem;
    }

    .reward-bank-timer {
        top: 12px;
        right: 12px;
    }

    .reward-timer-value {
        font-size: 0.8rem;
    }

    .reward-timer-label {
        font-size: 0.6rem;
    }

    .reward-timer-separator {
        font-size: 0.8rem;
    }

    .promo-detail-image {
        height: 280px;
    }

    .top-participants {
        padding: 60px 0;
    }

    .participant-item {
        flex-wrap: wrap;
        gap: 16px;
    }

    .participant-amount {
        width: 100%;
        text-align: right;
    }

    .countdown-card {
        flex-direction: column;
        gap: 20px;
        padding: 20px 24px;
    }

    .countdown-left {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .countdown-right {
        width: 100%;
        justify-content: center;
    }

    .timer-value-large {
        font-size: 1.4rem;
    }

    .timer-separator-large {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .promo-detail-image {
        height: 220px;
    }

    .participant-item {
        padding: 16px 20px;
    }

    .participant-rank {
        font-size: 1.2rem;
        min-width: 30px;
    }

    .participant-name {
        font-size: 1rem;
    }

    .participant-amount {
        font-size: 1rem;
    }
}
