:root {
    --bg-color: #0b0f19;
    --surface-glass: rgba(16, 22, 37, 0.88);
    --surface-border: rgba(255, 255, 255, 0.09);
    --surface-border-hover: rgba(56, 189, 248, 0.35);
    --text-color: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --accent-color: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.25);
    --link-color: #38bdf8;
    --link-hover: #7dd3fc;
    --card-item-bg: rgba(255, 255, 255, 0.033);
    --card-item-hover: rgba(255, 255, 255, 0.06);
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 900px;
    width: 92%;
    margin: 44px auto 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ─── Floating Top-Right Language Selector Dropdown ─── */
.lang-selector-wrapper {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 22, 37, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 20px;
    padding: 6px 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: border-color 0.2s, background 0.2s;
}

.lang-selector-wrapper:hover {
    border-color: var(--accent-color);
    background: rgba(16, 22, 37, 0.98);
}

.lang-icon {
    font-size: 1.05rem;
    line-height: 1;
}

.lang-dropdown {
    background: transparent;
    color: #e2e8f0;
    border: none;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    padding: 2px 4px;
}

.lang-dropdown option {
    background: #0b0f19;
    color: #f1f5f9;
}

img.logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 22px auto;
    display: block;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.main-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 12px 0 38px 0;
    line-height: 1.25;
}

/* ─── Volumetric 3D Phone Chassis & Sunken Display ─── */
.phone-wrapper {
    position: relative;
    container-type: inline-size;
    perspective: 1500px;
    perspective-origin: 50% 50%;
    width: 100%;
    max-width: 920px;
    margin: 23px auto 63px auto;
    display: block;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.phone-chassis {
    position: relative;
    width: 100%;
    margin: 0 auto;
    cursor: default;
    /* Curved outer phone body with physical dark titanium rim */
    background: linear-gradient(140deg, #32343a 0%, #1e1f24 25%, #141518 60%, #25262c 100%);
    border-radius: 24px;
    border-radius: 2.6cqw;
    padding: 6px 7px;
    padding: 0.65cqw 0.76cqw;
    transform-style: preserve-3d;
    will-change: transform, box-shadow;

    /* Physical 3D side-wall extrusion and deep ground ambient shadows */
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 1px 0 1px #40424a,
        0 2px 0 1px #363840,
        0 3px 0 1px #2e3036,
        0 4px 0 1px #27282e,
        0 5px 0 1px #1a1b1f,
        0 18px 36px -6px rgba(0, 0, 0, 0.75),
        0 36px 70px -12px rgba(0, 0, 0, 0.65);

    animation: phoneFloatVolumetric 8s ease-in-out infinite;
}

/* Top speaker slit & ambient sensor */
.phone-chassis::before {
    content: '';
    position: absolute;
    top: 2px;
    top: 0.22cqw;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    width: 3.9cqw;
    height: 2px;
    height: 0.22cqw;
    background: #050506;
    border-radius: 2px;
    border-radius: 0.22cqw;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 10;
}

/* Physical side buttons on the chassis rim */
.phone-chassis::after {
    content: '';
    position: absolute;
    top: 28px;
    top: 3.0cqw;
    right: -2px;
    right: -0.22cqw;
    width: 2px;
    width: 0.22cqw;
    height: 24px;
    height: 2.6cqw;
    background: #2a2b30;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 1;
}

/* Sunken Screen Bezel & Recess */
.phone-screen-recess {
    position: relative;
    background: #020202;
    border-radius: 18px;
    border-radius: 1.95cqw;
    padding: 1.5px;
    padding: 0.16cqw;
    overflow: hidden;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 1),
        inset 0 -2px 3px rgba(0, 0, 0, 0.95),
        inset 2px 0 4px rgba(0, 0, 0, 0.85),
        inset -2px 0 4px rgba(0, 0, 0, 0.85),
        0 1px 0 rgba(255, 255, 255, 0.08);
}

.phone-screen-content {
    position: relative;
    display: flex;
    border-radius: 16px;
    border-radius: 1.74cqw;
    overflow: hidden;
    background-color: #000;
}

.phone-screen-content img {
    display: block;
    height: auto;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.phone-screen-content img.camera {
    width: 5.4726%;
}

.phone-screen-content img.screen {
    width: 94.5274%;
}

/* Subtle, localized glass edge glint */
.screen-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 16px;
    border-radius: 1.74cqw;
    z-index: 5;
    background: linear-gradient(130deg,
            rgba(255, 255, 255, 0.14) 0%,
            rgba(255, 255, 255, 0.03) 14%,
            transparent 28%);
    mix-blend-mode: screen;
    opacity: 0.35;
    animation: glareGlint 8s ease-in-out infinite;
}

/* Volumetric 3D Floating Animation */
@keyframes phoneFloatVolumetric {
    0% {
        transform: translateY(0px) rotateX(2.0deg) rotateY(-4.5deg) rotateZ(-0.35deg);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.2),
            1px 1px 0 1px #40424a,
            2px 2px 0 1px #363840,
            3px 3px 0 1px #2e3036,
            4px 4px 0 1px #27282e,
            5px 5px 0 1px #1a1b1f,
            8px 20px 38px -6px rgba(0, 0, 0, 0.75),
            16px 38px 75px -12px rgba(0, 0, 0, 0.65);
    }

    25% {
        transform: translateY(-5px) rotateX(3.5deg) rotateY(-1.2deg) rotateZ(0.2deg);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.22),
            0px 1px 0 1px #40424a,
            1px 2px 0 1px #363840,
            1px 3px 0 1px #2e3036,
            2px 4px 0 1px #27282e,
            2px 5px 0 1px #1a1b1f,
            4px 22px 42px -6px rgba(0, 0, 0, 0.78),
            8px 42px 80px -12px rgba(0, 0, 0, 0.68);
    }

    50% {
        transform: translateY(3px) rotateX(1.2deg) rotateY(4.5deg) rotateZ(0.4deg);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.2),
            -1px 1px 0 1px #40424a,
            -2px 2px 0 1px #363840,
            -3px 3px 0 1px #2e3036,
            -4px 4px 0 1px #27282e,
            -5px 5px 0 1px #1a1b1f,
            -8px 20px 38px -6px rgba(0, 0, 0, 0.75),
            -16px 38px 75px -12px rgba(0, 0, 0, 0.65);
    }

    75% {
        transform: translateY(-3px) rotateX(3.0deg) rotateY(1.5deg) rotateZ(-0.2deg);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.22),
            0px 1px 0 1px #40424a,
            -1px 2px 0 1px #363840,
            -1px 3px 0 1px #2e3036,
            -2px 4px 0 1px #27282e,
            -2px 5px 0 1px #1a1b1f,
            -4px 22px 42px -6px rgba(0, 0, 0, 0.78),
            -8px 42px 80px -12px rgba(0, 0, 0, 0.68);
    }

    100% {
        transform: translateY(0px) rotateX(2.0deg) rotateY(-4.5deg) rotateZ(-0.35deg);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.2),
            1px 1px 0 1px #40424a,
            2px 2px 0 1px #363840,
            3px 3px 0 1px #2e3036,
            4px 4px 0 1px #27282e,
            5px 5px 0 1px #1a1b1f,
            8px 20px 38px -6px rgba(0, 0, 0, 0.75),
            16px 38px 75px -12px rgba(0, 0, 0, 0.65);
    }
}

