/*
Theme Name: VOD Theme
Theme URI: https://vodondemand-cbfp6qv6.manus.space/
Author: Manus AI
Author URI: https://manus.im
Description: A cinematic theme for Video on Demand.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vod-theme
*/

:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --primary-color: #3b82f6;
    --secondary-color: #1e293b;
    --accent-color: #f59e0b;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--secondary-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--text-color);
}

.auth-buttons button {
    background: linear-gradient(to right, #3b82f6, #f59e0b);
    border: none;
    padding: 10px 20px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

/* Hero */
.hero {
    padding: 80px 0;
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 800px;
    margin-bottom: 40px;
}

/* Catalog */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
}

.video-price {
    color: var(--accent-color);
    font-weight: bold;
}

/* Single Video */
.single-video-header {
    margin-bottom: 40px;
}

.preview-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
}

.preview-container img, .preview-container iframe, .preview-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-details-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
}

.details-box {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 10px;
}

.buy-button {
    display: block;
    width: 100%;
    background-color: var(--secondary-color);
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.buy-button:hover {
    background-color: #334155;
}
