@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Fredoka:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: #070014;
}

.idabkids-page {
    --primary: #7c3cff;
    --secondary: #00d2ff;
    --accent: #ff4fd8;
    --yellow: #ffd93d;
    --green: #4dff88;

    min-height: 100vh;
    position: relative;
    overflow: hidden;

    font-family: 'Fredoka', sans-serif;
    color: #fff;

    background:
        radial-gradient(circle at top, #31105f 0%, transparent 30%),
        radial-gradient(circle at bottom right, #001b42 0%, transparent 30%),
        linear-gradient(180deg, #070014 0%, #120024 100%);
}

.idabkids-page::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(rgba(255, 255, 255, .15) 1px, transparent 1px);

    background-size: 40px 40px;

    opacity: .18;

    animation: starsMove 80s linear infinite;
}

.idabkids-page::after {
    content: "";
    position: absolute;
    width: 1200px;
    height: 1200px;
    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(124, 60, 255, .22),
            transparent 70%);

    top: -400px;
    left: -300px;

    filter: blur(40px);

    animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes starsMove {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-200px);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: .7;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

#particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.idabkids-page .container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1700px;

    margin: auto;

    padding: 40px 24px 100px;
}

.logo_idabkids {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    margin-bottom: 60px;
    transform-style: preserve-3d;
    animation: floatLogo 5s ease-in-out infinite;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.logo_idabkids span {
    font-family: 'Baloo 2', cursive;
    font-size: 62px;
    font-weight: 700;
    line-height: 1;

    text-shadow:
        0 4px 0 rgba(0, 0, 0, .25),
        0 10px 25px rgba(0, 0, 0, .35),
        0 0 20px rgba(255, 255, 255, .15);
}

.logo_idabkids span:nth-child(2) {
    color: #ff2f2f;
    font-weight: 800;
    font-size: 72px;
}

.logo_idabkids span:nth-child(3) {
    color: #ff2f2f;
    font-weight: 800;
    font-size: 72px;
}

.logo_idabkids span:nth-child(4) {
    color: #ff2f2f;
    font-weight: 800;
    font-size: 72px;
}

.logo_idabkids span:nth-child(5) {
    color: #ff2f2f;
    font-weight: 800;
    font-size: 72px;
}

.logo_idabkids span:nth-child(6) {
    color: #ffb300;
}

.logo_idabkids span:nth-child(7) {
    color: #9b59ff;
}

.logo_idabkids span:nth-child(8) {
    color: #34c759;
}

.logo_idabkids span:nth-child(9) {
    color: #42a5ff;
}

.grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(240px, 1fr));

    gap: 28px;

    width: 100%;
}

.card {
    position: relative;
    padding: 28px 22px;
    border-radius: 34px;
    overflow: hidden;
    cursor: pointer;
    transition:
        transform .25s ease,
        box-shadow .25s ease;
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, .16),
            rgba(255, 255, 255, .05));
    backdrop-filter: blur(18px);
    border:
        2px solid rgba(255, 255, 255, .08);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, .35);
    isolation: isolate;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-height: 340px;
}

.card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background:
        linear-gradient(135deg,
            rgba(124, 60, 255, .9),
            rgba(0, 210, 255, .9),
            rgba(255, 79, 216, .9));
    z-index: -2;
    opacity: .85;
}

.card::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background:
        linear-gradient(180deg,
            rgba(17, 10, 38, .92),
            rgba(8, 4, 20, .94));
    z-index: -1;
}

.card:hover {
    transform:
        translateY(-12px) scale(1.03);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, .55),
        0 0 30px rgba(124, 60, 255, .35);
}

.card:hover .icon img {
    transform:
        scale(1.08);
}

.card:hover .title {
    transform: scale(1.03);
}

