* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', sans-serif; }
body { background-color: #0f1016; color: #e0e0e0; overflow-x: hidden; }

/* HEADER */
header { background: #151621; border-bottom: 2px solid #ff4757; padding: 15px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.header-container { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.logo { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.logo span { color: #ff4757; }
.search-box { background: #232433; border-radius: 20px; padding: 8px 20px; width: 40%; display: flex; border: 1px solid #333; }
.search-box input { background: transparent; border: none; color: #fff; width: 100%; outline: none; }
.search-box button { background: none; border: none; color: #aaa; cursor: pointer; }
.login-btn, .user-btn { background: #ff4757; color: white; border: none; padding: 8px 20px; border-radius: 20px; font-weight: bold; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.login-btn:hover { background: #ff6b81; }

/* MODAL & FORM */
.login-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.login-modal-content { background: #1e1f2e; padding: 40px; border-radius: 12px; width: 350px; text-align: center; position: relative; border: 1px solid #333; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.close-login { position: absolute; top: 10px; right: 15px; cursor: pointer; color: #aaa; font-size: 24px; }
.input-group { background: #2a2b3d; padding: 10px; border-radius: 6px; margin: 15px 0; display: flex; align-items: center; gap: 10px; border: 1px solid #333; }
.input-group input { background: transparent; border: none; color: white; width: 100%; outline: none; }
.submit-btn { width: 100%; padding: 12px; background: #ff4757; color: white; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; }
.login-note { font-size: 12px; color: #666; margin-top: 10px; }

/* HERO */
.main-wrapper { max-width: 1400px; margin: 0 auto; padding: 30px 20px; }
.hero-section { display: flex; gap: 30px; margin-bottom: 50px; height: 420px; }
.welcome-box { width: 30%; display: flex; flex-direction: column; justify-content: center; padding: 20px; }
.welcome-box h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 15px; font-weight: 800; }
.welcome-box h1 span { color: #ff4757; }
.welcome-desc { color: #aaa; line-height: 1.6; margin-bottom: 25px; font-size: 1rem; }
.stats { display: flex; gap: 20px; margin-bottom: 25px; }
.stat-item { background: #232433; padding: 5px 15px; border-radius: 20px; font-size: 12px; color: #fff; border: 1px solid #333; }
.explore-btn { background: white; color: black; border: none; padding: 12px 30px; font-weight: bold; border-radius: 30px; cursor: pointer; width: fit-content; transition: 0.3s; }
.explore-btn:hover { background: #ff4757; color: white; }

.slider-box { width: 70%; position: relative; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.slider-wrapper { display: flex; height: 100%; transition: transform 0.6s ease-in-out; }
.slide { min-width: 100%; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: brightness(0.6); }
.slide-text { position: absolute; bottom: 50px; left: 50px; text-shadow: 2px 2px 10px rgba(0,0,0,0.9); }
.slide-text h2 { font-size: 3rem; color: white; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 20px; transition: 0.3s; }
.slider-nav:hover { background: #ff4757; }
.prev { left: 20px; } .next { right: 20px; }

/* CONTENT */
.content-layout { display: flex; gap: 30px; }
.sidebar { width: 260px; flex-shrink: 0; }
.sidebar-widget { background: #151621; padding: 20px; border-radius: 12px; margin-bottom: 20px; border: 1px solid #232433; }
.sidebar-widget h3 { color: #ff4757; margin-bottom: 15px; border-bottom: 1px solid #333; padding-bottom: 10px; font-size: 16px; }
.sidebar-widget li { list-style: none; padding: 10px; color: #bbb; cursor: pointer; border-radius: 6px; margin-bottom: 2px; font-size: 14px; transition: 0.2s; }
.sidebar-widget li:hover, .sidebar-widget li.active { background: #232433; color: white; padding-left: 15px; border-left: 3px solid #ff4757; }
.trend-list li { border-bottom: 1px solid #2a2b3d; padding: 12px 5px !important; }

.anime-list-area { flex-grow: 1; }
.list-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid #232433; padding-bottom: 15px; }
.list-header select { background: #232433; color: white; border: 1px solid #333; padding: 8px; border-radius: 6px; outline: none; }

.anime-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.anime-card { background: #151621; border-radius: 10px; overflow: hidden; cursor: pointer; transition: 0.3s; border: 1px solid #232433; position: relative; }
.anime-card:hover { transform: translateY(-7px); border-color: #ff4757; box-shadow: 0 10px 20px rgba(255, 71, 87, 0.2); }
.anime-card img { width: 100%; height: 270px; object-fit: cover; }
.card-content { padding: 15px; }
.card-title { font-weight: bold; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 5px; }
.card-meta { font-size: 12px; color: #888; display: flex; justify-content: space-between; }
.rating-badge { position: absolute; top: 10px; right: 10px; background: #ff4757; color: white; padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: bold; }

/* MODAL */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 1000; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-window { background: #1a1b26; width: 1000px; max-height: 90vh; border-radius: 15px; overflow-y: auto; position: relative; box-shadow: 0 0 50px rgba(0,0,0,0.8); }
.close-modal { position: absolute; top: 20px; right: 25px; font-size: 30px; cursor: pointer; color: #fff; z-index: 2; transition: 0.3s; }
.close-modal:hover { color: #ff4757; }
.modal-inner { display: flex; padding: 40px; gap: 40px; }
.modal-left { width: 300px; flex-shrink: 0; }
.modal-left img { width: 100%; border-radius: 12px; border: 1px solid #333; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.rating-box { background: #232433; padding: 20px; margin-top: 20px; border-radius: 10px; text-align: center; border: 1px solid #333; }
.stars i { color: #555; cursor: pointer; font-size: 24px; margin: 0 3px; transition: 0.2s; }
.stars i.active, .stars i:hover { color: #f1c40f; }

.modal-right { flex-grow: 1; }
#modalBaslik { font-size: 2.5rem; margin-bottom: 15px; color: white; font-weight: 800; }
.tags { display: flex; gap: 10px; margin-bottom: 25px; flex-wrap: wrap; }
.tag { padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: bold; }
.score { background: #f1c40f; color: black; }
.info { background: #333; color: white; border: 1px solid #444; }

.tabs { display: flex; gap: 20px; border-bottom: 1px solid #333; margin-bottom: 20px; }
.tab-btn { background: none; border: none; color: #888; padding-bottom: 10px; font-size: 16px; cursor: pointer; font-weight: bold; transition: 0.3s; }
.tab-btn.active { color: #ff4757; border-bottom: 3px solid #ff4757; color: white; }
.tab-content { display: none; animation: fadeIn 0.3s; }
.tab-content.active { display: block; }

.long-desc { line-height: 1.8; color: #ccc; font-size: 15px; }
.long-desc p { margin-bottom: 15px; }
.long-desc ul { background: #232433; padding: 20px 20px 20px 40px; border-radius: 8px; border-left: 4px solid #ff4757; margin-bottom: 15px; }
.long-desc li { margin-bottom: 8px; color: #ddd; }
.long-desc strong { color: white; }

.season-list { display: grid; gap: 10px; }
.season-item { background: #232433; padding: 15px; border-radius: 8px; display: flex; justify-content: space-between; border: 1px solid #333; transition: 0.2s; }
.season-item:hover { border-color: #ff4757; }

.comment-area textarea { width: 100%; background: #232433; border: 1px solid #333; color: white; padding: 15px; border-radius: 8px; height: 100px; margin-bottom: 10px; resize: none; outline: none; }
.comment-area button { background: #ff4757; color: white; border: none; padding: 10px 25px; border-radius: 6px; cursor: pointer; float: right; font-weight: bold; }
.user-comment { background: #232433; padding: 15px; border-radius: 8px; margin-top: 15px; border-left: 3px solid #666; }
.user-comment h5 { color: #ff4757; margin-bottom: 5px; }
.user-comment small { color: #888; font-size: 12px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 900px) { .hero-section { flex-direction: column; height: auto; } .welcome-box, .slider-box { width: 100%; } .content-layout, .modal-inner { flex-direction: column; } .sidebar, .modal-left { width: 100%; } }