/**
 * RingStarter Pro - Main Stylesheet
 *
 * @package RingStarter_Pro
 * @since 1.0.0
 */

/* ============================================
   1. CSS VARIABLES / DESIGN TOKENS
   ============================================ */

:root {
    --rs-primary: #6C63FF;
    --rs-secondary: #00D2FF;
    --rs-accent: #FF6584;
    --rs-bg-body: #0F0F1A;
    --rs-bg-card: #1A1A2E;
    --rs-bg-header: rgba(15, 15, 26, 0.92);
    --rs-bg-footer: #0A0A14;
    --rs-text: #E8E8F0;
    --rs-text-secondary: #9999B0;
    --rs-link: #6C63FF;
    --rs-link-hover: #00D2FF;
    --rs-font-size: 16px;
    --rs-font-heading: 'Outfit', sans-serif;
    --rs-font-body: 'Inter', sans-serif;
    --rs-line-height: 1.6;
    --rs-gradient: linear-gradient(135deg, #6C63FF, #00D2FF);
    --rs-gradient-accent: linear-gradient(135deg, #FF6584, #6C63FF);
    --rs-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --rs-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.2);
    --rs-shadow-glow: 0 0 30px rgba(108, 99, 255, 0.15);
    --rs-border: rgba(108, 99, 255, 0.15);
    --rs-border-hover: rgba(108, 99, 255, 0.35);
    --rs-radius: 16px;
    --rs-radius-sm: 12px;
    --rs-radius-xs: 8px;
    --rs-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --rs-container: 1200px;
    --rs-header-height: 70px;
}

/* Light mode overrides */
body.light-mode {
    --rs-bg-body: #F0F0F8;
    --rs-bg-card: #FFFFFF;
    --rs-bg-header: rgba(240, 240, 248, 0.92);
    --rs-bg-footer: #1A1A2E;
    --rs-text: #1A1A2E;
    --rs-text-secondary: #666680;
    --rs-border: rgba(0, 0, 0, 0.08);
    --rs-border-hover: rgba(0, 0, 0, 0.15);
    --rs-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --rs-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.05);
    --rs-shadow-glow: 0 0 30px rgba(108, 99, 255, 0.08);
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--rs-font-size);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--rs-font-body);
    font-size: 1rem;
    line-height: var(--rs-line-height);
    color: var(--rs-text);
    background-color: var(--rs-bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--rs-font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--rs-text);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

a {
    color: var(--rs-link);
    text-decoration: none;
    transition: var(--rs-transition);
}

a:hover {
    color: var(--rs-link-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   3. LAYOUT & CONTAINERS
   ============================================ */

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

.rs-main-content {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    min-height: 60vh;
}

.rs-content-area {
    flex: 1;
    min-width: 0;
}

.rs-sidebar {
    width: 320px;
    flex-shrink: 0;
}

body.sidebar-left .rs-main-content {
    flex-direction: row-reverse;
}

.rs-section {
    padding: 50px 0;
}

.rs-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.rs-section-title {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--rs-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.rs-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--rs-gradient);
    border-radius: 3px;
    margin-top: 8px;
}

/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */

.rs-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--rs-bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rs-border);
    height: var(--rs-header-height);
    transition: var(--rs-transition);
}

.rs-header.scrolled {
    box-shadow: var(--rs-shadow-sm);
}

/* WordPress Admin Bar Fix */
body.admin-bar .rs-header {
    top: 32px;
}

body.admin-bar .rs-mobile-menu {
    top: calc(var(--rs-header-height) + 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .rs-header {
        top: 46px;
    }
    body.admin-bar .rs-mobile-menu {
        top: calc(var(--rs-header-height) + 46px);
    }
}

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed !important;
    }
    body.admin-bar .rs-header {
        top: 46px;
    }
    body.admin-bar .rs-mobile-menu {
        top: calc(var(--rs-header-height) + 46px);
    }
}

