/* Reset Defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Full Page Background */
body {
    background-color: #121212;
    color: white;
    min-height: 355vh;
}

/* Main Container */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Hero Section */
.hero-section {
    width: 100%;
    background: linear-gradient(to right, purple, darkblue);
    text-align: center;
    padding: 50px 20px;
}

.hero-inner {
    max-width: 800px;
    margin: auto;
}

.hero-section h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hero-section p {
    font-size: 18px;
    opacity: 0.9;
}

/* Section Container */
.section-container {
    width: 88%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.section {
    max-width: 1000px;
    width: 97%;
}

/* Section Headings */
.section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ff5722;
}

/* Video Container */
.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 7px;
    justify-items: center;
}

/* Video Box */
.video-box {
    background: #1e1e1e;
    padding: 5px;
    border-radius: 8px;
    text-align: center;
    width: 257px;
    transition: 0.10s;
}

.video-box:hover {
    box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.05);
}

.video-thumbnail img {
    width: 100%;
    border-radius: 5px;
}

/* Video Title */
.video-title h3 {
    font-size: 16px;
    margin-top: 10px;
    color: white;
}

/* Categories Container */
.category-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 10px;
}

.category-box {
    padding: 10px 15px;
    background: #ff5722;
    border-radius: 5px;
    font-size: 16px;
}

.category-box a {
    text-decoration: none;
    color: white;
}

.category-box:hover {
    background: black;
}

/* Search Bar */
.search-container {
    margin-top: 30px;
    text-align: center;
}

.search-container input {
    padding: 10px;
    width: 300px;
    border: none;
    border-radius: 5px;
}

.search-container button {
    padding: 10px;
    background: #ff5722;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.search-container button:hover {
    background: maroon;
}
