:root {
    --bg-main: #000000;
    --bg-secondary: #080808;
    --bg-tertiary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-light: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.3);
    --glow-color: rgba(255, 255, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    cursor: default;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px; /* Sabit navbar için kaydırma payı (Desktop) */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
}

nav.scrolled {
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    cursor: pointer;
}

.logo-img {
    height: 35px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-links a {
    color: #ffffff !important;
    font-size: 1.5rem;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    outline: none;
}

/* İkonların içinde de alt çizgi oluşmasını engelle */
.social-links a i {
    text-decoration: none !important;
    color: inherit;
}

.social-links a:hover {
    opacity: 1;
    transform: scale(1.1);
}

.social-links a:hover .fa-instagram {
    color: #E1306C;
    text-shadow: 0 0 15px rgba(225, 48, 108, 0.5);
}

.social-links a:hover .fa-whatsapp {
    color: #25D366;
    text-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
}
.social-links a:hover .fa-envelope {
    color: #33b5ff;
    text-shadow: 0 0 15px rgba(51, 181, 255, 0.6);
}

.nav-links {
    display: flex;
    gap: 3.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 1rem 0; /* Navbar yüksekliği kadar padding eklendi */
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -4;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.55) 100%);
    z-index: -3;
    pointer-events: none;
}

/* Ambient Center Glow */
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -2;
    pointer-events: none;
}

/* Grid Background Pattern */
.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1;
    letter-spacing: -3px;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
    text-transform: uppercase;
}

.hero h1 span {
    color: rgba(0, 0, 0, 0.5);
    -webkit-text-stroke: 1.5px var(--text-primary);
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
    margin-bottom: 4rem;
    font-weight: 400;
    line-height: 1.8;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
    transform: translateY(40px);
}

.btn-modern {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    padding: 1.2rem 4rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    display: inline-block;
    backdrop-filter: blur(5px);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
    transform: translateY(40px);
}

.btn-buy {
    /* İnce ayar gerekirse buraya eklenebilir, şu an İndir butonuyla aynı */
}

.btn-buy:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

.btn-modern:hover {
    color: var(--bg-main);
    border-color: var(--text-primary);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.btn-modern:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Videos Section */
.videos-section {
    padding: 5rem 8%;
    background: var(--bg-main);
    position: relative;
}

/* Video Toolbar & Categories Navigation */
.video-toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.85rem;
    margin-bottom: 3.5rem;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.video-categories-nav {
    display: contents;
}

/* Video Arama Kutusu */
.video-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 260px;
    flex-shrink: 0;
    margin-left: 0;
}

.video-search-wrapper .search-icon {
    position: absolute;
    left: 14px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 2;
}

#videoSearchInput {
    width: 100%;
    padding: 0.82rem 2.3rem 0.82rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 500;
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: text;
}

#videoSearchInput::placeholder {
    color: #777777;
    font-weight: 400;
}

#videoSearchInput:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

#videoSearchInput:focus {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.video-search-wrapper:focus-within .search-icon {
    color: #ffffff;
}

.clear-search-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    padding: 5px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.clear-search-btn:hover {
    color: #ffffff;
    transform: scale(1.15);
}

/* Arama Sonucu Bulunamadi */
.video-no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.video-no-results i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #555555;
    display: block;
}

.video-no-results p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.video-cat-btn {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.82rem 1.35rem;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    user-select: none;
    flex-shrink: 0;
}

.video-cat-btn i {
    font-size: 0.95rem;
    transition: transform 0.3s ease, color 0.3s ease;
    opacity: 0.85;
}

.video-cat-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.video-cat-btn:hover i {
    transform: scale(1.15);
    opacity: 1;
}

.video-cat-btn.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.video-cat-btn.active i {
    color: #000000;
    opacity: 1;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.video-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    container-type: inline-size;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

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

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    z-index: 2;
}

