* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(145deg, #00102e 0%, #001a4d 50%, #002060 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.container {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 40px;
}

.glow-effect {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(82, 184, 217, 0.1) 0%, rgba(46, 120, 168, 0.05) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #d6f2fa;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1rem;
    color: rgba(160, 224, 240, 0.6);
    margin-bottom: 60px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.button-container {
    position: relative;
    display: inline-block;
}

.button-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 1px solid rgba(82, 184, 217, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2.5s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

.launch-button {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px solid rgba(160, 224, 240, 0.25);
    background: linear-gradient(145deg, #2e78a8, #1a5f8a);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    outline: none;
    box-shadow:
        0 8px 32px rgba(46, 120, 168, 0.4),
        0 0 0 4px rgba(46, 120, 168, 0.1),
        inset 0 -3px 16px rgba(0, 0, 0, 0.2),
        inset 0 3px 16px rgba(255, 255, 255, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
}

.launch-button:active {
    transform: scale(0.97);
    box-shadow:
        0 4px 16px rgba(46, 120, 168, 0.5),
        0 0 0 3px rgba(46, 120, 168, 0.2),
        inset 0 3px 16px rgba(0, 0, 0, 0.25);
}

.launch-button.holding {
    transform: scale(0.95);
    background: linear-gradient(145deg, #52b8d9, #2e78a8);
    box-shadow:
        0 4px 24px rgba(82, 184, 217, 0.55),
        0 0 0 6px rgba(82, 184, 217, 0.25),
        inset 0 3px 16px rgba(0, 0, 0, 0.2);
}

.launch-button.success {
    background: linear-gradient(145deg, #52b8d9, #3a9fc2);
    box-shadow:
        0 8px 32px rgba(82, 184, 217, 0.4),
        0 0 0 4px rgba(82, 184, 217, 0.15);
}

.button-text {
    position: relative;
    z-index: 2;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.progress-ring svg {
    width: 100%;
    height: 100%;
}

.progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 4;
}

.progress-bar {
    fill: none;
    stroke: rgba(214, 242, 250, 0.9);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 0.1s linear;
}

.ripple-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 50%;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(214, 242, 250, 0.4);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.status-text {
    margin-top: 40px;
    font-size: 0.9rem;
    color: rgba(160, 224, 240, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status-text.active {
    color: #a0e0f0;
}

.status-text.success {
    color: #d6f2fa;
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    pointer-events: none;
}

/* Launch Overlay */
.launch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 16, 46, 0.97);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 100;
}

.launch-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-content {
    text-align: center;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.launch-overlay.active .success-content {
    transform: scale(1);
    opacity: 1;
}

.checkmark-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.checkmark-circle svg {
    width: 100%;
    height: 100%;
}

.checkmark-bg {
    fill: #2e78a8;
}

.checkmark {
    fill: none;
    stroke: #d6f2fa;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: checkmark-draw 0.5s ease 0.3s forwards;
}

@keyframes checkmark-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.success-content h2 {
    font-size: 2rem;
    color: #d6f2fa;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.success-content p {
    font-size: 1.1rem;
    color: rgba(160, 224, 240, 0.6);
    font-weight: 400;
}

/* iPad-specific styles */
@media (min-width: 768px) {
    .title {
        font-size: 3.5rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .launch-button {
        width: 220px;
        height: 220px;
        font-size: 1.6rem;
    }

    .button-ring {
        width: 240px;
        height: 240px;
    }

    .glow-effect {
        width: 600px;
        height: 600px;
    }
}

/* Landscape iPad */
@media (min-width: 1024px) and (orientation: landscape) {
    .container {
        padding: 20px;
    }

    .subtitle {
        margin-bottom: 40px;
    }
}
