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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-card: #1a1a1a;
    --bg-hover: #252525;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #707070;
    --border: #2a2a2a;
    --accent: #ffffff;
    --accent-hover: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.5);
    --shadow-lg: rgba(0, 0, 0, 0.8);
}

/* Emoji'leri HTML entity olarak göster - sistem emojilerini devre dışı bırak */
* {
    font-variant-emoji: text;
    -webkit-font-feature-settings: "liga" 0, "kern" 1;
    font-feature-settings: "liga" 0, "kern" 1;
    text-rendering: optimizeLegibility;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    background-image: url('./assets/background.jpg'), url('./assets/background.png'), url('assets/background.jpg'), url('assets/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.7);
    z-index: -1;
    pointer-events: none;
    animation: fadeIn 1s ease-out;
}

/* Sayfa yüklenirken animasyonlar */
body.loaded .container > * {
    animation: fadeIn 0.6s ease-out backwards;
}

body.loaded .container > *:nth-child(1) { animation-delay: 0.1s; }
body.loaded .container > *:nth-child(2) { animation-delay: 0.2s; }
body.loaded .container > *:nth-child(3) { animation-delay: 0.3s; }
body.loaded .container > *:nth-child(4) { animation-delay: 0.4s; }

/* Ripple efekti */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Scroll animasyonları */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out backwards;
}

/* Loading animasyonu */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    flex: 1;
}

/* Header */
header {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
    animation: slideIn 0.5s ease-out;
    transition: all 0.3s;
}

header:hover {
    box-shadow: 0 4px 30px var(--shadow-lg);
}

nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInLeft 0.6s ease-out;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    transition: all 0.3s;
    animation: float 3s ease-in-out infinite;
    width: auto;
    display: block;
}

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

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
    position: relative;
    padding: 8px 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 0 80px;
    margin-bottom: 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -2px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
    animation: slideIn 0.8s ease-out, fadeIn 0.8s ease-out;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    animation: slideIn 1s ease-out 0.2s backwards, fadeIn 1s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.feature-card {
    background: rgba(26, 26, 26, 0.95);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.8s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--text-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--text-secondary);
    box-shadow: 0 20px 50px var(--shadow-lg);
    animation: glow 2s ease-in-out infinite;
}

.feature-card:hover::before {
    opacity: 1;
    animation: shimmer 2s linear infinite;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
}

/* Forum */
.forum-categories {
    margin-bottom: 40px;
}

.category-item {
    background: rgba(26, 26, 26, 0.95);
    padding: 24px 32px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.category-item:hover {
    background: var(--bg-hover);
    border-color: var(--text-secondary);
    transform: translateX(4px);
}

.category-info h3 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.category-info p {
    color: var(--text-secondary);
    font-size: 14px;
}

.category-stats {
    text-align: right;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.recent-topics {
    margin-top: 60px;
}

.recent-topics h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.topics-list {
    background: rgba(26, 26, 26, 0.95);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.topic-item {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.topic-item:last-child {
    border-bottom: none;
}

.topic-item:hover {
    background: var(--bg-hover);
}

.topic-info {
    flex: 1;
}

.topic-info h4 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
}

.topic-info h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.topic-info h4 a:hover {
    color: var(--text-secondary);
}

.topic-meta {
    color: var(--text-muted);
    font-size: 13px;
}

.topic-stats {
    display: flex;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-left: 24px;
}

/* Forms */
.form-container {
    max-width: 520px;
    margin: 60px auto;
    background: rgba(26, 26, 26, 0.95);
    padding: 48px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px var(--shadow);
    backdrop-filter: blur(10px);
}

.form-container h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--text-secondary);
    background: var(--bg-hover);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Downloads */
.download-section {
    background: rgba(26, 26, 26, 0.95);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 32px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.download-section:hover {
    border-color: var(--text-secondary);
    box-shadow: 0 8px 32px var(--shadow);
}

.download-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.download-section p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.7;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--bg-secondary);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
    border: 1px solid var(--border);
}

.download-link:hover {
    background: var(--bg-hover);
    border-color: var(--text-secondary);
    transform: translateX(4px);
}

.download-link strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.download-link span {
    display: block;
    color: var(--text-secondary);
    font-size: 13px;
}

/* Footer */
footer {
    background: rgba(20, 20, 20, 0.95);
    border-top: 1px solid var(--border);
    padding: 48px 0;
    margin-top: 80px;
    text-align: center;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

footer p {
    margin: 8px 0;
    font-size: 14px;
}

/* Messages */
.message {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid;
}

.message.success {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.message.error {
    background: rgba(255, 68, 68, 0.1);
    border-color: rgba(255, 68, 68, 0.3);
    color: #ff6b6b;
}

/* Section Headers */
section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    nav {
        padding: 0 16px;
        height: 60px;
    }

    .nav-links {
        gap: 20px;
        font-size: 14px;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .form-container {
        padding: 32px 24px;
        margin: 40px auto;
    }

    .topic-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .topic-stats {
        margin-left: 0;
    }

    .category-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .category-stats {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

/* Enhanced Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

body {
    animation: fadeIn 0.5s ease-in;
}

.feature-card,
.download-section,
.category-item,
.topic-item {
    animation: fadeIn 0.6s ease-out;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e0e0e0 0%, #ffffff 100%);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

header {
    backdrop-filter: blur(20px);
    background: rgba(20, 20, 20, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--text-primary), transparent);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::before {
    width: 100%;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.hero h1 {
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeIn 0.8s ease-out;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.topic-item {
    position: relative;
    overflow: hidden;
}

.topic-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--text-primary);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.topic-item:hover::before {
    transform: scaleY(1);
}

.message {
    animation: slideIn 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

.message::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.chat-message {
    animation: fadeIn 0.5s ease-out;
    transition: all 0.3s;
}

.chat-message:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.badge-item {
    transition: all 0.3s;
}

.badge-item:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.download-link {
    position: relative;
    overflow: hidden;
}

.download-link::after {
    content: '→';
    position: absolute;
    right: 20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.download-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.download-link:hover {
    padding-right: 50px;
}

.category-item::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--text-primary);
    transition: width 0.3s;
}

.category-item:hover::after {
    width: 30px;
}

