/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Poppins:wght@400;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif; /* Fallback to Arial */
}

/* Example for specific styling */
h1 {
    font-family: 'Great Vibes', cursive;
}

p {
    font-family: 'Poppins', sans-serif;
}


body {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.dashboard {
    width: 100%;
    height: 100%;
    background-color: #000;
/*    border-radius: 20px;*/
    overflow-x: hidden;
    padding: 20px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

h1 {
    font-size: 24px;
    color: #333;
}
.h1sizs {
    font-size: 4rem;
    font-weight: bolder;
    background: linear-gradient(to right, #99FFFF, #375F9B, #8063A5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stylish-heading {
    font-size: 32px;
    color: transparent;  /* Makes the text colorless */
/*    background: linear-gradient(45deg, #ff7f50, #1e90ff);*/
    background-color: #fff; /* Gradient effect for text */
    -webkit-background-clip: text; /* Clips the background to the text */
    background-clip: text; /* Clips the background to the text */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); /* Adds a subtle shadow for better visibility */
    font-weight: bold; /* Makes the text bold */
    text-align: center; /* Centers the text */
    margin: 20px 0; /* Adds some space around the text */
}

.header-right {
    display: flex;
    align-items: center;
}

.search input {
    padding: 8px;
    border-radius: 20px;
    border: none;
    margin-right: 20px;
}

.profile {
    display: flex;
    align-items: center;
}

.profile img {
    width: 40px;
    height: 40px;
    border-width: 1px;
    border-style: solid; /* This makes the border visible */
    border-color: #fff;
    border-radius: 50%;
    margin-left: 10px;
}
/* Profile Name Styling */
.profile-name {
    display: inline-block;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.1); /* Soft background */
    border-radius: 12px;
    margin-top: 10px;
}

.profile-name span {
    font-size: 1.2rem; /* Medium-large size */
    font-weight: bold;
    color: #fff; /* Dark text color */
    letter-spacing: 0.5px;
    text-align: center;
}

/* Add shadow effect and slight scaling */
.profile-name span {
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.profile-name:hover span {
    transform: scale(1.05); /* Slightly larger on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-name span {
        font-size: 1rem; /* Slightly smaller font size on mobile */
    }
}

.featured {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.featured-card {
    flex: 1;
    padding: 20px;
    color: #fff;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 200px;
}

.featured-card.blue {
    background-color: #375F9B;
}

.featured-card.purple {
    background-color: #8063A5;
}

.featured-card h2 {
    font-size: 18px;
}

.featured-card button {
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    width: 20%;
}

.categories {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}


.categories button {
    padding: 8px 12px;
    border: none;
    border-radius: 20px;
    background-color: #E0E5EE;
    color: #333;
    cursor: pointer;
}

.trending h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
}

.card-container {
    display: flex;
    gap: 15px;
}

.movie-card {
    width: 150px;
    background-color: #fff;
    border-radius: 15px;
    padding: 10px;
    text-align: center;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.movie-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.movie-card span {
    display: block;
    font-size: 12px;
    color: #666;
}
.featured-card {
    position: relative;
    padding: 20px;
    color: #fff;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
    overflow: hidden; /* Ensures image stays within rounded corners */
}

.featured-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire div */
    z-index: 0; /* Places the image behind the text */
}

.featured-card h2, .featured-card button {
    position: relative;
    z-index: 1; /* Places the text and button above the image */
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Adds a dark overlay for text readability */
    z-index: 0;
    border-radius: 15px;
}
/* For Webkit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 15px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
    background: #f0f0f0; /* Background of the scrollbar track */
    border-radius: 20px; /* Rounded edges */
}

::-webkit-scrollbar-thumb {
    background-color: #888; /* Color of the scrollbar thumb */
    border-radius: 20px; /* Rounded edges */
    border: 2px solid #f0f0f0; /* Padding around the thumb */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Darker color on hover */
}

