/* 
   Tozmay Çeviri - Theme Stylesheet
*/

:root {
    --bg-main: #0b0314;
    --bg-secondary: #130722;
    --bg-card: #180a2c;
    --bg-card-hover: #220e3d;
    --accent-purple: #9d4edd;
    --accent-light: #c77dff;
    --accent-gold: #f39c12;
    --accent-glow: rgba(157, 78, 221, 0.4);
    --border-color: rgba(157, 78, 221, 0.2);

    --text-primary: #f5f3f7;
    --text-secondary: #a394b8;
    --text-muted: #6f5f84;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --glow-shadow: 0 0 25px var(--accent-glow);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(157, 78, 221, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 65%, rgba(123, 44, 191, 0.08) 0%, transparent 40%);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(11, 3, 20, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.9rem 0;
    transition: var(--transition-fast);
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-logo {
    height: 44px;
    width: 44px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 12px var(--accent-glow);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.logo-area:hover .site-logo {
    transform: scale(1.06);
    box-shadow: 0 0 18px rgba(157, 78, 221, 0.7);
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

.logo-text span {
    color: var(--accent-light);
    text-shadow: 0 0 10px var(--accent-glow);
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.8rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 2px;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-light));
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Phantom Blade 0 Nav Butonu */
.nav-highlight {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.2), rgba(157, 78, 221, 0.25));
    border: 1px solid rgba(243, 156, 18, 0.6);
    color: #f1c40f !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    font-size: 0.9rem;
    box-shadow: 0 0 12px rgba(243, 156, 18, 0.25);
    transition: all var(--transition-fast);
}

.nav-highlight i {
    color: #f1c40f;
}

.nav-highlight::after {
    display: none !important;
}

.nav-highlight:hover {
    background: linear-gradient(135deg, #f39c12, #9d4edd);
    color: #ffffff !important;
    box-shadow: 0 0 18px rgba(243, 156, 18, 0.6);
    transform: translateY(-2px);
}

.nav-highlight:hover i {
    color: #ffffff;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background-color var(--transition-fast);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0 2.5rem;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 30px rgba(157, 78, 221, 0.3);
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto 2.2rem;
    font-weight: 400;
}

.search-box-wrapper {
    max-width: 580px;
    margin: 0 auto;
    position: relative;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(24, 10, 44, 0.7);
    border: 1.5px solid var(--border-color);
    border-radius: 50px;
    padding: 6px 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(8px);
    transition: var(--transition-fast);
}

.search-input-group:focus-within {
    border-color: var(--accent-purple);
    box-shadow: var(--glow-shadow);
    background: rgba(24, 10, 44, 0.95);
}

.search-icon {
    color: var(--accent-light);
    font-size: 1.15rem;
    margin-left: 8px;
}

#search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 0.98rem;
    font-family: inherit;
    color: #ffffff;
}

#search-input::placeholder {
    color: var(--text-muted);
}

.clear-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 8px;
    display: none;
    border-radius: 50%;
    transition: color var(--transition-fast);
}

.clear-btn:hover {
    color: #ffffff;
}

/* Phantom Blade 0 Spotlight Banner */
.phantom-spotlight {
    margin: 1.5rem 0 3rem;
}

.phantom-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(32, 11, 48, 0.9), rgba(18, 5, 28, 0.95));
    border: 1.5px solid rgba(243, 156, 18, 0.5);
    border-radius: 18px;
    padding: 1.6rem 2.2rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(243, 156, 18, 0.15);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.phantom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f39c12, var(--accent-purple));
}

.phantom-card:hover {
    transform: translateY(-4px);
    border-color: #f39c12;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(243, 156, 18, 0.35);
}

.phantom-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(243, 156, 18, 0.15);
    color: #f1c40f;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}

.phantom-content h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.phantom-content p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    max-width: 600px;
}

.btn-discord-pulse {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #5865f2;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 11px 22px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.phantom-card:hover .btn-discord-pulse {
    background: #4752c4;
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.7);
    transform: scale(1.04);
}

/* Patches Grid Section */
.patches-section {
    padding: 1rem 0 5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(157, 78, 221, 0.15);
}

.section-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
}

.patch-count {
    font-size: 0.88rem;
    color: var(--accent-light);
    background: rgba(157, 78, 221, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.patch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 2rem;
}

.patch-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-smooth), 
                box-shadow var(--transition-smooth), 
                border-color var(--transition-smooth),
                background var(--transition-smooth);
}

.patch-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--accent-purple);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(157, 78, 221, 0.3);
}

.card-image-box {
    position: relative;
    width: 100%;
    height: 165px;
    overflow: hidden;
    background-color: #000000;
    display: block;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.patch-card:hover .card-image-box img {
    transform: scale(1.08);
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(11, 3, 20, 0.85);
    backdrop-filter: blur(6px);
    color: var(--accent-light);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.card-content {
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.1rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-purple), #7b2cbf);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 18px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
    transition: all var(--transition-fast);
    margin-top: auto;
}

.btn-download:hover {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-purple));
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.6);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-download:active {
    transform: translateY(0);
}

