* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #090909;
    color: #f2f2f2;
    font-family: Arial, sans-serif;
    line-height: 1.8;
    text-align: center;
}

body.rtl-layout {
    direction: rtl;
}

body.ltr-layout {
    direction: ltr;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.site-header {
    width: 100%;
}

.topbar {
    background: rgba(9, 9, 9, 0.96);
    border-bottom: 1px solid #171717;
    padding: 14px 16px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-floating {
    position: sticky;
    top: 8px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 10px 16px 14px;
    background: transparent;
    border: none;
    position: relative;
}

.logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    background: transparent;
}

.menu-link {
    padding: 9px 14px;
    border-radius: 999px;
    color: #d8d8d8;
    background: rgba(17, 17, 17, 0.92);
    border: 1px solid #1d1d1d;
    font-size: 14px;
    transition: 0.25s;
    backdrop-filter: blur(6px);
}

.menu-link:hover {
    color: #ffffff;
    background: #161616;
    border-color: #2a2a2a;
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 220px;
    padding: 12px 48px 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(83, 255, 249, 0.22);
    background: linear-gradient(135deg, #ffffff 0%, #eefefe 55%, #f7f7f7 100%);
    color: #050505;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    outline: none;
    text-align: center;
    text-align-last: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.22),
        0 0 18px rgba(83, 255, 249, 0.10),
        0 0 22px rgba(255, 0, 98, 0.05),
        inset 0 0 10px rgba(255, 255, 255, 0.55);
    text-shadow:
        -1px 0 rgba(255, 0, 98, 0.08),
        1px 0 rgba(83, 255, 249, 0.12);
    animation: langPulseGlitchWhite 2.8s infinite;
}

.lang-select:hover {
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(83, 255, 249, 0.38);
    box-shadow:
        0 0 14px rgba(255, 255, 255, 0.30),
        0 0 22px rgba(83, 255, 249, 0.14),
        0 0 26px rgba(255, 0, 98, 0.08),
        inset 0 0 10px rgba(255, 255, 255, 0.65);
}

.lang-select:focus,
.lang-select:focus-visible {
    border-color: rgba(83, 255, 249, 0.48);
    box-shadow:
        0 0 0 2px rgba(83,255,249,0.10),
        0 0 18px rgba(255,255,255,0.28),
        0 0 24px rgba(83,255,249,0.18),
        0 0 30px rgba(255,0,98,0.08),
        inset 0 0 10px rgba(255,255,255,0.65);
}

.lang-select,
.lang-select option {
    font-family: Arial, sans-serif;
}

.lang-select option {
    background: #070707;
    color: #ffffff;
    font-weight: 700;
    padding: 12px;
    text-align: center;
}

.menu-floating::after {
    content: "▾";
    position: absolute;
    bottom: 25px;
    right: calc(50% - 97px);
    pointer-events: none;
    color: #050505;
    font-size: 13px;
    text-shadow:
        -1px 0 rgba(255, 0, 98, 0.20),
        1px 0 rgba(83, 255, 249, 0.22),
        0 0 8px rgba(255,255,255,0.12);
    animation: langArrowFlicker 1.8s infinite;
}

.hero {
    min-height: 82vh;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.88)),
        url("images/hero-banner.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #121212;
}

