@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');



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

body {
    font-family: 'Press Start 2P', monospace;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #CD853F 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

a {
    color: antiquewhite;
}

#twine-container {
    position: fixed; /* ocupa toda la pantalla */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none; /* oculto por defecto */
    background: black; /* opcional, para evitar flashes */
}

#twine-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.game-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    padding-top: 200px;
    padding-bottom: 100px;
}

/* Control de audio */
.audio-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.audio-btn {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #DEB887;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    color: #DEB887;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.audio-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: #FF8C00;
    color: #FF8C00;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.audio-btn:active {
    transform: scale(0.95);
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin-right: 450px;
    margin-left: 50px;
    margin-top: 0;
    padding: 0 20px;
    background: transparent;
    width: 100%;
}

.content-wrapper > *,
.content > * {
    margin-top: 30px;
    margin-bottom: 30px;
}

.content-wrapper > *:first-child,
.content > *:first-child {
    margin-top: 0;
}

.content-wrapper > *:last-child,
.content > *:last-child {
    margin-bottom: 0;
}

.desert-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/desert-robot-hero.jpg') no-repeat center center;
    background-size: cover;
    z-index: -2;
}



.content {
    text-align: center;
    z-index: 2;
    width: 100%;
}

.title {
    margin-bottom: 20px;
}

.title h1 {
    color: #f7e9ac;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 5px;
}

.title h2 {
    color: #DEB887;
    font-size: 1.8em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 5px;
}

.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border: 2px solid #DEB887;
    display: inline-block;
    position: relative;
    margin-top: 30px;
    z-index: 10;
    max-width: 90%;
    word-wrap: break-word;
}

.footer h5 {
    /* font-family: 'Arial', sans-serif; */
    text-align: justify;
    color: white;
    font-size: 0.9em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    line-height: 1.5;
}

.separator {
    width: 100%;
    height: 2px;
    /* background: #DEB887; */
    margin-bottom: 20px;
}

.description {
    color: white;
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    text-align: justify;
    background: rgb(123 15 15 / 34%);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.btn {
    background: #DEB887;
    color: white;
    border: 2px solid #8B4513;
    padding: 15px 25px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8em;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    transition: all 0.3s ease;
}

.btn:hover {
    background: #CD853F;
    transform: scale(1.05);
}

/* Mejoras para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px; /* Tamaño mínimo recomendado para touch */
    }
    
    .btn:active {
        background: #CD853F;
        transform: scale(0.95);
    }
}

