/* Importing Poppins font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Body styles and background gradient */
body {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ff9a9e 10%, #f6416c 100%);
    position: relative; /* Required for absolute-positioned pseudo-elements */
}

/* Decorative blurred shapes in background */
body::before,
body::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0.5;
    z-index: 1;
}

/* Left-side circular shape */
body::before {
    clip-path: circle(30% at left 20%);
    background: linear-gradient(135deg, #f6416c 10%, #ff9a9e 100%);
}

/* Right-side circular shape */
body::after {
    clip-path: circle(25% at right 80%);
    background: linear-gradient(135deg, #f6416c 10%, #ff9a9e 100%);
}

/* Main glassmorphism container */
header {
    height: 85vh;
    width: 90%;
    margin: auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 12;
}

/* Navbar styling */
header .navbar {
    width: 100%;
    display: flex;
    padding: 35px 50px;
    justify-content: space-between;
    flex-wrap: wrap; /* Ensures wrapping on smaller screens */
}

/* Logo styling */
header .navbar .logo a {
    font-size: 32px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
}

/* Navigation menu container */
header .navbar .menu {
    display: flex;
}

/* Navigation menu items */
.navbar .menu li {
    list-style: none;
    margin: 0 6px;
}

/* Navigation links */
.navbar .menu a {
    text-decoration: none;
    color: #000;
    font-size: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Hover effect on menu links */
.navbar .menu a:hover {
    color: #f2f2f2;
}

/* Login and Register buttons */
.navbar .buttons input {
    color: #f2f2f2;
    outline: none;
    font-size: 17px;
    font-weight: 500;
    padding: 6px 12px;
    margin: 0 8px;
    border-radius: 20px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f6416c 10%, #ff9a9e 100%);
}

/* Button hover effect */
.navbar .buttons input:hover {
    transform: scale(0.97);
    color: #000;
}

/* Text content inside header */
.text-content {
    width: 40%;
    margin: 100px 0 0 50px;
}

/* Heading inside text content */
.text-content h2 {
    font-size: 27px;
    font-weight: 600;
}

/* Paragraph inside text content */
.text-content p {
    margin-top: 10px;
    font-size: 15px;
}

/* Play button container */
.play-button {
    position: absolute;
    right: 50px;
    bottom: 40px;
    cursor: pointer;
}

/* Text next to play icon */
.play-button .play-video {
    font-size: 18px;
    font-weight: 500;
    position: relative; /* Needed for positioning pseudo-element */
}

/* Decorative line before 'Play Video' */
.play-button .play-video::before {
    content: '';
    position: absolute;
    height: 3px;
    width: 50px;
    background: #000;
    left: -58px;
    top: 50%;
    transform: translateY(-50%);
}

/* Play icon styles */
.play-button i {
    height: 40px;
    width: 40px;
    border: 2px solid #000;
    line-height: 38px;
    text-align: center;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Hover effect on play icon */
.play-button i:hover {
    background: #000;
    color: #fff;
}

/*  =========================
    Responsive Media Queries
    ========================= */

/* Tablet devices */
@media (max-width: 850px) {
    header .navbar {
        flex-direction: column;
        align-items: center;
    }

    .navbar .menu {
        margin: 10px 0 20px 0;
    }

    .text-content {
        width: 70%;
        margin: 30px 0 0 20px;
    }
}

/* Mobile devices */
@media (max-width: 600px) {
    .navbar .menu {
        flex-direction: column;
        align-items: center;
    }

    .text-content {
        width: 90%;
        margin: 20px;
        text-align: center;
    }

    .play-button {
        position: static;
        margin: 20px auto;
        text-align: center;
    }
}

/* Extra small devices */
@media (max-width: 410px) {
    header {
        height: 100vh;
        width: 100%;
        border-radius: 0; /* Remove border radius for full-screen fit */
    }
}