/* ============================================
   CodeMall Story - Exact Design Match
   Dark Theme with Pink Accents
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --bg-hover: #252535;
    --text-primary: #ffffff;
    --text-secondary: #8b8b9a;
    --accent-pink: #e91e63;
    --accent-pink-light: #ff4081;
    --accent-purple: #7c4dff;
    --accent-green: #00c853;
    --accent-orange: #ff9100;
    --accent-red: #ff1744;
    --border-color: #2a2a3a;
    --gradient-pink: linear-gradient(135deg, #e91e63 0%, #ff4081 100%);
    --gradient-purple: linear-gradient(135deg, #7c4dff 0%, #e91e63 100%);
    --shadow-card: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 20px rgba(233,30,99,0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 80px;
}

/* ============================================
   HEADER
   ============================================ */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10,10,15,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 16px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
}

.menu-btn {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-pink);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    font-size: 16px;
}

.logo-text span {
    color: var(--accent-pink);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent-pink);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: var(--accent-pink);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   HERO BANNER (Carousel)
   ============================================ */

.hero-section {
    margin-top: 64px;
    padding: 16px;
}

.hero-carousel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(10,10,15,0.98) 0%,
        rgba(10,10,15,0.8) 40%,
        rgba(10,10,15,0.3) 70%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.trending-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(233,30,99,0.2);
    color: var(--accent-pink);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 12px;
    border: 1px solid rgba(233,30,99,0.3);
}

.trending-badge i {
    font-size: 12px;
}

.hero-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
    max-width: 280px;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-pink);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233,30,99,0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bg-hover);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-pink);
    width: 24px;
    border-radius: 4px;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px 12px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
}

.section-title i {
    color: var(--accent-pink);
    font-size: 20px;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--accent-pink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.view-all i {
    font-size: 12px;
}

/* ============================================
   STORY CARDS (Horizontal Scroll)
   ============================================ */

.stories-scroll {
    display: flex;
    gap: 12px;
    padding: 0 16px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.stories-scroll::-webkit-scrollbar {
    display: none;
}

.story-card {
    flex: 0 0 auto;
    width: 140px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
}

.story-card .poster {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 10px;
}

.story-card .poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-card:hover .poster img {
    transform: scale(1.05);
}

.new-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--accent-pink);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.story-card .title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.story-card .meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-secondary);
}

.story-card .rating {
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--accent-orange);
}

.story-card .rating i {
    font-size: 10px;
}

/* ============================================
   LATEST STORIES (Grid)
   ============================================ */

.latest-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px 16px;
}

.latest-card {
    text-decoration: none;
    color: inherit;
}

.latest-card .poster {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 10px;
}

.latest-card .poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-card .title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.latest-card .meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-secondary);
}

/* ============================================
   ALL STORIES WITH FILTERS
   ============================================ */

.filter-tabs {
    display: flex;
    gap: 10px;
    padding: 0 16px 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab.active {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
    color: white;
}

/* ============================================
   BOTTOM NAVIGATION
   ============================================ */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 8px 0;
    z-index: 1000;
}

.bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    max-width: 600px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-item i {
    font-size: 22px;
}

.nav-item.active {
    color: var(--accent-pink);
}

.nav-item.active i {
    filter: drop-shadow(0 0 8px rgba(233,30,99,0.5));
}

/* ============================================
   STORY DETAIL PAGE
   ============================================ */

.story-hero {
    position: relative;
    height: 55vh;
    min-height: 400px;
}

.story-hero-bg {
    position: absolute;
    inset: 0;
}

.story-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(10,10,15,0.3) 0%,
        rgba(10,10,15,0.6) 50%,
        var(--bg-primary) 100%
    );
}

.story-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
}

.back-btn {
    position: absolute;
    top: 20px;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.story-title-lg {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 8px;
}

.story-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.story-tag {
    font-size: 12px;
    color: var(--text-secondary);
}

.story-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.story-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.story-stat i {
    color: var(--accent-orange);
}

.story-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.story-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    padding: 12px;
    border-radius: var(--radius-md);
}

