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

:root {
    --color-yellow: #FFBC00;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-dark: #1a1a1a;
    --color-gray-light: #f5f5f5;
}

html {
    font-size: 16px;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: var(--color-black);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/img/background.jpg') center center / cover no-repeat fixed;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem 1rem;
}

.hero__container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

/* Logo */
.hero__logo {
    width: 100%;
    text-align: center;
    animation: fadeInDown 1s ease-out;
}

.hero__logo-img {
    max-width: 250px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(255, 188, 0, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hero__logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 20px rgba(255, 188, 0, 0.5));
}

/* Content Layout */
.hero__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Text Content */
.hero__text {
    z-index: 5;
    max-width: 900px;
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    color: var(--color-white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero__title-line {
    display: inline;
}

.hero__title-line--yellow {
    color: var(--color-yellow);
    font-weight: 900;
    text-shadow: 0 0 20px rgba(255, 188, 0, 0.6), 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* Promo Code Badge */
.hero__promo-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--color-yellow) 0%, #FFD700 100%);
    color: var(--color-black);
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(255, 188, 0, 0.6), 0 0 50px rgba(255, 188, 0, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
    animation: bounce 2s ease-in-out infinite, glow-pulse 2s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.hero__promo-code::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}

.hero__promo-code-label {
    font-weight: 700;
    font-size: 1.125rem;
    opacity: 0.9;
}

.hero__promo-code-value {
    font-weight: 900;
    font-size: 1.75rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* CTA Button */
.hero__cta {
    position: relative;
    background: var(--color-yellow);
    color: var(--color-black);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1.5rem 3.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(255, 188, 0, 0.4), 0 0 40px rgba(255, 188, 0, 0.2);
    overflow: hidden;
    animation: pulse 2s ease-in-out infinite;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hero__cta-icon {
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: light-sweep 3s ease-in-out infinite;
}

.hero__cta:hover {
    background: var(--color-white);
    color: var(--color-black);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 188, 0, 0.6), 0 0 60px rgba(255, 188, 0, 0.4);
}

.hero__cta:active {
    transform: translateY(-2px) scale(1.02);
}

.hero__cta:focus {
    outline: 3px solid var(--color-yellow);
    outline-offset: 4px;
}

/* Promo Text */
.hero__promo-text {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero__promo-text--yellow {
    color: var(--color-yellow);
    font-weight: 700;
}

/* CTA Button - Telegram variant */
.hero__cta--telegram {
    background: transparent;
    color: var(--color-white);
    border: 3px solid var(--color-yellow);
    box-shadow: 0 4px 15px rgba(255, 188, 0, 0.3);
    animation: pulse-telegram 2.5s ease-in-out infinite;
    font-size: 1.125rem;
    padding: 1.25rem 3rem;
}

.hero__cta--telegram::before {
    background: linear-gradient(90deg, transparent, rgba(255, 188, 0, 0.2), transparent);
}

.hero__cta--telegram:hover {
    background: var(--color-yellow);
    color: var(--color-black);
    border-color: var(--color-yellow);
    box-shadow: 0 6px 25px rgba(255, 188, 0, 0.5);
    transform: translateY(-3px) scale(1.03);
}

.hero__cta--telegram:active {
    transform: translateY(-1px) scale(1.01);
}

.hero__cta--telegram:focus {
    outline: 3px solid var(--color-yellow);
    outline-offset: 4px;
}

/* Coupon */
.hero__coupon {
    width: 100%;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero__coupon-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(255, 188, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero__coupon-img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 188, 0, 0.5);
}

/* Animations */
@keyframes light-sweep {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 25px rgba(255, 188, 0, 0.4), 0 0 40px rgba(255, 188, 0, 0.2);
    }
    50% {
        box-shadow: 0 8px 35px rgba(255, 188, 0, 0.6), 0 0 60px rgba(255, 188, 0, 0.4);
    }
}

@keyframes pulse-telegram {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 188, 0, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(255, 188, 0, 0.5), 0 0 40px rgba(255, 188, 0, 0.3);
    }
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(255, 188, 0, 0.6), 0 0 50px rgba(255, 188, 0, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 12px 40px rgba(255, 188, 0, 0.8), 0 0 80px rgba(255, 188, 0, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.5);
    }
}

@keyframes shine {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(50%, 50%) rotate(45deg);
    }
}

/* Responsive Design - Mobile First */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__cta {
        font-size: 1.125rem;
        padding: 1.25rem 3rem;
    }

    .hero__container {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 1.5rem 0.75rem;
    }

    .hero__container {
        padding: 1.5rem;
        gap: 2rem;
    }

    .hero__logo-img {
        max-width: 200px;
    }

    .hero__title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .hero__promo-code {
        font-size: 1.25rem;
        padding: 0.875rem 2rem;
        margin-bottom: 1.5rem;
    }

    .hero__promo-code-label {
        font-size: 1rem;
    }

    .hero__promo-code-value {
        font-size: 1.5rem;
    }

    .hero__cta {
        font-size: 1rem;
        padding: 1.25rem 2.5rem;
        width: 100%;
        max-width: 350px;
    }

    .hero__cta--telegram {
        font-size: 1rem;
        padding: 1.125rem 2.5rem;
    }

    .hero__promo-text {
        font-size: 1rem;
        margin-top: 1.5rem;
    }

    .hero__coupon {
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1rem 0.5rem;
    }

    .hero__container {
        padding: 1rem;
        gap: 1.5rem;
    }

    .hero__logo-img {
        max-width: 160px;
    }

    .hero__title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }

    .hero__promo-code {
        font-size: 1.125rem;
        padding: 0.75rem 1.5rem;
        margin-bottom: 1.25rem;
        gap: 0.5rem;
    }

    .hero__promo-code-label {
        font-size: 0.875rem;
    }

    .hero__promo-code-value {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }

    .hero__cta {
        font-size: 0.9rem;
        padding: 1.125rem 2rem;
        max-width: 300px;
        gap: 0.5rem;
    }

    .hero__cta-icon {
        width: 24px;
        height: 24px;
    }

    .hero__cta--telegram {
        font-size: 0.9rem;
        padding: 1rem 2rem;
    }

    .hero__promo-text {
        font-size: 0.9rem;
        margin-top: 1.25rem;
        margin-bottom: 1rem;
    }

    .hero__coupon {
        max-width: 100%;
    }
}

@media (max-width: 360px) {
    .hero__title {
        font-size: 1.25rem;
    }

    .hero__promo-code {
        font-size: 1rem;
        padding: 0.625rem 1.25rem;
        margin-bottom: 1rem;
    }

    .hero__promo-code-label {
        font-size: 0.75rem;
    }

    .hero__promo-code-value {
        font-size: 1.125rem;
    }

    .hero__cta {
        font-size: 0.85rem;
        padding: 1rem 1.5rem;
    }

    .hero__cta--telegram {
        font-size: 0.85rem;
        padding: 0.875rem 1.5rem;
    }

    .hero__logo-img {
        max-width: 140px;
    }
}