.hero-overlay {
    width: 100%;
    max-width: 900px;
    padding: 34px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-logo {
    width: 320px;
    max-width: 82vw;
    height: auto;
    margin-bottom: 18px;
    object-fit: contain;
    display: block;
    animation: brokenFlicker 2.8s infinite;
    filter:
        drop-shadow(0 0 6px rgba(255,255,255,0.35))
        drop-shadow(0 0 18px rgba(255,255,255,0.18))
        drop-shadow(0 0 32px rgba(255,255,255,0.10));
}

.hero-title {
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 14px;
}

.hero-text {
    max-width: 700px;
    color: #d3d3d3;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.main-btn {
    display: inline-block;
    padding: 12px 20px;
    background: white;
    color: black;
    border-radius: 999px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.25s;
}

.main-btn:hover {
    background: #dbdbdb;
    transform: translateY(-2px);
}

.ghost-btn {
    display: inline-block;
    padding: 12px 20px;
    background: transparent;
    color: white;
    border: 1px solid #2a2a2a;
    border-radius: 999px;
    font-size: 14px;
    transition: 0.25s;
}

.ghost-btn:hover {
    background: #141414;
    transform: translateY(-2px);
}

.container {
    width: 92%;
    max-width: 920px;
    margin: 28px auto 40px;
}

.section-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 26px 18px;
    margin-bottom: 18px;
    box-shadow: none;
}

.section-label {
    color: #8e8e8e;
    font-size: 13px;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 34px;
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-text {
    max-width: 760px;
    margin: 0 auto;
    color: #cdcdcd;
    font-size: 17px;
}

.account-block {
    margin-top: 20px;
}

.youtube-main-btn,
.faq-item summary {
    -webkit-tap-highlight-color: transparent;
}

.youtube-main-btn {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    background: transparent;
    color: white;
    border: none;
    border-radius: 0;
    padding: 14px 18px 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.25s;
    position: relative;
}

.youtube-main-btn::after {
    content: "▾";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    transition: 0.25s;
}

.youtube-main-btn:hover,
.youtube-main-btn:active,
.youtube-main-btn:focus-visible,
.youtube-main-btn.open {
    color: #ffffff;
    text-shadow:
        0 0 6px rgba(255,255,255,0.35),
        0 0 14px rgba(255,255,255,0.18),
        0 0 24px rgba(255,255,255,0.10);
}

.youtube-main-btn.open::after {
    content: "▴";
}

.youtube-main-btn img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.youtube-main-btn span {
    font-size: 16px;
    font-weight: bold;
}

.youtube-accounts {
    display: none;
    margin-top: 16px;
    gap: 14px;
    flex-direction: column;
}

.youtube-accounts.show-youtube {
    display: flex;
}

.mini-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 18px 0;
    box-shadow: none;
}

.mini-card h4 {
    font-size: 22px;
    margin-bottom: 8px;
}

.mini-card p {
    color: #cbcbcb;
    font-size: 15px;
    margin-bottom: 12px;
}

.small-link {
    display: inline-block;
    padding: 10px 16px;
    background: white;
    color: black;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    transition: 0.25s;
}

.small-link:hover {
    background: #d9d9d9;
}

.accounts-simple {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}

.simple-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 18px 0;
    box-shadow: none;
}

.simple-card img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin: 0 auto 12px;
}

.simple-card h4 {
    font-size: 22px;
    margin-bottom: 8px;
}

.simple-card p {
    color: #cfcfcf;
    font-size: 15px;
    margin-bottom: 12px;
}

.project-box {
    position: relative;
    overflow: visible;
    border: none;
    background: transparent;
    box-shadow: none;
    animation: none;
}

.project-box::before,
.project-box::after,
.project-image-wrap::before {
    display: none;
}

.project-image-wrap {
    max-width: 520px;
    margin: 18px auto 18px;
    position: relative;
    z-index: 1;
}

.project-image {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(83, 255, 249, 0.18);
    box-shadow:
        0 0 18px rgba(83, 255, 249, 0.12),
        0 0 40px rgba(0, 115, 255, 0.14),
        0 0 70px rgba(255, 0, 98, 0.08);
    filter: contrast(1.10) saturate(1.18) brightness(0.94);
    position: relative;
    z-index: 2;
    animation: imagePulse 4.8s ease-in-out infinite;
    transition: opacity 0.25s ease;
}

.project-thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.thumb {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(83, 255, 249, 0.10);
    cursor: pointer;
    opacity: 0.55;
    transition: 0.25s;
    filter: contrast(1.05) saturate(1.05) brightness(0.88);
    background: #050505;
}

