* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #050505;
    color: white;
    overflow-x: hidden;
}


.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* Ensure background doesn't overflow */
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: #050505;
    /* En dip renk */
}

#stars-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Behind nebula if needed, or adjust as per requirement. Original stars were z-index 1-3. Nebula is 0. Let's make stars 2 to be safe visible above background but below glass */
    pointer-events: none;
}

.nebula-layer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 50% 50%, rgba(150, 110, 243, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgb(148, 21, 206) 0%, transparent 50%);
    background-size: 150% 150%;
    filter: blur(80px);
    /* Daha soft geçiş */
    /* Dönme yok, sadece hafif renk değişimi ve pulse */
    animation: nebulaBreathe 10s ease-in-out infinite alternate;
    opacity: 0.6;
    z-index: 0;
}

.liquid-glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* KRİTİK NOKTA: Blur 8px'den 1px'e indi. Yoksa yıldızlar görünmez. */
    backdrop-filter: blur(1px) saturate(1.1);
    -webkit-backdrop-filter: blur(1px) saturate(1.1);
    background: rgba(255, 255, 255, 0.02);
    /* Çok hafif bir parlaklık */
    z-index: 3;
    /* Yıldızların üstünde ama bulanıklık az */
    pointer-events: none;
}



/* Nebula sadece hafifçe parlasın, dönüp mide bulandırmasın */
@keyframes nebulaBreathe {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes nebulaPulse {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(2%, 2%) scale(1.1) rotate(2deg);
    }

    66% {
        transform: translate(-2%, 1%) scale(1.05) rotate(-1deg);
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}


@keyframes twinkle {

    0%,
    100% {
        opacity: 0.9;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.5);
    }
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(to bottom,
            rgba(5, 5, 5, 0.1),
            rgba(88, 28, 135, 0.2),
            #050505);
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}


h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.3;
    /* Increased from 1.1 to fix clipped dots */
    margin-bottom: 20px;
    padding-top: 10px;
    /* Ensure space for ascenders */
    text-transform: uppercase;

    background: linear-gradient(90deg, #fff, #d8b4fe, #fff);
    background-size: 200% auto;
    animation: gradientMove 5s linear infinite;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

p.subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 40px;
    font-weight: 300;
}


.cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(137, 43, 226, 0.578);
}

.cta-button:hover {
    background: rgba(138, 43, 226, 0.6);
    box-shadow: 0 0 30px rgba(137, 43, 226, 0.955);
    transform: translateY(-3px);
}


nav {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.logo {
    font-weight: 300;
    font-size: 1.5rem;
    color: white;
    letter-spacing: 2px;
}


/* --- LİNKLER / KARTLAR BÖLÜMÜ --- */
.links-grid-section {
    position: relative;
    z-index: 10;
    /* Yıldızların üzerinde durması için */
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px 40px 20px;
    /* Alttan biraz boşluk */
    margin-top: -50px;
    /* Hero'nun biraz içine girsin istersen, yoksa 0 yap */
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Yan yana 2 kutu */
    gap: 20px;
    /* Aralarındaki boşluk */
    max-width: 900px;
    width: 100%;
}

/* KART TASARIMI */
.link-card {
    background-color: #0a0a0a;
    /* Çok koyu gri/siyah */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Silik gri çerçeve */
    border-radius: 16px;
    /* Köşeleri yuvarla */
    padding: 30px;
    text-decoration: none;
    /* Link çizgisini kaldır */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 160px;
    /* Kart yüksekliği */
    transition: all 0.3s ease;
}

/* İKON KISMI */
/* İKON KISMI */
.card-icon {
    width: 48px;
    height: 48px;
    /* Background removed */
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon img,
.card-icon svg {
    width: 48px;
    width: 32px;
    height: 32px;
    opacity: 1;
    object-fit: contain;

    /* Purple filter for #8A2BE2 from dark color */
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(253deg) brightness(97%) contrast(90%);
}

/* YAZI KISMI */
.card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: none;
    /* Hero'daki gradient burayı bozmasın */
    -webkit-text-fill-color: white;
    /* Yazı beyaz olsun */
    animation: none;
    /* Hero animasyonu burayı etkilemesin */
}

.card-content p {
    font-size: 0.9rem;
    color: #888;
    /* Gri açıklama yazısı */
    font-weight: 400;
}

/* HOVER (ÜZERİNE GELİNCE) EFEKTİ */
.link-card:hover {
    border-color: #8A2BE2;
    /* COZMOS MORU */
    background-color: rgba(138, 43, 226, 0.05);
    /* Çok hafif mor zemin */
    transform: translateY(-5px);
    /* Hafif yukarı kalksın */
}

/* ACTIVE STATE (Örnek: Google Play butonu seçili gibi dursun istersen) */


/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        /* Telefondan girince alt alta tek sıra olsun */
    }

    nav {
        justify-content: center;
        padding: 20px;
    }
}


.footer {

    padding-bottom: 30px;
    opacity: 0.5;

    text-align: center;

    color: #8A2BE2;
}