:root {
    --bg-color: #0a0a0f;
    --card-bg: rgba(22, 22, 31, 0.7);
    --card-content-bg: transparent;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --accent-color: #00f2fe;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-blur: 12px;
    --transition-speed: 0.3s;
    --font-family: 'Outfit', sans-serif;
    
    --nav-bg: rgba(10, 10, 15, 0.8);
    --footer-bg: rgba(10, 10, 15, 0.95);
    --input-bg: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.05);
    --table-header-bg: rgba(0, 0, 0, 0.2);
    --table-row-hover: rgba(255, 255, 255, 0.02);
    --accent-shadow: rgba(0, 242, 254, 0.2);
    --card-hover-shadow: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] {
    --bg-color: #d8e2eb;
    --card-bg: #ffffff;
    --card-content-bg: #f0f4f8;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --accent-color: #2563eb;
    --border-color: rgba(0, 0, 0, 0.1);
    
    --nav-bg: rgba(255, 255, 255, 0.8);
    --footer-bg: rgba(255, 255, 255, 0.95);
    --input-bg: rgba(0, 0, 0, 0.05);
    --border-light: rgba(0, 0, 0, 0.05);
    --table-header-bg: rgba(0, 0, 0, 0.05);
    --table-row-hover: rgba(0, 0, 0, 0.02);
    --accent-shadow: rgba(37, 99, 235, 0.2);
    --card-hover-shadow: rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

/* Navigation */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
    background: var(--nav-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#logo {
    height: 48px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--accent-shadow);
    transition: transform var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow var(--transition-speed) ease;
}

#logo:hover {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 8px 25px var(--accent-color);
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after {
    width: 100%;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
    padding: 0.5rem;
}

.theme-toggle:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Main Content Layout */
#main-content {
    /* Padding moved to page-layout */
}

.page-layout {
    display: flex;
    gap: 3rem;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.main-column {
    flex: 1;
    min-width: 0;
}

/* Sidebar Styles */
.news-sidebar {
    width: 350px;
    flex-shrink: 0;
    padding-top: 6rem;
}

.sidebar-heading {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
    margin-bottom: 2rem;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--card-hover-shadow);
    border-color: var(--accent-color);
}

.news-link {
    display: block;
    color: inherit;
}

.news-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.5s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-card-content {
    padding: 1.25rem;
    position: relative;
    background: var(--card-bg);
    z-index: 1;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color var(--transition-speed) ease;
}

.news-link:hover .news-title {
    color: var(--accent-color);
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .page-layout {
        flex-direction: column;
    }
    
    .news-sidebar {
        width: 100%;
        padding-top: 2rem;
    }
}

/* Hero Section */
.hero-section {
    padding: 6rem 0 4rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Reviews Grid */
.reviews-section {
    padding-bottom: 5rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Cards */
.phone-card {
    background: linear-gradient(145deg, var(--card-bg), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.phone-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.phone-card:hover::before {
    opacity: 1;
}

.phone-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px var(--card-hover-shadow);
    border-color: rgba(255, 255, 255, 0.1);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
    background: #ffffff;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.phone-card:hover .card-image {
    transform: scale(1.05);
}

/* Image Preview Button */
.preview-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
}

.card-image-wrapper:hover .preview-btn,
.review-hero-image:hover .preview-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.preview-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1) !important;
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.image-modal.active img {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--accent-color);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gradient);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--card-content-bg);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.card-title a:hover {
    color: var(--accent-color);
}

.card-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.read-more {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--bg-color);
    background: var(--text-primary);
    padding: 0.6rem 1.25rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.read-more:hover {
    background: var(--accent-color);
    color: #fff;
    gap: 0.75rem;
    box-shadow: 0 5px 15px var(--card-hover-shadow);
}