.rs-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}

/* Logo */
.rs-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.rs-logo img {
    height: 40px;
    width: auto;
}

.rs-logo-text {
    font-family: var(--rs-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--rs-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.rs-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rs-nav a {
    padding: 8px 16px;
    border-radius: var(--rs-radius-xs);
    color: var(--rs-text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--rs-transition);
    white-space: nowrap;
}

.rs-nav a:hover,
.rs-nav a.current-menu-item > a,
.rs-nav .current-menu-item > a {
    color: var(--rs-text);
    background: rgba(108, 99, 255, 0.1);
}

/* Header actions */
.rs-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rs-header-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--rs-radius-xs);
    color: var(--rs-text-secondary);
    transition: var(--rs-transition);
    font-size: 1.2rem;
    background: transparent;
    border: 1px solid transparent;
}

.rs-header-btn:hover {
    color: var(--rs-text);
    background: rgba(108, 99, 255, 0.1);
    border-color: var(--rs-border);
}

/* Mobile hamburger */
.rs-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}

.rs-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--rs-text);
    border-radius: 2px;
    transition: var(--rs-transition);
}

.rs-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.rs-hamburger.active span:nth-child(2) { opacity: 0; }
.rs-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.rs-mobile-menu {
    display: none;
    position: fixed;
    top: var(--rs-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--rs-bg-body);
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
}

.rs-mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.rs-mobile-menu a {
    display: block;
    padding: 14px 16px;
    color: var(--rs-text);
    font-size: 1.1rem;
    border-radius: var(--rs-radius-xs);
    margin-bottom: 4px;
}

.rs-mobile-menu a:hover {
    background: rgba(108, 99, 255, 0.1);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Breadcrumbs Styling */
.rs-breadcrumbs {
    margin: 15px 0 25px 0;
    font-size: 0.88rem;
}

.rs-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rs-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    color: var(--rs-text-secondary);
}

.rs-breadcrumbs a {
    color: var(--rs-text-secondary);
    text-decoration: none;
    transition: var(--rs-transition);
}

.rs-breadcrumbs a:hover {
    color: var(--rs-primary);
}

.rs-breadcrumb-sep {
    margin: 0 4px;
    opacity: 0.4;
    font-size: 0.8rem;
}

/* Body padding for fixed header */
body.has-sticky-header {
    padding-top: var(--rs-header-height);
}

/* ============================================
   5. SEARCH OVERLAY
   ============================================ */

.rs-search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
}

.rs-search-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.rs-search-overlay-inner {
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
}

.rs-search-overlay .rs-search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
    color: var(--rs-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--rs-transition);
}

.rs-search-overlay .rs-search-close:hover {
    color: var(--rs-text);
    background: rgba(255, 255, 255, 0.1);
}

.rs-search-overlay h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: var(--rs-text-secondary);
}

.rs-search-field-wrap {
    position: relative;
}

.rs-search-field-wrap input {
    width: 100%;
    padding: 18px 60px 18px 24px;
    font-size: 1.2rem;
    background: var(--rs-bg-card);
    border: 2px solid var(--rs-border);
    border-radius: 60px;
    color: var(--rs-text);
    transition: var(--rs-transition);
}

.rs-search-field-wrap input:focus {
    border-color: var(--rs-primary);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.15);
}

.rs-search-field-wrap input::placeholder {
    color: var(--rs-text-secondary);
}

.rs-search-field-wrap .rs-search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: var(--rs-primary);
}

/* AJAX search results dropdown */
.rs-ajax-results {
    display: none;
    margin-top: 15px;
    background: var(--rs-bg-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    max-height: 400px;
    overflow-y: auto;
    box-shadow: var(--rs-shadow);
}

.rs-ajax-results.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

.rs-ajax-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 14px;
    border-bottom: 1px solid var(--rs-border);
    transition: var(--rs-transition);
}