.meta-item i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(233,30,99,0.1);
    color: var(--accent-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.meta-item div {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 11px;
    color: var(--text-secondary);
}

.meta-value {
    font-size: 13px;
    font-weight: 600;
}

/* Episode List */
.episodes-section {
    padding: 0 16px;
}

.episodes-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.episodes-tabs {
    display: flex;
    gap: 20px;
}

.episodes-tab {
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.episodes-tab.active {
    color: var(--accent-pink);
    border-bottom-color: var(--accent-pink);
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    background: var(--bg-card);
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
}

.episode-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
}

.episode-thumb {
    position: relative;
    width: 120px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.episode-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.episode-play {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.episode-item:hover .episode-play {
    opacity: 1;
}

.episode-play i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.episode-info {
    flex: 1;
    min-width: 0;
}

.episode-number {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.episode-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.episode-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-secondary);
}

.episode-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.episode-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.price-tag {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.price-tag.free {
    background: rgba(0,200,83,0.2);
    color: var(--accent-green);
}

.price-tag.paid {
    background: rgba(233,30,99,0.2);
    color: var(--accent-pink);
}

.price-tag.unlocked {
    background: rgba(124,77,255,0.2);
    color: var(--accent-purple);
}

.btn-watch-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-pink);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-buy-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-pink);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-download-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    text-decoration: none;
}

/* Show More Button */
.show-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    margin: 16px 0;
}

/* ============================================
   VIDEO PLAYER PAGE
   ============================================ */

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.video-player {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.video-player video {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    object-fit: contain;
}

.video-controls-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.6) 0%,
        transparent 30%,
        transparent 70%,
        rgba(0,0,0,0.8) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-controls-overlay {
    opacity: 1;
}

.video-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.video-header h5 {
    font-size: 16px;
    font-weight: 600;
}

.video-progress {
    position: absolute;
    bottom: 80px;
    left: 20px;
    right: 20px;
}

.progress-bar {
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--accent-pink);
    border-radius: 2px;
    position: relative;
}

.progress-handle {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--accent-pink);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(233,30,99,0.5);
}

.video-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}

.control-btn.play {
    width: 56px;
    height: 56px;
    background: var(--accent-pink);
}

.time-display {
    font-size: 13px;
    font-weight: 500;
    font-family: monospace;
}

/* ============================================
   LOGIN PAGE
   ============================================ */

.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg-primary);
}

.login-logo {
    margin-bottom: 40px;
}

.login-box {
    width: 100%;
    max-width: 360px;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.login-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 18px;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-pink);
    box-shadow: 0 0 0 3px rgba(233,30,99,0.1);
}

.btn-full {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
}

.otp-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.otp-inputs input {
    width: 50px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
}

.otp-inputs input:focus {
    outline: none;
    border-color: var(--accent-pink);
}

/* ============================================
   PAYMENT PAGE
   ============================================ */

.payment-page {
    padding: 20px;
    padding-top: 80px;
}

.payment-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}

.payment-header {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.payment-thumb {
    width: 100px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.payment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.payment-info h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.payment-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.payment-amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.amount-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.amount-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-pink);
}

.qr-section {
    text-align: center;
    padding: 20px 0;
}

.qr-code {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: var(--radius-md);
    margin: 0 auto 16px;
    padding: 10px;
}

.upi-id {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg-hover);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-family: monospace;
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-copy {
    color: var(--accent-pink);
    background: none;
    border: none;
    cursor: pointer;
}

.upload-section {
    margin-top: 20px;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: var(--accent-pink);
    background: rgba(233,30,99,0.05);
}

.upload-area i {
    font-size: 40px;
    color: var(--accent-pink);
    margin-bottom: 12px;
}

.upload-area p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center { text-align: center; }
.text-pink { color: var(--accent-pink); }
.text-green { color: var(--accent-green); }
.text-orange { color: var(--accent-orange); }
.text-muted { color: var(--text-secondary); }

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }

.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }

.hidden { display: none !important; }

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--accent-pink);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Pulse Animation for Live Indicator */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive */
@media (min-width: 768px) {
    .latest-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .story-card {
        width: 160px;
    }
}

@media (min-width: 1024px) {
    body {
        padding-bottom: 0;
    }
    
    .bottom-nav {
        display: none;
    }
    
    .main-header {
        padding: 16px 40px;
    }
    
    .hero-section,
    .section-header,
    .stories-scroll,
    .latest-grid {
        padding-left: 40px;
        padding-right: 40px;
    }
}
