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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f9f9f9;
    color: #0f0f0f;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
header {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo h1 {
    font-size: 24px;
    color: #ff6b6b;
    cursor: pointer;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
}

.logo a:hover,
.logo a:focus {
    text-decoration: none;
    color: inherit;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: #0f0f0f;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #ff6b6b;
}

.search-bar {
    display: flex;
    flex: 1;
    max-width: 500px;
}

.search-bar input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #ccc;
    border-radius: 24px 0 0 24px;
    outline: none;
    font-size: 14px;
}

.search-bar input:focus {
    border-color: #ff6b6b;
}

.search-bar button {
    padding: 10px 24px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 0 24px 24px 0;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.search-bar button:hover {
    background-color: #ff5252;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    padding: 60px 0 80px;
    overflow: hidden;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: #fff5f5;
    border: 2px solid #ffe5e5;
    color: #ff6b6b;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.hero-title {
    font-size: 52px;
    line-height: 1.2;
    color: #0f0f0f;
    font-weight: 800;
    margin: 0;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: #606060;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-primary {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.cta-secondary {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    background: white;
    color: #0f0f0f;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-secondary:hover {
    border-color: #ff6b6b;
    background-color: #fff5f5;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 16px;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b6b;
    line-height: 1;
}

.stat-desc {
    font-size: 13px;
    color: #606060;
    margin-top: 4px;
}

/* Hero Right - Video Showcase */
.hero-right {
    position: relative;
}

.hero-video-showcase {
    position: relative;
}

.showcase-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s;
    display: block;
    text-decoration: none;
    color: inherit;
}

.showcase-main:hover {
    transform: scale(1.02);
}

.showcase-main img {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 60%, rgba(0,0,0,0.4) 80%, transparent 100%);
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.trending-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: #ff6b6b;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.showcase-overlay h3 {
    font-size: 22px;
    margin: 0 0 10px 0;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.showcase-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    opacity: 1;
    flex-wrap: wrap;
}

.showcase-meta span {
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 12px;
    border-radius: 6px;
    backdrop-filter: blur(8px);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.showcase-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.mini-thumb {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
    text-decoration: none;
}

.mini-thumb:hover {
    transform: translateY(-4px);
}

.mini-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

/* Personal Stats Dashboard */
.stats-dashboard {
    background-color: #f9f9f9;
    padding: 32px 0;
    border-bottom: 1px solid #e5e5e5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.stat-card {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-card.primary {
    border-color: #ff6b6b;
    background: linear-gradient(135deg, #fff5f5 0%, white 100%);
}

.stat-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #0f0f0f;
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: #606060;
    margin-top: 4px;
}

/* Discovery Section */
.discovery-section {
    background: white;
    padding: 48px 0;
    border-bottom: 1px solid #e5e5e5;
}

.discovery-header {
    text-align: center;
    margin-bottom: 32px;
}

.discovery-header h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.discovery-header p {
    font-size: 16px;
    color: #606060;
}

.discovery-controls {
    max-width: 900px;
    margin: 0 auto;
}

.filter-group {
    margin-bottom: 24px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
}

.filter-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0f0f0f;
    margin-bottom: 12px;
}

