/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #fffbfb;
    font-family: "Poiret One", sans-serif;
    color: #272727;
}

/* ===== CUSTOM FONTS ===== */
@font-face {
    font-family: "ImperialScript-Regular";
    src: url("./ImperialScript-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
  font-family: "Azonix";
  src: url("./Azonix.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
/* ============================================================
   LAYOUT
   ============================================================ */
.trending-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ===== TOP NAV ===== */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    flex-wrap: wrap;
    gap: 12px;
}
.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-title {
    font-family: "Azonix";
    font-size: 24px;
    color: #000;
}
.logo-sub {
    font-family: "Poiret One", sans-serif;
    font-size: 13px;
    color: #666;
}
.back-btn {
    font-family: "Poiret One", sans-serif;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
    padding: 6px 16px;
    border: 1px solid #ffb0d6;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}
.back-btn:hover {
    background:#ffd5e9;
    color: #fff;
    transform: translateX(-3px);
}

/* ===== HERO SECTION (Made smaller) ===== */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: #fff5f8;
    border-radius: 24px;
    padding: 30px 25px;
}
.hero-content {
    flex: 1;
    min-width: 240px;
    text-align: center;
}
.hero-title {
    font-family: "ImperialScript-Regular";
    font-size: 52px;
    color: #ffb0d6;
    margin: 0;
    line-height: 1;
        font-weight: 150;

}
.hero-subtitle {
    font-size: 20px;
    color: #444;
    margin: 3px 0 12px 0;
}
.hero-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    max-width: 350px;
    margin: 0 auto;
}
.hero-image-wrapper {
    flex: 1;
    min-width: 240px;
    display: flex;
    justify-content: center;
}
.hero-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    animation: floatDreamy 4s ease-in-out infinite;
}
@keyframes floatDreamy {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ===== TRENDING GRID (Smaller & tighter) ===== */
.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

/* ===== TREND CARD (Compact & cute) ===== */
.trend-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(222, 34, 113, 0.05);
    border: 1px solid #f5f5f5;
    transition: all 0.4s ease;
}
.trend-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(222, 34, 113, 0.10);
    border-color: #ffe1ef;
}

.card-image {
    width: 100%;
    height: 160px;
    background: #fff5f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}
.card-image img {
    width: 75%;
    height: auto;
    object-fit: contain;
    transition: all 0.4s ease;
}
.trend-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 15px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.card-title {
    font-family: "ImperialScript-Regular";
    font-size: 24px;
    color: #ffb0d6;
    margin: 0;
    line-height: 1.2;
        font-weight: 150;

}
.card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin: 0;
    min-height: 36px;
}
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    border-top: 1px solid #ffe9f4;
    padding-top: 12px;
}
.card-price {
    font-size: 22px;
    color: #000;
    font-weight: bold;
}
.card-btn {
    font-family: "Poiret One", sans-serif;
    font-size: 12px;
    color: #fff;
    background: #ffb0d6;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
}
.card-btn:hover {
    background: #ffb0d6;
    transform: scale(1.05);
}

/* ===== FOOTER ===== */
.footer-section {
    text-align: center;
    padding: 25px 0 10px 0;
}
.footer-title {
    font-family: "Azonix";
    font-size: 38px;
    color: #000;
    display: block;
    letter-spacing: 2px;
}
.footer-sub {
    font-family: "Poiret One", sans-serif;
    font-size: 18px;
    color: #000;
    display: block;
    margin-top: -4px;
    letter-spacing: 1px;
}

/* ============================================================
   🎀 ANIMATIONS
   ============================================================ */
.animate-fade-up, .animate-pop {
    opacity: 0;
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-fade-up { transform: translateY(30px); }
.animate-pop { transform: scale(0.92); }
.animate-fade-up.visible, .animate-pop.visible {
    opacity: 1 !important;
    transform: translateX(0) translateY(0) scale(1) !important;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 700px) {
    .trending-page { padding: 15px 15px 30px 15px; gap: 25px; }
    .top-nav { flex-direction: column; align-items: flex-start; }
    .hero-section { padding: 25px 15px; gap: 20px; }
    .hero-title { font-size: 42px; }
    .hero-img { max-width: 200px; }
    .trending-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 15px; }
    .card-image { height: 130px; }
    .card-title { font-size: 20px; }
    .card-btn { font-size: 8px; padding: 6px 14px; }
    .footer-title { font-size: 30px; }
    .footer-sub { font-size: 16px; }
}