/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');

:root {
    --bg-color: #050510;
    --primary-color: #6200ea;
    --secondary-color: #b388ff;
    --accent-color: #00e5ff;
    --text-color: #ffffff;
    /* Glass Effect: Daha koyu ve belirgin */
    --glass-bg: rgba(0, 0, 0, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
    --toast-bg: rgba(40, 40, 50, 0.95);
    --success-color: #00e676;
    --error-color: #ff1744;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    
    /* Arka plan JS ile oluşturulacak, sabit renk */
    background-color: #050510;
    min-height: 100vh;
    position: relative;
    z-index: 0;
}

/* === YENİ DİNAMİK ARKA PLAN (VIBILA.IO STYLE - MESH GRADIENT) === */
.vibila-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -5;
    background: #000000;
    overflow: hidden;
}

.gradients-container {
    filter: url(#goo) blur(40px);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Renkler:
   Vibila Purple: #6200ea (18, 113, 255)
   Vibila Cyan: #00e5ff (221, 74, 255)
   Vibila Pink: #ff1744 (100, 220, 255)
   Vibila Deep Blue: #2962ff (200, 50, 50)
   Vibila Dark: #050510 (180, 180, 50)
*/

/* Ana Arka Plan Blobu - Mor/Mavi karışımı */
.g1 {
    position: absolute;
    background: radial-gradient(circle at center, rgba(98, 0, 234, 0.8) 0, rgba(0, 0, 0, 0) 50%) no-repeat;
    mix-blend-mode: hard-light;
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: center center;
    animation: moveVertical 30s ease infinite;
    opacity: 1;
}

/* İkinci Blob - Canlı Camgöbeği */
.g2 {
    position: absolute;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.8) 0, rgba(0, 0, 0, 0) 50%) no-repeat;
    mix-blend-mode: hard-light;
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: calc(50% - 400px);
    animation: moveInCircle 20s reverse infinite;
    opacity: 1;
}

/* Üçüncü Blob - Neon Pembe */
.g3 {
    position: absolute;
    background: radial-gradient(circle at center, rgba(255, 23, 68, 0.8) 0, rgba(0, 0, 0, 0) 50%) no-repeat;
    mix-blend-mode: hard-light;
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2 + 200px);
    left: calc(50% - var(--circle-size) / 2 - 500px);
    transform-origin: calc(50% + 400px);
    animation: moveInCircle 40s linear infinite;
    opacity: 1;
}

/* Dördüncü Blob - Derin Mavi */
.g4 {
    position: absolute;
    background: radial-gradient(circle at center, rgba(41, 98, 255, 0.8) 0, rgba(0, 0, 0, 0) 50%) no-repeat;
    mix-blend-mode: hard-light;
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: calc(50% - 200px);
    animation: moveHorizontal 40s ease infinite;
    opacity: 0.7;
}

/* Beşinci Blob - Koyu Mor (Derinlik için) */
.g5 {
    position: absolute;
    background: radial-gradient(circle at center, rgba(124, 77, 255, 0.8) 0, rgba(0, 0, 0, 0) 50%) no-repeat;
    mix-blend-mode: hard-light;
    width: calc(var(--circle-size) * 2);
    height: calc(var(--circle-size) * 2);
    top: calc(50% - var(--circle-size));
    left: calc(50% - var(--circle-size));
    transform-origin: calc(50% - 800px) calc(50% + 200px);
    animation: moveInCircle 20s ease infinite;
    opacity: 1;
}

/* İnteraktif Blob (Mouse takibi için eklenebilir ama şu an sabit animasyon verelim) */
.interactive {
    position: absolute;
    background: radial-gradient(circle at center, rgba(100, 220, 255, 0.8) 0, rgba(0, 0, 0, 0) 50%) no-repeat;
    mix-blend-mode: hard-light;
    width: 100%;
    height: 100%;
    top: -50%;
    left: -50%;
    opacity: 0.7;
}

:root {
    --circle-size: 80%;
    --blending: hard-light;
}

@keyframes moveInCircle {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

@keyframes moveVertical {
    0% { transform: translateY(-50%); }
    50% { transform: translateY(50%); }
    100% { transform: translateY(-50%); }
}

@keyframes moveHorizontal {
    0% { transform: translateX(-50%) translateY(-10%); }
    50% { transform: translateX(50%) translateY(10%); }
    100% { transform: translateX(-50%) translateY(-10%); }
}

/* Film Grain Texture - GIF hissi için çok önemli */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -4; /* Gradientlerin üstünde, içeriğin altında */
    opacity: 0.05;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Eski blob kodlarını temizle */
.blob, .blob-1, .blob-2, .blob-3, .blob-4 {
    display: none;
}

/* Eski animasyonları kaldır */
/* body::before ve body::after iptal edildi */
body::before, body::after {
    display: none;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    opacity: 0; /* JS yüklenene kadar gizle */
    transition: opacity 0.3s ease;
    gap: 20px;
    white-space: nowrap;
}

.nav-links.loaded {
    opacity: 1;
}

.nav-links a {
    font-weight: 700;
    transition: color 0.3s;
}

/* Statik Linkler (About, FAQ, Contact) */
.nav-links a.static-link {
    color: white !important; /* Mavi değil beyaz */
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-decoration: none;
}

.nav-links a.static-link:hover {
    color: var(--primary-color) !important; /* Hover olunca mor */
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #3700b3);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(98, 0, 234, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    color: white;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(98, 0, 234, 0.8);
}

.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    background: transparent;
    transition: all 0.3s;
    text-decoration: none;
    color: white;
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    /* Yazıların arkasına hafif karanlık bir katman ekleyerek okunabilirliği artır */
    background: radial-gradient(circle at center, rgba(0,0,0,0.4) 0%, transparent 70%);
}