.icon {
    position: relative;

    width: 240px;
    height: 240px;

    min-width: 240px;
    min-height: 240px;

    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.icon::before {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(255, 255, 255, .35),
            transparent 70%);
    filter: blur(8px);
    animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {

    0%,
    100% {
        transform: scale(1);
        opacity: .8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;

    transition:
        transform .25s ease;

    filter:
        drop-shadow(0 10px 20px rgba(0, 0, 0, .45));
}

.title {
    font-size: 1.45rem;
    font-weight: 700;

    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    text-align: center;

    transition: .2s;
}

.desc {
    font-size: .96rem;
    line-height: 1.6;

    color: rgba(255, 255, 255, .72);

    text-align: center;

    flex: 1;

    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.share-drawer {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
}

.share-handle {
    display: none;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.share-btn {
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, .16),
            rgba(255, 255, 255, .05));
    backdrop-filter: blur(16px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, .35);
    transition: .25s ease;
    color: #fff;
    text-decoration: none;
}

.share-btn:hover {
    transform:
        translateY(-5px) scale(1.08);
    box-shadow:
        0 18px 40px rgba(124, 60, 255, .4);
}

.share-btn span {
    font-size: 28px;
}

.share-btn small {
    display: none;
}


.btn-home-site {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 99999;
    width: 12vw;
    height: 58px;
    padding: 0 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    border: 5px solid #fff;
    background:
        linear-gradient(145deg,
            #ff8a00,
            #ff5e00);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow:
        0 7px 0 #c94700,
        0 18px 35px rgba(255, 94, 0, .35);
    transition: .25s;
}

.btn-home-site:hover {
    transform:
        translateY(-4px) scale(1.04);
    box-shadow:
        0 10px 0 #c94700,
        0 25px 45px rgba(255, 94, 0, .45);
}

.btn-home-site:active {
    transform:
        translateY(2px);
    box-shadow:
        0 4px 0 #c94700;
}

.logo_idabkids {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 35px;
}

.kids-logo-img {
    width: min(300px, 90vw);
    height: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 10px 30px rgba(0, 0, 0, .35));
    transition: transform .25s ease;
}

.kids-logo-img:hover {
    transform: scale(1.03);
}

@media(max-width:900px) {

    .btn-home-site {
        top: 3vh;
        right: 5px;
        width: 28vw;
        height: 52px;
        padding: 0 18px;
        font-size: 14px;
        border-radius: 18px;
    }

    .logo_idabkids {
        flex-wrap: wrap;
    }

    .logo_idabkids span {
        font-size: 52px;
    }

    .grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .card {
        padding: 22px 16px;
        border-radius: 28px;
        min-height: 300px;
    }

    .icon {
        width: 180px;
        height: 180px;
        min-width: 180px;
        min-height: 180px;
        margin-bottom: 16px;
    }

    .icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform .25s ease;
        filter:
            drop-shadow(0 10px 20px rgba(0, 0, 0, .45));
    }

    .icon::before {
        width: 180px;
        height: 180px;
    }

    .title {
        font-size: 1.08rem;
        min-height: 52px;
        margin-bottom: 8px;
    }

    .desc {
        display: block;
        font-size: .82rem;
        line-height: 1.45;
    }
}

@media(max-width:520px) {

    .container {
        padding: 20px 14px 100px !important;
    }

    .logo_idabkids span {
        font-size: 42px;
    }

    .grid {
        gap: 14px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card {
        padding: 18px 12px;
        min-height: 260px;
    }

    .icon {
        width: 96px;
        height: 96px;
        min-width: 96px;
        min-height: 96px;
        margin-bottom: 12px;
    }

    .icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .icon::before {
        width: 96px;
        height: 96px;
    }

    .title {
        font-size: .95rem;
        min-height: 42px;
        margin-bottom: 6px;
    }

    .desc {
        display: block;
        font-size: .72rem;
        line-height: 1.35;
        color: rgba(255, 255, 255, .72);
    }

    .share-drawer {
        right: 14px;
        bottom: 14px;
    }

    .share-btn {
        width: 54px;
        height: 54px;
        border-radius: 18px;
    }
}