@keyframes glareGlint {
    0% {
        opacity: 0.50;
    }

    50% {
        opacity: 0.10;
    }

    100% {
        opacity: 0.50;
    }
}

/* ─── Modern Glassmorphic Feature & Content Cards ─── */
.features {
    text-align: left;
    margin-bottom: 50px;
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 36px 32px 26px 32px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
}

.features h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.features ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 650px) {
    .features ul {
        grid-template-columns: 1fr;
    }
}

.features li {
    background: var(--card-item-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    font-size: 0.96rem;
    font-weight: 500;
    color: #e2e8f0;
}

.features li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.1rem;
    margin-right: 12px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.4));
}

/* ─── Buttons & CTA ─── */
.buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 45px;
}

@media (max-width: 760px) {
    .buttons {
        flex-direction: column;
        align-items: center;
    }
}

.btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: 216px;
    min-width: 216px;
    max-width: 216px;
    height: 64px;
    box-sizing: border-box;
    text-transform: uppercase;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px var(--accent-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--accent-color);
    color: #ffffff;
}

.google-play-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.google-play-img {
    height: 64px;
    width: auto;
    opacity: 1;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    border: none;
    background: transparent;
    border-radius: 0;
    cursor: pointer;
}

.google-play-img:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 8px 16px rgba(56, 189, 248, 0.3));
}

/* ─── Download CTA & Meta Badges ─── */
.download-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0 28px 0;
}

.meta-badge {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.92rem;
    color: #cbd5e1;
}

.meta-badge strong {
    color: #ffffff;
}

.btn-download-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    padding: 14px 34px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.5);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-download-cta:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -4px rgba(14, 165, 233, 0.65);
}

/* ─── Music Card (Windlereye) ─── */
.music-box {
    max-width: 470px;
    width: 90%;
    margin: 0 auto 50px auto;
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 22px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    text-align: center;
}

.music-box img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    display: block;
}

.music-box img:hover {
    transform: scale(1.02);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 16px 35px -5px rgba(56, 189, 248, 0.25);
}

.music-box p {
    margin: 0 0 18px 0;
    font-weight: 600;
    color: #cbd5e1;
}

.music-box .img-link {
    display: block;
    text-decoration: none;
}

.music-box .img-link:hover {
    text-decoration: none;
}

/* ─── Special Thanks & Top Contributors ─── */
.contributors-box {
    padding: 36px 32px 24px 32px;
    text-align: left;
}

.contributor-item {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 4px solid var(--accent-color);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 16px;
}

.contributor-item p {
    margin: 0;
    line-height: 1.65;
    color: #cbd5e1;
    font-size: 0.98rem;
}

.contributor-item strong {
    color: #ffffff;
    font-weight: 700;
}

/* ─── Links ─── */
.container p a,
.container li a {
    text-decoration: none;
    color: var(--link-color);
    transition: color 0.2s, text-decoration 0.2s;
}

.container p a:hover,
.container li a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

/* ─── Footer ─── */
/* ─── Modern Minimalist Footer ─── */
.footer {
    background-color: #0d1322;
    width: 100%;
    padding: 50px 20px 60px 20px;
    margin-top: auto;
    text-align: center;
    color: #94a3b8;
    font-size: 0.88rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer p,
.footer div {
    max-width: 900px;
    width: 92%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--accent-color);
}

.footer p {
    margin: 10px auto;
    line-height: 1.65;
}

.footer-links {
    margin-top: 22px;
}