:root {
    --primary-color: #00f2ff;
    --secondary-color: #7000ff;
    --bg-dark: #050505;
    --text-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --font-display: 'Rajdhani', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.highlight {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: filter 0.5s ease, transform 5s ease-out;
}

.carousel-slide:hover .slide-image {
    filter: brightness(0.8);
    transform: scale(1.05);
}

.slide-content {
    position: absolute;
    bottom: 15%;
    left: 5%;
    max-width: 50%;
    z-index: 10;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.carousel-slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    border-radius: 2px;
}

.slide-title {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 80%;
}

.slide-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-author {
    position: relative;
}

.slide-author::after {
    content: '|';
    position: absolute;
    right: -10px;
    color: rgba(255, 255, 255, 0.3);
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

/* Controls */
.carousel-controls {
    position: absolute;
    bottom: 5%;
    right: 5%;
    display: flex;
    gap: 1rem;
    z-index: 20;
}

.control-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: var(--primary-color);
    color: #000;
}

.carousel-indicators {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 20;
}

.indicator {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.indicator.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    animation: progress 5s linear;
}

@keyframes progress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* 4K Optimization */
@media (min-width: 2560px) {
    html {
        font-size: 24px;
    }

    .slide-title {
        font-size: 6rem;
    }

    .app-container {
        max-width: 3840px;
        margin: 0 auto;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .slide-title {
        font-size: 2.5rem;
    }

    .slide-content {
        max-width: 90%;
        bottom: 20%;
    }

    .main-header {
        padding: 1.5rem;
    }

    nav ul {
        display: none;
        /* Simple hide for mobile for this demo */
    }
}

/* Section Visibility */
.hidden-section {
    display: none !important;
}

.active-section {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Reviews Section */
.reviews-container {
    padding: 8rem 4rem 4rem;
    /* Top padding to clear fixed header */
    width: 100%;
    min-height: 100vh;
    background: var(--bg-dark);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    text-transform: uppercase;
}

.score-legend {
    display: flex;
    gap: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.score-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.score-dot.ign {
    background: #bf1313;
}

.score-dot.meta {
    background: #ffcc33;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.review-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.review-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.review-card:hover .review-image {
    transform: scale(1.1);
}

.review-content {
    padding: 1.5rem;
}

.review-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.review-scores {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.score-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
}

.score-badge.ign {
    background: rgba(191, 19, 19, 0.2);
    color: #ff4d4d;
    border: 1px solid #bf1313;
}

.score-badge.meta {
    background: rgba(255, 204, 51, 0.2);
    color: #ffcc33;
    border: 1px solid #ffcc33;
}