/**
 * Starship Management Game - WordPress Plugin Styles
 * LCARS-themed phone frame wrapper
 */

.starship-game-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    padding: 20px;
}

/* Info badge */
.starship-info-badge {
    background: rgba(255, 153, 102, 0.9);
    color: #0a0a0a;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(255, 153, 102, 0.4);
    margin-bottom: 20px;
    display: inline-block;
}

/* Phone frame container */
.starship-phone-frame {
    background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
    border-radius: 40px;
    padding: 20px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 153, 102, 0.1);
    position: relative;
    border: 2px solid rgba(255, 153, 102, 0.2);
    width: 580px;
    height: 1000px;
    margin: 0 auto;
}

/* Phone screen */
.starship-phone-screen {
    width: 540px;
    height: 960px;
    background: black;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

/* Decorative notch */
.starship-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 28px;
    background: #0a0a0a;
    border-radius: 0 0 14px 14px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* LCARS accent bars */
.starship-lcars-accent {
    position: absolute;
    background: linear-gradient(90deg, #FF9966, #FFCC99);
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(255, 153, 102, 0.5);
}

.starship-lcars-top {
    top: -10px;
    left: 20px;
    width: 100px;
    height: 6px;
}

.starship-lcars-bottom {
    bottom: -10px;
    right: 20px;
    width: 100px;
    height: 6px;
}

.starship-lcars-left {
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 120px;
}

.starship-lcars-right {
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 120px;
}

/* Game iframe */
.starship-game-iframe {
    width: 540px;
    height: 960px;
    border: none;
    display: block;
    image-rendering: auto;
}

/* Responsive design */
@media (max-width: 768px) {
    .starship-phone-frame {
        padding: 12px;
        border-radius: 24px;
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 9 / 16;
    }

    .starship-phone-screen {
        width: 100%;
        height: 100%;
    }

    .starship-game-iframe {
        width: 100%;
        height: 100%;
    }

    .starship-phone-notch {
        width: 90px;
        height: 20px;
    }

    .starship-info-badge {
        position: static;
        margin-bottom: 20px;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .starship-phone-frame {
        padding: 8px;
        border-radius: 16px;
    }
}