.rs-ajax-result-item:last-child {
    border-bottom: none;
}

.rs-ajax-result-item:hover {
    background: rgba(108, 99, 255, 0.08);
}

.rs-ajax-result-item .rs-result-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--rs-radius-xs);
    background: var(--rs-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.rs-ajax-result-item .rs-result-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.rs-ajax-result-item .rs-result-info span {
    font-size: 0.8rem;
    color: var(--rs-text-secondary);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   6. HERO SECTION
   ============================================ */

.rs-hero {
    position: relative;
    padding: 80px 0 60px;
    text-align: center;
    overflow: hidden;
}

.rs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--rs-gradient);
    opacity: 0.08;
    z-index: 0;
}

.rs-hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15), transparent 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
}

.rs-hero-content {
    position: relative;
    z-index: 1;
}

.rs-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--rs-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rs-hero p {
    font-size: 1.15rem;
    color: var(--rs-text-secondary);
    max-width: 600px;
    margin: 0 auto 35px;
}

.rs-hero-search {
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
}

.rs-hero-search input {
    width: 100%;
    padding: 18px 60px 18px 24px;
    font-size: 1.1rem;
    background: var(--rs-bg-card);
    border: 2px solid var(--rs-border);
    border-radius: 60px;
    color: var(--rs-text);
    transition: var(--rs-transition);
    box-shadow: var(--rs-shadow);
}

.rs-hero-search input:focus {
    border-color: var(--rs-primary);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.15), var(--rs-shadow);
}

.rs-hero-search input::placeholder {
    color: var(--rs-text-secondary);
}

.rs-hero-search button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--rs-gradient);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--rs-transition);
}

.rs-hero-search button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
}

/* Popular tags */
.rs-hero-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.rs-hero-tags span {
    color: var(--rs-text-secondary);
    font-size: 0.9rem;
}

.rs-hero-tags a {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 60px;
    border: 1px solid var(--rs-border);
    font-size: 0.85rem;
    color: var(--rs-text-secondary);
    transition: var(--rs-transition);
}

.rs-hero-tags a:hover {
    border-color: var(--rs-primary);
    color: var(--rs-primary);
    background: rgba(108, 99, 255, 0.08);
}

/* ============================================
   7. CATEGORY GRID
   ============================================ */

.rs-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rs-category-card {
    position: relative;
    padding: 30px 20px;
    text-align: center;
    background: var(--rs-bg-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    transition: var(--rs-transition);
    overflow: hidden;
}

.rs-category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--rs-gradient);
    opacity: 0;
    transition: var(--rs-transition);
    z-index: 0;
}

.rs-category-card:hover {
    transform: translateY(-5px);
    border-color: var(--rs-border-hover);
    box-shadow: var(--rs-shadow-glow);
}

.rs-category-card:hover::before {
    opacity: 0.08;
}

.rs-category-card > * {
    position: relative;
    z-index: 1;
}

.rs-category-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.rs-category-card h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.rs-category-card .rs-cat-count {
    font-size: 0.85rem;
    color: var(--rs-text-secondary);
}

/* ============================================
   8. RINGTONE CARDS (Grid View)
   ============================================ */

.rs-ringtones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.rs-ringtone-card {
    background: var(--rs-bg-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    overflow: hidden;
    transition: var(--rs-transition);
    position: relative;
}

.rs-ringtone-card:hover {
    transform: translateY(-4px);
    border-color: var(--rs-border-hover);
    box-shadow: var(--rs-shadow-glow);
}

.rs-ringtone-card .rs-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(0, 210, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rs-ringtone-card .rs-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rs-ringtone-card .rs-card-thumb .rs-thumb-icon {
    font-size: 3rem;
    opacity: 0.6;
}

.rs-ringtone-card .rs-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 15, 26, 0.5);
    opacity: 0;
    transition: var(--rs-transition);
}

.rs-ringtone-card:hover .rs-play-overlay {
    opacity: 1;
}