.hero h1 {
    font-size: 3.5rem; /* 5rem'den 3.5rem'e düşürüldü */
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.2;
    text-transform: uppercase;
    /* Gölgeyi biraz yumuşattım */
    text-shadow: 
        0 0 15px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(98, 0, 234, 0.5);
    letter-spacing: 2px;
    max-width: 900px; /* Geniş ekranlarda çok yayılmaması için */
}

.hero p {
    font-size: 1.1rem; /* Biraz küçültüldü */
    max-width: 600px;
    margin-bottom: 40px;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.4); 
    padding: 15px 30px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1); /* İnce bir çerçeve */
}

.download-image {
    max-width: 100%;
    width: 600px; /* Görselin genişliğini buradan ayarlayabilirsin */
    /* border ve background kaldırıldı */
    filter: drop-shadow(0 0 20px rgba(98, 0, 234, 0.6)); /* Sadece görselin kendisine gölge verir */
    transition: transform 0.3s;
}

.download-link:hover .download-image {
    transform: scale(1.05);
}

.platform-text {
    margin-top: -40px; /* Yazıyı daha da yukarı çektik (Vibila tarzı) */
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: none;
    letter-spacing: 0.5px;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative; /* Pozisyon ayarı için */
    z-index: 10;
}

/* Auth Pages (Login/Register) */
.auth-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: radial-gradient(circle at center, rgba(98, 0, 234, 0.2), transparent 70%);
}

.auth-box {
    background: var(--glass-bg);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    width: 100%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.7);
    color: white; /* Yazı rengini garantiye al */
}

/* Toast Notification (Balon Bildirim) */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--toast-bg);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    justify-content: center;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-20px);
    animation: slideIn 0.5s forwards, fadeOut 0.5s forwards 3s;
}

.toast.success {
    border-left: 5px solid var(--success-color);
}

.toast.error {
    border-left: 5px solid var(--error-color);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Dil Seçeneği Butonu */
.lang-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 1000;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.lang-menu {
    position: fixed;
    bottom: 70px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1000;
}

.lang-menu.active {
    display: flex;
}

.lang-item {
    padding: 8px 15px;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s;
}

.lang-item:hover {
    background: var(--primary-color);
}

/* User Menu (Header) */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid var(--accent-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 10px;
    display: none;
    flex-direction: column;
    min-width: 150px;
    width: max-content;
    backdrop-filter: blur(10px);
}

.dropdown-menu.active {
    display: flex;
}

.dropdown-item {
    padding: 10px;
    color: white;
    transition: background 0.3s;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none; /* Linkler için */
    display: block; /* Linklerin tam genişliği kaplaması için */
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.auth-box h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.input-group input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: var(--primary-color);
}

.auth-btn {
    width: 100%;
    margin-top: 10px;
}

.switch-auth {
    margin-top: 20px;
    font-size: 0.9rem;
}

/* === YENİ SAYFALAR (About, FAQ, Contact) === */
.page-container {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
}

/* About Us Styles */
.about-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-box h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 900;
}

.about-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.about-list {
    text-align: left;
    list-style: none;
    padding: 0;
}

.about-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    font-size: 1rem;
    line-height: 1.5;
}

.about-list li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* FAQ Styles */
.faq-container {
    width: 90%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 900;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.faq-question {
    padding: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.faq-item.active .faq-answer {
    padding-bottom: 20px;
    max-height: 200px; /* Yeterli yükseklik */
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

.arrow {
    transition: transform 0.3s;
    font-size: 0.8rem;
}

/* Contact Styles (White Card) */
.contact-box {
    background: white;
    color: #333;
    padding: 50px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.contact-box h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #333;
}

.form-group label::after {
    /* Required asterisk handled in HTML text for simplicity, or here via CSS content */
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #000;
}

.submit-btn {
    width: 200px;
    background: black;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: block;
    margin: 30px auto 0;
    transition: opacity 0.3s;
}

.submit-btn:hover {
    opacity: 0.8;
}

/* Footer Styles */
.copyright-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 100;
    letter-spacing: 0.5px;
    pointer-events: none; /* Tıklanabilir öğeleri engellememesi için */
}
