/* General Styles */
body {
    background: url('stardust.png') repeat;
    color: #FFFFFF;
    font-family: "Verdana", sans-serif;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    text-align: center;
    padding: 20px;
    background-color: #1A1A1A;
    border-bottom: 3px solid #FFCC00;
}
header h1 {
    color: #3399FF;
    text-shadow: 2px 2px #9933FF;
}

.intro h2 {
    text-align: center;
}
.intro p {
    padding:0px 20px 0px 20px;
}
.video-container h2,.intro h2, h2 {
    color: #3399FF;
    text-shadow: 2px 2px #9933FF;
    margin: 0px;
}

.bio strong, .bio a {
    color: #3399FF;
}
header p {
    color: #FFCC00;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #1A1A1A;
    padding: 10px;
    border-bottom: 3px solid #FFCC00;
}
nav a {
    color: #FFCC00;
    text-decoration: none;
    margin: 5px 15px;
    text-shadow: 1px 1px #3399FF;
}
nav a:hover {
    color: #FF66CC;
}
nav a.active {
    color: #FF66CC;
}

/* Search Bar */
.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: #1A1A1A;
    border-bottom: 3px solid #9933FF;
}
.search-bar form {
    display: flex; 
    gap: 10px; 
    width: 100%;
    max-width: 420px; 
}
.search-bar input {
    padding: 10px;
    font-size: 1rem;
    border: 2px solid #3399FF;
    background-color: #0D0D0D;
    color: #FFFFFF;
    /* width: 300px; */
    border-radius: 5px;
    flex: 1; /* Make input take up available space */
}
.search-bar button {
    padding: 10px 15px;
    font-size: 1rem;
    border: 2px solid #FFCC00;
    background-color: #9933FF;
    color: #FFFFFF;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.search-bar button:hover {
    background-color: #FFCC00;
    color: #000000;
}

