/* ========================================
   KREATIVES MODERNES DESIGN - SELBSTEINSCHÄTZUNG
======================================== */

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

:root {
    --primary-gradient: linear-gradient(135deg, #27408B 0%, #4a5568 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --dark-glass: rgba(0, 0, 0, 0.1);
    --text-primary: #27408B;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --pastel-yellow: #fef9e7;
    --pastel-yellow-dark: #fef3c7;
    
    /* iPad-spezifische Variablen */
    --ipad-glass-bg: rgba(255, 255, 255, 0.08);
    --ipad-pastel-yellow: rgba(254, 249, 231, 0.85);
    --ipad-pastel-yellow-dark: rgba(254, 243, 199, 0.9);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-image: url('images/background01.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
}

/* Dynamisches Overlay mit Farbverläufen */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    z-index: -1;
    animation: colorShift 15s ease-in-out infinite;
}

@keyframes colorShift {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* ========================================
   CONTAINER UND LAYOUT
======================================== */
.container {
    max-width: 1000px;
    width: 95%;
    margin: 20px auto;
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(180%);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: containerFloat 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    animation: progressGlow 3s ease-in-out infinite;
}

@keyframes containerFloat {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes progressGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* ========================================
   HEADER - KREATIVES DESIGN
======================================== */
.header {
    background: var(--primary-gradient);
    color: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%),
        conic-gradient(from 0deg, transparent 0deg, rgba(255,255,255,0.1) 60deg, transparent 120deg);
    animation: headerRotate 20s linear infinite;
}

@keyframes headerRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.header h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    background: linear-gradient(45deg, #fff, #f0f4f8, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { background-position: -200% center; }
    50% { background-position: 200% center; }
}

.header p {
    font-size: 20px;
    opacity: 0.95;
    font-weight: 500;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

/* ========================================
   LOGIN FORM - FUTURISTISCHES DESIGN
======================================== */
.login-form {
    padding: 60px 40px;
    max-width: 500px;
    margin: 0 auto;
    background: var(--pastel-yellow);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 40px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 18px;
    position: relative;
}

.form-group label::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.form-control {
    width: 100%;
    padding: 24px 28px;
    border: 3px solid transparent;
    border-radius: 20px;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 800;
    background: var(--pastel-yellow);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    border-color: rgba(39, 64, 139, 0.2);
}

.form-control::placeholder {
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 3px;
}

/* Glassmorphism-Effekte entfernt für einheitlichen pastellgelben Hintergrund */

.form-control:focus {
    outline: none;
    border-color: var(--text-primary);
    box-shadow: 
        0 0 0 6px rgba(39, 64, 139, 0.1),
        0 12px 40px rgba(39, 64, 139, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    background: var(--pastel-yellow-dark);
}

.form-control:focus::before {
    left: 100%;
}

/* ========================================
   BUTTONS - MAGNETISCHER EFFEKT
======================================== */
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 12px 40px rgba(39, 64, 139, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:focus {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 16px 50px rgba(39, 64, 139, 0.4),
        0 6px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
}

/* ========================================
   NACHRICHTEN - NEON STYLE
======================================== */
.error-message,
.warning-message,
.info-message {
    padding: 24px 32px;
    border-radius: 20px;
    margin: 32px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--pastel-yellow);
    border: 1px solid rgba(39, 64, 139, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    animation: messageSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.error-message {
    color: #e53e3e;
    border-left: 4px solid #e53e3e;
}

.warning-message {
    color: #d69e2e;
    border-left: 4px solid #d69e2e;
}

.info-message {
    color: #3182ce;
    border-left: 4px solid #3182ce;
}

.error-message::before { content: '🚨'; font-size: 28px; }
.warning-message::before { content: '⚡'; font-size: 28px; }
.info-message::before { content: '💡'; font-size: 28px; }

/* ========================================
   SUCCESS MESSAGE - CELEBRATION
======================================== */
.success-message {
    background: var(--pastel-yellow);
    padding: 100px 40px;
    text-align: center;
    animation: successCelebration 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(39, 64, 139, 0.2);
    border-radius: 20px;
}

.success-message::before {
    content: '🎉✨🎊';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    animation: confetti 2s ease-in-out infinite;
}

@keyframes successCelebration {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(40px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes confetti {
    0%, 100% { transform: translateX(-50%) rotate(0deg) scale(1); }
    25% { transform: translateX(-60%) rotate(10deg) scale(1.1); }
    75% { transform: translateX(-40%) rotate(-10deg) scale(1.1); }
}

.success-message h2 {
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 42px;
    margin-bottom: 24px;
    font-weight: 900;
}

.success-message p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ========================================
   STUDENT INFO - HOLOGRAPHIC
======================================== */
.student-info {
    background: var(--pastel-yellow);
    padding: 36px 40px;
    border-bottom: 1px solid rgba(39, 64, 139, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: holographicShimmer 4s ease-in-out infinite;
    position: relative;
}

@keyframes holographicShimmer {
    0%, 100% { 
        background: var(--pastel-yellow);
    }
    50% { 
        background: var(--pastel-yellow-dark);
    }
}

.student-info h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 800;
}

.student-info p {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
}

/* ========================================
   INSTRUCTIONS - GAMING STYLE
======================================== */
.instructions {
    background: var(--pastel-yellow);
    border: 1px solid rgba(39, 64, 139, 0.2);
    border-radius: 24px;
    padding: 40px;
    margin: 40px;
    box-shadow: 
        0 16px 50px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: instructionsGlow 3s ease-in-out infinite;
}

@keyframes instructionsGlow {
    0%, 100% { box-shadow: 0 16px 50px rgba(39, 64, 139, 0.1); }
    50% { box-shadow: 0 16px 50px rgba(39, 64, 139, 0.2); }
}

.instructions h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 800;
}

.instructions p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 500;
    font-size: 16px;
}

.rating-scale {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 32px;
    background: var(--pastel-yellow);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(39, 64, 139, 0.2);
}

.scale-item {
    text-align: center;
    padding: 16px 8px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.6);
}

.scale-item .star {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.scale-item p {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 700;
}

/* ========================================
   KATEGORIEN - CARD DESIGN
======================================== */
.category {
    margin-bottom: 50px;
    padding: 20px 40px;
    background: var(--pastel-yellow);
    border-radius: 20px;
    border: 1px solid rgba(39, 64, 139, 0.2);
    animation: categoryFadeIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.category:nth-child(1) { animation-delay: 0.1s; }
.category:nth-child(2) { animation-delay: 0.2s; }
.category:nth-child(3) { animation-delay: 0.3s; }
.category:nth-child(4) { animation-delay: 0.4s; }
.category:nth-child(5) { animation-delay: 0.5s; }
.category:nth-child(6) { animation-delay: 0.6s; }

@keyframes categoryFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.category-header {
    background: var(--pastel-yellow);
    padding: 32px;
    border-radius: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(39, 64, 139, 0.2);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Sweep-Effekte entfernt für ruhiges Design */



.category-icon {
    font-size: 48px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.category-header h3 {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 800;
    flex: 1;
}

/* ========================================
   BEWERTUNGS-ITEMS - INTERACTIVE CARDS
======================================== */
.rating-item {
    background: var(--pastel-yellow);
    border: 1px solid rgba(39, 64, 139, 0.2);
    border-radius: 24px;
    padding: 36px;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.rating-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}



.rating-item.unrated {
    border-color: rgba(245, 87, 108, 0.4);
    background: linear-gradient(135deg, 
        rgba(245, 87, 108, 0.1) 0%, 
        rgba(240, 147, 251, 0.05) 100%);
    animation: pulseWarning 2s ease-in-out infinite;
}

@keyframes pulseWarning {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(245, 87, 108, 0.3);
    }
    50% { 
        box-shadow: 0 0 0 12px rgba(245, 87, 108, 0);
    }
}

.rating-item h4 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 800;
}

.rating-item p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.7;
    font-weight: 500;
}

/* ========================================
   STERN BEWERTUNG - NEUE INTERAKTION
======================================== */
.star-rating {
    display: flex;
    gap: 0;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: var(--pastel-yellow);
    border-radius: 20px;
    border: 1px solid rgba(39, 64, 139, 0.2);
    overflow: hidden;
}

.cloud-area {
    background: #3a5fcd;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stars-area {
    background: #CDB38B;
    padding: 20px 24px;
    display: flex;
    gap: 16px;
    flex: 1;
    justify-content: center;
}

.star,
.cloud {
    font-size: 32px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    opacity: 0.4;
    filter: grayscale(1) brightness(0.8);
    position: relative;
}

.cloud {
    font-size: 36px;
}

.star.active,
.cloud.active {
    opacity: 1;
    filter: grayscale(0) brightness(1.3) drop-shadow(0 6px 16px rgba(255, 255, 255, 0.6));
    transform: scale(1.2);
    animation: ratingPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes ratingPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.6) rotate(-15deg); }
    100% { transform: scale(1.2); }
}

/* Tooltips entfernt - keine Hover-Effekte */

/* ========================================
   FORM FOOTER
======================================== */


@keyframes footerSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   IPAD SPEZIFISCHE ANPASSUNGEN
======================================== */

/* iPad Standard (768px - 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
    body {
        background-attachment: scroll;
    }
    
    /* Overlay weniger dominant für bessere Hintergrundsicht */
    body::before {
        background: 
            radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
        opacity: 0.8;
    }
    
    /* Container transparenter */
    .container {
        background: var(--ipad-glass-bg);
        backdrop-filter: blur(20px) saturate(150%);
        width: 90%;
        margin: 30px auto;
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.05);
    }
    
    /* Hintergründe transparenter */
    .login-form,
    .instructions,
    .category,
    .student-info,
    .category-header,
    .rating-item,
    .star-rating,
    .error-message,
    .warning-message,
    .info-message,
    .success-message {
        background: var(--ipad-pastel-yellow);
        backdrop-filter: blur(10px);
    }
    
    .form-control {
        background: var(--ipad-pastel-yellow);
    }
    
    .form-control:focus {
        background: var(--ipad-pastel-yellow-dark);
    }
    
    /* Rating Scale transparenter */
    .rating-scale {
        background: var(--ipad-pastel-yellow);
    }
    
    .scale-item {
        background: rgba(255, 255, 255, 0.4);
    }
    
    /* Header weniger undurchsichtig */
    .header {
        background: linear-gradient(135deg, rgba(39, 64, 139, 0.95) 0%, rgba(74, 85, 104, 0.95) 100%);
    }
}

/* iPad Pro und größere iPads (1024px+) */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (-webkit-min-device-pixel-ratio: 1) {
    body {
        background-attachment: scroll;
    }
    
    /* Noch weniger Overlay */
    body::before {
        background: 
            radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.08) 0%, transparent 50%);
        opacity: 0.7;
    }
    
    .container {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(15px) saturate(120%);
        width: 85%;
        max-width: 1200px;
    }
    
    .login-form,
    .instructions,
    .category,
    .student-info,
    .category-header,
    .rating-item,
    .star-rating,
    .error-message,
    .warning-message,
    .info-message,
    .success-message {
        background: rgba(254, 249, 231, 0.8);
    }
    
    .form-control {
        background: rgba(254, 249, 231, 0.8);
    }
    
    .form-control:focus {
        background: rgba(254, 243, 199, 0.85);
    }
}

