@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

html {
    direction: rtl;
}

body {
    font-family: 'Cairo', 'Inter', sans-serif;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    min-height: 100vh;
    overflow-x: hidden;
    direction: rtl;
}

input,
textarea,
button {
    font-family: inherit;
}

input,
textarea {
    direction: rtl;
}

::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 4px solid rgba(255,255,255,0.5);
}

.btn-primary {
    background: linear-gradient(to bottom, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 6px 0 #ff758c;
    transition: all 0.1s;
    border-radius: 16px;
    font-weight: bold;
    font-size: 1.25rem;
    padding: 1rem 2rem;
}

.btn-primary:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #ff758c;
}

.btn-secondary {
    background: linear-gradient(to bottom, #84fab0 0%, #8fd3f4 100%);
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 6px 0 #4facfe;
    transition: all 0.1s;
    border-radius: 16px;
    font-weight: bold;
    font-size: 1.25rem;
    padding: 1rem 2rem;
}

.btn-secondary:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #4facfe;
}

.option-btn {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 3px solid #93c5fd;
    border-radius: 16px;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 0 #60a5fa;
    position: relative;
}

.option-btn:hover {
    border-color: #60a5fa;
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 6px 0 #3b82f6;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.option-btn:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #3b82f6;
}

.option-btn.selected {
    border-color: #f472b6;
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    box-shadow: 0 4px 0 #ec4899;
}

/* Confetti & Stars */
.star {
    position: absolute;
    width: 30px;
    height: 30px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffd700"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') no-repeat center;
    background-size: contain;
    z-index: 50;
    opacity: 0;
}

#feedback-overlay {
    pointer-events: none;
    z-index: 100;
}

/* Image Options Styling */
.option-btn-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px !important;
}

.option-image-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0,0,0,0.05);
}

.option-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.option-btn:hover .option-image {
    transform: scale(1.1);
}

.option-label {
    display: block;
    word-break: break-word;
    text-align: center;
}

