/* ==========================================================================
   GENESIS FUTSAL CLUB
========================================================================== */

.genesis-section {
    position: relative;
    width: 100%;
    padding: 90px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(212, 175, 55, 0.10),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #fffdf7 0%,
            #faf6e8 100%
        );
    color: #172033;
}


.genesis-section *,
.genesis-section *::before,
.genesis-section *::after {
    box-sizing: border-box;
}


.genesis-container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}


/* ==========================================================================
   HEADING
========================================================================== */

.genesis-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 60px;
    align-items: end;
    margin-bottom: 38px;
}


.genesis-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #b08a32;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}


.genesis-heading h2 {
    margin: 0;
    color: #071536;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}


.genesis-heading > p {
    margin: 0;
    color: #687284;
    font-size: 17px;
    line-height: 1.7;
}


/* ==========================================================================
   INTRO
========================================================================== */

.genesis-intro {
    margin-bottom: 56px;
}


.genesis-intro--text-only {
    width: 100%;
}


.genesis-intro-content {
    width: 100%;
    padding: 30px 34px;
    border: 1px solid #eadfba;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow:
        0 18px 45px rgba(23, 32, 51, 0.06);
}


.genesis-intro-content p {
    margin: 0;
    color: #596274;
    font-size: 16px;
    line-height: 1.85;
}


.genesis-intro-content p + p {
    margin-top: 15px;
}


/* ==========================================================================
   COMMON BLOCK
========================================================================== */

.genesis-block {
    margin-top: 58px;
}


.genesis-block-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 24px;
}


.genesis-block-header span {
    display: block;
    margin-bottom: 7px;
    color: #b08a32;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


.genesis-block-header h3 {
    margin: 0;
    color: #071536;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.025em;
}


.genesis-block-header p {
    margin: 10px 0 0;
    color: #737b8b;
    font-size: 15px;
    line-height: 1.65;
}


/* ==========================================================================
   MAIN GALLERY
========================================================================== */

.genesis-photo-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}


.genesis-photo {
    position: relative;
    display: block;
    width: 100%;
    height: 235px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #eadfba;
    border-radius: 18px;
    background: #eee8d5;
    cursor: pointer;
    appearance: none;
}


.genesis-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}


.genesis-photo-overlay {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(7, 21, 54, 0.88);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


.genesis-photo:hover img {
    transform: scale(1.055);
    filter: brightness(0.82);
}


.genesis-photo:hover .genesis-photo-overlay {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   VIEW MORE
========================================================================== */

.genesis-gallery-hidden {
    display: none !important;
}


.genesis-view-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 150px;
    margin: 24px auto 0;
    padding: 12px 22px;
    border: 1px solid #d4af37;
    border-radius: 999px;
    background: #ffffff;
    color: #8f6d1e;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.genesis-view-more:hover {
    background: #d4af37;
    color: #ffffff;
    transform: translateY(-2px);
}


.genesis-view-more-icon {
    font-size: 16px;
    line-height: 1;
}


/* ==========================================================================
   VIDEO SECTION
========================================================================== */

.genesis-video-block {
    margin-top: 72px;
}


.genesis-video-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}


/* ==========================================================================
   VIDEO CARD
========================================================================== */

.genesis-video-row {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #eadfba;
    border-radius: 18px;
    background: #ffffff;
    box-shadow:
        0 12px 32px rgba(23, 32, 51, 0.07);
    text-align: left;
    cursor: pointer;
    appearance: none;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.genesis-video-row:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
    box-shadow:
        0 18px 40px rgba(23, 32, 51, 0.12);
}


/* ==========================================================================
   VIDEO THUMBNAIL
========================================================================== */

.genesis-video-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
        radial-gradient(
            circle at center,
            rgba(212, 175, 55, 0.30),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #071536 0%,
            #263449 100%
        );
}


.genesis-video-thumbnail > img,
.genesis-auto-thumbnail {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.genesis-video-thumbnail::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    content: "";
    background:
        linear-gradient(
            180deg,
            rgba(7, 21, 54, 0.04) 0%,
            rgba(7, 21, 54, 0.20) 100%
        );
    pointer-events: none;
}


.genesis-video-preview {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}


.genesis-instagram-preview {
    position: absolute;
    top: -48px;
    left: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 96px);
    border: 0;
    transform: scale(1.03);
    pointer-events: none;
}


.genesis-direct-video-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}


.genesis-video-number {
    position: absolute;
    top: 13px;
    left: 13px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(7, 21, 54, 0.74);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
}