.rs-play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--rs-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    transition: var(--rs-transition);
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
    border: none;
    cursor: pointer;
}

.rs-play-btn:hover {
    transform: scale(1.1);
}

.rs-play-btn.playing {
    background: var(--rs-gradient-accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.3); }
    50% { box-shadow: 0 0 0 15px rgba(108, 99, 255, 0); }
}

.rs-card-body {
    padding: 16px;
}

.rs-card-body h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rs-card-body h3 a {
    color: var(--rs-text);
}

.rs-card-body h3 a:hover {
    color: var(--rs-primary);
}

.rs-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--rs-text-secondary);
    margin-bottom: 12px;
}

.rs-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rs-card-actions {
    display: flex;
    gap: 10px;
}

.rs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: var(--rs-radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--rs-transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.rs-btn-primary {
    background: var(--rs-gradient);
    color: #fff;
}

.rs-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
    color: #fff;
}

.rs-btn-accent {
    background: var(--rs-gradient-accent);
    color: #fff;
}

.rs-btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 101, 132, 0.3);
    color: #fff;
}

.rs-btn-outline {
    background: transparent;
    border: 1px solid var(--rs-border);
    color: var(--rs-text-secondary);
}

.rs-btn-outline:hover {
    border-color: var(--rs-primary);
    color: var(--rs-primary);
    background: rgba(108, 99, 255, 0.08);
}

.rs-btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.rs-btn-full {
    width: 100%;
}

/* ============================================
   9. RINGTONE ROWS (List View)
   ============================================ */

.rs-ringtones-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rs-ringtone-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: var(--rs-bg-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-sm);
    transition: var(--rs-transition);
}

.rs-ringtone-row:hover {
    border-color: var(--rs-border-hover);
    box-shadow: var(--rs-shadow-sm);
    background: rgba(108, 99, 255, 0.03);
}

.rs-row-index {
    font-size: 0.85rem;
    color: var(--rs-text-secondary);
    width: 28px;
    text-align: center;
    flex-shrink: 0;
    font-weight: 600;
}

.rs-row-thumb {
    width: 50px;
    height: 50px;
    border-radius: var(--rs-radius-xs);
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(0, 210, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.rs-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rs-row-info {
    flex: 1;
    min-width: 0;
}

.rs-row-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rs-row-info h4 a {
    color: var(--rs-text);
}

.rs-row-info h4 a:hover {
    color: var(--rs-primary);
}

.rs-row-info .rs-row-meta {
    font-size: 0.8rem;
    color: var(--rs-text-secondary);
    display: flex;
    gap: 10px;
}

.rs-row-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    flex-shrink: 0;
}

.rs-row-duration {
    color: var(--rs-text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 40px;
    text-align: center;
}

.rs-row-play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rs-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--rs-transition);
    flex-shrink: 0;
    border: none;
    cursor: pointer;
}

.rs-row-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(108, 99, 255, 0.3);
}

.rs-row-play-btn.playing {
    background: var(--rs-gradient-accent);
}

.rs-row-download-btn {
    padding: 8px 16px;
    border-radius: var(--rs-radius-xs);
    background: rgba(108, 99, 255, 0.1);
    color: var(--rs-primary);
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--rs-transition);
    flex-shrink: 0;
    border: none;
    cursor: pointer;
}

.rs-row-download-btn:hover {
    background: var(--rs-gradient);
    color: #fff;
}

.rs-row-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--rs-text-secondary);
    flex-shrink: 0;
    min-width: 45px;
    justify-content: flex-end;
}

/* ============================================
   10. VIEW TOGGLE
   ============================================ */

.rs-view-toggle {
    display: flex;
    gap: 4px;
    background: var(--rs-bg-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-xs);
    padding: 3px;
}

.rs-view-toggle button {
    padding: 6px 12px;
    border-radius: 6px;
    color: var(--rs-text-secondary);
    font-size: 0.9rem;
    transition: var(--rs-transition);
}