/* Firefox Styling */
* {
    scrollbar-width: thin; /* Sets width of scrollbar in Firefox */
    scrollbar-color: #888 #f0f0f0; /* Thumb color followed by track color */
}


/* Responsive Design */
@media (max-width: 768px) {
    .dashboard {
        width: 100%;
        padding: 15px;
    }

    header {
        flex-direction: column;
        text-align: center;
    }

    .header-right {
        margin-top: 10px;
        justify-content: center;
    }

    .search input {
        width: 80%;
        margin: 0 auto 10px auto;
    }

    .featured {
        flex-direction: row;
        gap: 10px;
    }

    .featured-card {
        height: 300px;
        padding: 15px;
    }

    .featured-card button {
        padding: 8px 12px;
        background-color: rgba(255, 255, 255, 0.6);
        border: none;
        border-radius: 10px;
        color: #fff;
        cursor: pointer;
        width: 60%;
        font-weight: bold;
    }

    .categories {
        justify-content: center;
        gap: 5px;
    }

    .card-container {
        justify-content: center;
    }

    .movie-card {
        width: 150px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 20px;
    }

    .search input {
        width: 100%;
    }

    .featured-card h2 {
        font-size: 16px;
    }

    .categories {
        gap: 5px;
        flex-wrap: wrap;
    }

    .movie-card {
        width: 150px;
    }

    .trending h3 {
        font-size: 18px;
        text-align: center;
    }


}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.movie-card {
    width: calc(33.33% - 4px); /* Three cards per row on mobile with space in between */
    background-color: #fff;
    border-radius: 10px;
/*    padding: 10px;*/
    text-align: center;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.movie-card img {
    width: 100%;
    border-radius: 10px ;
    margin-bottom: 10px;
}

.movie-card span {
    display: block;
    font-size: 12px;
    color: #666;
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .card-container {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .movie-card {
        width: calc(100% / 6 - 15px); /* Display all cards in one row with 6 cards per row on larger screens */
    }
}


/* Hype section container */
.hype {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hype card styles */
.hype-card {
    position: relative;
    flex: 1 1 48%; /* Takes up about half of the row on mobile */
    max-width: 50%; /* Limits width on larger screens */
    background-color: #F3F6FB;
    border-radius: 15px;
    overflow: hidden;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

.hype-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.hype-card h2 {
    font-size: 18px;
    margin: 10px 0;
}

.hype-card button {
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
}

/* Color themes for different cards */
.hype-card.blue {
    background-color: #375F9B;
}

.hype-card.purple {
    background-color: #8063A5;
}

/* Responsive styles */
@media (min-width: 768px) {
    .hype-card {
        flex: 1 1 22%; /* On larger screens, each card will take up around 22% width */
    }
}



/* Media section container */
.media {
    display: flex;
    gap: 5px;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Media card styling for longer height */
.media-card {
    position: relative;
    flex: 1 1 48%; /* Takes up about half of the row on mobile */
    max-width: 50%;
    height: 300px; /* Increased height for portrait orientation */
    border-radius: 15px;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
}

/* Text and button styling */
.media-card h2 {
    font-size: 18px;
    margin: 10px 0;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 10px;
}

.media-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.media-card button {
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 10px;
    color: #000;
    cursor: pointer;
    margin-top: 10px;
}

/* Color themes */
.media-card.blue {
    background-color: rgba(55, 95, 155, 0.7);
}

.media-card.purple {
    background-color: rgba(128, 99, 165, 0.7);
}
/* Responsive styling */
@media (min-width: 768px) {
    .media {
        justify-content: space-between;
    }
    .media-card {
        flex: 1 1 18%; /* Adjusted to 18% to fit 5 cards in a row */
    }
}




/* xhype section container */
.xhype {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
    justify-content: center;
}

/* xhype card styles */
.xhype-card {
    position: relative;
    flex: 1 1 48%; /* Takes up about half of the row on mobile */
    max-width: 50%; /* Limits width on larger screens */
    background-color: #F3F6FB;
    border-radius: 15px;
    overflow: hidden;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

.xhype-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.xhype-card h2 {
    font-size: 18px;
    margin: 10px 0;
}

.xhype-card button {
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
}

/* Color themes for different cards */
.xhype-card.blue {
    background-color: #375F9B;
}

.xhype-card.purple {
    background-color: #8063A5;
}

/* Responsive styles */
@media (min-width: 768px) {
    .xhype-card {
        flex: 1 1 22%; /* On larger screens, each card will take up around 22% width */
    }
}

/* Stunning Heading Styling */
.stunning-heading {
    font-size: 2.5rem; /* Large font size */
    text-align: center;
    color: #333;
    margin: 20px 0;
    font-weight: bold;
    background: linear-gradient(90deg, #fff, #fff, #999B9D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.2); /* Soft shadow */
    letter-spacing: 1.5px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .stunning-heading {
        font-size: 2rem; /* Slightly smaller font size on mobile */
        margin: 15px 0;
    }
}
/* Footer Styles */
.footer {
    background-color: #1e1e2f; /* Dark background */
    color: #ffffff; /* White text */
    text-align: center;
    padding: 1.5rem 1rem;
    font-family: 'Arial', sans-serif;
    position: relative;
    width: 100%;
}

.footer-content p {
    margin: 0.5rem 0; /* Add spacing between lines */
    font-size: 1rem; /* Default font size */
    line-height: 1.5;
}

.footer-content a {
    text-decoration: none;
    font-weight: bold;
}

.footer-content img {
    height: 20px; /* Fix the height of the image */
    width: 100px; /* Fix the width of the image */
    vertical-align: middle; /* Align the image with the text */
    margin-left: 0.5rem; /* Add spacing between text and image */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-content p {
        font-size: 0.9rem; /* Adjust font size for smaller devices */
    }
    .footer {
        padding: 1rem; /* Reduce padding on smaller screens */
    }
    .footer-content img {
        height: 15px; /* Slightly smaller image for small screens */
        width: 80px;
    }
}
/* General Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #1e1e2f;
    color: #fff;
}

.h1sizs {
    font-size: 2rem;
    color: #1E1E2F;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

.profile {
    position: relative;
    cursor: pointer;
}

.profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #80CEBB;
}

/* Profile Popup Styling */
.profile-popup {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #fff;
    color: #333;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    width: 250px;
    z-index: 1000;
    overflow: hidden;
}

.profile-popup.active {
    display: block;
}

/* Popup Header */
.popup-header {
    background-color: #80CEBB;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

.popup-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #fff;
}

.popup-header h3 {
    margin: 0.5rem 0 0.2rem;
    font-size: 1.2rem;
}

.popup-header p {
    font-size: 0.9rem;
    margin: 0;
}

/* Popup List */
.profile-popup ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-popup li {
    border-bottom: 1px solid #f1f1f1;
}

.profile-popup li:last-child {
    border-bottom: none;
}

.profile-popup li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    font-size: 0.95rem;
    transition: background-color 0.2s, color 0.2s;
}

.profile-popup li a:hover {
    background-color: #f1f1f1;
    color: #80CEBB;
}

/* Responsive Design */
@media (max-width: 768px) {
    .h1sizs {
        font-size: 1.5rem;
    }

    .profile-popup {
        width: 250px;
    }

    .popup-header img {
        width: 50px;
        height: 50px;
    }
}

/* Tabs Container */
.tabs-container {
    width: 100%;
/*    max-width: 900px;*/
    margin: 2rem auto;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/* Tab Buttons */
.tabs {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    background: linear-gradient(to right, #8063a5, #1E1E2F);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tabs .tab {
    flex: 1;
    text-align: center;
    padding: 1rem;
    cursor: pointer;
    color: white;
    font-weight: 600;
    background-color: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.tabs .tab:last-child {
    border-right: none;
}

.tabs .tab:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.tabs .tab.active {
    background: #80CEBB;
    color: #fff;
    font-weight: bold;
    transform: scale(1.1);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 1rem;
    background: #f9f9f9;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
