@import url('https://cdn.fontcdn.ir/Font/Persian/Vazir/Vazir.css');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Vazir', Tahoma, sans-serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* جلوگیری از اسکرول */
    transition: background 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.screen {
    position: absolute;
    width: 90%;
    max-width: 500px;
    text-align: center;
    z-index: 10;
    transition: all 0.5s ease-in-out;
}

.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* متن‌های صفحه اول */
.giant-sorry {
    font-size: 4em;
    font-weight: 900;
    color: #ff0844;
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.8);
    animation: heartbeat 1s infinite;
}

.sparkle-text {
    font-size: 1.5em;
    color: #d10034;
    margin: 20px 0;
    font-weight: bold;
}

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

/* باکس‌های شیشه‌ای برای صفحات */
.glass-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid rgba(255,255,255,0.8);
}

h2 {
    color: #ff0844;
    margin-bottom: 15px;
}

.informal-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
    font-weight: 500;
    margin-bottom: 20px;
}

/* دکمه‌های کیوت */
.cute-btn {
    font-family: inherit;
    font-size: 1.2em;
    font-weight: bold;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(45deg, #ff758c 0%, #ff7eb3 100%);
    color: white;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 117, 140, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    margin-bottom: 10px;
}

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

.yes-btn {
    background: linear-gradient(45deg, #00b09b, #96c93d);
    box-shadow: 0 5px 15px rgba(0, 176, 155, 0.4);
}

.no-btn {
    background: #ccc;
    color: #555;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ویس‌ها */
.voice-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.voice-btn {
    background: white;
    border: 2px solid #ff7eb3;
    color: #ff7eb3;
    padding: 10px;
    border-radius: 15px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
}

/* عکس و ویدیو */
video, .final-photo {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

/* فاصله‌دهی */
.mt-2 {
    margin-top: 20px;
}

.pulse-btn {
    animation: heartbeat 1.5s infinite;
}

/* باکس صفحه موفقیت */
.success-box {
    background: rgba(255, 255, 255, 0.8);
    padding: 40px 20px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.happy-title {
    color: #ff0844;
    font-size: 2.2em;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.8);
}

.happy-text {
    font-size: 1.3em;
    font-weight: bold;
    color: #ff4081;
    line-height: 2;
}
