/* ... (existing styles remain, appending/overwriting new ones) ... */
:root {
    --primary: #00ffff;
    /* Cyber Blue */
    --accent: #ff4500;
    /* Neon Orange */
    --dark: #0a0a0a;
    --text: #ffffff;
    --font-head: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--text);
    overflow: hidden;
    /* Prevent scrolling, full slideshow experience */
    height: 100vh;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

/* Slides */
.slide {
    display: none;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
}

.slide.active {
    display: flex;
    animation: fadeZoom 1s ease-out;
}

/* Overlays */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.overlay.dark {
    background: rgba(0, 0, 0, 0.8);
}

.overlay.gradient-left {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 30%, transparent 100%);
}

.overlay.gradient-right {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.9) 30%, transparent 100%);
}

/* Content Layouts */
.content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
}

.center-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-left {
    text-align: left;
    max-width: 800px;
}

.split-content {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    padding: 0 5%;
}

.split-content.reverse {
    justify-content: flex-end;
    text-align: right;
}

.split-content .text-side {
    max-width: 500px;
}

/* Typography & Elements */
h1 {
    font-family: var(--font-head);
    font-size: 8rem;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: 5px;
    margin-bottom: 1rem;
}

h2 {
    font-family: var(--font-head);
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.subtitle {
    font-size: 2rem;
    letter-spacing: 10px;
    color: var(--accent);
    margin-bottom: 2rem;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-left: 4px solid var(--accent);
    border-radius: 4px;
}

.character-name {
    font-size: 6rem;
    color: var(--primary);
    text-shadow: 2px 2px 0px #fff;
}

.character-name.color-accent {
    color: var(--accent);
}

.role {
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.stats {
    list-style: none;
    margin-top: 2rem;
}

.stats li {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.rating span {
    font-size: 6rem;
    font-family: var(--font-head);
    color: var(--accent);
    border: 4px solid var(--accent);
    padding: 1rem 2rem;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 2rem;
}

/* Add Group Info Styles */
.group-info {
    margin-top: 3rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    animation: fadeInUp 1.5s ease-out 0.5s backwards;
}

.group-info h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.group-info p {
    font-size: 1.2rem;
    color: white;
    font-weight: 700;
}

/* Character Grid Styles */
.character-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    width: 100%;
    margin-top: 2rem;
}

.char-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.char-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.char-img-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #222;
}

.char-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.char-card:hover img {
    transform: scale(1.1);
}

.char-info {
    padding: 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
}

.char-info h3 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.char-info p {
    margin: 0;
    font-size: 1rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-center {
    text-align: center;
    width: 100%;
}

/* Genre Text */
.genre-text {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Video Slide Styles */
.video-wrapper {
    width: 80%;
    max-width: 900px;
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    overflow: hidden;
    background: black;
    margin-bottom: 1.5rem;
}

video {
    width: 100%;
    display: block;
}

/* Star Rating Styles */
.rating-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.stars {
    font-size: 4rem;
    color: #444;
    /* Empty star color */
    display: inline-block;
    position: relative;
    letter-spacing: 5px;
}

.stars .star {
    display: inline-block;
}

.stars .filled {
    color: var(--accent);
    animation: popIn 0.5s backwards;
}

/* Staggered animation for stars */
.stars .filled:nth-child(1) {
    animation-delay: 0.2s;
}

.stars .filled:nth-child(2) {
    animation-delay: 0.4s;
}

.stars .filled:nth-child(3) {
    animation-delay: 0.6s;
}

.stars .filled:nth-child(4) {
    animation-delay: 0.8s;
}

.stars .half {
    position: relative;
    color: #444;
    animation: popIn 0.5s 1.0s backwards;
}

.stars .half::after {
    content: '\2605';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: var(--accent);
}

.score-text {
    font-size: 1.5rem;
    margin-top: 1rem;
    color: white;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Navigation Controls */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    opacity: 0.5;
}

.nav-btn:hover {
    opacity: 1;
    text-shadow: 0 0 10px white;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.dots-container {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.restart-btn {
    padding: 1rem 2rem;
    background: var(--primary);
    border: none;
    color: var(--dark);
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1.2rem;
    transition: 0.3s;
}

.restart-btn:hover {
    background: white;
    box-shadow: 0 0 20px white;
}

/* Animations */
@keyframes fadeZoom {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    80% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 blue;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 31px, 0);
    }

    20% {
        clip: rect(50px, 9999px, 80px, 0);
    }

    40% {
        clip: rect(20px, 9999px, 60px, 0);
    }

    60% {
        clip: rect(80px, 9999px, 120px, 0);
    }

    80% {
        clip: rect(10px, 9999px, 50px, 0);
    }

    100% {
        clip: rect(60px, 9999px, 100px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(70px, 9999px, 90px, 0);
    }

    20% {
        clip: rect(10px, 9999px, 40px, 0);
    }

    40% {
        clip: rect(60px, 9999px, 80px, 0);
    }

    60% {
        clip: rect(20px, 9999px, 50px, 0);
    }

    80% {
        clip: rect(90px, 9999px, 100px, 0);
    }

    100% {
        clip: rect(30px, 9999px, 60px, 0);
    }
}