.rs-view-toggle button.active {
    background: var(--rs-gradient);
    color: #fff;
}

/* ============================================
   11. SINGLE RINGTONE PAGE
   ============================================ */

.rs-single-ringtone {
    background: var(--rs-bg-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    padding: 30px;
    margin-bottom: 30px;
}

.rs-single-header {
    margin-bottom: 25px;
}

.rs-single-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.rs-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--rs-text-secondary);
}

.rs-single-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rs-single-meta a {
    color: var(--rs-primary);
}

/* Audio Player */
.rs-audio-player {
    background: rgba(108, 99, 255, 0.05);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-sm);
    padding: 20px 24px;
    margin: 25px 0;
}

.rs-player-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rs-player-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--rs-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--rs-transition);
    border: none;
    cursor: pointer;
}

.rs-player-play:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}

.rs-player-play.playing {
    background: var(--rs-gradient-accent);
}

.rs-player-progress-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rs-player-progress {
    width: 100%;
    height: 6px;
    background: rgba(108, 99, 255, 0.15);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.rs-player-progress-bar {
    height: 100%;
    background: var(--rs-gradient);
    border-radius: 6px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.rs-player-progress-bar::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s;
}

.rs-player-progress:hover .rs-player-progress-bar::after {
    opacity: 1;
}

.rs-player-time {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--rs-text-secondary);
    font-variant-numeric: tabular-nums;
}

/* Download buttons */
.rs-download-section {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 25px 0;
}

/* Stats display */
.rs-single-stats {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 18px 0;
    border-top: 1px solid var(--rs-border);
    border-bottom: 1px solid var(--rs-border);
}

.rs-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--rs-text-secondary);
}

.rs-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--rs-radius-xs);
    background: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.rs-stat strong {
    color: var(--rs-text);
    font-weight: 700;
}

/* Share buttons */
.rs-share-section {
    margin: 25px 0;
}

.rs-share-section h4 {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.rs-share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rs-share-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--rs-radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    transition: var(--rs-transition);
}

.rs-share-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.rs-share-btn.facebook { background: #1877F2; }
.rs-share-btn.twitter { background: #1DA1F2; }
.rs-share-btn.whatsapp { background: #25D366; }
.rs-share-btn.telegram { background: #0088CC; }
.rs-share-btn.pinterest { background: #BD081C; }
.rs-share-btn.copy-link { background: var(--rs-bg-card); border: 1px solid var(--rs-border); color: var(--rs-text-secondary); }

/* Related ringtones */
.rs-related-section {
    margin-top: 40px;
}

/* ============================================
   12. SIDEBAR & WIDGETS
   ============================================ */

.rs-sidebar .widget {
    background: var(--rs-bg-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    padding: 22px;
    margin-bottom: 22px;
    transition: var(--rs-transition);
}

.rs-sidebar .widget:hover {
    border-color: var(--rs-border-hover);
}

.rs-sidebar .widget-title {
    font-size: 1.05rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--rs-border);
    position: relative;
}

.rs-sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--rs-gradient);
}

/* Search widget */
.widget .rs-search-form {
    position: relative;
}

.widget .rs-search-form input {
    width: 100%;
    padding: 12px 45px 12px 16px;
    background: var(--rs-bg-body);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-sm);
    color: var(--rs-text);
    transition: var(--rs-transition);
}

.widget .rs-search-form input:focus {
    border-color: var(--rs-primary);
}

.widget .rs-search-form button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rs-primary);
    font-size: 1.1rem;
}

/* Categories widget */
.rs-widget-categories li {
    margin-bottom: 6px;
}

.rs-widget-categories li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: var(--rs-radius-xs);
    color: var(--rs-text-secondary);
    font-size: 0.9rem;
    transition: var(--rs-transition);
}

