/* =====================================================
   RockSlides 中文首页 — home-cn.css
   针对国内模板站设计习惯优化
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

/* ── Reset & Base ── */
body.rockslides-home-cn {
    margin: 0;
    background: #f4f6f8;
    color: #1a1a1a;
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.rscn-wrap {
    overflow: hidden;
}

/* ── Header ── */
.rscn-header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 60px;
    padding: 0 max(20px, calc((100vw - 1300px) / 2));
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(1.25) blur(18px);
    -webkit-backdrop-filter: saturate(1.25) blur(18px);
    border-bottom: 1px solid rgba(232, 236, 239, 0.8);
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

.rscn-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 900;
    color: #111;
    text-decoration: none;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.rscn-logo-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 160px;
    max-height: 30px;
    object-fit: contain;
}

.rscn-logo em {
    color: #16a34a;
    font-style: normal;
}

.rscn-header-search {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 380px;
    margin: 0 auto;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

.rscn-header-search.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.rscn-header-search input {
    width: 100%;
    height: 38px;
    padding: 0 14px 0 40px;
    border: 1px solid rgba(17, 24, 22, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #121615;
    font-size: 14px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.rscn-header-search input:focus {
    border-color: rgba(47, 98, 88, 0.42);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(47, 98, 88, 0.09);
}

.rscn-header-search svg {
    position: absolute;
    left: 14px;
    color: #8c9692;
    pointer-events: none;
}



.rscn-header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.rscn-header-nav a {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 7px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    color: #374151;
    transition: background .15s, color .15s;
}

.rscn-header-nav a:hover {
    background: #f0fdf4;
    color: #16a34a;
}

.rscn-header-nav .rscn-btn-upload {
    background: #16a34a;
    color: #fff;
}

.rscn-header-nav .rscn-btn-upload:hover {
    background: #15803d;
    color: #fff;
}

/* ── Hero ── */
.rscn-hero {
    padding: 60px max(20px, calc((100vw - 1300px) / 2)) 52px;
    background: linear-gradient(160deg, #f0fdf4 0%, #ffffff 50%, #f0f9ff 100%);
    text-align: center;
    border-bottom: 1px solid #e8ecef;
}

.rscn-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    padding: 5px 14px;
    border-radius: 20px;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    font-weight: 700;
}

.rscn-hero-badge::before {
    content: '✦';
    color: #16a34a;
}

.rscn-hero h1 {
    margin: 0 auto 16px;
    max-width: 780px;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.rscn-hero h1 em {
    font-style: normal;
    color: #16a34a;
}

.rscn-hero-sub {
    margin: 0 auto 32px;
    max-width: 620px;
    font-size: 17px;
    color: #4b5563;
    line-height: 1.7;
}

/* Search bar in hero */
.rscn-hero-search {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: min(680px, 100%);
    margin: 0 auto 20px;
    height: 54px;
    padding: 0 6px 0 18px;
    border: 2px solid #d1d9e0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
    gap: 12px;
    transition: border-color .15s, box-shadow .15s;
}

.rscn-hero-search:focus-within {
    border-color: #16a34a;
    box-shadow: 0 8px 32px rgba(22,163,74,.15);
}

.rscn-hero-search svg {
    color: #9ca3af;
    flex-shrink: 0;
}

.rscn-hero-search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    font-size: 16px;
    color: #1a1a1a;
    font-family: inherit;
    background: transparent;
}

.rscn-hero-search input::placeholder {
    color: #b0bec5;
}

.rscn-hero-search button {
    height: 42px;
    padding: 0 24px;
    border: none;
    border-radius: 9px;
    background: #16a34a;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: background .15s, transform .1s;
}

.rscn-hero-search button:hover {
    background: #15803d;
    transform: translateY(-1px);
}

/* Hot tags */
.rscn-hot-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}

.rscn-hot-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

.rscn-hot-tags a {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 14px;
    background: #f3f4f6;
    color: #374151;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, color .15s;
}

.rscn-hot-tags a:hover {
    background: #dcfce7;
    color: #16a34a;
}

/* Stats row */
.rscn-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.rscn-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rscn-stat-num {
    font-size: 34px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -0.02em;
}

.rscn-stat-num span {
    color: #16a34a;
}

.rscn-stat-label {
    margin-top: 5px;
    font-size: 12.5px;
    color: #6b7280;
}

/* ── Inner Container ── */
.rscn-container {
    width: min(1300px, calc(100% - 40px));
    margin: 0 auto;
}

/* ── Section Commons ── */
.rscn-section {
    padding: 56px 0;
    border-top: 1px solid #e8ecef;
}

.rscn-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.rscn-section-head h2 {
    margin: 0;
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.rscn-section-head h2 em {
    font-style: normal;
    color: #16a34a;
}

.rscn-section-eyebrow {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #16a34a;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rscn-section-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: #16a34a;
    text-decoration: none;
    white-space: nowrap;
    transition: gap .15s;
}

.rscn-section-more::after {
    content: '→';
    transition: transform .15s;
}

.rscn-section-more:hover::after {
    transform: translateX(3px);
}

/* ── Scene Tabs ── */
.rscn-scene-bar {
    padding: 20px 0;
    border-top: 1px solid #e8ecef;
    border-bottom: 1px solid #e8ecef;
    background: #fff;
    overflow: hidden;
}

.rscn-scene-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.rscn-scene-tabs::-webkit-scrollbar {
    display: none;
}

.rscn-scene-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    height: 40px;
    padding: 0 18px;
    border: 1.5px solid #e8ecef;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    font-family: inherit;
    transition: all .15s;
    cursor: pointer;
}

.rscn-scene-tab:hover,
.rscn-scene-tab.is-active {
    border-color: #16a34a;
    background: #f0fdf4;
    color: #15803d;
}

.rscn-scene-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #dcfce7;
    color: #166534;
    font-size: 11px;
    font-weight: 700;
}

.rscn-scene-tab:hover .rscn-scene-tab-count,
.rscn-scene-tab.is-active .rscn-scene-tab-count {
    background: #16a34a;
    color: #fff;
}

/* ── Template Card ── */
.rscn-template-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rscn-template-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: #1a1a1a;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.rscn-template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,.10);
    border-color: #c7e6d3;
}

