/* ---------- Stylizacje hub (static port of Website StylizacjeHubPage.tsx) ---------- */

/* --- hero --- */
.style-hub-hero {
    position: relative;
    overflow: hidden;
    padding: 112px 24px 40px;
}
@media (min-width: 768px) {
    .style-hub-hero { padding: 128px 48px 56px; }
}
@media (min-width: 1024px) {
    .style-hub-hero { padding-left: 96px; padding-right: 96px; }
}

.style-hub-hero-glow {
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    height: 380px;
    width: 450px;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(122, 76, 165, 0.2) 0%, rgba(243, 232, 255, 0.1) 55%, transparent 80%);
    opacity: 0.7;
    filter: blur(64px);
}

.style-hub-hero-inner {
    position: relative;
    z-index: 10;
    max-width: 72rem;
    margin: 0 auto;
}

.style-eyebrow {
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #7a4ca5;
}
@media (min-width: 768px) {
    .style-eyebrow { margin-bottom: 20px; font-size: 16px; }
}

.style-h1 {
    margin-bottom: 20px;
    max-width: 48rem;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.15;
    color: #0c0c0c;
}
@media (min-width: 768px) {
    .style-h1 { font-size: 48px; }
}
@media (min-width: 1024px) {
    .style-h1 { font-size: 60px; }
}
.style-h1-accent {
    display: block;
    color: #7a4ca5;
}

.style-intro {
    margin-bottom: 12px;
    max-width: 48rem;
    font-size: 18px;
    line-height: 1.6;
    color: #545454;
}
@media (min-width: 768px) {
    .style-intro { font-size: 20px; }
}

/* --- category groups --- */
.style-hub-categories {
    padding: 0 24px 56px;
}
@media (min-width: 768px) {
    .style-hub-categories { padding-left: 48px; padding-right: 48px; padding-bottom: 80px; }
}
@media (min-width: 1024px) {
    .style-hub-categories { padding-left: 96px; padding-right: 96px; }
}

.style-hub-categories-inner {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
@media (min-width: 768px) {
    .style-hub-categories-inner { gap: 40px; }
}

.category-group-heading {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 500;
    color: #0c0c0c;
}
@media (min-width: 768px) {
    .category-group-heading { margin-bottom: 20px; font-size: 24px; }
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 640px) {
    .category-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
    .category-grid { gap: 16px; }
}
@media (min-width: 1024px) {
    .category-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- category tile --- */
.category-tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 20px;
    background-color: #f1f0f5;
    box-shadow: var(--elevate-1);
}
@media (min-width: 768px) {
    .category-tile { border-radius: 24px; }
}

.category-tile-bg {
    position: absolute;
    inset: 0;
    display: block;
    background: linear-gradient(to bottom right, #9d7cba, #5e3a80);
}

/* The tile's photo, as an <img> so it can be indexed; the gradient stays as its backdrop. */
.category-tile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.category-tile-label-row {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #ffffff;
}
@media (min-width: 768px) {
    .category-tile-label-row { left: 16px; right: 16px; bottom: 14px; }
}

.category-tile-label {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}
@media (min-width: 768px) {
    .category-tile-label { font-size: 18px; }
}

.category-tile svg {
    display: none;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    transition: transform var(--dur-base) var(--ease-out-expo);
}
@media (min-width: 640px) {
    .category-tile svg { display: block; }
}
.category-tile:hover svg { transform: translateX(4px); }

/* Guides section wrapper + grid CSS lives in header.css now - shared with the
   StyleCategory page's own guides section. */

/* .guide-card* itself lives in header.css now - shared with the StyleCategory page. */

/* --- latest outfits --- */
.style-hub-outfits {
    background-color: #f9f9f9;
    padding: 56px 24px;
}
@media (min-width: 768px) {
    .style-hub-outfits { padding: 96px 48px; }
}
@media (min-width: 1024px) {
    .style-hub-outfits { padding-left: 96px; padding-right: 96px; }
}

.style-hub-outfits-inner {
    max-width: 72rem;
    margin: 0 auto;
}

.outfits-heading {
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 500;
    color: #0c0c0c;
}
@media (min-width: 768px) {
    .outfits-heading { font-size: 30px; }
}

.outfits-subtitle {
    margin-bottom: 32px;
    max-width: 42rem;
    font-size: 16px;
    line-height: 1.6;
    color: #545454;
}
@media (min-width: 768px) {
    .outfits-subtitle { margin-bottom: 40px; font-size: 18px; }
}

.outfits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 12px;
    row-gap: 20px;
}
@media (min-width: 768px) {
    .outfits-grid { column-gap: 24px; row-gap: 32px; }
}
@media (min-width: 1024px) {
    .outfits-grid { grid-template-columns: repeat(4, 1fr); }
}

.outfit-card-image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 24px;
    background-color: #f1f0f5;
}
@media (min-width: 768px) {
    .outfit-card-image { border-radius: 28px; }
}

/* The outfit photo, as an <img> so it can be indexed; the pill and overlay sit on top of it. */
.outfit-card-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.creator-pill {
    position: absolute;
    left: 10px;
    top: 10px;
    display: flex;
    max-width: calc(100% - 20px);
    align-items: center;
    gap: 8px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(98, 93, 81, 0.75);
    padding: 4px 12px 4px 4px;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
@media (min-width: 768px) {
    .creator-pill { left: 12px; top: 12px; }
}

.creator-pill-avatar {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    height: 24px;
    width: 24px;
    border-radius: 9999px;
    background: linear-gradient(to bottom right, #7a4ca5, #8b65ae);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .creator-pill-avatar { height: 28px; width: 28px; }
}

.creator-pill-username {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
}
@media (min-width: 768px) {
    .creator-pill-username { font-size: 14px; }
}

.outfit-card-overlay {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.25) 55%, transparent);
    padding: 56px 12px 12px;
    color: #ffffff;
}
@media (min-width: 768px) {
    .outfit-card-overlay { padding-left: 16px; padding-right: 16px; padding-bottom: 16px; }
}

.outfit-card-overlay-row {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
}
@media (min-width: 768px) {
    .outfit-card-overlay-row { gap: 10px; font-size: 14px; }
}

.outfit-card-likes {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.outfit-card-likes svg {
    width: 16px;
    height: 16px;
}

.outfit-card-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}
@media (min-width: 768px) {
    .outfit-card-title { font-size: 16px; }
}

/* .style-cta-* (app download CTA) lives in header.css now - shared with the StyleCategory page. */

/* Scroll-entrance system (.reveal / .reveal-item / .reveal-group / .reveal-section)
   lives in header.css now - it's shared across every page that uses it. */