/* Modern Footer */
.modern-footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--border-color);
    padding: 4rem 5% 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: auto;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-logo-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo-text img {
    height: 40px;
    border-radius: 6px;
    box-shadow: 0 4px 10px var(--accent-shadow);
    transition: transform var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-logo-text img:hover {
    transform: scale(1.1) rotate(-3deg);
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all var(--transition-speed) ease;
}

.social-icon:hover {
    color: var(--text-primary);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--accent-shadow);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-links-group {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-heading {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-newsletter p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    color: var(--text-primary);
    font-family: var(--font-family);
    outline: none;
    transition: border-color var(--transition-speed) ease;
}

.newsletter-form input:focus {
    border-color: var(--accent-color);
}

.btn-subscribe {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--accent-shadow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-links-group {
        justify-content: flex-start;
        gap: 4rem;
    }
}

@media (max-width: 576px) {
    .footer-links-group {
        flex-direction: column;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-links {
        margin-top: 1rem;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 4rem 0 3rem;
    }
}

/* Article Pages */
.review-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.article-header {
    padding: 4rem 0 2rem;
}

.summary-table-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.specs-table th, .specs-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.specs-table th {
    background: var(--table-header-bg);
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table tr:hover {
    background: var(--table-row-hover);
}

.detailed-review {
    margin-top: 3rem;
}

.detailed-review h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detailed-review h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-primary);
}

.detailed-review p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.detailed-review ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.detailed-review li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.detailed-review strong {
    color: var(--text-primary);
}

.review-hero-image {
    margin-top: 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    background: #ffffff;
}

.review-hero-image img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
    display: block;
}

.suggestions-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.suggestions-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

/* Buy on Amazon Button */
.buy-now-container {
    text-align: center;
    margin: 4rem 0 2rem;
}

.buy-amazon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ff9900 0%, #ffb84d 100%);
    color: #111;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(255, 153, 0, 0.3);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: bouncePulse 2s infinite;
}

.buy-amazon-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 153, 0, 0.5);
    animation: none;
    color: #000;
}

@keyframes bouncePulse {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 10px 20px rgba(255, 153, 0, 0.3);
    }
    50% {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 15px 30px rgba(255, 153, 0, 0.5);
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 10px 20px rgba(255, 153, 0, 0.3);
    }
}

/* Video Section Styles */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: linear-gradient(145deg, var(--card-bg), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--card-hover-shadow);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

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

.video-info {
    padding: 1.5rem;
    background: var(--card-content-bg);
}

.video-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.video-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

@media (max-width: 576px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* Video Thumbnail Link Styles */
.video-thumbnail-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.play-button-overlay svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

.video-thumbnail-link:hover .play-button-overlay {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

/* Video Promo Banner */
.video-promo-banner {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(79, 172, 254, 0.1) 100%);
    border: 1px solid var(--accent-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 4rem 0;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 10px 30px var(--accent-shadow);
}

.promo-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.promo-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.promo-btn {
    display: inline-block;
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    box-shadow: 0 5px 15px var(--accent-shadow);
}

.promo-btn:hover {
    transform: translateY(-3px) scale(1.05);
    color: #fff;
    box-shadow: 0 10px 25px var(--accent-shadow);
}

/* Video Thumbnail Link Styles */
.video-thumbnail-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.play-button-overlay svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

.video-thumbnail-link:hover .play-button-overlay {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}
.heading-icon { vertical-align: bottom; margin-right: 8px; color: var(--primary-color); }
/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    font-family: inherit;
    font-weight: 600;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--card-bg);
    min-width: 160px;
    box-shadow: var(--shadow-md);
    z-index: 100;
    border-radius: 8px;
    padding: 0.5rem 0;
    border: 1px solid var(--border-color);
    top: 100%;
    left: 0;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    color: var(--text-color);
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

/* User Reviews Section */
.user-reviews-section {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.rating-overview {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.average-rating {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star-display {
    color: #ffd700;
}

.review-form-container {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.review-form .form-group {
    margin-bottom: 1rem;
}

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

.review-form input, .review-form select, .review-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--card-bg);
    color: var(--text-color);
    font-family: inherit;
}

.submit-review-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.submit-review-btn:hover {
    filter: brightness(1.1);
}

.review-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.reviewer-name {
    font-weight: 800;
}

.review-stars {
    color: #ffd700;
}

/* Improved Form Controls for Dark Mode */
.review-form input, .review-form select, .review-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.review-form input:focus, .review-form select:focus, .review-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .review-form-container {
    background: rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .review-form input, 
[data-theme="dark"] .review-form select, 
[data-theme="dark"] .review-form textarea {
    background-color: rgba(0, 0, 0, 0.4);
    border-color: #475569;
}

[data-theme="dark"] .review-form select option {
    background-color: #1e293b;
    color: #f1f5f9;
}

[data-theme="dark"] .dropdown-menu {
    background-color: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .dropdown-menu a:hover {
    background-color: #0f172a;
}