.rscn-template-thumb {
    position: relative;
    display: flex;
    aspect-ratio: 16 / 9;
    background: #f0f4f8;
    overflow: hidden;
}

.rscn-template-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rscn-template-thumb-empty {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0bec5;
    font-size: 13px;
}

/* Badges */
.rscn-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.rscn-badge-free {
    background: #ef4444;
    color: #fff;
}

/* Card meta overlay */
.rscn-template-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10,15,20,.7) 100%);
    opacity: 0;
    transition: opacity .2s;
    display: flex;
    align-items: flex-end;
    padding: 12px;
}

.rscn-template-card:hover .rscn-template-overlay {
    opacity: 1;
}

.rscn-template-overlay-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: rgba(255,255,255,.9);
    font-weight: 600;
}

/* Card body */
.rscn-template-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px 14px;
}

.rscn-template-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rscn-template-price {
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 900;
    color: #ef4444;
    white-space: nowrap;
}

.rscn-template-price.is-free {
    color: #ef4444;
    font-size: 13px;
    background: #fef2f2;
    padding: 2px 8px;
    border-radius: 5px;
}

.rscn-template-price.is-paid {
    color: #16a34a;
}

/* ── Pack / Collection Grid ── */
.rscn-pack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rscn-pack-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e8ecef;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    color: #1a1a1a;
    transition: transform .2s, box-shadow .2s;
}

.rscn-pack-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,.10);
}

.rscn-pack-thumb {
    display: flex;
    aspect-ratio: 16 / 9;
    background: #f0f4f8;
    overflow: hidden;
}

.rscn-pack-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rscn-pack-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rscn-pack-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
}

.rscn-pack-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    color: #6b7280;
}

.rscn-pack-meta strong {
    color: #16a34a;
    font-weight: 700;
}

/* ── Style Filter Band ── */
.rscn-style-band {
    position: relative;
    overflow: hidden;
    padding: 80px 0 90px;
    background:
        radial-gradient(circle at 85% 0%, rgba(22, 163, 74, 0.3) 0%, transparent 55%),
        radial-gradient(circle at 15% 100%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, #050a08 0%, #000000 100%);
    color: #fff;
}

.rscn-style-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255,255,255,.09), transparent 42%),
        linear-gradient(90deg, transparent, rgba(255,255,255,.05) 48%, transparent);
}

.rscn-style-copy {
    position: relative;
    z-index: 2;
}

.rscn-style-band .rscn-section-eyebrow {
    color: #4ade80;
}

.rscn-style-band h2 {
    max-width: 680px;
    margin: 0 0 30px;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 900;
    color: #fff;
    line-height: 1.16;
    letter-spacing: 0;
}

.rscn-style-highlight {
    color: #4ade80;
    font-style: normal;
}

.rscn-style-visuals {
    display: none !important;
}

.rscn-style-wall {
    position: relative;
    z-index: 2;
    width: min(1880px, calc(100% - 64px));
    margin: 28px auto 0;
}

.rscn-style-wall::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74,222,128,.55), transparent);
    opacity: .55;
}

.rscn-style-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: visible;
}

.rscn-style-row {
    display: flex;
    gap: 16px;
    width: 100%;
}

.rscn-style-item {
    position: relative;
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 124px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Specular highlight border for glass effect */
.rscn-style-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.05) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s;
    z-index: 2;
}