.genesis-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #d4af37;
    color: #ffffff;
    box-shadow:
        0 0 0 10px rgba(212, 175, 55, 0.12),
        0 10px 28px rgba(212, 175, 55, 0.28);
    transform: translate(-50%, -50%);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.genesis-play svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
    transform: translateX(2px);
}


.genesis-video-row:hover .genesis-play {
    transform:
        translate(-50%, -50%)
        scale(1.08);
    box-shadow:
        0 0 0 13px rgba(212, 175, 55, 0.14),
        0 14px 35px rgba(212, 175, 55, 0.34);
}


/* ==========================================================================
   VIDEO META
========================================================================== */

.genesis-video-meta {
    display: flex;
    flex-direction: column;
    min-height: 92px;
    padding: 17px 17px 9px;
}


.genesis-video-kicker {
    margin-bottom: 6px;
    color: #b08a32;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}


.genesis-video-title {
    display: block;
    color: #172033;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}


.genesis-arrow {
    display: block;
    padding: 0 17px 17px;
    color: #c38e0d;
    font-size: 22px;
    line-height: 1;
}


/* ==========================================================================
   COURSE
========================================================================== */

.genesis-course {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 72px;
    padding: 42px;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(212, 175, 55, 0.24),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #071536,
            #172033
        );
    color: #ffffff;
}


.genesis-course-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #d4af37;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}


.genesis-course h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 38px);
}


.genesis-course p {
    max-width: 650px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.7;
}


.genesis-gold-button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 999px;
    background: #d4af37;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.genesis-gold-button:hover {
    background: #b8941f;
    color: #ffffff;
    transform: translateY(-2px);
}


/* ==========================================================================
   COMPACT SECTIONS
========================================================================== */

.genesis-compact-section {
    margin-top: 68px;
    padding: 34px 0;
    border-top: 1px solid #eadfba;
}


.genesis-mini-heading {
    margin-bottom: 24px;
}


.genesis-mini-heading > span {
    display: block;
    margin-bottom: 7px;
    color: #b08a32;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


.genesis-mini-heading h3 {
    margin: 0;
    color: #071536;
    font-size: 28px;
}


.genesis-line-list {
    display: grid;
    gap: 0;
}


.genesis-line-item {
    display: grid;
    grid-template-columns: 45px 220px 1fr;
    align-items: center;
    gap: 18px;
    min-height: 72px;
    padding: 15px 0;
    border-bottom: 1px solid #eadfba;
}


.genesis-line-item b {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #faf6e8;
    color: #b08a32;
    font-size: 12px;
}


.genesis-line-item strong {
    color: #172033;
    font-size: 15px;
}


.genesis-line-item span {
    color: #737b8b;
    font-size: 14px;
    line-height: 1.6;
}


/* ==========================================================================
   INSTAGRAM
========================================================================== */

.genesis-instagram {
    position: relative;
    display: grid;
    grid-template-columns: 130px 1fr 30px;
    align-items: center;
    gap: 20px;
    margin-top: 58px;
    padding: 25px 28px;
    border: 1px solid #eadfba;
    border-radius: 20px;
    background: #ffffff;
    color: #172033;
    text-decoration: none;
    box-shadow:
        0 12px 30px rgba(23, 32, 51, 0.05);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}


.genesis-instagram:hover {
    color: #172033;
    border-color: #d4af37;
    transform: translateY(-3px);
}


.genesis-instagram > span {
    color: #b08a32;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


.genesis-instagram strong {
    font-size: 17px;
}


.genesis-instagram small {
    grid-column: 2;
    color: #737b8b;
    font-size: 13px;
}


.genesis-instagram b {
    grid-column: 3;
    grid-row: 1 / span 2;
    color: #b08a32;
    font-size: 24px;
    text-align: right;
}


/* ==========================================================================
   BOTTOM GALLERY - EXACTLY 4 PER ROW
========================================================================== */

.genesis-bottom-gallery-block {
    margin-top: 72px;
}


.genesis-small-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}


.genesis-small-image {
    position: relative;
    display: block;
    width: 100%;
    height: 190px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #eadfba;
    border-radius: 17px;
    background: #eee8d5;
    cursor: pointer;
    appearance: none;
}


.genesis-small-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}


.genesis-small-overlay {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 9px 11px;
    border-radius: 10px;
    background: rgba(7, 21, 54, 0.86);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


.genesis-small-image:hover img {
    transform: scale(1.055);
    filter: brightness(0.82);
}


.genesis-small-image:hover .genesis-small-overlay {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   IMAGE MODAL
========================================================================== */

.genesis-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


.genesis-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}


.genesis-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 12, 29, 0.86);
    backdrop-filter: blur(7px);
}


