@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Montserrat:wght@300;400;500&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page {
    display: none;
    width: 100%;
}

.page.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 30px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.9),
        0 0 0 2px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 215, 0, 0.1);
    padding: 60px 50px;
    max-width: 550px;
    width: 100%;
    animation: slideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
}

.container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
}

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

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 48px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8));
    }
}

.header {
    text-align: center;
    margin-bottom: 50px;
}

.header h1 {
    font-family: 'Cormorant Garamond', serif;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.header p {
    color: #c0c0c0;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.feedback-content {
    text-align: center;
    position: relative;
    min-height: 250px;
}

.question {
    opacity: 1;
    transition: all 0.5s ease-in-out;
}

.question.hidden {
    display: none;
    opacity: 0;
}

.question.fade-out {
    animation: fadeOutQuestion 0.5s ease-in-out forwards;
}

.question.fade-in {
    animation: fadeInQuestion 0.5s ease-in-out forwards;
}

@keyframes fadeOutQuestion {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes fadeInQuestion {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.feedback-content h2 {
    font-family: 'Cormorant Garamond', serif;
    color: #e0e0e0;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

/* Star Rating */
.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.rating .star {
    font-size: 55px;
    color: #404040;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    position: relative;
}

.rating .star:hover {
    color: #FFD700;
    transform: scale(1.2) rotate(-5deg);
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
}

.rating .star:hover ~ .star {
    color: #FFD700;
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.rating .star.selected,
.rating .star.selected ~ .star {
    color: #FFD700;
    animation: starPulse 0.4s ease-out;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.9));
}

@keyframes starPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3) rotate(-10deg);
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1));
    }
    100% {
        transform: scale(1);
    }
}

.rating-text {
    color: #808080;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

/* Video Page Styles */
.video-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: black;
}

#proposal-video {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Fade transition */
.fade-out {
    animation: fadeOut 0.6s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 50px 35px;
    }

    .header h1 {
        font-size: 28px;
    }

    .feedback-content h2 {
        font-size: 21px;
    }

    .rating .star {
        font-size: 48px;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 40px 25px;
    }

    .header h1 {
        font-size: 24px;
    }

    .feedback-content h2 {
        font-size: 19px;
    }

    .rating {
        gap: 10px;
    }

    .rating .star {
        font-size: 42px;
    }
}