.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.stat-label {
    color: white;
    font-size: 0.6em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.watermark-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
    font-size: 0.6em;
    opacity: 0.7;
    z-index: 1000;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.watermark-footer p {
    margin: 0;
    padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-container {
        padding: 10px;
        padding-top: 100px;
        padding-bottom: 80px;
    }
    
    .audio-control {
        top: 15px;
        right: 15px;
    }
    
    .audio-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .content-wrapper {
        margin-right: 0;
        margin-left: 0;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .title h1 {
        font-size: 1.5em;
        line-height: 1.3;
    }
    
    .title h2 {
        font-size: 1.1em;
        line-height: 1.3;
    }
    
    .description {
        font-size: 0.7em;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.7em;
        width: 100%;
        max-width: 280px;
    }
    
    .stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.2em;
    }
    
    .stat-label {
        font-size: 0.5em;
    }
    
    .footer {
        position: relative;
        margin-top: 30px;
        padding: 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .footer h5 {
        font-size: 0.7em;
        text-align: center;
    }
    
    .watermark-footer {
        position: absolute;
        bottom: 0;
        left: 0;
        text-align: center;
        font-size: 0.3em;
        width: 100%;
        z-index: 1000;
        padding: 10px;
        background: rgba(0, 0, 0, 0.3);
    }
    
    .watermark-footer p {
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .game-container {
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    .title h1 {
        font-size: 1.3em;
    }
    
    .title h2 {
        font-size: 1em;
    }
    
    .description {
        font-size: 0.65em;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 0.65em;
    }
    
    .stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1em;
    }
    
    .stat-label {
        font-size: 0.45em;
    }
    
    .footer {
        position: relative;
        margin-top: 30px;
        padding: 15px;
        width: 100%;
        max-width: 100%;
        font-size: 0.8em;
    }
    
    .footer h5 {
        font-size: 0.75em;
        text-align: center;
        line-height: 1.4;
    }
    
    .watermark-footer {
        position: absolute;
        bottom: 0;
        left: 0;
        text-align: center;
        font-size: 0.5em;
        padding: 10px;
        line-height: 1.3;
        width: 100%;
        z-index: 1000;
        background: rgba(0, 0, 0, 0.3);
    }
    
    .watermark-footer p {
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 390px) {
    .game-container {
        padding-top: 70px;
        padding-bottom: 50px;
    }
    
    .title h1 {
        font-size: 1.2em;
    }
    
    .title h2 {
        font-size: 0.95em;
    }
    
    .description {
        font-size: 0.7em;
        line-height: 1.5;
    }
    
    .btn {
        font-size: 0.7em;
        padding: 12px 15px;
        min-height: 48px;
    }
    
    .stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1em;
    }
    
    .stat-label {
        font-size: 0.5em;
    }
    
    .footer {
        position: relative;
        margin-top: 25px;
        padding: 12px;
        width: 100%;
        max-width: 100%;
    }
    
    .footer h5 {
        font-size: 0.8em;
        text-align: center;
        line-height: 1.5;
    }
    
    .watermark-footer {
        position: absolute;
        bottom: 0;
        left: 0;
        text-align: center;
        font-size: 0.6em;
        padding: 10px;
        line-height: 1.4;
        width: 100%;
        z-index: 1000;
        background: rgba(0, 0, 0, 0.3);
    }
    
    .watermark-footer p {
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 360px) {
    .title h1 {
        font-size: 1.1em;
    }
    
    .title h2 {
        font-size: 0.9em;
    }
    
    .description {
        font-size: 0.6em;
    }
    
    .btn {
        font-size: 0.6em;
        padding: 8px 12px;
    }
    
    .stats {
        gap: 10px;
    }
    
    .stat-number {
        font-size: 0.9em;
    }
    
    .stat-label {
        font-size: 0.4em;
    }
    
    .footer h5 {
        font-size: 0.75em;
    }
    
    .watermark-footer {
        font-size: 0.55em;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 10px;
        z-index: 1000;
        background: rgba(0, 0, 0, 0.3);
    }
    
    .watermark-footer p {
        font-size: smaller;
        margin: 0;
        padding: 0;
    }
}

/* Estilos específicos para móvil en modo horizontal (landscape) */
@media (max-width: 950px) and (max-height: 500px) and (orientation: landscape) {
    .game-container {
        padding: 0 80px;
        padding-top: 50px;
        padding-bottom: 40px;
    }
    
    .content-wrapper {
        margin-right: 200px; /* Acercar el texto al robot */
        margin-left: 20px;
        max-width: 60%;
        /* padding: 0 10px; */
    }
    
    .separator {
        height: 0px;
    }

    .title h1 {
        font-size: 1.2em; /* Reducir tamaño de letra */
        line-height: 1.2;
    }
    
    .title h2 {
        font-size: 0.9em; /* Reducir tamaño de letra */
        line-height: 1.2;
    }
    
    .description {
        font-size: 0.6em; /* Reducir tamaño de letra */
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .buttons {
        flex-direction: row; /* Mantener botones en fila */
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 0.5em; /* Reducir tamaño de letra */
        min-height: 36px;
    }
    
    .stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 0.9em; /* Reducir tamaño de letra */
    }
    
    .stat-label {
        font-size: 0.35em; /* Reducir tamaño de letra */
    }
    
    .footer {
        position: relative;
        margin-top: 20px;
        padding: 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .footer h5 {
        font-size: 0.5em; /* Reducir tamaño de letra */
        text-align: left;
        line-height: 1.3;
    }
    
    .watermark-footer {
        position: absolute;
        bottom: 0;
        left: 0;
        text-align: center;
        font-size: 0.4em; /* Reducir tamaño de letra */
        padding: 8px;
        line-height: 1.2;
        width: 100%;
        z-index: 1000;
        background: rgba(0, 0, 0, 0.3);
    }
    
    .watermark-footer p {
        margin: 0;
        padding: 0;
    }
}

/* Pantalla de activación de audio */
.audio-activation-screen {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #CD853F 100%);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    font-family: 'Press Start 2P', monospace;
    position: relative;
    overflow: hidden;
}

/* Patrones digitales en el fondo de la pantalla de audio */
.audio-activation-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(255, 140, 0, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(255, 140, 0, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: scanLines 3s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.audio-activation-content {
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    z-index: 1;
    position: relative;
}

.audio-icon-large {
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.audio-symbol {
    font-size: 4em;
    display: block;
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.8);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.audio-title {
    color: #FF8C00;
    font-size: 2em;
    text-shadow: 0 0 15px #FF8C00;
    margin-bottom: 10px;
    letter-spacing: 3px;
    animation: glitch 2s infinite;
}

.audio-subtitle {
    color: #FF8C00;
    font-size: 0.9em;
    text-shadow: 0 0 10px #FF8C00;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.audio-description {
    background: rgba(139, 69, 19, 0.8);
    border: 2px solid #FF8C00;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
}

.audio-description p {
    color: #E6E6E6;
    font-size: 0.7em;
    margin-bottom: 10px;
    font-family: 'Arial', sans-serif;
    line-height: 1.5;
}

.audio-note {
    color: #FF8C00 !important;
    font-size: 0.6em !important;
    font-style: italic;
}

.audio-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-audio-yes, .btn-audio-no {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7em;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
    text-shadow: none;
    transition: all 0.3s ease;
    border: none;
    min-height: 50px;
}

.btn-audio-yes {
    background: #FF8C00;
    color: #8B4513;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
}

.btn-audio-yes:hover {
    background: #FFA500;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.7);
}

.btn-audio-no {
    background: transparent;
    color: #FF8C00;
    border: 2px solid #FF8C00;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

.btn-audio-no:hover {
    background: rgba(255, 140, 0, 0.1);
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
}

.btn-icon {
    font-size: 1.2em;
}

.audio-footer {
    color: #FF8C00;
    font-size: 0.5em;
    opacity: 0.8;
    text-shadow: 0 0 5px #FF8C00;
}

/* Mensaje de orientación para dispositivos móviles en portrait */
.orientation-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #CD853F 100%);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    font-family: 'Press Start 2P', monospace;
    position: relative;
    overflow: hidden;
}

/* Patrones digitales en el fondo */
.orientation-message::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(255, 140, 0, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(255, 140, 0, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: scanLines 3s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* Efecto de glitch en el título */
.main-title {
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes scanLines {
    0% { transform: translateY(0); }
    100% { transform: translateY(20px); }
}

/* Brackets en las esquinas */
.orientation-message::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #FF8C00;
    z-index: 1;
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.orientation-message .corner-bracket {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #FF8C00;
    z-index: 1;
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

.orientation-content {
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 400px;
    width: 90%;
}

/* Icono del sistema */
.system-icon {
    margin-bottom: 30px;
}

.phone-icon {
    width: 60px;
    height: 80px;
    background: #000;
    border: 2px solid #FF8C00;
    border-radius: 8px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.phone-screen {
    width: 40px;
    height: 50px;
    background: linear-gradient(45deg, #FF8C00, #FFA500);
    margin: 5px auto;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 30px;
    height: 40px;
    background: linear-gradient(45deg, #FF8C00, #FFA500, #FFD700);
    border-radius: 1px;
    animation: screenGlow 2s infinite alternate;
}

@keyframes screenGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Títulos */
.main-title {
    color: #FF8C00;
    font-size: 1.8em;
    text-shadow: 0 0 10px #FF8C00;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.subtitle {
    color: #FF8C00;
    font-size: 0.9em;
    text-shadow: 0 0 8px #FF8C00;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* Caja de instrucciones */
.instruction-box {
    background: rgba(139, 69, 19, 0.8);
    border: 2px solid #FF8C00;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
}

.instruction-text {
    color: #E6E6E6;
    font-size: 0.7em;
    margin-bottom: 5px;
    font-family: 'Arial', sans-serif;
}

.instruction-highlight {
    color: #FF8C00;
    font-size: 1em;
    font-weight: bold;
    text-shadow: 0 0 8px #FF8C00;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

/* Contenedor de botones */
.button-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-primary {
    background: #FF8C00;
    color: #8B4513;
    border: none;
    padding: 15px 25px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7em;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    text-shadow: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.btn-primary:hover {
    background: #FFA500;
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.7);
}

.btn-secondary {
    background: transparent;
    color: #FF8C00;
    border: 2px solid #FF8C00;
    padding: 15px 25px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.6em;
    cursor: pointer;
    border-radius: 5px;
    text-shadow: 0 0 5px #FF8C00;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 140, 0, 0.1);
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
}

/* Información de estado */
.status-info {
    text-align: left;
    margin-top: 20px;
}

.status-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: #FF8C00;
    font-size: 0.6em;
    text-shadow: 0 0 5px #FF8C00;
    font-family: 'Press Start 2P', monospace;
}

.status-bullet {
    color: #FF8C00;
    font-size: 0.8em;
    text-shadow: 0 0 5px #FF8C00;
}

@keyframes rotateToLandscape {
    0% { 
        transform: rotate(0deg); 
    }
    50% { 
        transform: rotate(90deg); 
    }
    100% { 
        transform: rotate(0deg); 
    }
}

/* Estilos responsivos para pantalla de audio */
@media screen and (max-width: 768px) {
    .audio-activation-content {
        max-width: 90%;
        padding: 15px;
    }
    
    .audio-title {
        font-size: 1.5em;
    }
    
    .audio-subtitle {
        font-size: 0.8em;
    }
    
    .audio-description p {
        font-size: 0.65em;
    }
    
    .btn-audio-yes, .btn-audio-no {
        font-size: 0.6em;
        padding: 12px 20px;
    }
    
    .audio-symbol {
        font-size: 3em;
    }
}

@media screen and (max-width: 480px) {
    .audio-title {
        font-size: 1.3em;
    }
    
    .audio-subtitle {
        font-size: 0.7em;
    }
    
    .audio-description p {
        font-size: 0.6em;
    }
    
    .btn-audio-yes, .btn-audio-no {
        font-size: 0.55em;
        padding: 10px 15px;
    }
    
    .audio-symbol {
        font-size: 2.5em;
    }
}

/* Mostrar mensaje de orientación solo en móviles en modo portrait */
@media screen and (max-width: 768px) and (orientation: portrait) {
    .orientation-message {
        display: flex;
    }
    
    .game-container {
        display: none;
    }
    
    .main-title {
        font-size: 1.5em;
    }
    
    .subtitle {
        font-size: 0.8em;
    }
    
    .instruction-highlight {
        font-size: 0.9em;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 0.6em;
        padding: 12px 20px;
    }
    
    .status-line {
        font-size: 0.5em;
    }
}

@media screen and (max-width: 480px) and (orientation: portrait) {
    .main-title {
        font-size: 1.3em;
    }
    
    .subtitle {
        font-size: 0.7em;
    }
    
    .instruction-highlight {
        font-size: 0.8em;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 0.55em;
        padding: 10px 15px;
    }
    
    .status-line {
        font-size: 0.45em;
    }
    
    .phone-icon {
        width: 50px;
        height: 70px;
    }
    
    .phone-screen {
        width: 35px;
        height: 45px;
    }
}

/* Ocultar mensaje de orientación en modo landscape */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .orientation-message {
        display: none;
    }
    
    .game-container {
        display: flex;
    }
}
