/* style.css - Fucxmom Core Design System */
:root {
    --bg-color: #0b0b0b;
    --surface-color: #1a1a1a;
    --surface-hover: #2a2a2a;
    --primary-color: #ff4d00;
    --primary-hover: #ff6a00;
    --text-main: #ffffff;
    --text-dim: #aaaaaa;
    --card-shadow: 0 4px 15px rgba(0,0,0,0.5);
    --border-radius: 10px;
    --header-height: 70px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    height: var(--header-height);
    background: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
    text-transform: lowercase;
}

.search-container {
    flex: 0 1 500px;
}

.search-bar {
    width: 100%;
    background: #1e1e1e;
    border: 1px solid #333;
    padding: 10px 20px;
    border-radius: 30px;
    color: white;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
}

.search-bar:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 77, 0, 0.2);
}

.nav-links {
    display: flex;
    gap: 25px;
    font-weight: 500;
    font-size: 14px;
}

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

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Main Layout */
.main-content {
    padding: 2.5% 5%;
}

.ad-section {
    width: 100%;
    height: 100px;
    background: #111;
    border: 1px dashed #333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #444;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.video-card {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    background: var(--surface-hover);
    box-shadow: var(--card-shadow);
}

.thumbnail-wrapper {
    position: relative;
    aspect-ratio: 16/9;
}

.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 40px;
    color: var(--primary-color);
}

.video-info {
    padding: 12px;
}

.video-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-meta {
    font-size: 12px;
    color: var(--text-dim);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge {
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.badge-hd { border: 1px solid #444; color: #888; }
.badge-hot { background: var(--primary-color); color: white; }

/* Single Video Page */
.video-container {
    max-width: 1000px;
    margin: 0 auto;
}

.player-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: black;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

video {
    width: 100%;
    height: 100%;
}

.video-details {
    padding: 20px 0;
    border-bottom: 1px solid #222;
    margin-bottom: 20px;
}

.video-details h1 {
    font-size: 22px;
    margin-bottom: 10px;
}

.download-section {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.download-btn {
    flex: 1;
    min-width: 150px;
    padding: 15px;
    background: var(--surface-color);
    border: 1px solid #333;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.download-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 1200px) {
    .video-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .video-grid { grid-template-columns: repeat(3, 1fr); }
    .header { padding: 0 3%; }
}

@media (max-width: 768px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
    .hamburger { display: block; }
    .search-container { flex: 1; margin: 0 15px; }
}

/* Footer */
.footer {
    background: #080808;
    padding: 50px 5% 20px;
    margin-top: 50px;
    border-top: 1px solid #222;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    font-size: 13px;
    color: var(--text-dim);
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #444;
}
