@import url('https://fonts.googleapis.com/css2?family=Sigmar&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Rajdhani', sans-serif;
    text-align: center;
    background-color: hsl(20, 14.3%, 4.1%);
    color: hsl(0, 0%, 95%);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    
}

header {
    background-color: hsl(24, 9.8%, 10%);
    z-index: 1000;
    height: 4rem;
    width: 100%;
    font-size: 2rem;
    font-weight: bold;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;

}

h1 {
    display: block;
    font-size: 1.5em;
    position: fixed;
    text-align: center;
}

.green-text {
    color: hsl(142, 76%, 36%);
    font-weight: bold;
    text-align: center;
    justify-content: center;
}

.ff {
    color: rgb(14, 159, 159);
    font-family: "Sigmar", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2em;
    text-align: center;
    margin-top: 4.5rem;
}

.freefire {
    display: flex;
    justify-content: center;
    align-items: center;
}

img {
    margin-top: 0.2rem;
    width: 28.5rem;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(194, 194, 194, 0.2);
}

.pubg {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bgmi {
    color: rgb(14, 87, 159);
    font-family: "Sigmar", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2em;
    text-align: center;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.countdown-section {
    margin: 20px auto;
    padding: 20px;
    background: hsl(0, 0%, 9%);
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 4px 8px 3px rgba(0, 255, 0, 0.3);
}

#countdown {
    font-size: 1rem;
    font-weight: bold;
    color: hsl(142, 76%, 36%);
}

.button-container {
    display: flex;
    justify-content: center;
    position: relative;
    padding: 45px 0 45px 0;
}

.cta-button {
    background-color: hsl(142, 76%, 36%);
    color: hsl(0, 0%, 95%);
    border: none;
    padding: 10px 20px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: hsl(142, 76%, 46%);
    transform: scale(1.05);
}

.social-icons {
    display: flex;
    justify-content: center;
    padding: 0px 54px 15px 54px;
}

.social-icons i {
    font-size: 2em;
    color: #B197FC
}

.social-icons a {
    margin-right: 1rem;
}

.social-icons a:not(:last-child) {
    margin-right: 1rem;
}

.social-icons p a {
    font-size: 1.5em;
    color: hsl(142, 76%, 36%);
    font-weight: 800;
    text-decoration: none;
    margin: 0;
    position: relative;
}

.info-section {
    background: hsl(24, 9.8%, 10%);
    padding-bottom: 20px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.social-icons i:hover {
    color: hsl(142, 76%, 36%);
    transform: scale(1.2);
    transition: transform 0.3s, color 0.3s;
}

.social-icons p a:hover {
    color: hsl(0, 0%, 95%);
    transition: color 0.3s;
}

#typewriter {
    display: inline-block;
    border-right: 2px solid hsl(142, 76%, 36%);
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3.5s steps(25, end), blink-caret 0.75s step-end infinite;
}

img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px 4px rgba(84, 135, 221, 0.3);
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 43%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: hsl(142, 76%, 36%);
    }
}