/* Hytale Rehberi - Yeni Tasarım Sistemi */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    /* Yeni Renk Paleti - Canlı ve Oyuncu */
    --primary: #FF6B35;
    --primary-light: #FF8F5E;
    --primary-dark: #E55A2B;
    --secondary: #00D9FF;
    --secondary-dark: #00B8D9;
    --accent: #FFE66D;
    --accent-dark: #F5D93A;

    /* Yeşil Tonları (Orbis) */
    --nature-green: #4ADE80;
    --forest: #22C55E;
    --emerald: #10B981;

    /* Arka Plan - Sıcak Koyu Tonlar */
    --bg-dark: #1A1625;
    --bg-darker: #13101C;
    --bg-card: #241E35;
    --bg-card-hover: #2E2644;
    --bg-gradient: linear-gradient(180deg, #1A1625 0%, #0F0D15 100%);

    /* Metin */
    --text-white: #FFFFFF;
    --text-light: #E2E8F0;
    --text-muted: #94A3B8;
    --text-dim: #64748B;

    /* Özel Gradyanlar */
    --gradient-fire: linear-gradient(135deg, #FF6B35 0%, #FFE66D 100%);
    --gradient-ocean: linear-gradient(135deg, #00D9FF 0%, #4ADE80 100%);
    --gradient-sunset: linear-gradient(135deg, #FF6B35 0%, #FF8F5E 50%, #FFE66D 100%);
    --gradient-magic: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);

    /* Gölgeler */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-fire: 0 4px 30px rgba(255, 107, 53, 0.3);
    --shadow-ocean: 0 4px 30px rgba(0, 217, 255, 0.3);

    /* Geçişler */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
}

/* Arka Plan Dekorasyon */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0, 217, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

/* Container */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(26, 22, 37, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 48px;
    width: auto;
    border-radius: var(--radius-md);
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-links a {
    display: block;
    padding: 10px 20px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.08);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: saturate(1.2);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(26, 22, 37, 0.3) 0%,
            rgba(26, 22, 37, 0.6) 50%,
            var(--bg-dark) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero h1 {
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-fire);
    color: var(--bg-dark);
    box-shadow: var(--shadow-fire);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(255, 107, 53, 0.4);
    color: var(--bg-dark);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: var(--text-white);
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header h2 .highlight {
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ========== CATEGORIES ========== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.category-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-fire);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 107, 53, 0.2);
    box-shadow: var(--shadow-lg);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-fire);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
    box-shadow: var(--shadow-fire);
}

.category-card h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.category-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.category-link:hover {
    color: var(--primary-light);
    gap: 12px;
}

/* ========== FEATURED ARTICLE ========== */
.featured-article {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--bg-card);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 450px;
    margin-bottom: 80px;
}

.featured-image {
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.featured-article:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-tag {
    display: inline-block;
    background: var(--gradient-fire);
    color: var(--bg-dark);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    width: fit-content;
}

.featured-content h2 {
    margin-bottom: 16px;
    font-size: 2rem;
}

.featured-content p {
    margin-bottom: 28px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ========== ARTICLES GRID ========== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
}

.article-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 53, 0.15);
}

.article-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.article-card:hover .article-image img {
    transform: scale(1.08);
}

.article-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content {
    padding: 28px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.article-content h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    transition: color var(--transition-fast);
}

.article-card:hover .article-content h3 {
    color: var(--primary-light);
}

.article-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.read-more:hover {
    color: var(--primary-light);
    gap: 12px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-darker);
    padding: 60px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(2, 1fr);
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin: 20px 0;
    max-width: 320px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* ========== ARTICLE PAGE ========== */
.article-page {
    padding-top: 120px;
    padding-bottom: 80px;
}

.article-header {
    text-align: center;
    padding: 40px 0 60px;
    max-width: 800px;
    margin: 0 auto;
}

.article-header .article-tag {
    position: static;
    margin-bottom: 24px;
}

.article-header h1 {
    margin-bottom: 20px;
}

.article-header .highlight {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-body h2 {
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.article-body h3 {
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--secondary);
}

.article-body p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-body ul,
.article-body ol {
    margin-bottom: 24px;
    padding-left: 24px;
    color: var(--text-light);
}

.article-body li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.article-body img {
    width: 100%;
    border-radius: var(--radius-xl);
    margin: 32px 0;
}

/* Tip Box */
.tip-box {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(74, 222, 128, 0.05) 100%);
    border-left: 4px solid var(--secondary);
    padding: 24px;
    border-radius: var(--radius-md);
    margin: 32px 0;
}

.tip-box h4 {
    color: var(--secondary);
    margin-bottom: 8px;
    font-size: 1rem;
}

.tip-box p {
    margin: 0;
    font-size: 0.95rem;
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 230, 109, 0.05) 100%);
    border-left: 4px solid var(--primary);
    padding: 24px;
    border-radius: var(--radius-md);
    margin: 32px 0;
}

.warning-box h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1rem;
}

.warning-box p {
    margin: 0;
    font-size: 0.95rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 60px 0;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .featured-content {
        padding: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========== SEARCH ========== */
.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-left: 12px;
}

.search-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    border-color: var(--primary);
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 10, 21, 0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 100%;
    max-width: 640px;
    padding: 0 24px;
}

.search-box {
    position: relative;
    margin-bottom: 24px;
}

.search-input {
    width: 100%;
    padding: 20px 24px 20px 60px;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    color: var(--text-white);
    outline: none;
    transition: all var(--transition-fast);
}

.search-input::placeholder {
    color: var(--text-dim);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}

.search-box::before {
    content: '🔍';
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
}

.search-close {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.search-close:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.search-results {
    max-height: 50vh;
    overflow-y: auto;
}

.search-hint,
.search-no-results {
    text-align: center;
    color: var(--text-dim);
    font-size: 1rem;
    padding: 24px;
}

.search-result-item {
    display: block;
    padding: 20px 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.search-result-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateX(8px);
}

.search-result-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-white);
}

.search-result-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.search-result-item mark {
    background: rgba(255, 107, 53, 0.3);
    color: var(--primary-light);
    padding: 2px 4px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .search-toggle {
        width: 40px;
        height: 40px;
        margin-left: 8px;
    }

    .search-overlay {
        padding-top: 10vh;
    }

    .search-input {
        font-size: 1rem;
        padding: 16px 20px 16px 50px;
    }

    .search-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}