/* Premium 2026 Design - Glassmorphism & Neon Accents */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

:root {
    --bg-main: #0a0f1c; /* Derin uzay mavisi/siyahı */
    --card-bg: rgba(20, 27, 45, 0.6); /* Yarı şeffaf cam efekti */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --accent: #6366f1; /* Modern indigo */
    --accent-glow: rgba(99, 102, 241, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);
    --hover-border: rgba(255, 255, 255, 0.25);
}

body {
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.08), transparent 25%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* --- Header & Navigation --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links li a:hover {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.add-site-btn {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.add-site-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* --- Hero Section (Karşılama Alanı) --- */
.hero-section {
    max-width: 1200px;
    margin: 40px auto 20px auto;
    padding: 0 5%;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    background: linear-gradient(145deg, rgba(30, 41, 65, 0.4), rgba(15, 23, 42, 0.2));
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #38bdf8, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 35px auto;
    line-height: 1.7;
}

.hero-description strong {
    color: var(--text-main);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-btn {
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    box-shadow: 0 10px 25px var(--accent-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-btn.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.6);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- Main Content Layout (Reklam ve Grid Yan Yana Düzeni) --- */
.main-content-layout {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 5%;
    align-items: flex-start;
}

.sidebar-ad-wrapper {
    width: 300px;
    flex-shrink: 0;
}

/* Grid Layout (Home Page) & Renk Şöleni */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.grid-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Her kutucuğa farklı neon renk geçişi (Renk Şöleni) */
.grid-item:nth-child(5n+1) { --card-glow: rgba(99, 102, 241, 0.35); --accent-grad: linear-gradient(135deg, #6366f1, #a855f7); }
.grid-item:nth-child(5n+2) { --card-glow: rgba(56, 189, 248, 0.35); --accent-grad: linear-gradient(135deg, #38bdf8, #3b82f6); }
.grid-item:nth-child(5n+3) { --card-glow: rgba(16, 185, 129, 0.35); --accent-grad: linear-gradient(135deg, #34d399, #059669); }
.grid-item:nth-child(5n+4) { --card-glow: rgba(245, 158, 11, 0.35); --accent-grad: linear-gradient(135deg, #fbbf24, #d97706); }
.grid-item:nth-child(5n+5) { --card-glow: rgba(244, 63, 94, 0.35); --accent-grad: linear-gradient(135deg, #fb7185, #e11d48); }

.grid-item:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(30, 41, 65, 0.9);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 
                0 0 25px var(--card-glow);
}

.icon-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--accent-grad);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.grid-item:hover .icon-placeholder {
    transform: scale(1.08) rotate(-3deg);
}

.icon-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.title {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.grid-item:hover .title {
    color: var(--text-main);
}

/* --- Belirgin Unblocked Rating Rozetleri --- */
.rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(16, 185, 129, 0.95);
    color: #ffffff;
    border: 1px solid #34d399;
    padding: 5px 9px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(6px);
    z-index: 5;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.5);
}

.rating-badge.warning {
    background: rgba(245, 158, 11, 0.95);
    color: #ffffff;
    border-color: #fbbf24;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
}

.rating-badge.blocked {
    background: rgba(239, 68, 68, 0.95);
    color: #ffffff;
    border-color: #f87171;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5);
}

/* --- AdSense Blocks --- */
.ad-container {
    background: rgba(15, 23, 42, 0.4);
    border: 1px dashed rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    position: relative;
    border-radius: 16px;
}

.ad-label {
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.3);
    font-weight: 700;
}

.ad-970x250 {
    width: 100%;
    max-width: 970px;
    height: 250px;
}

/* 300x250 Reklam Alanı (Grid İçinde 2 Kolon ve 2 Satır Kaplar) */
.grid-item.ad-300x250 {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 250px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px dashed rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}

.ad-placeholder {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
}

.ad-300x250-sidebar {
    width: 300px;
    height: 250px;
}

/* --- Blog / Detail Page Layout --- */
.article-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 5%;
    display: flex;
    gap: 40px;
}

.content-area {
    flex: 1;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 40px;
}

.site-header {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.icon-placeholder.large {
    width: 80px;
    height: 80px;
    font-size: 36px;
}

.site-header h1 {
    font-size: 32px;
    margin: 0;
}

.seo-article {
    line-height: 1.8;
    color: #cbd5e1;
    font-size: 16px;
    margin-bottom: 30px;
}

.action-buttons {
    margin-top: 20px;
}

.visit-site-btn {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: transform 0.3s;
}

.visit-site-btn:hover {
    transform: translateY(-3px);
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* --- Rating Widget (Detail Page) --- */
.rating-widget {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.rating-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 14px;
}

.rating-bar-bg {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* --- Form Styling (Submit & Admin) --- */
.glass-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: #e2e8f0;
}

.form-group small {
    color: var(--text-muted);
    font-size: 12px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px;
    color: white;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: rgba(15, 23, 42, 0.8);
}

.submit-form-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 10px;
}

.submit-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.alert {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.alert.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #34d399;
}

.alert.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #f87171;
}

.form-group select option {
    background-color: var(--bg-main);
    color: white;
}

/* --- Responsive & Mobile Adaptations --- */
@media (max-width: 900px) {
    .main-content-layout {
        flex-direction: column;
        align-items: center;
    }
    .sidebar-ad-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .sidebar-ad-wrapper .ad-300x250 {
        width: 100% !important;
        max-width: 300px;
    }
    .grid-container {
        width: 100%;
    }
    .article-container {
        flex-direction: column;
    }
    .sidebar, .ad-300x250-sidebar {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .grid-item.ad-300x250 {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 200px !important;
    }
}

@media (max-width: 850px) {
    .nav-links {
        display: none;
    }
    header {
        padding: 15px 5%;
    }
    .add-site-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-description {
        font-size: 16px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .hero-content {
        padding: 40px 20px;
    }
}