.no-results {
    display: none;
    text-align: center;
    padding: 4rem 1rem;
    background: rgba(24, 10, 44, 0.4);
    border: 1px dashed var(--border-color);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.no-results i {
    font-size: 2.8rem;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

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

/* Info Section */
.info-section {
    padding: 1rem 0 4rem;
}

.info-box {
    background: linear-gradient(135deg, rgba(24, 10, 44, 0.7), rgba(19, 7, 34, 0.9));
    border: 1px solid var(--border-color);
    padding: 2.2rem;
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.info-box h2 {
    font-size: 1.45rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
    position: relative;
    padding-bottom: 8px;
}

.info-box h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: var(--accent-purple);
    border-radius: 2px;
}

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

/* Footer */
.footer {
    background-color: #07020d;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2.2rem;
}

.footer-info h3 {
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.footer-info h3 span {
    color: var(--accent-light);
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    max-width: 320px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-light);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background: var(--accent-purple);
    color: #ffffff;
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-3px);
}

.social-icons a.discord-btn:hover {
    background: #5865f2;
    border-color: #5865f2;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.6);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Detay Sayfası */
.detail-page-container {
    padding: 3rem 0 5rem;
    max-width: 900px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    transition: color var(--transition-fast);
}

.back-btn:hover {
    color: var(--accent-light);
}

.game-header-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: var(--card-shadow);
}

.game-cover-banner {
    width: 100%;
    height: 300px;
    position: relative;
    background-color: #000;
}

.game-cover-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-header-info {
    padding: 1.8rem 2rem;
    background: linear-gradient(180deg, rgba(24, 10, 44, 0.4) 0%, rgba(19, 7, 34, 0.95) 100%);
}

.game-header-info h1 {
    font-size: 1.9rem;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.game-header-info p {
    color: var(--accent-light);
    font-size: 0.92rem;
}

.download-box {
    background: linear-gradient(135deg, rgba(24, 10, 44, 0.8), rgba(19, 7, 34, 0.95));
    border: 1.5px solid var(--accent-purple);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    box-shadow: var(--glow-shadow);
}

.download-box h2 {
    font-size: 1.55rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.auto-download-timer {
    background: rgba(157, 78, 221, 0.12);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-light);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
}

.auto-download-timer i {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.btn-download-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-purple), #7b2cbf);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 15px 34px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(157, 78, 221, 0.5);
    transition: all var(--transition-fast);
}

.btn-download-large:hover {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-purple));
    box-shadow: 0 8px 30px rgba(157, 78, 221, 0.8);
    transform: translateY(-3px);
}

.download-subtext {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.2rem;
    margin-bottom: 2.5rem;
}

.guide-card h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-card h3 i {
    color: var(--accent-purple);
}

.step-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-num {
    background: var(--accent-purple);
    color: #ffffff;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.step-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-top: 3px;
}

.step-text strong {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(15, 5, 26, 0.98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem;
        display: none;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
    }

    .nav-menu.open {
        display: block;
        animation: fadeInDown 0.3s ease forwards;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }

    .nav-link {
        font-size: 1.05rem;
        display: inline-block;
    }

    .hero-section {
        padding: 3rem 0 2rem;
    }

    .phantom-card {
        flex-direction: column;
        text-align: center;
        gap: 1.4rem;
        padding: 1.5rem;
    }

    .phantom-card::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
    }

    .patch-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-info p {
        max-width: 100%;
    }

    .social-icons {
        justify-content: center;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --------------------------------------------------------------------------
   Kilitli Kartlar & Aktif Yama Stilleri
   -------------------------------------------------------------------------- */
.patch-card.locked {
    position: relative;
    opacity: 0.72;
    filter: grayscale(35%);
    cursor: not-allowed;
}

.patch-card.locked:hover {
    transform: none;
    box-shadow: var(--card-shadow);
    border-color: var(--border-color);
}

.lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 3, 20, 0.72);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 5;
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.lock-overlay i {
    font-size: 2rem;
    color: #e74c3c;
    filter: drop-shadow(0 0 10px rgba(231, 76, 60, 0.6));
}

.lock-overlay span {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
}

.btn-locked {
    background: #1c0d30 !important;
    color: #8c76a5 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.badge-active {
    background: rgba(46, 204, 113, 0.2) !important;
    color: #2ecc71 !important;
    border-color: rgba(46, 204, 113, 0.4) !important;
}

.patch-card.active-card {
    border-color: rgba(243, 156, 18, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(243, 156, 18, 0.2);
}

.patch-card.active-card:hover {
    border-color: #f39c12;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(243, 156, 18, 0.4);
}
