/* === Genel ve Temel Ayarlar === */
:root {
    /* Renk Paleti */
    --header-border: #d9d6fe;
    --text-dark: #2c3e50;
    --logo-color: #e9e7f9;

    /* Kategori Renkleri */
    --cat-pink: #FCE7E9;
    --cat-light-blue: #D6EEF9;
    --cat-purple: #E8DFF5;
    --cat-yellow: #FEF3B8;
    --cat-green: #D5F5E3;
    --cat-cyan: #D4F1F4;
}


*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;

    background: linear-gradient(135deg, #312157 10%, #52e1f1 90%);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === Üst Bar (Header) - Ortak Stil === */
.main-header {
    width: 100%;
    padding: 1.5rem 2%;
    border-bottom: 2px solid var(--header-border);
    background-size: 250px 40px;
    background-repeat: repeat;
    background-image: linear-gradient(135deg, rgba(158, 232, 250, 0.1) 15%, transparent 35%, transparent 50%, rgba(229, 199, 223, 0.1) 50%, rgba(225, 225, 229, 0.1) 75%, transparent 75%, transparent);
}

.logo {
    border: 2px solid var(--header-border);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--logo-color);
}

.logo:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    /* Yukarıya hafif hareket */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* === Ana İçerik Alanı === */
.content-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;

}

.content-container h1 {
    color: rgb(236, 241, 245);
    border-style: solid;
    border-radius: 10%;
    font-size: 2.5rem;
    font-weight: 700;
    padding: 1rem 0.5rem;
    margin-bottom: 3rem;
}

.creation-step {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-left: 1rem;
}


/* === Kategori Izgarası (Grid) === */
.category-grid {
    display: grid;
    /* Masaüstünde 3 sütunlu yapı */
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 800px;
}

/* === Kategori Kartı Stilleri === */
.category-card {
    background-color: #ffffff;
    border-radius: 25px;
    padding: 2rem 1rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;

    border: 5px solid rgba(47, 61, 64, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.6s ease, box-shadow 0.7s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    /* Üzerine gelince hafifçe yukarı kalkar */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.category-card .icon-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Kartların renklerini atayan sınıflar */


.category-card.color-pink {
    background-color: #F8BBD0;
}

.category-card.color-light-blue {
    background-color: #7cd3fb;
}

.category-card.color-purple {
    background-color: #E1BEE7;
}

.category-card.color-cyan {
    background-color: #40E0D0;
}

.category-card.color-green {
    background-color: #90EE90;
}

.category-card.color-yellow {
    background-color: #FDFD96;
}

.category-card.color-purple {
    background-color: #DDA0DD;
}


/* === Hareketli Hayvanlar === */
#animal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.moving-animal {
    position: absolute;
    font-size: 3rem;
    will-change: transform;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);


    transition: transform 0.5s linear;
}




/* === Mobil ve Tablet İçin Responsive Ayarlar === */

/* Tablet Boyutu (768px ve altı) */
@media (max-width: 768px) {
    .content-container h1 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .category-grid {
        /* Tablette 2 sütunlu yapı */
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 500px;
    }

    .category-card {
        padding: 1.5rem 1rem;
        font-size: 1rem;
    }
}

/* Mobil Boyutu (480px ve altı) */
@media (max-width: 480px) {
    .content-container {
        padding: 2rem 1rem;
    }

    .content-container h1 {
        font-size: 1.5rem;
    }

    .category-grid {
        gap: 1rem;
    }

    .category-card {
        border-radius: 15px;
        padding: 1rem 0.5rem;
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .category-card .icon-container {
        width: 50px;
        height: 50px;
    }

    .category-card .icon-container svg {
        width: 36px;
        height: 36px;
    }
}