.thumb:hover {
    opacity: 1;
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(83, 255, 249, 0.42);
    box-shadow:
        0 0 12px rgba(83, 255, 249, 0.14),
        0 0 20px rgba(255, 0, 98, 0.08);
}

.active-thumb {
    opacity: 1;
    border-color: rgba(83, 255, 249, 0.55);
    box-shadow:
        0 0 14px rgba(83, 255, 249, 0.22),
        0 0 22px rgba(255, 0, 98, 0.10);
}

.project-vibe {
    color: #baffff;
    font-size: 16px;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
    text-shadow:
        -1px 0 rgba(255, 0, 98, 0.45),
        1px 0 rgba(83, 255, 249, 0.55),
        0 0 14px rgba(83, 255, 249, 0.22);
    letter-spacing: 0.4px;
}

.project-info-simple {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

.info-chip {
    background: rgba(7, 15, 20, 0.88);
    color: #d9ffff;
    border: 1px solid rgba(83, 255, 249, 0.16);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    box-shadow:
        0 0 10px rgba(83, 255, 249, 0.06),
        inset 0 0 10px rgba(255, 255, 255, 0.02);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.faq-item {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 14px 0;
    text-align: center;
    box-shadow: none;
}

.faq-item summary {
    cursor: pointer;
    font-size: 17px;
    font-weight: bold;
    list-style: none;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
    transition: 0.25s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "▾";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    transition: 0.25s;
}

.faq-item summary:hover,
.faq-item summary:active,
.faq-item summary:focus-visible {
    color: #ffffff;
    text-shadow:
        0 0 6px rgba(255,255,255,0.35),
        0 0 14px rgba(255,255,255,0.16),
        0 0 22px rgba(255,255,255,0.08);
}

.faq-item[open] summary::after {
    content: "▴";
}

.faq-item p {
    color: #cccccc;
    font-size: 15px;
    margin-top: 10px;
}

.footer {
    padding: 18px 14px 26px;
    border-top: 1px solid #151515;
    text-align: center;
}

.footer-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.footer-icons a {
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.25s;
}

.footer-icons a:hover {
    transform: translateY(-2px);
}

.footer-icons img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-copy {
    font-size: 13px;
    color: #9b9b9b;
}

@media (min-width: 900px) {
    .topbar {
        padding: 16px 30px 10px;
    }

    .menu-floating {
        padding: 12px 30px 16px;
    }

    .logo-img {
        width: 68px;
        height: 68px;
    }

    .hero-logo {
        width: 170px;
        max-width: 170px;
    }

    .hero-title {
        font-size: 64px;
    }

    .hero-text {
        font-size: 20px;
    }

    .section-title {
        font-size: 40px;
    }
}

.project-box .section-title,
.project-box .section-label,
.project-box .section-text,
.project-box .hero-buttons,
.project-box .project-info-simple,
.project-box .project-image-wrap {
    position: relative;
    z-index: 2;
}

.project-box .section-title {
    color: #f6ffff;
    text-shadow:
        -1px 0 rgba(255, 0, 98, 0.35),
        1px 0 rgba(83, 255, 249, 0.45),
        0 0 18px rgba(83, 255, 249, 0.10);
}

.project-box .section-text {
    color: #d8e6ea;
    text-shadow: 0 0 8px rgba(83, 255, 249, 0.04);
}

.project-box .main-btn {
    background: linear-gradient(90deg, #f7f7f7 0%, #dfffff 100%);
    color: #000000;
    box-shadow:
        0 0 14px rgba(255, 255, 255, 0.10),
        0 0 20px rgba(83, 255, 249, 0.10);
}

.project-box .ghost-btn {
    border: 1px solid rgba(83, 255, 249, 0.18);
    color: #eaffff;
    background: rgba(6, 10, 14, 0.60);
    box-shadow: 0 0 12px rgba(83, 255, 249, 0.04);
}

.project-box .ghost-btn:hover {
    background: rgba(10, 18, 24, 0.82);
}

.disabled-project-btn {
    border: none;
    cursor: pointer;
}

.disabled-project-btn:active {
    background: #8e8e8e;
    color: #000000;
    transform: scale(0.98);
}

@keyframes brokenFlicker {
    0% {
        opacity: 1;
        filter:
            drop-shadow(0 0 6px rgba(255,255,255,0.35))
            drop-shadow(0 0 18px rgba(255,255,255,0.18))
            drop-shadow(0 0 32px rgba(255,255,255,0.10));
    }

    4% {
        opacity: 0.45;
        filter:
            drop-shadow(0 0 2px rgba(255,255,255,0.10))
            drop-shadow(0 0 6px rgba(255,255,255,0.06));
    }

    8% {
        opacity: 1;
        filter:
            drop-shadow(0 0 10px rgba(255,255,255,0.45))
            drop-shadow(0 0 24px rgba(255,255,255,0.22))
            drop-shadow(0 0 40px rgba(255,255,255,0.12));
    }

    11% {
        opacity: 0.2;
        filter: none;
    }

    14% {
        opacity: 0.95;
    }

    27% {
        opacity: 1;
    }

    30% {
        opacity: 0.55;
    }

    32% {
        opacity: 1;
    }

    58% {
        opacity: 0.92;
    }

    60% {
        opacity: 0.35;
        filter:
            drop-shadow(0 0 2px rgba(255,255,255,0.08))
            drop-shadow(0 0 8px rgba(255,255,255,0.05));
    }

    64% {
        opacity: 1;
        filter:
            drop-shadow(0 0 10px rgba(255,255,255,0.40))
            drop-shadow(0 0 22px rgba(255,255,255,0.18))
            drop-shadow(0 0 38px rgba(255,255,255,0.10));
    }

    100% {
        opacity: 1;
        filter:
            drop-shadow(0 0 6px rgba(255,255,255,0.35))
            drop-shadow(0 0 18px rgba(255,255,255,0.18))
            drop-shadow(0 0 32px rgba(255,255,255,0.10));
    }
}

@keyframes imagePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.01);
    }
    100% {
        transform: scale(1);
    }
}

