:root {
    --neon-blue: #00d2ff;
    --neon-pink: #ff00ff;
    --neon-purple: #9d00ff;
    --bg-dark: #050505;
    --card-bg: #111111;
    --text-white: #ffffff;
    --text-gray: #888888;
    --space: 'Space Grotesk', sans-serif;
    --bangers: 'Bangers', cursive;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--space);
    overflow-x: hidden;
}

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    backdrop-filter: blur(5px);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.neon-text {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.search-bar {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-bar input {
    background: none;
    border: none;
    color: white;
    padding: 5px;
    outline: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.parallax-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transform: scale(1.1);
}

.hero-content {
    max-width: 600px;
}

.trending {
    display: inline-block;
    padding: 5px 15px;
    background: var(--neon-blue);
    color: black;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 20px;
    border-radius: 4px;
}

h1 {
    font-family: var(--bangers);
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.glitch {
    position: relative;
    color: white;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: var(--neon-pink);
    z-index: -1;
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
}

.glitch::after {
    color: var(--neon-blue);
    z-index: -2;
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) reverse both infinite;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
    100% { transform: translate(0); }
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 1px;
}

.btn-neon {
    background: var(--neon-pink);
    color: white;
    box-shadow: 0 0 20px var(--neon-pink);
}

.btn-neon:hover {
    background: var(--neon-blue);
    box-shadow: 0 0 30px var(--neon-blue);
    transform: scale(1.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-left: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Trending Section */
.trending-section {
    padding: 100px 5%;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--bangers);
    font-size: 2rem;
    letter-spacing: 2px;
}

.line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--neon-blue), transparent);
}

.anime-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.anime-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.anime-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-blue);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.2);
}

.card-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rating {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.8);
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid var(--neon-pink);
    color: var(--neon-pink);
    font-weight: 700;
}

.play-overlay {
    font-size: 4rem;
    opacity: 0;
    transition: 0.3s;
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--neon-blue);
}

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

.card-info {
    padding: 20px;
}

.card-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.card-info span {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* Footer */
.footer {
    padding: 50px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    h1 { font-size: 4rem; }
    .nav-links { display: none; }
    .anime-grid { grid-template-columns: repeat(2, 1fr); }
}
