/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #FCEEE1; /* Flesh tone as specified */
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 100%;
    padding: 20px;
    margin: 0 auto;
}

/* Block 1 - Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
}

/* Изменение порядка отображения элементов */
.gift-animation {
    order: 1;
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
    position: relative;
    perspective: 800px;
}

.gift-box {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: float 2.4s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

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

/* Коробка */
.gift-base {
    position: absolute;
    width: 80%;
    height: 60%;
    bottom: 15%;
    left: 10%;
    background: linear-gradient(135deg, #ff1a1a, #cc0000);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gift-base-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff3333, #e60000);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gift-base-bottom {
    position: absolute;
    width: 100%;
    height: 8px;
    background: #990000;
    bottom: -4px;
    border-radius: 0 0 5px 5px;
}

/* Крышка */
.gift-lid {
    position: absolute;
    width: 90%;
    height: 15%;
    top: 20%;
    left: 5%;
    background: #ff0000;
    border-radius: 5px 5px 0 0;
    animation: lidBounce 1.6s ease-in-out infinite;
    transform-origin: bottom center;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

@keyframes lidBounce {
    0%, 100% {
        transform: rotateX(0);
    }
    50% {
        transform: rotateX(-10deg);
    }
}

.gift-lid-top {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff3333, #cc0000);
    border-radius: 5px 5px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gift-lid-front {
    position: absolute;
    width: 100%;
    height: 5px;
    background: #990000;
    bottom: -5px;
    border-radius: 0 0 5px 5px;
}

/* Ленты */
.gift-ribbon-vertical {
    position: absolute;
    width: 10%;
    height: 90%;
    background: linear-gradient(to right, #ffcc00, #ffdd55);
    left: 45%;
    top: 5%;
    z-index: 3;
    border-radius: 3px;
}

.gift-ribbon-horizontal {
    position: absolute;
    width: 90%;
    height: 10%;
    background: linear-gradient(to bottom, #ffcc00, #ffdd55);
    left: 5%;
    top: 45%;
    z-index: 3;
    border-radius: 3px;
}

/* Бант */
.gift-bow {
    position: absolute;
    width: 40%;
    height: 20%;
    top: 5%;
    left: 30%;
    z-index: 4;
}

.gift-bow-left {
    position: absolute;
    width: 40%;
    height: 80%;
    background: linear-gradient(135deg, #ffdd55, #ffcc00);
    left: 10%;
    top: 10%;
    border-radius: 50% 50% 0 50%;
    transform: rotate(-30deg);
    box-shadow: -1px 2px 5px rgba(0, 0, 0, 0.1);
}

.gift-bow-right {
    position: absolute;
    width: 40%;
    height: 80%;
    background: linear-gradient(225deg, #ffdd55, #ffcc00);
    right: 10%;
    top: 10%;
    border-radius: 50% 50% 50% 0;
    transform: rotate(30deg);
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.1);
}

.gift-bow-center {
    position: absolute;
    width: 30%;
    height: 40%;
    background: #ffcc00;
    left: 35%;
    top: 30%;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Блеск */
.gift-sparkle {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 1.6s infinite;
}

.gift-sparkle-1 {
    left: 20%;
    top: 20%;
    animation-delay: 0s;
}

.gift-sparkle-2 {
    right: 20%;
    top: 30%;
    animation-delay: 0.5s;
}

.gift-sparkle-3 {
    left: 40%;
    bottom: 20%;
    animation-delay: 1s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Title and content styles */
.timer-container {
    order: 2;
    margin: 0.5rem 0 1.5rem;
    background-color: rgba(255, 240, 230, 0.7);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #ffddcc;
}

.main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    order: 3;
}

.prize-amount {
    display: inline-block;
    padding: 5px 15px;
    margin: 0 5px;
    font-weight: 900;
    color: #FF0000;
    background-color: #FFFDF0;
    border: 3px solid #FFD700;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: pulse 1.5s infinite;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

.subtitle {
    order: 4;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #3A2618;
}

.cta-button {
    order: 5;
    background-color: #FF5252; /* Bright red button */
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 1.5rem;
}

.cta-button:hover {
    background-color: #E04747;
}

.timer-text {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #3A2618;
    font-weight: 600;
}

.timer {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FF5252;
}

/* Block 2 - Reviews */
.reviews {
    padding: 2.5rem;
    margin: 2rem 1rem;
    background-color: #fff8f3;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffddcc;
    position: relative;
    overflow: hidden;
}

.reviews::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #ffbbaa, #ff8866);
}

.reviews-title {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #3A2618;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.reviews-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #ffbbaa, #ff8866);
    border-radius: 3px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.review-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #f0f0f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #ffddcc;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.review-text {
    font-size: 0.95rem;
    text-align: center;
    font-style: italic;
    color: #555;
    line-height: 1.5;
}

/* Media Queries for larger screens */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(4, 1fr);
    }
} 