.youtube-main-btn span,
.faq-item summary {
    position: relative;
    display: inline-block;
    transition: 0.25s;
}

.youtube-main-btn:hover span,
.youtube-main-btn:active span,
.youtube-main-btn:focus-visible span,
.youtube-main-btn.open span,
.faq-item summary:hover,
.faq-item summary:active,
.faq-item summary:focus-visible,
.faq-item[open] summary {
    color: #ffffff;
    text-shadow:
        -1px 0 rgba(255, 0, 98, 0.40),
        1px 0 rgba(83, 255, 249, 0.55),
        0 0 8px rgba(255,255,255,0.28),
        0 0 18px rgba(83,255,249,0.12);
    animation: textGlitchGlow 0.9s infinite;
}

@keyframes textGlitchGlow {
    0% {
        transform: translateX(0);
        text-shadow:
            -1px 0 rgba(255, 0, 98, 0.35),
            1px 0 rgba(83, 255, 249, 0.45),
            0 0 6px rgba(255,255,255,0.20);
    }

    18% {
        transform: translateX(0.4px);
        text-shadow:
            -2px 0 rgba(255, 0, 98, 0.45),
            2px 0 rgba(83, 255, 249, 0.55),
            0 0 10px rgba(255,255,255,0.26);
    }

    21% {
        transform: translateX(-0.6px);
    }

    24% {
        transform: translateX(0);
    }

    55% {
        transform: translateX(0.3px);
        text-shadow:
            -1px 0 rgba(255, 0, 98, 0.38),
            1px 0 rgba(83, 255, 249, 0.52),
            0 0 12px rgba(83,255,249,0.14);
    }

    58% {
        transform: translateX(-0.4px);
    }

    61% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
        text-shadow:
            -1px 0 rgba(255, 0, 98, 0.35),
            1px 0 rgba(83, 255, 249, 0.45),
            0 0 6px rgba(255,255,255,0.20);
    }
}

