

        .scene {
            perspective: 1500px; 
            perspective-origin: 50% 50%;
            width: 280px;
            height: 500px;
        }

        .phone {
            position: relative;
            transform-style: preserve-3d;
            width: 250px;
            height: 450px;
            transform: rotateY(00deg);
             animation: rotateiPhone 20s infinite linear; 
        }

        .face {
            position: absolute;
            backface-visibility: hidden;

            background-image: url('mas.png');
            background-repeat: no-repeat;
            background-size: contain;
            width: 329px;
            height: 605px;
            text-align: center;
            margin: 0px;
            z-index: 1;
        }

        /* Frente - iPhone Moderno */
        .front, .frontBack {
            width: 250px;
            height: 450px; 
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .front {
            transform: translateZ(12px);
            box-shadow: 
                inset 0 0 0 1px rgba(255, 255, 255, 0.05),
                inset 0 0 30px rgba(0, 0, 0, 0.9);
        }

        .frontBack {
            transform: translateZ(11px);
            background: #000;
        }

        .screen {
            background: #ffffff;
            width: 230px;
            height: 430px;
            border-radius: 28px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        /* Dynamic Island */
        .dynamic-island {
            width: 120px;
            height: 32px;
            background: #000;
            border-radius: 0 0 24px 24px;
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .island-dot {
            width: 8px;
            height: 8px;
            background: #333;
            border-radius: 50%;
        }

        .island-dot.active {
            background: #007AFF;
        }

        /* Status Bar iPhone */
        .status-bar {
            width: 100%;
            height: 44px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            color: white;
            font-size: 15px;
            font-weight: 600;
            background: transparent;
            position: absolute;
            top: 32px;
        }

        .time {
            font-size: 15px;
        }

        .status-icons {
            display: flex;
            gap: 5px;
            align-items: center;
        }

        /* Contenido de pantalla iPhone */
        .screen-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding-top: 80px;
            color: white;
            text-align: center;
        }

        .screen-content h1 {
            font-size: 28px;
            font-weight: 700;
            margin: 10px 0;
            background: linear-gradient(45deg, #007AFF, #5856D6);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .screen-content p {
            font-size: 14px;
            color: #8E8E93;
            margin: 5px 0;
        }

        /* Widgets estilo iOS */
        .widgets {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin: 30px 20px;
            width: 190px;
        }

        .widget {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 14px;
            padding: 15px;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .widget h3 {
            font-size: 12px;
            color: #8E8E93;
            margin: 0 0 8px 0;
            font-weight: 500;
        }

        .widget p {
            font-size: 20px;
            font-weight: 700;
            color: white;
            margin: 0;
        }

        /* Parte trasera iPhone */
        .back {
            width: 250px;
            height: 450px;
            background: linear-gradient(145deg, #111, #222);
            transform: rotateY(180deg) translateZ(12px);
            border: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: 
                inset 0 0 0 1px rgba(255, 255, 255, 0.05);
        }

        /* Módulo de cámara iPhone Pro */
        .camera-module {
            width: 80px;
            height: 80px;
            background: #000;
            border-radius: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 30px;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
        }

        .camera-lens {
            width: 50px;
            height: 50px;
            background: radial-gradient(circle, #001122, #000);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .camera-lens-inner {
            width: 30px;
            height: 30px;
            background: radial-gradient(circle, #003366, #001122);
            border-radius: 50%;
        }

        .flash {
            position: absolute;
            width: 14px;
            height: 14px;
            background: radial-gradient(circle, #fff, #aaa);
            border-radius: 50%;
            top: 15px;
            right: 15px;
        }

        /* Logo Apple */
        .apple-logo {
            color: white;
            font-size: 48px;
            font-weight: 300;
            margin-top: 20px;
            opacity: 0.9;
        }

        .model-text {
            color: #8E8E93;
            font-size: 12px;
            margin-top: 10px;
            letter-spacing: 1px;
        }

        /* Lados iPhone */
        .right, .left {
            width: 20px;
            height: 450px;
            left: 115px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .right {
            background: linear-gradient(to left, #0a0a0a, #1a1a1a);
            transform: rotateY(90deg) translateZ(125px);
        }

        .left {
            background: linear-gradient(to right, #0a0a0a, #1a1a1a);
            transform: rotateY(-90deg) translateZ(125px);
        }

        .side-controls {
            width: 20px;
            height: 420px;
            background: transparent;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            padding: 60px 0;
        }

        .side-button {
            width: 5px;
            height: 50px;
            background: linear-gradient(to right, #333, #222);
            border-radius: 3px;
            position: relative;
        }

        .side-button::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, rgba(255,255,255,0.1), transparent);
        }

        /* Parte superior e inferior */
        .top, .bottom {
            width: 250px;
            height: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .top {
            background: linear-gradient(to bottom, #0a0a0a, #1a1a1a);
            transform: rotateX(90deg) translateZ(225px);
        }

        .bottom {
            background: linear-gradient(to top, #0a0a0a, #1a1a1a);
            transform: rotateX(-90deg) translateZ(225px);
        }

        .top-speaker {
            width: 70px;
            height: 6px;
            background: #1a1a1a;
            border-radius: 3px;
            position: relative;
            overflow: hidden;
        }

        .top-speaker::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, #2a2a2a, transparent);
        }

        /* Animación de giro continua */
        @keyframes rotateiPhone {
            0% {
                transform: rotateY(0deg); 
            }
            100% {
                transform: rotateY(-360deg); 
            }
        }

        /* Indicador de ángulo */
        .angle-info {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255, 255, 255, 0.5);
            font-size: 12px;
            font-family: monospace;
            background: rgba(0, 0, 0, 0.5);
            padding: 5px 10px;
            border-radius: 10px;
            backdrop-filter: blur(10px);
        }

        /* Botones de control */
        .controls {
            position: absolute;
            bottom: 60px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
        }

        .control-btn {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 12px;
            cursor: pointer;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
        }

        .control-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }

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