@font-face {
    font-family: "Coolvetica";
    src: url("../fonts/Coolvetica.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Czizh";
    src: url("../fonts/Czizh.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* ===== СТРАНИЦА ОТЗЫВОВ ===== */
.reviews-page {
    background: linear-gradient(to bottom, #F5CDD3 0%, #F5CDD3 55%, #e79aab 85%, #e79aab 100%);
    padding: 100px 0 80px;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* ===== БЛЁСТКИ ===== */
.shimmer-dot {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 40%, rgba(255,255,255,0.3) 70%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    z-index: 10;
    animation: shimmerBig 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255,255,255,0.8), 0 0 20px rgba(255,255,255,0.4);
}

@keyframes shimmerBig {
    0%, 100% { opacity: 0; transform: scale(0.2) translateY(0); }
    25% { opacity: 1; transform: scale(1.3) translateY(-8px); box-shadow: 0 0 15px rgba(255,255,255,1), 0 0 25px rgba(255,255,255,0.6); }
    50% { opacity: 0.6; transform: scale(0.8) translateY(3px); }
    75% { opacity: 0.8; transform: scale(1.1) translateY(-3px); }
}

.sparkle-star {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    animation: sparkleTwinkle 2.5s ease-in-out infinite;
    filter: drop-shadow(0 0 4px white);
}

@keyframes sparkleTwinkle {
    0%, 100% { opacity: 0; transform: scale(0.2) rotate(0deg); }
    30% { opacity: 1; transform: scale(1.2) rotate(180deg); filter: drop-shadow(0 0 8px white); }
    60% { opacity: 0.5; transform: scale(0.8) rotate(90deg); }
}

.reviews-page .dot-1 { top: 5%; left: 3%; width: 12px; height: 12px; animation-delay: 0s; }
.reviews-page .dot-2 { top: 15%; right: 8%; width: 8px; height: 8px; animation-delay: 0.5s; }
.reviews-page .dot-3 { top: 30%; left: 10%; width: 10px; height: 10px; animation-delay: 1s; }
.reviews-page .dot-4 { bottom: 20%; right: 5%; width: 14px; height: 14px; animation-delay: 1.5s; }
.reviews-page .dot-5 { bottom: 40%; left: 5%; width: 7px; height: 7px; animation-delay: 0.3s; }
.reviews-page .dot-6 { top: 55%; right: 12%; width: 9px; height: 9px; animation-delay: 0.8s; }
.reviews-page .dot-7 { top: 70%; left: 8%; width: 11px; height: 11px; animation-delay: 1.2s; }
.reviews-page .dot-8 { bottom: 10%; left: 15%; width: 6px; height: 6px; animation-delay: 1.8s; }
.reviews-page .dot-9 { top: 85%; right: 15%; width: 8px; height: 8px; animation-delay: 0.2s; }
.reviews-page .dot-10 { bottom: 55%; right: 20%; width: 5px; height: 5px; animation-delay: 1.1s; }
.reviews-page .dot-11 { top: 45%; left: 18%; width: 13px; height: 13px; animation-delay: 0.6s; }
.reviews-page .dot-12 { bottom: 30%; left: 25%; width: 9px; height: 9px; animation-delay: 1.4s; }

.reviews-page .star-1 { top: 10%; left: 20%; width: 9px; height: 9px; animation-delay: 0.2s; }
.reviews-page .star-2 { top: 25%; right: 18%; width: 11px; height: 11px; animation-delay: 0.7s; }
.reviews-page .star-3 { bottom: 15%; left: 12%; width: 8px; height: 8px; animation-delay: 1.3s; }
.reviews-page .star-4 { bottom: 35%; right: 10%; width: 10px; height: 10px; animation-delay: 0.5s; }
.reviews-page .star-5 { top: 60%; left: 15%; width: 7px; height: 7px; animation-delay: 0.9s; }
.reviews-page .star-6 { top: 80%; right: 22%; width: 12px; height: 12px; animation-delay: 1.6s; }

/* ===== ЗАГОЛОВОК "ОТЗЫВЫ" С СЕРДЕЧКОМ ===== */
.reviews-title-section {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 15;
}

.reviews-heart-icon {
    width: 50px;
    height: auto;
}

.reviews-title {
    font-family: "Czizh", cursive;
    font-size: 52px;
    color: #AA4E65;
    margin: 0;
    letter-spacing: 1px;
}

/* ===== БЛОК С ФОТО СЧАСТЛИВЫХ ХВОСТИКОВ ===== */
.reviews-hero {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 20px;
    position: relative;
    z-index: 15;
}

.reviews-hero-content h2 {
    font-family: "Czizh", cursive;
    font-size: 42px;
    color: #5B2B37;
    margin-bottom: 25px;
}

.reviews-hero-content h2 span {
    color: #AA4E65;
}

.hero-photos {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.hero-photo {
    width: 200px;
    height: 200px;
    border-radius: 24px;
    overflow: hidden;
    background: #AA4E65;
    box-shadow: 0 8px 20px rgba(170, 78, 101, 0.15);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(170, 78, 101, 0.25);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hero-photo img:hover {
    transform: scale(1.05);
}

.hero-photo.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #AA4E65;
}

.placeholder-icon {
    font-size: 80px;
    opacity: 0.6;
    color: white;
}

/* ===== СПИСОК ОТЗЫВОВ ===== */
.reviews-list {
    max-width: 850px;
    margin: 0 auto 50px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    position: relative;
    z-index: 15;
}

/* КАРТОЧКА ОТЗЫВА */
.review-card {
    background: #AA4E65;
    border-radius: 24px;
    padding: 30px 35px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 35px;
    flex-wrap: wrap;
    position: relative;
    z-index: 15;
}

.review-content {
    flex: 2;
    min-width: 280px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.avatar-icon {
    width: 65px;
    height: 65px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.avatar-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-family: "Coolvetica", sans-serif;
    font-size: 30px;
    font-weight: 500;
    color: white;
    line-height: 1;
}

.review-text {
    font-family: "Coolvetica", sans-serif;
    font-size: 20px;
    color: white;
    line-height: 1.6;
    margin-bottom: 22px;
    margin-top: 0;
    opacity: 0.95;
}

.review-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn-edit-review {
    background: none;
    border: none;
    color: rgba(255,255,255,0.85);
    font-family: "Coolvetica", sans-serif;
    font-size: 15px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.btn-edit-review:hover {
    color: white;
    text-decoration: underline;
}

.btn-delete-review {
    background: none;
    border: none;
    color: rgba(255,255,255,0.85);
    font-family: "Coolvetica", sans-serif;
    font-size: 15px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.btn-delete-review:hover {
    color: white;
    text-decoration: underline;
}

.btn-approve, .btn-reject {
    padding: 8px 20px;
    border-radius: 30px;
    font-family: "Coolvetica", sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-approve {
    background: #28a745;
    color: white;
}

.btn-approve:hover {
    background: #218838;
}

.btn-reject {
    background: #dc3545;
    color: white;
}

.btn-reject:hover {
    background: #c82333;
}

.review-photo {
    flex-shrink: 0;
    width: 190px;
    height: 190px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.review-photo:hover {
    transform: scale(1.02);
}

.review-photo img:hover {
    transform: scale(1.05);
}

/* ===== БЛОК CTA ===== */
.reviews-cta {
    background: white;
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(170, 78, 101, 0.1);
    border: 1px solid #F5CDD3;
    position: relative;
    z-index: 15;
}

.cta-content h3 {
    font-family: "Czizh", cursive;
    font-size: 36px;
    color: #5B2B37;
    margin-bottom: 12px;
}

.cta-content p {
    font-family: "Coolvetica", sans-serif;
    font-size: 20px;
    color: #AA4E65;
    margin-bottom: 25px;
}

.cta-btn {
    background: #AA4E65;
    color: white;
    border: none;
    padding: 16px 50px;
    border-radius: 50px;
    font-family: "Coolvetica", sans-serif;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    background: #8a3e52;
    transform: scale(1.02);
}

/* ===== ПАГИНАЦИЯ ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 50px auto 30px;
    flex-wrap: wrap;
}

.pagination-prev, .pagination-next {
    background: #AA4E65;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-family: "Coolvetica", sans-serif;
    font-size: 16px;
    transition: all 0.3s;
}

.pagination-prev:hover, .pagination-next:hover {
    background: #8a3e52;
    transform: scale(1.02);
}

.pagination-pages {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: #AA4E65;
    text-decoration: none;
    border-radius: 50%;
    font-family: "Coolvetica", sans-serif;
    font-size: 16px;
    transition: all 0.3s;
    border: 1px solid #F5CDD3;
}

.pagination-page:hover {
    background: #F5CDD3;
    transform: scale(1.05);
}

.pagination-page.active {
    background: #AA4E65;
    color: white;
    border-color: #AA4E65;
    cursor: default;
    pointer-events: none;
}

/* ===== МОДАЛЬНОЕ ОКНО ДЛЯ ФОТО ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    object-fit: contain;
    animation: fadeIn 0.3s ease;
}

.modal .close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: white;
    font-size: 45px;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.2s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal .close:hover {
    transform: scale(1.2);
    background: rgba(255,255,255,0.2);
}

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

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .reviews-page {
        padding: 80px 0 50px;
    }
    
    .reviews-list {
        max-width: 95%;
    }
    
    .review-card {
        flex-direction: column;
        padding: 25px;
        text-align: center;
    }
    
    .review-header {
        justify-content: center;
    }
    
    .review-photo {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }
    
    .author-name {
        font-size: 26px;
    }
    
    .review-text {
        font-size: 18px;
        text-align: left;
    }
    
    .review-actions {
        justify-content: center;
    }
    
    .hero-photo {
        width: 150px;
        height: 150px;
    }
    
    .reviews-hero-content h2 {
        font-size: 32px;
    }
    
    .cta-content h3 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 18px;
    }
    
    .cta-btn {
        padding: 14px 40px;
        font-size: 18px;
    }
    
    .reviews-title {
        font-size: 40px;
    }
    
    .reviews-heart-icon {
        width: 40px;
    }
    
    .reviews-hero {
        margin-top: 10px;
        margin-bottom: 30px;
    }
    
    .avatar-icon {
        width: 55px;
        height: 55px;
    }
    
    .shimmer-dot, .sparkle-star {
        display: none !important;
    }
    
    .pagination {
        gap: 12px;
    }
    .pagination-prev, .pagination-next {
        padding: 6px 18px;
        font-size: 14px;
    }
    .pagination-page {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-photo {
        width: 130px;
        height: 130px;
    }
    
    .review-text {
        font-size: 16px;
    }
    
    .author-name {
        font-size: 24px;
    }
    
    .review-photo {
        width: 130px;
        height: 130px;
    }
    
    .avatar-icon {
        width: 50px;
        height: 50px;
    }
    
    .cta-btn {
        padding: 12px 35px;
        font-size: 16px;
    }
    
    .reviews-title {
        font-size: 32px;
    }
    
    .reviews-heart-icon {
        width: 32px;
    }
    
    .reviews-hero-content h2 {
        font-size: 24px;
    }
    
    .review-card {
        padding: 20px;
    }
}