/* --- Global Styles & Variables --- */
:root {
    --primary-color: #e91e63; /* Vibrant Magenta */
    --secondary-color: #3f51b5; /* Electric Blue */
    --background-color: #121212;
    --surface-color: #1e1e1e;
    --text-color: #e0e0e0;
    --text-muted: #9e9e9e;
    --font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3 {
    font-weight: 300;
    margin-bottom: 1rem;
}

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

/* --- Header & Navigation --- */
.main-header {
    background-color: var(--surface-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 1rem;
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: var(--background-color);
    border-radius: 5px;
    padding: 0.5rem 1rem;
}

.search-bar input {
    background: none;
    border: none;
    color: var(--text-color);
    outline: none;
    width: 200px;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--surface-color);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid #333;
}

/* --- Utility Classes --- */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* --- Grid Layouts --- */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* --- Card Components --- */
.card {
    background-color: var(--surface-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.card-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Video Player Page Specific --- */
.video-player-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.video-wrapper {
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-details h1 {
    margin-bottom: 0.5rem;
}

.video-details .video-meta {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.video-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.related-videos .card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.related-videos .card-image {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .video-player-container {
        grid-template-columns: 1fr;
    }
}
/* --- Signup Page Specific Styles --- */
.signup-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem 0;
}

.signup-form-container {
    background-color: var(--surface-color);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-width: 450px;
    width: 100%;
    text-align: center;
}

.signup-form-container h1 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.signup-form-container .price-tag {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.signup-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.signup-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--background-color);
    border: 1px solid #444;
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
}

.signup-form .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.terms-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.terms-text a {
    color: var(--primary-color);
}