body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #4A0074, #000000);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    overflow: hidden;
}

@media (max-height: 768px) {
    body {
        overflow-y: auto;
    }
}

.central-block {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .central-block {
        padding: 1.5rem;
    }
}

.expanded-list-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
}

.expanded-list-container.show {
    max-height: 500px;
    opacity: 1;
}

.show-more-button {
    background: linear-gradient(90deg, #8A2BE2, #FF69B4);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.show-more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
}


.icon-medium img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Responsive icon sizes for platform icons */
@media (max-width: 1024px) {
    .icon-medium img {
        width: 32px;
        height: 32px;
    }

    .platform-grid span {
        font-size: 0.875rem;
    }
}

@media (max-width: 822px) {
    .platform-grid span {
        font-size: 0.8rem;
    }
}

@media (max-width: 770px) {
    .icon-medium img {
        width: 24px;
        height: 24px;
    }

    .platform-grid span {
        font-size: 0.75rem;
    }

    .platform-grid {
        padding-left: 3%;
        padding-right: 3%;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .icon-medium img {
        width: 20px;
        height: 20px;
    }

    .platform-grid span {
        font-size: 0.7rem;
    }

    .platform-grid {
        padding-left: 3%;
        padding-right: 3%;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 423px) {
    .icon-medium img {
        width: 18px;
        height: 18px;
    }

    .platform-grid span {
        font-size: 0.65rem;
    }

    .platform-grid {
        padding-left: 3%;
        padding-right: 3%;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 401px) {
    .icon-medium img {
        width: 16px;
        height: 16px;
    }

    .platform-grid span {
        font-size: 0.6rem;
    }

    .platform-grid {
        padding-left: 3%;
        padding-right: 3%;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 347px) {
    .icon-medium img {
        width: 14px;
        height: 14px;
    }

    .platform-grid span {
        font-size: 0.55rem;
    }

    .platform-grid {
        padding-left: 3%;
        padding-right: 3%;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 317px) {
    .icon-medium img {
        width: 12px;
        height: 12px;
    }

    .platform-grid span {
        font-size: 0.5rem;
    }

    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
        padding-left: 2%;
        padding-right: 2%;
        width: 100%;
        box-sizing: border-box;
    }
}



.platform-icon img {
    transition: transform 0.2s ease-in-out;
}

.platform-icon:hover img {
    transform: scale(1.1);
}

.btn-container.expanded {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
}

/* Language dropdown styling */
.language-dropdown {
    position: relative;
    z-index: 20;
}



/* Align platform icons by text */
.platform-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
}

.platform-grid img {
    margin-bottom: 0.5rem;
}

.platform-grid {
    margin-top: 3.33vh;
}

.header {
    width: 100%;
    position: relative;
    color: #ffffff;
}

.header__desktop {
    display: none;
}

.header__mobile {
    display: block;
}

.header__mobile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    width: 100%;
}

.header__mobile-row--social {
    justify-content: center;
}

.header__brand {
    display: flex;
    align-items: center;
}

.header__brand-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header__logo {
    width: calc(40px + (50px - 40px) * ((100vw - 370px) / (1220px - 370px)));
    height: calc(40px + (50px - 40px) * ((100vw - 370px) / (1220px - 370px)));
    max-width: 50px;
    min-width: 40px;
    max-height: 50px;
    min-height: 40px;
    object-fit: contain;
    transition: width 0.3s ease, height 0.3s ease;
}

.header__title {
    font-size: calc(1.2rem + (1.5rem - 1.2rem) * ((100vw - 370px) / (1220px - 370px)));
    font-weight: 700;
    color: #E0BBE4;
    transition: font-size 0.3s ease;
}

.header__social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header__social--mobile {
    gap: 0.5rem;
}

.header__social-link {
    display: flex;
    align-items: center;
    transition: transform 0.2s ease-in-out;
}

.header__social-link:hover {
    transform: scale(1.1);
}

.header__social-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    transition: transform 0.2s ease-in-out;
}

.language-dropdown {
    position: relative;
    z-index: 20;
}

.language-dropdown--mobile {
    background: #000000;
    padding: 4px 8px;
    border-radius: 50px;
}

.language-dropdown--desktop {
    background: #000000;
    padding: 4px 8px;
    border-radius: 50px;
}

.language-dropdown__button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.language-dropdown__button--desktop {
    padding: 0;
}

.language-dropdown__button--mobile {
    padding: 0;
    gap: 0.8rem;
}

.language-dropdown__icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-dropdown__arrow {
    width: 17px;
    transition: transform 0.3s ease;
}

.language-dropdown__arrow.rotated {
    transform: rotate(180deg);
}

.language-dropdown__current {
    font-size: 1rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    color: #ffffff;
}

.language-dropdown__img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-dropdown__icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: invert(1);
}

.language-dropdown__menu {
    display: none;
    position: absolute;
    top: -12px;
    right: 98px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    min-width: 120px;
    z-index: 30;
}

.language-dropdown__menu.show {
    display: block;
}

.language-dropdown__item {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    text-align: left;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 1rem;
}

.language-dropdown__item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 360px) {
    .header__mobile-row {
        padding: 0.4rem 0.5rem;
    }

    .header__social--mobile {
        gap: 0.3rem;
    }

    .language-dropdown__current {
        font-size: 0.75rem;
    }

    .language-dropdown__icon-img {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {

    .header__social--mobile {
        gap: 0.4rem;
    }

    .header__social-icon {
        width: 28px;
        height: 28px;
    }


    .language-dropdown__icon-img {
        width: 18px;
        height: 18px;
    }
}

@media (min-width: 560px) {
    .header__mobile {
        display: none;
    }

    .header__desktop {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
    }

    .header__social {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        gap: 1rem;
        z-index: 10;
        white-space: nowrap;
    }

    .header__social-icon {
        width: 28px;
        height: 28px;
    }

    .header__social-link--youtube .header__social-icon {
        max-width: 54px;
    }
}

@media (min-width: 768px) {
    .header__desktop {
        padding: 1rem 1.5rem;
    }

    .header__social {
        gap: 0.75rem;
    }

    .header__social-icon {
        width: 28px;
        height: 28px;
    }
}

@media (min-width: 1024px) {
    .header__logo {
        width: 50px;
        height: 50px;
    }

    .header__title {
        font-size: 1.5rem;
    }

    .header__social-icon {
        width: 32px;
        height: 32px;
    }
}

@media (min-width: 1220px) {
    .header__logo {
        width: 50px;
        height: 50px;
    }

    .header__title {
        font-size: 1.5rem;
    }
}