.diet-filters,
.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.diet-filter,
.quick-filter {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.diet-filter:hover,
.quick-filter:hover {
    border-color: #ff6b6b;
    background-color: #fff5f5;
}

.diet-filter.active,
.quick-filter.active {
    background-color: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

.ingredient-search {
    display: flex;
    gap: 12px;
}

.ingredient-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 24px;
    outline: none;
    font-size: 14px;
}

.ingredient-input:focus {
    border-color: #ff6b6b;
}

.search-ingredients-btn {
    padding: 12px 24px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.search-ingredients-btn:hover {
    background-color: #ff5252;
}

/* Meal Planning Section */
.meal-planning {
    background-color: #f9f9f9;
    padding: 48px 0;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title h2 {
    font-size: 28px;
}

.customize-btn {
    padding: 10px 24px;
    background: white;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    border-radius: 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.customize-btn:hover {
    background-color: #ff6b6b;
    color: white;
}

.meal-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.meal-day-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.meal-day-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.meal-day-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.day-header {
    padding: 12px 16px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-name {
    font-weight: 700;
    font-size: 16px;
}

.meal-type {
    font-size: 12px;
    opacity: 0.9;
}

.meal-preview {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.meal-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 16px;
    color: white;
}

.meal-overlay h4 {
    font-size: 16px;
    margin-bottom: 4px;
    text-decoration: none;
}

.cook-time {
    font-size: 13px;
    opacity: 0.9;
}

/* Learning Paths Section */
.learning-paths {
    background: white;
    padding: 48px 0;
}

.learning-paths h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

.paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.path-card {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s;
}

.path-card:hover {
    border-color: #ff6b6b;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.15);
}

.path-card.new {
    border-color: #ffc107;
    background: linear-gradient(to bottom, #fffef5, white);
}

.path-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.path-icon {
    font-size: 32px;
}

.path-header h3 {
    font-size: 20px;
}

.path-progress {
    margin-bottom: 16px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e53 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 13px;
    color: #606060;
}

.path-meta {
    font-size: 14px;
    color: #606060;
    margin-bottom: 16px;
}

.path-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.skill-tag {
    padding: 6px 12px;
    background-color: #f2f2f2;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    color: #606060;
}

.skill-tag.completed {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.continue-path-btn,
.start-path-btn {
    width: 100%;
    padding: 12px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s;
}

.continue-path-btn:hover,
.start-path-btn:hover {
    background-color: #ff5252;
}

.start-path-btn {
    background-color: #ffc107;
    color: #0f0f0f;
}

.start-path-btn:hover {
    background-color: #ffb300;
}

/* Equipment Guide Section */
.equipment-guide {
    background-color: #f9f9f9;
    padding: 48px 0;
}

.equipment-guide h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 16px;
    color: #606060;
    margin-bottom: 32px;
}

.equipment-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.equipment-card {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s;
}

.equipment-card:hover {
    border-color: #ff6b6b;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.equipment-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.equipment-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #0f0f0f;
}

.equipment-card p {
    font-size: 14px;
    color: #606060;
    line-height: 1.5;
    margin-bottom: 12px;
}

.equipment-meta {
    margin-bottom: 16px;
}

.uses-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: #fff5f5;
    color: #ff6b6b;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.learn-more-btn {
    padding: 10px 20px;
    background-color: #f2f2f2;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.2s;
}

.learn-more-btn:hover {
    background-color: #ff6b6b;
    color: white;
}

/* Featured/Trending Section */
.featured {
    padding: 48px 0;
}

.featured h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.video-card a {
    text-decoration: none;
    color: inherit;
}

.thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #f0f0f0;
}

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

.duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.video-info {
    padding: 12px;
}

.video-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-info .channel {
    color: #606060;
    font-size: 14px;
    margin-bottom: 4px;
}

.video-info .stats {
    color: #606060;
    font-size: 12px;
}

/* Categories Section */
.categories {
    padding: 48px 0;
    background-color: white;
}

.categories h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.category-card {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 32px 16px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 18px;
}

/* Video Page Styles */
.video-page .container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 48px;
}

.video-section {
    min-width: 0;
}

.video-player {
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.player-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 0;
}

.player-placeholder:hover::before {
    background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
}

.play-icon {
    font-size: 80px;
    margin-bottom: 0;
    z-index: 1;
    background: rgba(255, 107, 107, 0.9);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    padding-left: 8px;
}

.player-placeholder:hover .play-icon {
    background: rgba(255, 107, 107, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 107, 107, 0.4);
}

.player-placeholder p {
    display: none;
}

.video-details h1 {
    font-size: 20px;
    margin-bottom: 12px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.views-date {
    color: #606060;
    font-size: 14px;
}

.views-date span {
    margin: 0 4px;
}

.actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 8px 16px;
    background-color: #f2f2f2;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.action-btn:hover {
    background-color: #e5e5e5;
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e5e5;
}

.channel-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.channel-details h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.subscriber-count {
    font-size: 13px;
    color: #606060;
}

.subscribe-btn {
    margin-left: auto;
    padding: 10px 24px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.subscribe-btn:hover {
    background-color: #ff5252;
}

/* Nutrition Panel */
.nutrition-panel {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    margin: 16px 0;
}

.nutrition-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e5e5;
}

.nutrition-header h3 {
    font-size: 18px;
    margin: 0;
    color: #0f0f0f;
}

.per-serving {
    font-size: 13px;
    color: #606060;
    font-weight: 500;
}

.nutrition-main {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.calorie-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    padding: 20px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

.calorie-number {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.calorie-label {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.macros-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    flex: 1;
}

.macro-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: white;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.macro-icon {
    font-size: 24px;
}

.macro-details {
    display: flex;
    flex-direction: column;
}

.macro-amount {
    font-size: 18px;
    font-weight: 700;
    color: #0f0f0f;
    line-height: 1;
}

.macro-name {
    font-size: 12px;
    color: #606060;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.diet-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.diet-badge {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.diet-badge.positive {
    background-color: #d4edda;
    color: #155724;
}

.diet-badge.neutral {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.allergen-warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.allergen-warning strong {
    color: #856404;
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.allergen-list {
    color: #856404;
    font-size: 14px;
}

.meal-prep-info {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.prep-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: white;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.prep-icon {
    font-size: 18px;
}

.prep-text {
    font-size: 13px;
    color: #0f0f0f;
    font-weight: 500;
}

.description {
    background-color: #f2f2f2;
    padding: 16px;
    border-radius: 12px;
    margin: 16px 0;
}

.description h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.description h4 {
    font-size: 14px;
    margin: 16px 0 8px;
}

.description p {
    line-height: 1.6;
    color: #0f0f0f;
    margin-bottom: 12px;
}

.description ul,
.description ol {
    margin-left: 24px;
    line-height: 1.8;
}

.description li {
    margin-bottom: 4px;
}

.hashtags {
    color: #065fd4;
    font-size: 14px;
    margin-top: 16px;
}

/* Cook & Share Section */
.cook-share-section {
    margin-top: 24px;
}

.section-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 14px;
    color: #606060;
    margin-bottom: 24px;
}

.share-form {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    background-color: #f9f9f9;
    padding: 16px;
    border-radius: 12px;
    border: 2px dashed #e5e5e5;
}

.share-avatar,
.post-avatar {
    flex-shrink: 0;
}

.share-input-container {
    flex: 1;
}

.share-input-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    margin-bottom: 12px;
}

.share-input-container textarea:focus {
    border-color: #ff6b6b;
}

.share-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upload-photo-btn {
    padding: 10px 20px;
    background-color: white;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-block;
}

.upload-photo-btn:hover {
    border-color: #ff6b6b;
    background-color: #fff5f5;
}

.post-btn {
    padding: 10px 32px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.post-btn:hover {
    background-color: #ff5252;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 8px;
}

.tab {
    padding: 8px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #606060;
    border-radius: 8px;
    transition: all 0.2s;
}

.tab:hover {
    background-color: #f2f2f2;
}

.tab.active {
    color: #ff6b6b;
    background-color: #fff5f5;
}

.share-post {
    background-color: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}

.share-post:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.featured-post {
    border: 2px solid #ff6b6b;
    background: linear-gradient(to bottom, #fff5f5, white);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.post-user-info {
    flex: 1;
}

.post-user-info strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.verified-cook {
    color: #ff6b6b;
    font-weight: 600;
    font-size: 12px;
}

.post-date {
    color: #606060;
}

.post-content {
    margin-left: 60px;
}

.post-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background-color: #f0f0f0;
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.post-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #0f0f0f;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.post-tags span {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.difficulty-tag {
    background-color: #d4edda;
    color: #155724;
}

.time-tag {
    background-color: #cce5ff;
    color: #004085;
}

.rating-tag {
    background-color: #fff3cd;
    color: #856404;
}

.beginner-tag {
    background-color: #e7e7ff;
    color: #4c4c9d;
}

.post-actions {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.post-actions button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #606060;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
}

.post-actions button:hover {
    background-color: #f0f0f0;
    color: #0f0f0f;
}

.action-like.active {
    color: #ff6b6b;
    background-color: #fff5f5;
}

.load-more-btn {
    width: 100%;
    padding: 14px;
    background-color: white;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #0f0f0f;
    transition: all 0.2s;
    margin-top: 8px;
}

.load-more-btn:hover {
    background-color: #f9f9f9;
    border-color: #ff6b6b;
}

/* Recommendations Sidebar */
.recommendations {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.recommendations h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

/* Ingredients Widget */
.ingredients-widget {
    background-color: white;
    border: 2px solid #ff6b6b;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.1);
}

.widget-header {
    margin-bottom: 16px;
}

.widget-header h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #ff6b6b;
}

.serving-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.serving-controls label {
    font-size: 13px;
    font-weight: 600;
    color: #606060;
}

.serving-btn {
    padding: 6px 14px;
    background-color: #f2f2f2;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.serving-btn:hover {
    border-color: #ff6b6b;
    background-color: #fff5f5;
}

.serving-btn.active {
    background-color: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

.ingredients-list {
    margin: 16px 0;
}

.ingredient-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.ingredient-item:last-child {
    border-bottom: none;
}

.ingredient-checkbox {
    margin-top: 4px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #ff6b6b;
}

.ingredient-item label {
    flex: 1;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ingredient-item input:checked + label {
    opacity: 0.5;
    text-decoration: line-through;
}

.ingredient-amount {
    font-weight: 700;
    color: #ff6b6b;
    font-size: 14px;
}

.ingredient-name {
    font-size: 14px;
    color: #0f0f0f;
    line-height: 1.4;
}

.substitute-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    opacity: 0.6;
    transition: all 0.2s;
}

.substitute-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.substitutes-tooltip {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #2c2c2c;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
    width: 200px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-top: 4px;
}

.substitutes-tooltip strong {
    display: block;
    margin-bottom: 6px;
    color: #ff6b6b;
}

.substitutes-tooltip p {
    margin: 4px 0;
    line-height: 1.4;
}

.ingredient-item:hover .substitutes-tooltip {
    display: block;
}

.shopping-list-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 12px;
}

.shopping-list-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.ingredients-notes {
    margin-top: 12px;
    padding: 12px;
    background-color: #fff5f5;
    border-radius: 8px;
    border-left: 3px solid #ff6b6b;
}

.note-text {
    font-size: 13px;
    line-height: 1.5;
    color: #0f0f0f;
    margin: 0;
}

.up-next-section {
    margin-top: 24px;
}

.recommendation-card {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    cursor: pointer;
}

.recommendation-card a {
    display: flex;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.rec-thumbnail {
    position: relative;
    width: 168px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.rec-thumbnail img {
    width: 100%;
    height: 94px;
    object-fit: cover;
}

.rec-thumbnail .duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 4px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 600;
}

.rec-info h4 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.rec-channel {
    font-size: 12px;
    color: #606060;
    margin-bottom: 2px;
}

.rec-stats {
    font-size: 12px;
    color: #606060;
}

/* Footer */
footer {
    background-color: #f2f2f2;
    padding: 24px 0;
    margin-top: 48px;
    text-align: center;
    color: #606060;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .video-page .container {
        grid-template-columns: 1fr;
    }

    .recommendations {
        position: static;
    }

    .recommendation-card {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .search-bar {
        max-width: 300px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-num {
        font-size: 20px;
    }

    .showcase-overlay h3 {
        font-size: 18px;
    }

    .showcase-meta {
        flex-direction: column;
        gap: 8px;
    }

    .ingredient-search {
        flex-direction: column;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

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

    .video-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .actions {
        width: 100%;
        justify-content: space-between;
    }

    .post-content {
        margin-left: 0;
    }

    .share-form {
        flex-direction: column;
    }

    .filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .post-actions {
        flex-wrap: wrap;
    }

    .nutrition-main {
        flex-direction: column;
    }

    .macros-grid {
        grid-template-columns: 1fr;
    }

    .meal-prep-info {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 24px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .action-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .share-actions {
        flex-direction: column;
        gap: 8px;
    }

    .upload-photo-btn,
    .post-btn {
        width: 100%;
        text-align: center;
    }
}