/* Giant background watermark letter */
.rscn-style-item::after {
    content: attr(data-initial);
    position: absolute;
    right: -8px;
    bottom: -16px;
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    z-index: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rscn-style-item:hover {
    transform: translateY(-6px) scale(1.02);
    background: linear-gradient(160deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.02) 100%);
    border-color: rgba(74, 222, 128, 0.4);
    box-shadow: 0 16px 40px rgba(22, 163, 74, 0.15), 0 0 20px rgba(34, 197, 94, 0.1) inset;
    color: #fff;
    z-index: 10;
}

.rscn-style-item:hover::before {
    background: linear-gradient(135deg, rgba(74,222,128,0.8) 0%, transparent 40%, transparent 60%, rgba(74,222,128,0.2) 100%);
    opacity: 1;
}

.rscn-style-item:hover::after {
    color: rgba(74, 222, 128, 0.1);
    transform: scale(1.05) translate(-4px, -4px);
}

.rscn-style-icon {
    display: none;
}

.rscn-style-index {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .15em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    transition: color 0.3s;
}

.rscn-style-item:hover .rscn-style-index {
    color: #4ade80;
}

.rscn-style-item strong {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding-bottom: 2px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.5px;
    overflow-wrap: anywhere;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rscn-style-item strong::after {
    content: "→";
    position: absolute;
    right: -24px;
    opacity: 0;
    color: #4ade80;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rscn-style-item:hover strong {
    transform: translateX(-4px);
}

.rscn-style-item:hover strong::after {
    opacity: 1;
    transform: translateX(0);
}

/* ── CTA / Creator Block ── */
.rscn-cta {
    padding: 64px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
    border-top: 1px solid #e8ecef;
    border-bottom: 1px solid #e8ecef;
}

.rscn-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.rscn-cta-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.rscn-cta-copy p {
    margin: 0 0 28px;
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
}

.rscn-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rscn-btn-primary {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 28px;
    border-radius: 10px;
    background: #16a34a;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    font-family: inherit;
    transition: background .15s, transform .1s;
}

.rscn-btn-primary:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.rscn-btn-outline {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 24px;
    border: 2px solid #d1d9e0;
    border-radius: 10px;
    background: #fff;
    color: #374151;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    font-family: inherit;
    transition: border-color .15s, color .15s;
}

.rscn-btn-outline:hover {
    border-color: #16a34a;
    color: #16a34a;
}

/* Steps */
.rscn-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rscn-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border: 1px solid #d1fae5;
    border-radius: 12px;
    background: #fff;
}

.rscn-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    flex-shrink: 0;
}

.rscn-step-body strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.rscn-step-body span {
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.55;
}

/* ── Footer ── */
.rscn-footer {
    padding: 28px 0;
    background: #fff;
    border-top: 1px solid #e8ecef;
}

.rscn-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.rscn-footer-copy {
    font-size: 13px;
    color: #9ca3af;
}

.rscn-footer-links {
    display: flex;
    gap: 20px;
}

.rscn-footer-links a {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    transition: color .15s;
}

.rscn-footer-links a:hover {
    color: #16a34a;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .rscn-template-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .rscn-style-grid {
        gap: 10px;
    }

    .rscn-style-row {
        gap: 10px;
    }

    .rscn-style-wall {
        width: min(1500px, calc(100% - 40px));
    }

    .rscn-style-item {
        padding: 14px 13px 13px;
    }

    .rscn-pack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rscn-header {
        padding: 0 16px;
    }

    .rscn-logo-image {
        max-width: 148px;
        max-height: 28px;
    }

    .rscn-header-nav {
        flex: 1;
        min-width: 0;
        justify-content: flex-end;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .rscn-header-nav::-webkit-scrollbar {
        display: none;
    }

    .rscn-header-nav a {
        height: 32px;
        padding: 0 10px;
        font-size: 12.5px;
    }

    .rscn-hero {
        padding: 40px 20px 36px;
    }

    .rscn-hero h1 {
        max-width: 100%;
        font-size: 30px;
    }

    .rscn-hero h1 em {
        display: block;
    }

    .rscn-header-search {
        display: none;
    }

    .rscn-template-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .rscn-pack-grid,
    .rscn-cta-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .rscn-style-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .rscn-style-row {
        display: contents;
    }

    .rscn-style-visuals {
        display: none;
    }

    .rscn-style-wall {
        width: calc(100% - 40px);
    }

    .rscn-hero-stats {
        gap: 20px;
    }

    .rscn-stat-num {
        font-size: 26px;
    }

    .rscn-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .rscn-template-grid {
        grid-template-columns: 1fr;
    }

    .rscn-style-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .rscn-style-item {
        min-height: 78px;
        padding: 14px 14px 13px;
    }

    .rscn-style-item::after {
        left: 14px;
        right: 14px;
        bottom: 12px;
    }

    .rscn-style-item strong {
        font-size: 14px;
    }

    .rscn-hero h1 {
        font-size: 30px;
    }

}