.video-container video,
.video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-info {
    padding: 2rem;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.video-info h3 {
    font-size: clamp(1.1rem, 7cqw, 1.4rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.video-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.video-hidden {
    display: none;
}

.more-videos-container {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.btn-more {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 3rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-more:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

@media (max-width: 1400px) {
    .videos-section {
        padding: 5rem 4%;
    }
}

/* 1. Kırılma: Ekran küçülüp menü sığmadığında arama kutusu bir alt satıra geçer ve ortalanır */
@media (max-width: 1280px) {
    .video-toolbar {
        display: grid;
        grid-template-columns: repeat(3, auto);
        justify-content: center;
        align-items: center;
        gap: 1.1rem 0.75rem;
    }

    .video-categories-nav {
        display: contents;
    }

    .video-search-wrapper {
        grid-column: 1 / -1;
        justify-self: center;
        width: 320px;
    }
}

@media (max-width: 1024px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 2. Kırılma: İlk satırdaki 3 buton sığmadığında en sağdaki buton (3.) alt satıra aramanın soluna geçer */
@media (max-width: 960px) {
    .video-toolbar {
        display: grid;
        grid-template-columns: repeat(2, auto);
        justify-content: center;
        align-items: center;
        gap: 0.85rem 0.85rem;
    }

    .video-categories-nav {
        display: contents;
    }

    .video-cat-btn {
        padding: 0.75rem 1.1rem;
        font-size: 0.84rem;
        gap: 8px;
    }

    .video-cat-btn i {
        font-size: 0.9rem;
    }

    .video-search-wrapper {
        grid-column: auto;
        justify-self: stretch;
        width: 100%;
        min-width: 200px;
    }

    #videoSearchInput {
        padding: 0.75rem 2rem 0.75rem 2.3rem;
        font-size: 0.84rem;
    }
}

/* 3. Kırılma: Mobil Görünüm (5. Resimdeki gibi dikey tam genişlik) */
@media (max-width: 768px) {
    .video-toolbar {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }

    .video-categories-nav {
        display: contents;
    }

    .video-cat-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.85rem 1.2rem !important;
        font-size: 0.88rem !important;
        gap: 8px !important;
        white-space: normal !important;
        flex-shrink: 0 !important;
    }

    .video-cat-btn i {
        font-size: 0.95rem !important;
    }

    .video-search-wrapper {
        width: 100% !important;
        min-width: unset !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    #videoSearchInput {
        width: 100% !important;
        padding: 0.85rem 2.2rem 0.85rem 2.5rem !important;
        font-size: 0.88rem !important;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }
}

.video-card.anim-fade-in {
    animation: videoCardFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes videoCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.features {
    padding: 5rem 8%;
    background: var(--bg-secondary);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.section-header {
    max-width: 600px;
    margin-bottom: 6rem;
}

.section-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1.5rem;
    display: block;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-label::after {
    content: '';
    height: 1px;
    width: 50px;
    background: var(--border-color);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    color: var(--text-primary);
}

/* Bento Grid Style */
.features-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    auto-rows: minmax(300px, auto);
}

.feature-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

/* Sizing the grid items */
.feature-card:nth-child(1) {
    grid-column: span 12;
}

.feature-card:nth-child(2) {
    grid-column: span 8;
}

.feature-card:nth-child(3) {
    grid-column: span 4;
}

.feature-card:nth-child(4) {
    grid-column: span 4;
}

.feature-card:nth-child(5) {
    grid-column: span 8;
}

/* Character Classes Grid */
.chars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.char-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    cursor: pointer;
}

.char-card:hover, .char-card.active {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.char-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.char-card:hover::before, .char-card.active::before {
    opacity: 1;
}

.char-icon-wrapper {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--text-primary);
    transition: all 0.5s;
    display: inline-flex;
    transform-origin: left center;
}

@keyframes charPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.char-card:hover .char-icon-wrapper,
.char-card.active .char-icon-wrapper {
    animation: charPulse 1.5s ease-in-out infinite;
}

.char-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.char-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.char-warrior .char-icon-wrapper { color: #ff3333; text-shadow: 0 0 15px rgba(255,51,51,0.4); }
.char-rogue .char-icon-wrapper { color: #33ccff; text-shadow: 0 0 15px rgba(51,204,255,0.4); }
.char-archer .char-icon-wrapper { color: #33ffcc; text-shadow: 0 0 15px rgba(51,255,204,0.4); }
.char-priest .char-icon-wrapper { color: #ffff66; text-shadow: 0 0 15px rgba(255,255,102,0.4); }
.char-mage .char-icon-wrapper { color: #cc66ff; text-shadow: 0 0 15px rgba(204,102,255,0.4); }
.char-kurian .char-icon-wrapper { color: #ff9933; text-shadow: 0 0 15px rgba(255,153,51,0.4); }

@media (max-width: 1024px) {
    .chars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .chars-grid { grid-template-columns: 1fr; }
    .feature-card { grid-column: span 12 !important; }
}

/* Mouse Tracking Light Effect */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

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

.feature-card:hover,
.feature-card.active {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
    /* İkon ve başlık arası boşluk */
    margin-bottom: 1.5rem;
    /* Paragrafla aradaki boşluk */
    position: relative;
    z-index: 2;
}

.feature-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    font-size: 2rem;
    filter: none;
    opacity: 0.9;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-icon,
.feature-card.active .feature-icon {
    opacity: 1;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 400;
    position: relative;
    z-index: 2;
    max-width: 90%;
}

/* AI Özellik Kartı Özel Stilleri */
.feature-card.feature-ai {
    grid-column: span 12;
    background: linear-gradient(145deg, var(--bg-main) 0%, #0a0a0a 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 2rem;
}

.feature-ai .feature-icon {
    font-size: 2.5rem;
    color: #00f2ff;
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

.feature-speed .feature-icon {
    color: #ffcc00;
    text-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

.feature-security .feature-icon {
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.feature-chars .feature-icon {
    color: #ff4444;
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.3);
}

.feature-engine .feature-icon {
    color: #5d5dff;
    text-shadow: 0 0 20px rgba(93, 93, 255, 0.3);
}

.feature-ai .feature-icon-wrapper {
    position: relative;
    padding: 10px;
}

.scan-line {
    position: absolute;
    width: 140%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    top: 50%;
    left: -20%;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 3;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.feature-card.feature-ai:hover .scan-line,
.feature-card.feature-ai.active .scan-line {
    opacity: 0.6;
    animation: scanning 2.5s ease-in-out infinite;
}

@keyframes scanning {
    0% { transform: translateY(-25px); }
    50% { transform: translateY(25px); }
    100% { transform: translateY(-25px); }
}

/* Diğer Kart Animasyonları */

/* 1. Şimşek (Tepki Süresi) */
.feature-speed:hover .feature-icon,
.feature-speed.active .feature-icon {
    animation: lightning 0.4s ease-in-out infinite alternate;
    opacity: 1 !important;
}

@keyframes lightning {
    0% { filter: brightness(1) drop-shadow(0 0 0px #ffcc00); }
    100% { filter: brightness(1.5) drop-shadow(0 0 15px rgba(255,204,0,0.8)); }
}

/* 2. Kalkan (Güvenlik Sistemi) */
.feature-security:hover .feature-icon,
.feature-security.active .feature-icon {
    animation: shieldGuard 1s ease-in-out infinite;
    opacity: 1 !important;
}

@keyframes shieldGuard {
    0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 0 #00ff88); }
    50% { transform: scale(1.1) rotate(5deg); filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.5)); }
}

/* 3. Hedef (Karakter Komboları) */
.feature-chars:hover .feature-icon,
.feature-chars.active .feature-icon {
    animation: targetPulse 1.5s ease-in-out infinite;
    opacity: 1 !important;
}

@keyframes targetPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); filter: drop-shadow(0 0 20px rgba(255,68,68,0.6)); }
}

/* 4. Büyteç (Modern Altyapı) */
.feature-engine:hover .feature-icon,
.feature-engine.active .feature-icon {
    animation: searchMove 2s ease-in-out infinite;
    opacity: 1 !important;
}

@keyframes searchMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); filter: drop-shadow(0 0 0 #5d5dff); }
    25% { transform: translate(5px, -5px) rotate(5deg); filter: drop-shadow(0 0 10px rgba(93,93,255,0.4)); }
    75% { transform: translate(-5px, 5px) rotate(-5deg); filter: drop-shadow(0 0 10px rgba(93,93,255,0.4)); }
}

/* Footer */
footer {
    padding: 5rem 8%;
    background: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

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

.footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links span {
    color: var(--text-secondary);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-bottom {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: #555;
    font-size: 0.85rem;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 3rem;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: auto;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    margin-bottom: 10px;
    font-weight: 600;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-group textarea {
    height: 130px;
    min-height: 130px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 1rem !important;
    margin-top: 10px;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-status {
    margin-top: 15px;
    font-size: 0.9rem;
    text-align: center;
}

.form-status.success {
    color: #25D366;
}

.form-status.error {
    color: #ea4335;
}

/* Responsive */
@media (max-width: 1024px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card:nth-child(1),
    .feature-card:nth-child(2),
    .feature-card:nth-child(3),
    .feature-card:nth-child(4) {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }

    nav {
        padding: 1rem 0 !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        justify-content: center !important;
        gap: 1rem !important;
    }

    .logo {
        font-size: 0.85rem;
        gap: 5px;
        letter-spacing: 0.5px;
    }

    .logo-img {
        height: 20px;
    }

    .social-links {
        gap: 0.6rem;
    }

    .social-links a {
        font-size: 1.1rem;
    }

    /* Mobil Buton Düzenlemesi */
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn-modern {
        width: 100%;
        padding: 1rem 2rem;
    }

    /* Tüm Bölümler İçin Kesin Ortalama */
    section {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        margin: 0 auto !important;
        overflow: hidden; /* Taşmayı engelle */
        scroll-margin-top: 80px; /* Sabit navbar için kaydırma payı */
    }

    .hero {
        padding-top: 100px !important;
        min-height: auto !important;
        padding-bottom: 4rem !important;
    }

    .hero h1 {
        font-size: clamp(2rem, 10vw, 3rem) !important;
        width: 100% !important;
        word-wrap: break-word;
    }

    .hero p {
        font-size: 0.9rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .videos-section {
        padding: 3rem 1.5rem !important;
    }

    .videos-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .video-card {
        width: 100% !important;
    }

    .features {
        padding: 3rem 1.5rem !important;
    }

    .features-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .feature-card {
        width: 100% !important;
        padding: 1.5rem !important;
        text-align: center !important;
    }

    .feature-header {
        flex-direction: column !important;
        align-items: center !important;
        margin-bottom: 1rem !important;
    }

    .feature-card p {
        max-width: 100% !important;
    }

    .footer-content, .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1.5rem !important;
    }

    .footer-logo {
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
}

/* Changelog Section */
.changelog {
    padding: 5rem 8%;
    background: var(--bg-main);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.changelog-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.changelog-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1.5rem 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.changelog-card:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.02);
}

.changelog-card.active {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.3);
}

.changelog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

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

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0.5rem 0;
}

.changelog-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.changelog-date {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    min-width: 100px;
}

.changelog-summary {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
}

.changelog-icon {
    color: var(--text-secondary);
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.changelog-card.active .changelog-icon {
    transform: rotate(180deg);
}

.changelog-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s ease;
    position: relative;
    z-index: 2;
}

.changelog-card.active .changelog-content {
    max-height: 500px; /* Adjust based on content */
    padding-top: 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.changelog-list {
    list-style: none;
    padding-bottom: 0.5rem;
}

.changelog-item {
    display: flex;
    gap: 12px;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.changelog-item::before {
    content: '→';
    color: var(--text-primary);
    font-weight: bold;
}

@media (max-width: 768px) {
    .changelog {
        padding: 3rem 1.5rem !important;
    }
    
    .changelog-card {
        padding: 1.2rem 1.5rem !important;
    }
    
    .changelog-header {
        flex-direction: row;
        gap: 10px;
    }

    .changelog-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .changelog-date {
        font-size: 0.9rem;
    }

    .changelog-summary {
        font-size: 0.85rem;
    }
}

.changelog-hidden {
    display: none !important;
}

.more-changelog-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* Video Play Overlay */
.video-container {
    position: relative;
    cursor: pointer;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
    cursor: pointer;
}

.video-play-overlay i {
    font-size: 3rem;
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.6);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding-left: 5px;
    cursor: pointer;
}

.video-card:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.video-card:hover .video-play-overlay i {
    transform: scale(1.15);
    border-color: #ff5500;
    color: #ff5500;
    box-shadow: 0 0 25px rgba(255, 85, 0, 0.6);
}

/* Video Lightbox Modal */
.video-lightbox-modal {
    background-color: rgba(0, 0, 0, 0.75); /* Arkadaki web sitesinin daha belirgin görünmesi için şeffaflık artırıldı */
    backdrop-filter: blur(8px); /* Hafif arka plan bulanıklığı */
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
}

.video-lightbox-modal.active {
    display: flex;
}

.video-lightbox-modal .video-modal-content {
    background-color: transparent; /* Kutu arka planı şeffaf yapıldı */
    border: none; /* Çerçeve çizgisi kaldırıldı */
    padding: 0; /* İç dolgular kaldırıldı, sadece video odağı */
    width: 95%;
    max-width: 960px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: none; /* Çerçeve gölgesi kaldırıldı */
    margin: auto;
}

.video-lightbox-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: transparent; /* Siyah boşluklar tamamen şeffaf yapıldı */
    border-radius: 12px;
    overflow: hidden;
    border: none; /* Çerçeve kaldırıldı */
    margin-bottom: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); /* Sadece videonun kendisine derinlik katan gölge */
}

.video-modal-wrapper video,
.video-modal-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
    border: none;
}

.video-modal-info {
    text-align: center; /* Başlık ve açıklamalar ortalandı */
    padding: 0 1rem;
}

.video-modal-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); /* Yazının şeffaf arka planda okunabilmesi için gölge */
}

.video-modal-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.video-lightbox-modal .close-modal {
    top: -45px;
    right: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 36px;
    transition: color 0.3s, transform 0.3s;
}

.video-lightbox-modal .close-modal:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Mobil Uyumlu Video Modal */
@media (max-width: 768px) {
    .video-lightbox-modal .video-modal-content {
        padding: 1rem;
    }
    
    .video-lightbox-modal .close-modal {
        top: 10px;
        right: 15px;
        z-index: 10;
        background: rgba(0, 0, 0, 0.5);
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 24px;
    }
    
    .video-modal-info h3 {
        font-size: 1.2rem;
    }
    
    .video-modal-info p {
        font-size: 0.85rem;
    }
}