/* Alle iPads - Touch-optimierte Größen */
@media only screen and (min-width: 768px) and (max-width: 1366px) and (-webkit-min-device-pixel-ratio: 1) {
    /* Touch-freundlichere Buttons */
    .btn-primary {
        padding: 24px 48px;
        font-size: 20px;
        min-height: 60px;
    }
    
    /* Größere Touch-Targets für Sterne */
    .star,
    .cloud {
        font-size: 40px;
        padding: 8px;
        min-width: 56px;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cloud {
        font-size: 44px;
    }
    
    /* Optimierte Form Controls */
    .form-control {
        padding: 28px 32px;
        font-size: 22px;
        min-height: 70px;
    }
    
    /* Bessere Lesbarkeit */
    .header h1 {
        font-size: 48px;
    }
    
    .header p {
        font-size: 22px;
    }
    
    .category-header h3 {
        font-size: 26px;
    }
    
    .rating-item h4 {
        font-size: 22px;
    }
    
    .rating-item p {
        font-size: 18px;
    }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE ANPASSUNGEN
======================================== */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
    
    .container {
        margin: 10px auto;
        width: 100%;
        border-radius: 0;
    }
    
    .header {
        padding: 40px 20px;
    }
    
    .header h1 {
        font-size: 32px;
    }
    
    .login-form,
    .instructions,
    .category,
    .form-footer {
        padding: 32px 20px;
    }
    
    .instructions {
        margin: 24px 20px;
    }
    
    .student-info {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
        gap: 16px;
    }
    
    .category-header {
        padding: 24px 20px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .category-icon {
        font-size: 40px;
    }
    
    .rating-scale {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 20px 16px;
    }
    
    .scale-item {
        padding: 12px 8px;
    }
    
    .star,
    .cloud {
        font-size: 28px;
    }
    
    .cloud {
        font-size: 32px;
    }
    
    .form-control {
        font-size: 18px;
        padding: 20px 24px;
        letter-spacing: 3px;
    }
    
    .rating-item {
        padding: 28px 20px;
    }
    
    .star-rating {
        flex-direction: column;
        gap: 0;
    }
    
    .cloud-area,
    .stars-area {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 28px;
    }
    
    .header p {
        font-size: 16px;
    }
    
    .form-control {
        font-size: 16px;
        padding: 18px 20px;
        letter-spacing: 2px;
    }
    
    .btn-primary {
        font-size: 16px;
        padding: 18px 32px;
    }
    
    .rating-scale {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .star,
    .cloud {
        font-size: 24px;
    }
    
    .cloud {
        font-size: 28px;
    }
}