* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: "Poppins", sans-serif;
    background: #f1f3f5;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

ul {
    list-style-type: none;
}

/* NAVBAR 
=============================== /
/ .navbar {
    display: flex;
    justify-content: space-between;
    height: 80px;
    align-items: center;
    overflow: hidden;
    opacity: 1;
}
.navbar > div {
    padding: 0 30px;
    font-size: 20px;
}
.navbar .menu {
    margin-right: auto;
}
.navbar .lang {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
} */
/* SOCIAL MEDIA 
=============================== */
.media ul {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.media ul li {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    display: inline-block;
    padding: 0 30px;
    text-transform: uppercase;
}

.media ul li a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.media ul li a:hover {
    color: #E43232;
}

/* TEXT 
=============================== */
.text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: clamp(5px, 2vw, 10px);
    position: relative;
    overflow: hidden;
    height: auto;
    width: auto;
    margin-bottom: 20px;
}

.text h1 .hide--text {
    display: inline;
}

.text h2 {
    color: #E43232;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin: 10px 0;
    opacity: 1;
}

.text h3 {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1;
    margin: 20px 0;
}

.text h3 .hide--text {
    display: inline;
}

.text p {
    width: min(90%, 500px);
    font-size: clamp(0.8rem, 3vw, 1rem);
    margin: 60px auto 0;
    text-align: center;
}

.text p .hide--text {
    display: inline;
}

/* SPONSOR 
=============================== */
.sponsor {
    position: absolute;
    right: 100px;
    bottom: 100px;
    text-align: center;
}

.sponsor img {
    width: 200px;
    opacity: 1;
}

.sponsor p {
    margin-top: 20px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 900;
}

/* DISTORTION 
=============================== */
.distortion {
    display: flex;
    width: 300px;
    height: 400px;
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

/* OVERLAY 
=============================== */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 99;
    overflow: hidden;
}

.overlay.first {
    background: #E43232;
}

.overlay.second {
    background: #E43232;
    left: 33.33%;
}

.overlay.third {
    background: #E43232;
    left: 66.66%;
}

/* MOBILE LAYOUT for max-width: 768px */
@media (max-width: 768px) {
    body {
        overflow: auto !important;
        height: auto !important;
        padding: 12px;
    }

    .wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        min-height: 100vh;
    }

    /* 1) Social row — always a single row, scales with screen */
    .media {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 30px 0 20px;
        padding: 10px;
    }

    .media ul {
        display: flex !important;
        gap: clamp(20px, 6vw, 35px);
        padding: 10px;
        margin: 0;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .media ul li {
        display: inline-block;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        white-space: nowrap;
        font-size: clamp(16px, 4.5vw, 20px);
        padding: 12px 16px;
    }

    .media ul li a {
        text-decoration: none;
        color: inherit;
        transition: color 0.3s;
    }

    .media ul li a:hover {
        color: #E43232;
    }

    /* 2) Text block becomes flow (h1,h2,h3) */
    .text {
        display: contents !important;
        position: static !important;
        transform: none !important;
    }

    /* 2) L2 Telecom title (single row) */
    .text h1 {
        order: 2;
        font-size: clamp(32px, 8vw, 52px);
        letter-spacing: clamp(5px, 3.5vw, 14px);
        font-weight: 900;
        margin: 0;
        white-space: nowrap;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 10px 20px;
        margin-top: 25px;
    }

    /* 3) Coming Soon */
    .text h2 {
        order: 3;
        font-size: clamp(24px, 6vw, 36px);
        margin: 20px 0;
        color: #E43232;
        font-weight: 700;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 10px 20px;
    }

    /* 4) Telecom Services */
    .text h3 {
        order: 4;
        font-size: clamp(18px, 4.5vw, 26px);
        margin: 20px 0 25px;
        text-transform: uppercase;
        font-weight: 600;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 10px 20px;
    }

    /* 5) Logo — responsive, centered, fits screen width */
    .distortion {
        order: 5;
        position: static;
        /* stop absolute positioning */
        display: flex;
        /* center it */
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 40px 0 20px;
        /* reduced spacing below */
        padding: 0;
    }

    .distortion img {
        width: clamp(150px, 50vw, 300px);
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

    /* 6) Paragraph text */
    .text p {
        order: 6;
        width: 100%;
        max-width: 95%;
        font-size: clamp(16px, 4vw, 18px);
        margin: 20px auto 0;
        /* reduced spacing above */
        line-height: 1.6;
        text-align: center;
        padding: 10px 20px;
    }

    /* 7) Sponsor at the bottom */
    .sponsor {
        order: 7;
        width: 100%;
        text-align: center;
        margin: 30px 0 40px;
        position: static;
        right: auto;
        bottom: auto;
        padding: 10px;
    }

    .sponsor p {
        font-weight: 900;
        text-transform: uppercase;
        font-size: clamp(10px, 2.8vw, 12px);
        margin: 0;
    }

    /* overlays work in media mode */
}

/* Extra tightening for very small phones */
@media (max-width: 420px) {
    body {
        overflow: auto !important;
        height: auto !important;
        padding: 10px;
    }

    .wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        min-height: 100vh;
    }

    /* 1) Social row — always a single row */
    .media {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 20px 0 15px;
        padding: 8px;
    }

    .media ul {
        display: flex !important;
        gap: clamp(15px, 5vw, 25px);
        padding: 8px;
        margin: 0;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .media ul li {
        display: inline-block;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        white-space: nowrap;
        font-size: clamp(8px, 4.2vw, 11px);
        padding: 10px 5px;
    }

    .media ul li a {
        text-decoration: none;
        color: inherit;
        transition: color 0.3s;
    }

    .media ul li a:hover {
        color: #E43232;
    }

    /* 2) Text block */
    .text {
        display: contents !important;
        position: static !important;
        transform: none !important;
    }

    /* 2) L2 Telecom title */
    .text h1 {
        order: 2;
        font-size: clamp(28px, 7.5vw, 38px);
        letter-spacing: clamp(4px, 3vw, 10px);
        font-weight: 900;
        margin: 0;
        white-space: nowrap;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 8px 15px;
        margin-top: 15px;
    }

    /* 3) Coming Soon */
    .text h2 {
        order: 3;
        font-size: clamp(20px, 5vw, 28px);
        margin: 15px 0;
        color: #E43232;
        font-weight: 700;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 8px 15px;
    }

    /* 4) Telecom Services */
    .text h3 {
        order: 4;
        font-size: clamp(16px, 4vw, 20px);
        margin: 55px 0 20px;
        text-transform: uppercase;
        font-weight: 600;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 8px 15px;
    }

    /* 5) Logo (distortion) */
    .distortion {
        order: 5;
        position: static;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 70px 0 15px;
        padding: 0;
    }

    .distortion img {
        width: clamp(80px, 60vw, 120px);
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

    /* 6) Paragraph text */
    .text p {
        order: 6;
        width: 100%;
        max-width: 90%;
        font-size: clamp(7px, 3.5vw, 12px);
        margin: 15px auto 0;
        /* reduced spacing */
        line-height: 1.6;
        text-align: center;
        padding: 8px 15px;
    }

    /* 7) Sponsor */
    .sponsor {
        order: 7;
        width: 100%;
        text-align: center;
        margin: 45px 0 35px;
        position: static;
        right: auto;
        bottom: auto;
        padding: 8px;
    }

    .sponsor p {
        font-weight: 900;
        text-transform: uppercase;
        font-size: 10px;
        margin: 0;
    }

    /* overlays work in media mode */
}