* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light text color */
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: -60px auto 60px;
    position: relative;
    z-index: 10;
    background-color: rgba(31, 40, 51, 0.8);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 252, 241, 0.2);
}

.container h1 {
    color: #66FCF1;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(102, 252, 241, 0.3);
}

.filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.filters select {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    width: 200px;
}

.filters select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(102, 252, 241, 0.3);
    outline: none;
}

#search {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

#search:focus {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(102, 252, 241, 0.3);
    outline: none;
}

#search-btn {
    background-color: #66FCF1;
    color: #1f2833;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto 30px;
}

#search-btn:hover {
    background-color: #45a29e;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.result-item {
    background-color: #1f2833;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.result-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.result-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.result-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    padding: 15px;
    margin: 0;
    color: #fff;
    text-align: center;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.watch-button {
    width: 100%;
    background-color: #66FCF1;
    color: #1f2833;
    border: none;
    padding: 12px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 1.1rem;
}

.watch-button:hover {
    background-color: #45a29e;
    color: #fff;
}

.comments-section {
    margin-top: 40px;
    background-color: rgba(31, 40, 51, 0.5);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(102, 252, 241, 0.1);
}

.comments-section h2 {
    color: #66FCF1;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 20px;
    text-align: center;
}

#comment-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-family: 'Outfit', sans-serif;
    height: 100px;
    margin-bottom: 15px;
    resize: none;
}

#comment-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(102, 252, 241, 0.3);
    outline: none;
}

#submit-comment {
    background-color: #66FCF1;
    color: #1f2833;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto 20px;
}

#submit-comment:hover {
    background-color: #45a29e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.comment {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 3px solid #66FCF1;
}

.comment strong {
    color: #66FCF1;
}

.comment small {
    color: #aaa;
    font-size: 0.8rem;
    display: block;
    margin-top: 5px;
    text-align: right;
}

/* Hide the embed container */
.embed-container {
    display: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(102, 252, 241, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 252, 241, 0.5);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        margin-top: -30px;
        padding: 20px 15px;
    }
    
    .filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filters select {
        width: 100%;
    }
    
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .result-item img {
        height: 220px;
    }
    
    .result-item h3 {
        font-size: 1rem;
        height: 70px;
        padding: 10px;
    }
}

/* Hide the embed container since we don't need it anymore */
#embed-container {
    display: none;
}