.genesis-modal-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(1100px, 94vw);
    max-height: 90vh;
}


.genesis-modal-content img {
    display: block;
    max-width: 100%;
    max-height: 82vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.38);
}


.genesis-modal-caption {
    position: absolute;
    right: 70px;
    bottom: -38px;
    left: 70px;
    color: #ffffff;
    font-size: 13px;
    text-align: center;
}


.genesis-modal-close {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #eadfba;
    border-radius: 50%;
    background: #ffffff;
    color: #172033;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}


.genesis-modal-prev,
.genesis-modal-next {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d4af37;
    color: #ffffff;
    font-size: 31px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}


.genesis-modal-prev {
    left: -65px;
}


.genesis-modal-next {
    right: -65px;
}


.genesis-modal-prev:disabled,
.genesis-modal-next:disabled {
    opacity: 0.35;
    cursor: default;
}


/* ==========================================================================
   VIDEO MODAL
========================================================================== */

.genesis-video-modal-content {
    position: relative;
    z-index: 2;
    width: min(900px, 92vw);
    padding: 0;
}


.genesis-video-frame-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.70);
    border-radius: 16px;
    background: #000000;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.45);
    aspect-ratio: 16 / 9;
}


.genesis-video-frame-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000000;
}


.genesis-video-modal-content .genesis-modal-close {
    top: -52px;
    right: 0;
}


/* ==========================================================================
   BODY MODAL LOCK
========================================================================== */

body.genesis-modal-open {
    overflow: hidden;
}


/* ==========================================================================
   REVEAL
========================================================================== */

.reveal-item {
    animation: genesisFadeUp 0.7s ease both;
}


@keyframes genesisFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   TABLET
========================================================================== */

@media (max-width: 1000px) {

    .genesis-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }


    .genesis-photo-strip,
    .genesis-video-list,
    .genesis-small-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .genesis-course {
        align-items: flex-start;
        flex-direction: column;
    }


    .genesis-line-item {
        grid-template-columns: 45px 180px 1fr;
    }


    .genesis-modal-prev {
        left: 10px;
    }


    .genesis-modal-next {
        right: 10px;
    }

}


/* ==========================================================================
   MOBILE
========================================================================== */

@media (max-width: 680px) {

    .genesis-section {
        padding: 65px 0;
    }


    .genesis-container {
        width: min(
            100% - 28px,
            1160px
        );
    }


    .genesis-heading h2 {
        font-size: 40px;
    }


    .genesis-intro-content {
        padding: 23px 20px;
        border-radius: 17px;
    }


    .genesis-photo-strip,
    .genesis-video-list,
    .genesis-small-gallery {
        grid-template-columns: 1fr;
    }


    .genesis-photo {
        height: 230px;
    }


    .genesis-small-image {
        height: 220px;
    }


    .genesis-video-row {
        border-radius: 16px;
    }


    .genesis-video-thumbnail {
        aspect-ratio: 16 / 9;
    }


    .genesis-course {
        padding: 28px 22px;
        border-radius: 19px;
    }


    .genesis-line-item {
        grid-template-columns: 38px 1fr;
        gap: 12px;
    }


    .genesis-line-item span {
        grid-column: 2;
    }


    .genesis-instagram {
        grid-template-columns: 1fr 30px;
    }


    .genesis-instagram strong,
    .genesis-instagram small {
        grid-column: 1;
    }


    .genesis-instagram b {
        grid-column: 2;
        grid-row: 1 / span 3;
    }


    .genesis-modal {
        padding: 15px;
    }


    .genesis-modal-content {
        width: 100%;
    }


    .genesis-modal-close {
        top: -54px;
        right: 0;
    }


    .genesis-modal-prev,
    .genesis-modal-next {
        width: 42px;
        height: 42px;
        font-size: 26px;
    }


    .genesis-modal-prev {
        left: 8px;
    }


    .genesis-modal-next {
        right: 8px;
    }


    .genesis-modal-caption {
        right: 55px;
        bottom: -35px;
        left: 55px;
    }


    .genesis-video-modal-content {
        width: 100%;
    }


    .genesis-video-modal-content .genesis-modal-close {
        top: -54px;
        right: 0;
    }

}


/* ==========================================================================
   REDUCED MOTION
========================================================================== */

@media (prefers-reduced-motion: reduce) {

    .genesis-section *,
    .genesis-section *::before,
    .genesis-section *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}