.rs-widget-categories li a:hover {
    background: rgba(108, 99, 255, 0.08);
    color: var(--rs-primary);
}

.rs-widget-categories li a .count {
    background: rgba(108, 99, 255, 0.1);
    padding: 2px 8px;
    border-radius: 60px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rs-primary);
}

/* Popular/Recent ringtones widget */
.rs-widget-ringtones li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--rs-border);
}

.rs-widget-ringtones li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rs-widget-ringtones .rs-wg-thumb {
    width: 45px;
    height: 45px;
    border-radius: var(--rs-radius-xs);
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(0, 210, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.rs-widget-ringtones .rs-wg-info h4 {
    font-size: 0.88rem;
    margin-bottom: 2px;
    line-height: 1.3;
}

.rs-widget-ringtones .rs-wg-info h4 a {
    color: var(--rs-text);
}

.rs-widget-ringtones .rs-wg-info h4 a:hover {
    color: var(--rs-primary);
}

.rs-widget-ringtones .rs-wg-info span {
    font-size: 0.75rem;
    color: var(--rs-text-secondary);
}

/* Ad widget */
.rs-ad-widget {
    text-align: center;
    padding: 15px;
}

.rs-ad-widget img {
    max-width: 100%;
    border-radius: var(--rs-radius-xs);
}

/* ============================================
   13. BREADCRUMBS
   ============================================ */

.rs-breadcrumbs {
    padding: 15px 0;
    font-size: 0.85rem;
    color: var(--rs-text-secondary);
}

.rs-breadcrumbs a {
    color: var(--rs-text-secondary);
}

.rs-breadcrumbs a:hover {
    color: var(--rs-primary);
}

.rs-breadcrumbs .separator {
    margin: 0 8px;
    opacity: 0.5;
}

.rs-breadcrumbs .current {
    color: var(--rs-text);
    font-weight: 500;
}

/* ============================================
   14. PAGINATION
   ============================================ */

.rs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.rs-pagination a,
.rs-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--rs-radius-xs);
    border: 1px solid var(--rs-border);
    color: var(--rs-text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--rs-transition);
}

.rs-pagination a:hover {
    border-color: var(--rs-primary);
    color: var(--rs-primary);
    background: rgba(108, 99, 255, 0.08);
}

.rs-pagination .current {
    background: var(--rs-gradient);
    color: #fff;
    border-color: transparent;
}

.rs-pagination .dots {
    border: none;
    color: var(--rs-text-secondary);
}

/* Load More button */
.rs-load-more-wrap {
    text-align: center;
    margin-top: 35px;
}

.rs-load-more {
    padding: 14px 40px;
    font-size: 1rem;
}

/* ============================================
   15. FOOTER
   ============================================ */

.rs-footer {
    background: var(--rs-bg-footer);
    border-top: 1px solid var(--rs-border);
    margin-top: 50px;
}

.rs-footer-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 50px 0 40px;
}

.rs-footer-main.rs-footer-cols-1 { grid-template-columns: 1fr; }
.rs-footer-main.rs-footer-cols-2 { grid-template-columns: repeat(2, 1fr); }
.rs-footer-main.rs-footer-cols-3 { grid-template-columns: repeat(3, 1fr); }
.rs-footer-main.rs-footer-cols-4 { grid-template-columns: repeat(4, 1fr); }

.rs-footer .widget-title {
    color: var(--rs-text);
    font-size: 1.05rem;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--rs-border);
    position: relative;
}

.rs-footer .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--rs-gradient);
}

.rs-footer p,
.rs-footer li,
.rs-footer a {
    color: var(--rs-text-secondary);
    font-size: 0.9rem;
}

.rs-footer a:hover {
    color: var(--rs-primary);
}

.rs-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--rs-border);
    font-size: 0.85rem;
    color: var(--rs-text-secondary);
    flex-wrap: wrap;
    gap: 10px;
}

/* Social icons */
.rs-social-links {
    display: flex;
    gap: 10px;
}

