* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, sans-serif;
    background: #f5efe3;
    color: #243b35;
}


/* =========================
   YUQORI BEZAK
========================= */

.top-pattern {
    height: 9px;

    background:
        repeating-linear-gradient(
            90deg,
            #28604d 0px,
            #28604d 35px,
            #d4a72c 35px,
            #d4a72c 70px,
            #9b3030 70px,
            #9b3030 105px,
            #28604d 105px,
            #28604d 140px
        );
}


/* =========================
   HEADER
========================= */

.video-header {
    position: relative;

    text-align: center;

    padding: 35px 20px 55px;

    background:
        linear-gradient(
            135deg,
            #1e4d3d,
            #28604d
        );

    color: white;

    overflow: hidden;
}


.video-header::before {
    content: "✦  ✧  ✦  ✧  ✦";

    position: absolute;

    top: 20px;
    left: 5%;

    color: rgba(255,255,255,0.12);

    font-size: 45px;
}


.video-header::after {
    content: "✧  ✦  ✧  ✦  ✧";

    position: absolute;

    bottom: 15px;
    right: 5%;

    color: rgba(255,255,255,0.12);

    font-size: 40px;
}


.back-button {
    position: relative;
    z-index: 2;

    display: inline-block;

    padding: 10px 20px;

    color: white;

    text-decoration: none;

    border: 1px solid rgba(255,255,255,0.7);

    border-radius: 25px;

    font-size: 14px;

    transition: 0.25s ease;
}


.back-button:hover {
    background: white;

    color: #28604d;

    transform: translateY(-2px);
}


.header-icon {
    margin-top: 28px;

    font-size: 42px;
}


.video-header h1 {
    position: relative;
    z-index: 2;

    margin-top: 8px;

    font-size: 42px;

    letter-spacing: 0.5px;
}


.video-header p {
    position: relative;
    z-index: 2;

    max-width: 650px;

    margin: 14px auto 0;

    font-size: 17px;

    line-height: 1.7;

    color: rgba(255,255,255,0.9);
}


/* =========================
   ASOSIY CONTAINER
========================= */

.video-container {
    width: 90%;

    max-width: 1100px;

    margin: 55px auto;
}


/* =========================
   SECTION INTRO
========================= */

.section-intro {
    text-align: center;

    margin-bottom: 35px;
}


.section-intro span {
    display: inline-block;

    color: #a27b16;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 8px;
}


.section-intro h2 {
    font-size: 31px;

    color: #243b35;

    margin-bottom: 10px;
}


.section-intro p {
    max-width: 650px;

    margin: auto;

    color: #64736d;

    line-height: 1.7;
}


/* =========================
   ASOSIY VIDEO
========================= */

.main-video-card {
    background: white;

    padding: 30px;

    border-radius: 24px;

    border: 2px solid #d4a72c;

    box-shadow:
        0 12px 35px rgba(36,59,53,0.12);

    margin-bottom: 40px;
}


.main-video-text {
    text-align: center;

    margin-bottom: 25px;
}


.video-badge {
    display: inline-block;

    background: #d4a72c;

    color: white;

    padding: 7px 17px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.5px;

    margin-bottom: 14px;
}


.main-video-text h2 {
    color: #243b35;

    font-size: 29px;

    margin-bottom: 10px;
}


.main-video-text p {
    max-width: 650px;

    margin: auto;

    line-height: 1.7;

    color: #68756f;
}


/* =========================
   VIDEO FRAME
========================= */

.video-frame {
    position: relative;

    width: 100%;

    padding-bottom: 56.25%;

    height: 0;

    overflow: hidden;

    border-radius: 17px;

    background: #182d27;
}


.video-frame iframe {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    border: none;
}


.main-frame {
    box-shadow:
        0 7px 25px rgba(0,0,0,0.15);
}


/* =========================
   VIDEO GRID
========================= */

.videos-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 28px;
}


.video-card {
    background: white;

    padding: 24px;

    border-radius: 20px;

    box-shadow:
        0 8px 25px rgba(36,59,53,0.08);

    transition: 0.25s ease;

    border: 1px solid #e5ded0;
}


.video-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 14px 32px rgba(36,59,53,0.13);
}


.card-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 15px;
}


.number {
    font-size: 25px;

    font-weight: 700;

    color: #d4a72c;
}


.small-badge {
    font-size: 11px;

    font-weight: 700;

    color: #28604d;

    border: 1px solid #28604d;

    padding: 5px 10px;

    border-radius: 15px;
}


.video-card h3 {
    font-size: 22px;

    color: #243b35;

    margin-bottom: 9px;
}


.video-card p {
    color: #68756f;

    line-height: 1.6;

    margin-bottom: 20px;

    min-height: 48px;
}


/* =========================
   PASTKI ESLATMA
========================= */

.video-note {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 40px;

    padding: 22px 25px;

    background: #fffaf0;

    border-left: 5px solid #d4a72c;

    border-radius: 12px;

    box-shadow: 0 5px 18px rgba(0,0,0,0.05);
}


.note-icon {
    font-size: 30px;
}


.video-note h3 {
    color: #243b35;

    margin-bottom: 5px;

    font-size: 19px;
}


.video-note p {
    color: #68756f;

    line-height: 1.5;
}


/* =========================
   FOOTER
========================= */

footer {
    margin-top: 65px;

    text-align: center;

    padding: 30px 20px;

    background: #243b35;

    color: white;
}


.footer-pattern {
    width: 120px;

    height: 4px;

    margin: 0 auto 18px;

    background:
        repeating-linear-gradient(
            90deg,
            #d4a72c 0px,
            #d4a72c 15px,
            transparent 15px,
            transparent 25px
        );
}


footer p {
    font-weight: 700;

    margin-bottom: 8px;
}


footer span {
    font-size: 13px;

    color: rgba(255,255,255,0.7);
}


/* =========================
   TELEFON
========================= */

@media (max-width: 800px) {

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .video-header h1 {
        font-size: 34px;
    }

}


@media (max-width: 600px) {

    .video-container {
        width: 94%;

        margin: 35px auto;
    }


    .video-header {
        padding: 28px 15px 45px;
    }


    .video-header h1 {
        font-size: 30px;
    }


    .video-header p {
        font-size: 15px;
    }


    .main-video-card {
        padding: 18px;

        border-radius: 18px;
    }


    .main-video-text h2 {
        font-size: 24px;
    }


    .video-card {
        padding: 18px;
    }


    .section-intro h2 {
        font-size: 26px;
    }


    .video-note {
        align-items: flex-start;

        padding: 18px;
    }

}