/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #141414;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.3s ease;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2a2a2a;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    max-height: 300px;
    overflow-y: auto;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #444;
}

.dropdown-menu a:hover {
    background-color: #e50914;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.header.scrolled {
    background-color: #141414;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    color: #e50914;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: -1px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #e50914;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-container input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 8px 40px 8px 15px;
    border-radius: 20px;
    width: 250px;
    transition: all 0.3s ease;
}

.search-container input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #e50914;
}

.search-container i {
    position: absolute;
    right: 15px;
    color: #ffffff;
    opacity: 0.7;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1489599803000-4a0a0a0a0a0a?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    background-color: #e50914;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #f40612;
}

/* Admin Login Section */
.admin-login-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
    background-color: #2a2a2a;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #e50914;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-btn {
    background-color: #e50914;
    color: #ffffff;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #f40612;
}

.movie-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #2a2a2a;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ffffff;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background-color: #3a3a3a;
    border: 1px solid #555;
    border-radius: 5px;
    color: #ffffff;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #e50914;
}

.submit-btn {
    width: 100%;
    background-color: #e50914;
    color: #ffffff;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #f40612;
}

/* Movies Section */
.movies-section {
    padding: 80px 0;
}

.movies-section h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #e50914;
}

.filter-container {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background-color: #3a3a3a;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #e50914;
    transform: translateY(-2px);
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.movie-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.movie-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.movie-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-card:hover img {
    transform: scale(1.05);
}

.movie-info {
    padding: 20px;
}

.movie-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-info p {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.movie-category {
    background-color: #e50914;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    font-weight: bold;
}

.movie-rating {
    color: #ffd700;
    font-weight: bold;
}

.movie-year {
    color: #cccccc;
}

.movie-type-badge {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #e50914;
    font-weight: bold;
    text-align: center;
    padding: 4px 8px;
    background-color: rgba(229, 9, 20, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(229, 9, 20, 0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.modal-content {
    background-color: #2a2a2a;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.close {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 2001;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #e50914;
}

.modal-body {
    display: flex;
    flex-direction: column;
}

.modal-body img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.modal-info {
    padding: 30px;
}

.modal-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #e50914;
}

.modal-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #cccccc;
}

.modal-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.modal-details span {
    background-color: #3a3a3a;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
}

/* Viewing Options */
.viewing-options {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.watch-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 150px;
    justify-content: center;
}

.online-btn {
    background-color: #e50914;
    color: #ffffff;
}

.online-btn:hover {
    background-color: #f40612;
    transform: translateY(-2px);
}

.download-btn {
    background-color: #2a2a2a;
    color: #ffffff;
    border: 2px solid #e50914;
}

.download-btn:hover {
    background-color: #e50914;
    transform: translateY(-2px);
}

/* Server Modal Styles */
.server-modal {
    max-width: 600px;
    width: 90%;
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #444;
}

.modal-header h2 {
    color: #e50914;
    margin-bottom: 10px;
}

.modal-header p {
    color: #cccccc;
    font-size: 1.1rem;
}

.servers-container {
    padding: 30px;
}

.server-options {
    margin-bottom: 30px;
}

.server-options h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.server-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.server-item {
    background-color: #3a3a3a;
    border: 1px solid #555;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.server-item:hover {
    background-color: #4a4a4a;
    border-color: #e50914;
    transform: translateY(-2px);
}

.server-item h4 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 1rem;
}

.server-item p {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.server-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-online {
    background-color: #4CAF50;
    color: #ffffff;
}

.status-offline {
    background-color: #f44336;
    color: #ffffff;
}

.status-loading {
    background-color: #ff9800;
    color: #ffffff;
}

/* Admin Dashboard Styles */
.admin-dashboard {
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #444;
    background-color: #1a1a1a;
}

.admin-header h2 {
    color: #e50914;
    margin: 0;
}

.logout-btn {
    background-color: #f44336;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.logout-btn:hover {
    background-color: #d32f2f;
}

.admin-content {
    padding: 30px;
}

.admin-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #444;
}

.tab-btn {
    background: none;
    border: none;
    color: #cccccc;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    color: #e50914;
    border-bottom-color: #e50914;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.admin-movie-form {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.streaming-options,
.download-options {
    background-color: #3a3a3a;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #e50914;
}

.streaming-options h4,
.download-options h4 {
    color: #e50914;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.admin-submit-btn {
    background-color: #e50914;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.admin-submit-btn:hover {
    background-color: #f40612;
}

.movies-management {
    margin-top: 20px;
}

.search-admin {
    margin-bottom: 20px;
}

.search-admin input {
    width: 100%;
    padding: 12px;
    background-color: #3a3a3a;
    border: 1px solid #555;
    border-radius: 5px;
    color: #ffffff;
    font-size: 16px;
}

.admin-movies-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.admin-movie-item {
    background-color: #2a2a2a;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #444;
    transition: transform 0.3s ease;
}

.admin-movie-item:hover {
    transform: translateY(-2px);
    border-color: #e50914;
}

.admin-movie-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.admin-movie-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

.admin-movie-actions {
    display: flex;
    gap: 10px;
}

.admin-action-btn {
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.edit-btn {
    background-color: #2196F3;
    color: #ffffff;
}

.edit-btn:hover {
    background-color: #1976D2;
}

.delete-btn {
    background-color: #f44336;
    color: #ffffff;
}

.delete-btn:hover {
    background-color: #d32f2f;
}

.admin-movie-details {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.admin-movie-type {
    display: inline-block;
    background-color: #e50914;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 10px;
}

/* Embedded Player Styles */
.embedded-player {
    padding: 20px;
}

.embedded-player h3 {
    color: #e50914;
    margin-bottom: 20px;
    text-align: center;
}

.embedded-content {
    width: 100%;
    min-height: 400px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

.embedded-content iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* 18+ Warning Modal Styles */
.adult-warning {
    max-width: 800px;
    width: 95%;
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
}

.warning-header {
    background-color: #e50914;
    padding: 20px;
    text-align: center;
}

.warning-header h2 {
    color: #ffffff;
    margin: 0;
    font-size: 1.5rem;
}

.warning-content {
    padding: 30px;
    color: #cccccc;
    line-height: 1.6;
}

.warning-content p {
    margin-bottom: 15px;
}

.warning-content strong {
    color: #e50914;
}

.warning-actions {
    padding: 20px 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    background-color: #1a1a1a;
}

.proceed-btn {
    background-color: #e50914;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.proceed-btn:hover {
    background-color: #f40612;
}

.cancel-btn {
    background-color: #666;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cancel-btn:hover {
    background-color: #555;
}

/* Adult Content Section */
.adult-content-section {
    padding: 100px 0 80px;
    background-color: #141414;
    min-height: 100vh;
}

.adult-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.adult-header h2 {
    color: #e50914;
    font-size: 2.5rem;
    margin: 0;
}

.back-btn {
    background-color: #e50914;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.back-btn:hover {
    background-color: #f40612;
}

/* YouTube-style Adult Movies Grid */
.adult-movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.adult-movie-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.adult-movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
}

.adult-movie-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.adult-movie-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.adult-movie-card:hover .adult-movie-thumbnail img {
    transform: scale(1.05);
}

.adult-movie-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0,0,0,0.8);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.adult-movie-info {
    padding: 15px;
}

.adult-movie-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.adult-movie-channel {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.adult-movie-stats {
    color: #888;
    font-size: 0.8rem;
    display: flex;
    gap: 15px;
    margin-bottom: 8px;
}

.adult-movie-upload-date {
    color: #888;
    font-size: 0.8rem;
}

/* Custom Input Containers */
.genre-input-container,
.language-input-container {
    position: relative;
}

.genre-input-container input,
.language-input-container input {
    margin-top: 10px;
    width: 100%;
}

/* Admin Login Modal */
.admin-login-modal {
    max-width: 400px;
    width: 95%;
}

/* Adult Navigation */
.adult-nav-menu {
    margin: 30px 0;
    border-bottom: 1px solid #444;
}

.adult-nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.adult-nav-link {
    color: #cccccc;
    text-decoration: none;
    padding: 15px 0;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.adult-nav-link:hover,
.adult-nav-link.active {
    color: #e50914;
    border-bottom-color: #e50914;
}

/* Categories and Tags Containers */
.categories-container,
.tags-container {
    position: relative;
}

.categories-suggestions,
.tags-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #2a2a2a;
    border: 1px solid #555;
    border-top: none;
    border-radius: 0 0 5px 5px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    color: #ffffff;
    border-bottom: 1px solid #444;
}

.suggestion-item:hover {
    background-color: #e50914;
}

/* Pornstars Container */
.pornstars-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pornstars-container select {
    min-height: 100px;
}

.pornstars-container input {
    margin-top: 0;
}

.pornstars-container button {
    background-color: #e50914;
    color: #ffffff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.pornstars-container button:hover {
    background-color: #f40612;
}

/* Pornstars Management */
.pornstars-management {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.pornstar-form {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
}

.pornstars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.pornstar-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.pornstar-card:hover {
    transform: translateY(-5px);
}

.pornstar-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.pornstar-name {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 5px;
}

.pornstar-details {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.pornstar-movies {
    color: #e50914;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Best Videos Sorting */
.best-videos-sorting {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sort-btn {
    background-color: #3a3a3a;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sort-btn:hover,
.sort-btn.active {
    background-color: #e50914;
    transform: translateY(-2px);
}

/* Categories/Tags Pages */
.categories-page,
.tags-page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-section,
.tag-section {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 20px;
}

.section-title {
    color: #e50914;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.category-items,
.tag-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-item,
.tag-item {
    background-color: #3a3a3a;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    text-decoration: none;
}

.category-item:hover,
.tag-item:hover {
    background-color: #e50914;
    transform: translateX(5px);
}

/* Pornstars Page */
.pornstars-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.pornstar-page-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.pornstar-page-card:hover {
    transform: translateY(-5px);
}

.pornstar-page-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.pornstar-page-info {
    padding: 20px;
    text-align: center;
}

.pornstar-page-name {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.pornstar-page-details {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.pornstar-page-movies {
    color: #e50914;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .search-container input {
        width: 200px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .movie-form {
        padding: 20px;
        margin: 0 20px;
    }
    
    .movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .filter-container {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-body {
        flex-direction: column;
    }
    
    .modal-body img {
        height: 250px;
    }
    
    .modal-info {
        padding: 20px;
    }
    
    .modal-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .viewing-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .watch-btn {
        width: 100%;
        min-width: auto;
    }
    
    .server-modal {
        width: 95%;
        margin: 2% auto;
    }
    
    .servers-container {
        padding: 20px;
    }
    
    .server-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .movie-card img {
        height: 250px;
    }
    
    .movie-info {
        padding: 15px;
    }
}
