:root {
    --primary-color: #ff4757;
    --primary-hover: #e84142;
    --secondary-color: #2f3542;
    --background-dark: #1e1e2e;
    --background-light: #2c2c3e;
    --text-color: #f1f2f6;
    --text-muted: #a4b0be;
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--background-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.logo span {
    color: var(--primary-color);
}

nav {
    display: flex;
    align-items: center;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 16px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.search-box {
    margin-left: 20px;
    position: relative;
    display: flex;
}

.search-box input {
    background-color: var(--secondary-color);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    color: var(--text-color);
    outline: none;
}

.search-box button {
    background: none;
    border: none;
    color: var(--text-muted);
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    margin-left: 15px;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://www.pixelstalk.net/wp-content/uploads/images6/4K-Anime-Wallpaper-Desktop-1.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content .highlight {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #ddd;
}

.hero-buttons .btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    margin: 0 10px;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--secondary-color);
}

.btn-animelook {
    background-color: #f0932b;
    color: #fff;
    border: 2px solid #f0932b;
}

.btn-animelook:hover {
    background-color: #ffbe76;
    border-color: #ffbe76;
    color: #fff;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
}

/* Anime Grid */
.anime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.anime-card {
    background-color: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.anime-card:hover {
    transform: translateY(-5px);
}

.card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.anime-card:hover .card-image img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.play-overlay i {
    font-size: 50px;
    color: #fff;
}

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

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.card-info {
    padding: 15px;
    text-align: center;
}

.card-info h3 {
    font-size: 16px; /* Biraz küçülttük ki daha fazla sığsın */
    margin-bottom: 5px;
    white-space: normal; /* Alt satıra geçmesine izin ver */
    overflow: visible;   /* Taşmayı göster (zaten alt satıra geçecek) */
    text-overflow: clip; /* "..." koyma */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* En fazla 2 satır olsun */
    -webkit-box-orient: vertical;
    line-height: 1.3;
    height: 2.6em; /* 2 satır yüksekliği kadar yer ayır */
}

.card-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.btn-sm {
    display: inline-block;
    padding: 5px 20px;
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-radius: 20px;
    font-size: 14px;
}

.btn-sm:hover {
    background-color: var(--primary-color);
}

/* SEO Content Section */
.seo-section {
    background-color: var(--background-light);
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.seo-content h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: #fff;
}

.seo-content p {
    color: #ccc;
    margin-bottom: 15px;
}

.seo-content strong {
    color: #fff;
}

.seo-content em {
    color: var(--primary-color);
    font-style: normal;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    transition: 0.3s;
}

.feature-item:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Footer */
footer {
    background-color: #111;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-logo a {
    font-size: 24px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: 10px;
}

.footer-social a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #777;
}

.footer-bottom a {
    color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background-light);
        padding: 20px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .search-box {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}