.rs-social-links a {
    width: 38px;
    height: 38px;
    border-radius: var(--rs-radius-xs);
    border: 1px solid var(--rs-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rs-text-secondary);
    font-size: 1rem;
    transition: var(--rs-transition);
}

.rs-social-links a:hover {
    background: var(--rs-gradient);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
}

/* Back to top */
.rs-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--rs-gradient);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    transition: var(--rs-transition);
    box-shadow: var(--rs-shadow-sm);
    border: none;
    cursor: pointer;
}

.rs-back-to-top.visible {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.rs-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

/* ============================================
   16. 404 PAGE
   ============================================ */

.rs-404-page {
    text-align: center;
    padding: 80px 20px;
}

.rs-404-page .rs-404-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    display: block;
}

.rs-404-page h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: var(--rs-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rs-404-page p {
    color: var(--rs-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ============================================
   17. COMMENTS
   ============================================ */

.rs-comments {
    background: var(--rs-bg-card);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    padding: 30px;
    margin-top: 30px;
}

.rs-comments .comment-list {
    list-style: none;
}

.rs-comments .comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--rs-border);
}

.rs-comments .comment:last-child {
    border-bottom: none;
}

.rs-comments .comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rs-comments .comment-author img {
    border-radius: 50%;
}

.rs-comments .comment-author .fn {
    font-weight: 600;
    color: var(--rs-text);
}

.rs-comments .comment-metadata {
    font-size: 0.8rem;
    color: var(--rs-text-secondary);
}

.rs-comments .comment-content p {
    color: var(--rs-text-secondary);
    line-height: 1.7;
}

/* Comment form */
.rs-comments .comment-form input,
.rs-comments .comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--rs-bg-body);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius-xs);
    color: var(--rs-text);
    margin-bottom: 15px;
    transition: var(--rs-transition);
}

.rs-comments .comment-form input:focus,
.rs-comments .comment-form textarea:focus {
    border-color: var(--rs-primary);
}

.rs-comments .comment-form textarea {
    height: 120px;
    resize: vertical;
}

.rs-comments .comment-form .submit {
    background: var(--rs-gradient);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: var(--rs-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--rs-transition);
}

.rs-comments .comment-form .submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
}

/* ============================================
   18. ADS SPACE
   ============================================ */

.rs-ad-space {
    text-align: center;
    padding: 15px 0;
    margin: 20px 0;
    min-height: 90px;
}

