/* ============================================
   Dark Tech Theme - OMNIEX Download Page
   ============================================ */

.style2 {
    position: relative;
    text-align: center;
    background: #070b17;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* ---- Grid Background ---- */
.style2::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(31, 147, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 147, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ---- Glow Orbs ---- */
.style2::after {
    content: '';
    position: fixed;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 147, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

/* ---- Floating Particles ---- */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #1f93ff;
    border-radius: 50%;
    animation: floatUp linear infinite;
    opacity: 0;
}
@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

/* ---- Logo ---- */
.style2 .logo {
    position: relative;
    z-index: 2;
    display: block;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter: drop-shadow(0 0 30px rgba(31, 147, 255, 0.35));
    animation: logoFloat 3s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---- Content Container ---- */
.style2 .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    padding: 30px 24px 40px;
}

.container > div {
    margin-bottom: 24px;
}

/* ---- Version ---- */
.style2 .version {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    color: #e8edf5;
}

.style2 .version .ver-num {
    background: linear-gradient(135deg, #1f93ff, #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.style2 .tips {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* ---- Divider ---- */
.style2 .divider {
    width: 50px;
    height: 2px;
    margin: 8px auto 0;
    border-radius: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 147, 255, 0.4), transparent);
}

/* ---- Button Group ---- */
.style2 .btn-group {
    width: 80%;
    max-width: 340px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.style2 .btn {
    position: relative;
    box-sizing: border-box;
    height: 52px;
    line-height: 52px;
    border-radius: 26px;
    text-align: center;
    width: 100%;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    vertical-align: middle;
    display: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    overflow: hidden;
}

.style2 .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* ---- iOS Button ---- */
.style2 .btn.ios {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #1f93ff, #4a6cf7);
    box-shadow: 0 8px 30px rgba(31, 147, 255, 0.3);
    border: 1px solid rgba(31, 147, 255, 0.3);
}

.style2 .btn.ios:hover {
    box-shadow: 0 12px 40px rgba(31, 147, 255, 0.45);
    transform: translateY(-2px);
}

.style2 .btn.ios:active {
    box-shadow: 0 4px 15px rgba(31, 147, 255, 0.25);
    transform: translateY(0);
}

/* ---- Android Button ---- */
.style2 .btn.android {
    display: flex;
    background: transparent;
    border: 1.5px solid rgba(31, 147, 255, 0.5);
    box-shadow: 0 0 20px rgba(31, 147, 255, 0.08), inset 0 0 20px rgba(31, 147, 255, 0.03);
}

.style2 .btn.android:hover {
    border-color: rgba(31, 147, 255, 0.8);
    box-shadow: 0 0 30px rgba(31, 147, 255, 0.15), inset 0 0 30px rgba(31, 147, 255, 0.05);
    transform: translateY(-2px);
}

.style2 .btn.android:active {
    border-color: rgba(31, 147, 255, 0.5);
    box-shadow: 0 0 15px rgba(31, 147, 255, 0.06);
    transform: translateY(0);
}

/* ---- Button Icons ---- */
.style2 .btn svg {
    position: relative;
    left: auto;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.style2 .btn:hover svg {
    transform: scale(1.1);
}

/* ---- Shinny Effect ---- */
.style2 .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-25deg);
    animation: btnShine 3s ease-in-out infinite;
}

.style2 .btn.android::after {
    animation: none;
}

@keyframes btnShine {
    0% { left: -100%; }
    20%, 100% { left: 200%; }
}

/* ---- Version Badge ---- */
.style2 .badge {
    display: inline-block;
    padding: 4px 14px;
    margin-top: 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #1f93ff;
    background: rgba(31, 147, 255, 0.1);
    border: 1px solid rgba(31, 147, 255, 0.2);
}

/* ---- Copyright ---- */
.style2 .copyright {
    margin-top: 16px;
    width: 100%;
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 1px;
}

/* ---- Ripple Effect ---- */
.style2 .btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ---- Responsive ---- */
@media screen and (max-height: 700px) {
    .style2 .logo {
        padding-top: 10vh;
        width: 110px;
        height: 110px;
    }
    .style2 .version {
        font-size: 18px;
    }
}

@media screen and (min-width: 768px) {
    .style2::before {
        background-size: 80px 80px;
    }
}