/* Collection of Feeds */
.collection-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    padding: 20px;
    min-height: 50vh;
}
.feed-item {
    background-color: #1A1A1A;
    border: 3px solid #9933FF;
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.image-wrapper {
    position: relative;
}
.image-wrapper img {
    width: 100%;
    display: block;
    /* height: auto; */
    aspect-ratio: 16 / 9;
}
.overlay {
    /* position: absolute;
    bottom: 0;
    left: 0;
    right: 0; */
    background: rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
    padding: 5px 0;
    font-size: 1rem;
}
.overlay a {
    color: #3399FF;
    text-decoration: none;
}

/* Pagination */
.page-container {
    text-align: center;
    padding: 15px;
}
.pagination {
    display: inline-block;
    background-color: #1A1A1A;
    padding: 10px;
    border: 3px solid #FFCC00;
    border-radius: 5px;
}
.pagination a {
    color: #FFCC00;
    text-decoration: none;
    margin: 0 5px;
    padding: 5px 10px;
    border: 2px dashed #3399FF;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}
.pagination a:hover {
    background-color: #FFCC00;
    color: #000000;
}
.pagination a.active {
    background-color: #FFCC00;
    color: #000000;
}

/* Profile Page Styles */
.profile-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.live-feed, .bio, .profile-image, .last-update, .video-container {
    background-color: #1A1A1A;
    border: 3px solid #9933FF;
    padding: 20px;
    width: 100%;
    max-width: 1000px;
    /* text-align: center; */
    box-sizing: border-box;
}
.live-feed {
    background: none;
    padding: 0px;
    border: none;
    aspect-ratio: 16 / 9;
}
.live-feed img {
    border: 3px solid #9933FF;
    aspect-ratio: 16 / 9;
}
.video-container {
    padding: 20px;
    margin: 0px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.profile-image img {
    width: 100%;
    border: 3px solid #9933FF;
    /* max-width: 400px; */
    border-radius: 5px;
    border: 3px solid #FFCC00;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: #1A1A1A;
    color: #FFCC00;
    border-top: 3px solid #9933FF;
}

/* Text Content Section */
.text-content {
    background-color: #1A1A1A;
    border: 3px solid #9933FF;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    color: #FFFFFF;
    text-align: left;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}
.text-content h2 {
    color: #FFCC00;
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 1px 1px #3399FF;
}
.text-content p {
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Tab Container */
.tab-container {
    background-color: #1A1A1A;
    border: 3px solid #9933FF;
    border-radius: 5px;
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}
.tab-button {
    flex: 1;
    padding: 10px;
    background-color: #0D0D0D;
    color: #FFCC00;
    border: 2px solid #9933FF;
    border-radius: 5px 5px 0 0;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.tab-button:hover {
    background-color: #FFCC00;
    color: #000000;
}
.tab-button.active {
    background-color: #FFCC00;
    color: #000000;
    border-bottom: none;
}

/* Tab Content */
/* Tab Links */
.tab-links {
    display: flex;
    justify-content: flex-start; /* Align tabs to the left */
    gap: 0;
    margin: 0;
    position: relative;
    top: 0; /* Ensure no overlap or gaps */
}
.tab-link {
    text-decoration: none;
    color: #FFCC00;
    padding: 10px 15px;
    border: 2px solid #9933FF;
    border-bottom: none; /* Seamlessly blend with content container */
    background-color: #0D0D0D;
    border-radius: 5px 5px 0 0;
    font-size: 1rem;
    text-align: center;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.tab-link:hover {
    background-color: #FFCC00;
    color: #000000;
}
.tab-link.active {
    background-color: #FFCC00;
    color: #000000;
}

/* Tab Content Container */
.tab-content-container {
    background-color: #1A1A1A;
    border: 3px solid #9933FF;
    border-radius: 0 5px 5px 5px; /* Matches the tabs' top corners */
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}
.tab-content {
    display: none; /* Default: Hide all content */
}
.tab-content:first-child {
    display: block; /* Show first tab content by default */
}
.tab-content h2 {
    color: #FFCC00;
    margin-bottom: 15px;
}
.tab-content p {
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 1rem;
}


.chat-button {
    background-color: #3399FF;
    color: #FFFFFF;
    border: 3px solid #9933FF;
    text-shadow: 1px 1px #FFCC00;
    font-size: 1.2rem;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    margin: 20px auto;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}
.chat-button:hover {
    background-color: #FFCC00;
    color: #000000;
    text-shadow: none;
}

.private-show-button {
    background-color: #FF66CC; /* Bright magenta for differentiation */
    color: #FFFFFF; /* White text for contrast */
    border: 3px solid #FFCC00; /* Gold border for emphasis */
    text-shadow: 1px 1px #9933FF; /* Purple shadow for depth */
    font-size: 1.2rem;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    margin: 20px auto;
    box-shadow: 2px 2px 15px rgba(255, 102, 204, 0.6); /* Soft glow effect */
}
.private-show-button:hover {
    background-color: #3399FF; /* Blue background on hover */
    color: #000000; /* Black text */
    text-shadow: white; /* Remove shadow for cleaner hover */
    box-shadow: 0 0 15px 7px rgba(51, 153, 255, 1); /* Intense blue glow on hover */
}

.tag-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}

.tag-link {
    text-decoration: none;
    color: #FFCC00; /* Gold text color */
    padding: 10px 20px;
    border: 2px solid #9933FF; /* Purple border */
    background-color: #1A1A1A; /* Matches the site's dark background */
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    text-shadow: 1px 1px #3399FF; /* Light blue shadow for depth */
    transition: all 0.3s ease-in-out;
}

.tag-link:hover {
    background-color: #FFCC00; /* Gold background on hover */
    color: #000000; /* Black text on hover */
    box-shadow: 0 0 10px 5px rgba(255, 204, 0, 0.8); /* Glow effect on hover */
}
@media (max-width: 768px) {
    .tag-link {
        padding: 8px 15px; /* Slightly smaller padding for mobile */
        font-size: 0.9rem; /* Adjust text size */
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .live-feed, .bio, .profile-image, .last-update {
        max-width: 100%;
    }
    .pagination a {
        margin: 0 0px;
    }
    .page-container {
        padding: 0px;
    }
    /* .search-bar input {
        width: 100%;
    } */
    .video-container {
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: 0px;
    }
    .live-feed {
        padding: 1px;
    }
    .search-bar form {
        flex-direction: row; /* Ensure the input and button remain side by side */
        gap: 5px; /* Reduce space between input and button */
    }

    .search-bar input {
        font-size: 0.9rem; /* Adjust input size for smaller screens */
    }

    .search-bar button {
        font-size: 0.9rem; /* Adjust button size for smaller screens */
    }
}
