/*
Theme Name: Metin2 V1
Description: Metin2 Legendary WordPress Theme with dynamic customizations, membership, and mailing system.
Author: Assistant
Version: 1.0.0
Text Domain: metin2v1
*/

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; background-color: #080808; color: #e0e0e0; line-height: 1.6; overflow-x: hidden; cursor: none; }
h1, h2, h3 { font-family: 'Cinzel', serif; text-transform: uppercase; }
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
header { position: fixed; top: 0; width: 100%; background: rgba(8, 8, 8, 0.8); border-bottom: 1px solid rgba(212, 175, 55, 0.2); z-index: 1000; backdrop-filter: blur(10px); transition: padding 0.3s ease; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
.logo { font-family: 'Cinzel', serif; font-size: 1.8rem; font-weight: 900; color: #d4af37; text-decoration: none; letter-spacing: 2px; text-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { color: #ccc; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: all 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: #d4af37; transition: width 0.3s; }
.nav-links a:hover { color: #d4af37; }
.nav-links a:hover::after { width: 100%; }
.hero { position: relative; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 20px; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; animation: slowZoom 20s infinite alternate linear; background-size: cover; background-position: center; }
@keyframes slowZoom { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }
#sparksCanvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-content { z-index: 1; max-width: 800px; }
.hero h1 { font-size: 5.5rem; color: #d4af37; text-shadow: 0px 5px 15px rgba(0,0,0,0.9), 0px 0px 30px rgba(212, 175, 55, 0.5); margin-bottom: 20px; letter-spacing: 4px; animation: glowText 3s infinite alternate; }
@keyframes glowText { 0% { text-shadow: 0 0 10px rgba(212,175,55,0.3); } 100% { text-shadow: 0 0 30px rgba(212,175,55,0.8), 0 0 50px rgba(212,175,55,0.4); } }
.hero p { font-size: 1.25rem; margin-bottom: 40px; color: #dfdfdf; text-shadow: 2px 2px 8px rgba(0,0,0,0.9); }
.btn-container { display: flex; gap: 20px; justify-content: center; }
.btn { padding: 16px 45px; font-size: 1.1rem; font-family: 'Cinzel', serif; font-weight: 700; text-decoration: none; color: #fff; border: 2px solid transparent; border-radius: 4px; transition: all 0.3s ease; cursor: pointer; text-transform: uppercase; letter-spacing: 2px; position: relative; overflow: hidden; display:inline-block; }
.btn-play { background: linear-gradient(135deg, #a70505 0%, #6b0000 100%); border-color: #ff1a1a; animation: pulsePlay 2s infinite; }
@keyframes pulsePlay { 0% { box-shadow: 0 0 0 0 rgba(255, 26, 26, 0.7); } 70% { box-shadow: 0 0 0 20px rgba(255, 26, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 26, 26, 0); } }
.btn-play:hover { transform: translateY(-3px) scale(1.05); background: linear-gradient(135deg, #c40606 0%, #8a0303 100%); }
.btn-register { background-color: rgba(0, 0, 0, 0.6); border-color: #d4af37; color: #d4af37; backdrop-filter: blur(5px); }
.btn-register:hover { background-color: #d4af37; color: #000; box-shadow: 0 0 25px rgba(212, 175, 55, 0.6); transform: translateY(-3px); }
.cursor-dot, .cursor-outline { position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); border-radius: 50%; z-index: 9999; pointer-events: none; }
.cursor-dot { width: 8px; height: 8px; background-color: #d4af37; box-shadow: 0 0 10px #d4af37; }
.cursor-outline { width: 40px; height: 40px; border: 2px solid rgba(212, 175, 55, 0.5); transition: width 0.2s, height 0.2s, background-color 0.2s; }
.btn-trailer { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; backdrop-filter: blur(10px); display: flex; align-items: center; gap: 10px; }
.btn-trailer:hover { background: rgba(255, 255, 255, 0.1); border-color: #d4af37; color: #d4af37; box-shadow: 0 0 20px rgba(212,175,55,0.3); transform: translateY(-3px); }
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s; }
.modal.show { display: flex; opacity: 1; }
.modal-content { width: 80%; max-width: 800px; aspect-ratio: 16/9; background: #000; border: 2px solid #d4af37; border-radius: 8px; box-shadow: 0 0 50px rgba(212,175,55,0.2); position: relative; }
.close-modal { position: absolute; top: -40px; right: 0; color: #d4af37; font-size: 30px; font-weight: bold; cursor: pointer; }
.classes { padding: 100px 20px; background: linear-gradient(180deg, #080808 0%, #030303 100%); text-align: center; border-top: 1px solid #1a1a1a; }
.classes-container { display: flex; gap: 20px; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; justify-content: center; height: 450px; }
.class-card { flex: 1; min-width: 200px; height: 100%; position: relative; overflow: hidden; border-radius: 10px; border: 1px solid #222; cursor: none; transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); }
.class-card:hover { flex: 2.5; border-color: #d4af37; box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3); }
.class-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; filter: grayscale(80%) brightness(0.5); transition: all 0.5s ease; }
.class-card:hover .class-bg { filter: grayscale(0%) brightness(1); transform: scale(1.05); }
.class-info { position: absolute; bottom: -80px; left: 0; width: 100%; padding: 30px 20px 20px; background: linear-gradient(transparent, rgba(0,0,0,0.95) 40%, #000 100%); transition: bottom 0.4s ease; text-align: left; }
.class-card:hover .class-info { bottom: 0; }
.class-info h3 { color: #d4af37; font-size: 1.8rem; margin-bottom: 5px; text-shadow: 0 2px 5px #000; }
.class-info p { color: #ddd; font-size: 0.95rem; opacity: 0; transition: opacity 0.5s 0.2s; }
.class-card:hover .class-info p { opacity: 1; }
.news-section { padding: 100px 20px; background-color: #050505; text-align: center; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.news-card { background: #0f0f0f; border: 1px solid #222; border-radius: 8px; overflow: hidden; text-align: left; transition: all 0.4s ease; position: relative; cursor: none; }
.news-card:hover { border-color: #d4af37; transform: translateY(-10px); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15); }
.news-img { width: 100%; height: 200px; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.news-card:hover .news-img { transform: scale(1.05); }
.news-img-wrapper { overflow: hidden; }
.news-content { padding: 25px; }
.news-date { color: #d4af37; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.news-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 15px; font-family: 'Open Sans', sans-serif; text-transform: none; }
.news-card p { color: #aaa; font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.btn-news { display: inline-block; padding: 8px 20px; border: 1px solid #d4af37; color: #d4af37; text-decoration: none; border-radius: 4px; font-size: 0.9rem; font-weight: 600; transition: all 0.3s ease; cursor: none; }
.news-card:hover .btn-news { background: #d4af37; color: #000; }
.patch-section { padding: 100px 20px; background: linear-gradient(180deg, #050505 0%, #080808 100%); border-top: 1px solid #1a1a1a; }
.timeline { max-width: 800px; margin: 0 auto; position: relative; text-align: left; }
.timeline::before { content: ''; position: absolute; top: 0; left: 20px; height: 100%; width: 2px; background: #222; }
.timeline-item { position: relative; padding-left: 60px; margin-bottom: 40px; cursor: none; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: 14px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #000; border: 2px solid #d4af37; box-shadow: 0 0 10px rgba(212, 175, 55, 0.5); transition: all 0.3s; }
.timeline-item:hover .timeline-dot { background: #d4af37; transform: scale(1.3); box-shadow: 0 0 20px rgba(212, 175, 55, 0.8); }
.timeline-content { background: #111; padding: 25px; border-radius: 8px; border: 1px solid #222; transition: all 0.3s ease; }
.timeline-item:hover .timeline-content { border-color: #3a2a10; box-shadow: 0 5px 20px rgba(0,0,0,0.5); }
.patch-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; flex-wrap: wrap; }
.patch-version { font-family: 'Cinzel', serif; font-size: 1.3rem; color: #fff; font-weight: 700; }
.patch-badge { background: #8a0303; color: #fff; font-size: 0.7rem; padding: 3px 8px; border-radius: 3px; font-family: 'Open Sans', sans-serif; animation: pulsePlay 2s infinite; }
.patch-date { color: #888; font-size: 0.9rem; }
.patch-list { list-style: none; }
.patch-list li { color: #ccc; margin-bottom: 8px; position: relative; padding-left: 15px; font-size: 0.95rem; }
.patch-list li::before { content: '▹'; position: absolute; left: 0; top: 0; color: #d4af37; }
.faq-section { padding: 100px 20px; background-color: #050505; text-align: center; border-top: 1px solid #1a1a1a; }
.faq-container { max-width: 800px; margin: 0 auto; text-align: left; }
.faq-item { margin-bottom: 15px; background: #0d0d0d; border: 1px solid #222; border-radius: 6px; overflow: hidden; transition: all 0.3s; }
.faq-item.active { border-color: #d4af37; box-shadow: 0 0 15px rgba(212, 175, 55, 0.1); }
.faq-question { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; color: #d4af37; font-size: 1.1rem; font-weight: 600; font-family: 'Open Sans', sans-serif; cursor: none; transition: background 0.3s; user-select: none; }
.faq-question:hover { background: rgba(212, 175, 55, 0.05); }
.faq-icon { font-size: 1.2rem; transition: transform 0.3s; color: #a70505; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 25px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; color: #aaa; font-size: 0.95rem; line-height: 1.6; }
.faq-item.active .faq-answer { padding: 0 25px 25px 25px; max-height: 500px; }
.partners-section { padding: 80px 20px; background: linear-gradient(180deg, #050505 0%, #0a0a0a 100%); text-align: center; border-top: 1px solid #1a1a1a; }
.partners-grid { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; max-width: 1000px; margin: 40px auto 0; }
.partner-logo { width: 180px; height: 90px; background: #111; border: 1px solid #222; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: 'Cinzel', serif; color: #555; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: all 0.4s ease; cursor: none; text-decoration: none; position: relative; overflow: hidden; }
.partner-logo::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent); transition: all 0.6s; }
.partner-logo:hover::before { left: 100%; }
.partner-logo:hover { border-color: #d4af37; color: #d4af37; box-shadow: 0 10px 20px rgba(0,0,0,0.5), 0 0 15px rgba(212, 175, 55, 0.2); transform: translateY(-5px); background: #161616; }
.stats { background: linear-gradient(rgba(10,10,10,0.95), rgba(10,10,10,0.95)), url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed; padding: 80px 20px; display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; border-top: 1px solid #222; border-bottom: 1px solid #222; position: relative; }
.stat-item { text-align: center; }
.stat-number { font-family: 'Cinzel', serif; font-size: 3.5rem; color: #d4af37; font-weight: 900; text-shadow: 0 0 15px rgba(212,175,55,0.4); }
.stat-label { color: #aaa; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 2px; margin-top: 5px; }
.features { padding: 100px 20px; background-color: #080808; background-image: radial-gradient(circle at center, #151515 0%, #080808 100%); text-align: center; }
.section-title { font-size: 3rem; color: #d4af37; margin-bottom: 20px; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; width: 40%; height: 3px; background: #d4af37; bottom: -10px; left: 30%; border-radius: 2px; box-shadow: 0 0 10px #d4af37; }
.features-subtitle { color: #888; margin-bottom: 70px; font-size: 1.2rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 35px; max-width: 1200px; margin: 0 auto; }
.feature-box { background: linear-gradient(145deg, #161616 0%, #0a0a0a 100%); padding: 40px 30px; border: 1px solid #2a2a2a; border-radius: 10px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden; text-align: left; }
.feature-box::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.feature-box:hover { transform: translateY(-15px); border-color: #d4af37; box-shadow: 0 15px 35px rgba(0,0,0,0.8), 0 0 15px rgba(212,175,55,0.2); }
.feature-box:hover::before { opacity: 1; }
.feature-box h3 { color: #d4af37; margin-bottom: 15px; font-size: 1.6rem; display: flex; align-items: center; gap: 10px; }
.feature-box h3::before { content: '✦'; font-size: 1.2rem; color: #a70505; text-shadow: 0 0 5px #ff1a1a; }
.feature-box p { color: #bbb; font-size: 1rem; line-height: 1.8; }
.discord-section { background: linear-gradient(0deg, #050505 0%, #0d0d0d 100%); padding: 100px 20px; text-align: center; border-top: 1px solid #1a1a1a; }
.discord-section h2 { color: #5865F2; margin-bottom: 20px; font-size: 2.5rem; text-shadow: 0 0 20px rgba(88, 101, 242, 0.4); }
.btn-discord { background-color: #5865F2; color: white; padding: 16px 45px; text-decoration: none; border-radius: 5px; font-weight: bold; font-size: 1.2rem; display: inline-block; transition: all 0.3s; margin-top: 30px; box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3); }
.btn-discord:hover { background-color: #4752C4; transform: translateY(-5px); box-shadow: 0 10px 25px rgba(88, 101, 242, 0.5); }
footer { background-color: #000; text-align: center; padding: 40px 20px; font-size: 0.95rem; color: #666; border-top: 2px solid #111; }
footer span { color: #d4af37; font-weight: bold; letter-spacing: 1px; }

/* Geri Sayım */
.countdown-container { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.countdown-title { color: #d4af37; font-family: 'Cinzel', serif; font-size: 1.5rem; text-shadow: 0 0 10px rgba(212,175,55,0.5); text-transform: uppercase; }
.countdown-boxes { display: flex; gap: 15px; }
.c-box { background: rgba(10, 10, 10, 0.8); border: 1px solid #d4af37; padding: 15px; border-radius: 8px; min-width: 80px; text-align: center; box-shadow: 0 0 20px rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
.c-num { display: block; font-size: 2.5rem; font-family: 'Cinzel', serif; font-weight: bold; color: #fff; line-height: 1; }
.c-label { font-size: 0.8rem; color: #aaa; text-transform: uppercase; letter-spacing: 1px; }

/* Yüzen Discord */
.floating-discord { position: fixed; right: 30px; bottom: 30px; background: #5865F2; color: #fff; border-radius: 50px; padding: 10px 20px; display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: bold; box-shadow: 0 5px 20px rgba(88, 101, 242, 0.5); z-index: 9999; transition: all 0.3s; cursor: pointer; }
.floating-discord:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 10px 30px rgba(88, 101, 242, 0.8); color: #fff;}
.discord-pulse { width: 10px; height: 10px; background: #3ba55c; border-radius: 50%; animation: greenPulse 2s infinite; }

@keyframes greenPulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 165, 92, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(59, 165, 92, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 165, 92, 0); }
}

/* Buton Shine Efekti */
.btn-register::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(212,175,55,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg); animation: shine 4s infinite;
}
@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

@media (max-width: 768px) {
    .countdown-boxes { gap: 5px; flex-wrap: wrap; justify-content: center; }
    .c-box { min-width: 60px; padding: 10px; }
    .c-num { font-size: 1.8rem; }
    .floating-discord { right: 50%; transform: translateX(50%); bottom: 85px; width: max-content; }
    .floating-discord:hover { transform: translateX(50%) translateY(-5px); }
    .hero { min-height: 100vh; height: auto; padding-top: 120px; padding-bottom: 60px; }
    .hero h1 { font-size: 2.8rem; line-height: 1.2; margin-top: 20px; }
    .hero p { font-size: 1.05rem; }
    .btn-container { flex-direction: column; width: 100%; align-items: center; gap: 15px; }
    .btn { width: 100%; max-width: 300px; text-align: center; justify-content: center; }
    .nav-links { display: none; }
    .stats { gap: 30px; padding: 50px 20px; }
    .section-title { font-size: 2.2rem; }
    .classes-container { height: auto; flex-direction: column; gap: 20px; }
    .class-card { flex: none; height: 280px; width: 100%; }
    .class-bg { filter: grayscale(0%) brightness(0.8); }
    .class-info { bottom: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.9) 30%, #000 100%); }
    .class-info p { opacity: 1; }
    .news-grid { grid-template-columns: 1fr; }
    .partners-grid { gap: 20px; }
    .feature-box { padding: 30px 20px; }
}