.rs-ad-space-label {
    font-size: 0.7rem;
    color: var(--rs-text-secondary);
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* ============================================
   19. SCROLL ANIMATIONS
   ============================================ */

.rs-animate {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.rs-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animations */
.rs-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.rs-stagger.animated > *:nth-child(1) { transition-delay: 0.05s; }
.rs-stagger.animated > *:nth-child(2) { transition-delay: 0.1s; }
.rs-stagger.animated > *:nth-child(3) { transition-delay: 0.15s; }
.rs-stagger.animated > *:nth-child(4) { transition-delay: 0.2s; }
.rs-stagger.animated > *:nth-child(5) { transition-delay: 0.25s; }
.rs-stagger.animated > *:nth-child(6) { transition-delay: 0.3s; }
.rs-stagger.animated > *:nth-child(7) { transition-delay: 0.35s; }
.rs-stagger.animated > *:nth-child(8) { transition-delay: 0.4s; }
.rs-stagger.animated > *:nth-child(9) { transition-delay: 0.45s; }
.rs-stagger.animated > *:nth-child(10) { transition-delay: 0.5s; }
.rs-stagger.animated > *:nth-child(11) { transition-delay: 0.55s; }
.rs-stagger.animated > *:nth-child(12) { transition-delay: 0.6s; }

.rs-stagger.animated > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   20. STICKY MINI PLAYER
   ============================================ */

.rs-sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--rs-bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--rs-border);
    padding: 10px 0;
    z-index: 998;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.rs-sticky-player.active {
    transform: translateY(0);
}

.rs-sticky-player-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rs-sticky-player .rs-sp-play {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--rs-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.rs-sticky-player .rs-sp-info {
    flex: 1;
    min-width: 0;
}

.rs-sticky-player .rs-sp-info h4 {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

.rs-sticky-player .rs-sp-progress {
    width: 100%;
    height: 3px;
    background: rgba(108, 99, 255, 0.15);
    border-radius: 3px;
    margin-top: 4px;
    cursor: pointer;
}

.rs-sticky-player .rs-sp-progress-bar {
    height: 100%;
    background: var(--rs-gradient);
    border-radius: 3px;
    width: 0%;
}

.rs-sticky-player .rs-sp-time {
    font-size: 0.75rem;
    color: var(--rs-text-secondary);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.rs-sticky-player .rs-sp-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rs-text-secondary);
    border-radius: 50%;
    transition: var(--rs-transition);
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    background: transparent;
}

.rs-sticky-player .rs-sp-close:hover {
    color: var(--rs-text);
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   21. RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1199px) {
    .rs-container { max-width: 960px; }

    .rs-ringtones-grid { grid-template-columns: repeat(2, 1fr); }
    .rs-categories-grid { grid-template-columns: repeat(3, 1fr); }

    .rs-main-content {
        flex-direction: column;
    }

    .rs-sidebar {
        width: 100%;
    }

    .rs-footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --rs-header-height: 60px;
    }

    .rs-container { padding: 0 15px; }

    .rs-hamburger { display: flex; }

    .rs-nav { display: none; }

    .rs-hero h1 { font-size: 2rem; }
    .rs-hero p { font-size: 1rem; }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .rs-ringtones-grid {
        grid-template-columns: 1fr;
    }

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

    .rs-ringtone-row {
        flex-wrap: nowrap;
        gap: 10px;
        padding: 10px 12px;
    }

    .rs-row-index {
        width: 20px;
        font-size: 0.75rem;
    }

    .rs-row-thumb {
        width: 40px;
        height: 40px;
    }

    .rs-row-info h4 {
        font-size: 0.88rem;
    }

    .rs-row-info .rs-row-meta {
        font-size: 0.75rem;
    }

    .rs-row-actions {
        gap: 8px;
    }

    .rs-row-duration {
        display: none;
    }

    .rs-row-play-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .rs-row-download-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .rs-row-stats { display: none; }

    .rs-single-ringtone { padding: 20px; }

    .rs-download-section {
        flex-direction: column;
    }

    .rs-footer-main,
    .rs-footer-main.rs-footer-cols-1,
    .rs-footer-main.rs-footer-cols-2,
    .rs-footer-main.rs-footer-cols-3,
    .rs-footer-main.rs-footer-cols-4 {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .rs-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .rs-pagination {
        gap: 4px;
    }

    .rs-pagination a,
    .rs-pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .rs-back-to-top {
        bottom: 70px;
        right: 15px;
    }

    .rs-search-overlay-inner {
        padding-top: 30px;
    }

    .rs-sticky-player .rs-sp-info h4 {
        font-size: 0.8rem;
    }
}

/* Very small mobile */
@media (max-width: 480px) {
    .rs-categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .rs-category-card {
        padding: 20px 15px;
    }

    .rs-hero-search input {
        padding: 14px 50px 14px 18px;
        font-size: 1rem;
    }
}

/* ============================================
   22. UTILITY CLASSES
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-gradient {
    background: var(--rs-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* Page/Archive description */
.rs-archive-description {
    font-size: 0.95rem;
    color: var(--rs-text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Inline between-items ad */
.rs-between-ad {
    grid-column: 1 / -1;
    text-align: center;
    padding: 15px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rs-bg-card);
    border: 1px dashed var(--rs-border);
    border-radius: var(--rs-radius);
}