.section-title,
.mini-card h4,
.simple-card h4 {
    position: relative;
    display: inline-block;
    color: #ffffff;
    animation: titleGlitchWhite 1.2s infinite;
}

.project-box .section-title {
    animation: none !important;
}

@keyframes titleGlitchWhite {
    0% {
        transform: translateX(0);
        text-shadow:
            -1px 0 rgba(255, 0, 98, 0.35),
            1px 0 rgba(83, 255, 249, 0.45),
            0 0 6px rgba(255,255,255,0.20);
    }

    12% {
        transform: translateX(0.5px);
        text-shadow:
            -2px 0 rgba(255, 0, 98, 0.42),
            2px 0 rgba(83, 255, 249, 0.55),
            0 0 10px rgba(255,255,255,0.24);
    }

    15% {
        transform: translateX(-0.7px);
    }

    18% {
        transform: translateX(0);
    }

    46% {
        transform: translateX(0.4px);
        text-shadow:
            -1px 0 rgba(255, 0, 98, 0.36),
            1px 0 rgba(83, 255, 249, 0.50),
            0 0 12px rgba(83,255,249,0.14);
    }

    49% {
        transform: translateX(-0.5px);
    }

    52% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
        text-shadow:
            -1px 0 rgba(255, 0, 98, 0.35),
            1px 0 rgba(83, 255, 249, 0.45),
            0 0 6px rgba(255,255,255,0.20);
    }
}

@keyframes langPulseGlitchWhite {
    0% {
        transform: translateX(0);
        opacity: 1;
        box-shadow:
            0 0 10px rgba(255, 255, 255, 0.22),
            0 0 18px rgba(83, 255, 249, 0.10),
            0 0 22px rgba(255, 0, 98, 0.05),
            inset 0 0 10px rgba(255, 255, 255, 0.55);
    }

    10% {
        box-shadow:
            0 0 12px rgba(255, 255, 255, 0.28),
            0 0 20px rgba(83, 255, 249, 0.12),
            0 0 24px rgba(255, 0, 98, 0.06),
            inset 0 0 10px rgba(255, 255, 255, 0.65);
    }

    14% {
        transform: translateX(0.5px);
    }

    16% {
        transform: translateX(-0.6px);
    }

    18% {
        transform: translateX(0);
    }

    50% {
        opacity: 0.96;
    }

    53% {
        opacity: 0.82;
        box-shadow:
            0 0 6px rgba(255, 255, 255, 0.16),
            0 0 10px rgba(83, 255, 249, 0.06),
            0 0 12px rgba(255, 0, 98, 0.03),
            inset 0 0 8px rgba(255, 255, 255, 0.42);
    }

    57% {
        opacity: 1;
    }

    70% {
        transform: translateX(0.35px);
    }

    73% {
        transform: translateX(-0.4px);
    }

    76% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
        opacity: 1;
        box-shadow:
            0 0 10px rgba(255, 255, 255, 0.22),
            0 0 18px rgba(83, 255, 249, 0.10),
            0 0 22px rgba(255, 0, 98, 0.05),
            inset 0 0 10px rgba(255, 255, 255, 0.55);
    }
}

@keyframes langArrowFlicker {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    8% {
        opacity: 0.55;
    }

    12% {
        opacity: 1;
        transform: translateY(0.5px);
    }

    30% {
        opacity: 1;
    }

    34% {
        opacity: 0.4;
    }

    38% {
        opacity: 1;
    }

    60% {
        transform: translateY(-0.5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
