/* ============================================
   TERADISKADDA - MASTER STYLESHEET
   Theme: Blue & Green
   Version: FINAL - PERFECT
   ============================================ */

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --bg: #0a0a0f;
    --bg-card: #111118;
    --bg-card-hover: #181825;
    --bg-input: #14141e;
    --border: #1e1e2a;
    --border-hover: #2a2a3a;
    --text-primary: #e8e8f0;
    --text-secondary: #b8b8cc;
    --text-muted: #6b6b7b;
    --text-inverse: #ffffff;
    
    --accent-blue: #2563eb;
    --accent-blue-light: #3b82f6;
    --accent-green: #16a34a;
    --accent-green-light: #22c55e;
    --accent-gradient: linear-gradient(135deg, #2563eb, #16a34a);
    --accent-glow: rgba(37, 99, 235, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.6);
    --shadow-glow: 0 4px 24px rgba(37,99,235,0.3);
}

/* ============================================
   RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}
.logo:hover {
    opacity: 0.85;
}

.logo-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border);
}
.logo:hover .logo-icon {
    border-color: var(--accent-blue);
}
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-wrap {
    position: relative;
    width: 440px;
    max-width: 100%;
    flex-shrink: 1;
}

.search-wrap input {
    width: 100%;
    padding: 11px 100px 11px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
    height: 50px;
}
.search-wrap input::placeholder {
    color: var(--text-muted);
}
.search-wrap input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.search-wrap .search-btn {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-gradient);
    border: none;
    color: var(--text-inverse);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.search-wrap .search-btn:hover {
    transform: translateY(-50%) scale(1.05);
}

.search-wrap .paste-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.search-wrap .paste-btn:hover {
    background: var(--border);
    color: var(--text-primary);
}

.mobile-search-btn {
    display: none;
    background: var(--accent-gradient);
    border: none;
    color: var(--text-inverse);
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.mobile-search-panel {
    display: none;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    position: sticky;
    top: 70px;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-search-panel.open {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-search-panel-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1440px;
    margin: 0 auto;
}

.mobile-search-panel input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    height: 46px;
}
.mobile-search-panel input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.mobile-search-panel .mobile-search-action {
    background: var(--accent-gradient);
    border: none;
    color: var(--text-inverse);
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.mobile-search-panel .mobile-search-close {
    background: var(--bg-input);
    border: 2px solid var(--border);
    color: var(--text-muted);
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.mobile-search-panel .mobile-search-close:hover {
    background: var(--border);
    color: var(--text-primary);
}

/* ============================================
   HERO
   ============================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 50px 24px 40px;
    background: radial-gradient(ellipse at 70% 30%, rgba(37,99,235,0.08), transparent 60%),
                radial-gradient(ellipse at 30% 70%, rgba(22,163,74,0.06), transparent 50%),
                var(--bg);
    border-bottom: 1px solid var(--border);
}

.hero-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 14px;
    border-radius: var(--radius-full);
    background: rgba(37,99,235,0.1);
    border: 1px solid rgba(37,99,235,0.15);
    color: var(--accent-blue-light);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green-light);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.4); }
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.hero-title-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.hero-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 14px 24px 14px 20px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

.hero-btn > i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}
.hero-btn > span:first-of-type {
    margin-left: 28px;
}
.hero-btn-sub {
    margin-left: 28px;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
}

.hero-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.3s;
}
.hero-btn:hover::after {
    opacity: 1;
}

.hero-btn-telegram {
    background: linear-gradient(135deg, #1a8bc4, #0d6efd);
    color: var(--text-inverse);
    box-shadow: 0 4px 24px rgba(13,110,253,0.35);
}
.hero-btn-telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(13,110,253,0.45);
}

.hero-btn-pwa {
    background: var(--accent-gradient);
    color: var(--text-inverse);
    box-shadow: 0 4px 24px rgba(37,99,235,0.35);
}
.hero-btn-pwa:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(37,99,235,0.45);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-num {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}
.hero-stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

.hero-visual {
    position: relative;
    width: 340px;
    height: 280px;
    flex-shrink: 0;
}

.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
    animation: float-card 5s ease-in-out infinite;
    white-space: nowrap;
}
.hero-float-card i {
    font-size: 18px;
}

.hero-float-card-1 {
    top: 20px;
    left: 10px;
    animation-delay: 0s;
}
.hero-float-card-1 i {
    color: var(--accent-blue-light);
}
.hero-float-card-2 {
    top: 100px;
    right: 10px;
    animation-delay: -1.6s;
}
.hero-float-card-2 i {
    color: var(--accent-green-light);
}
.hero-float-card-3 {
    bottom: 20px;
    left: 50px;
    animation-delay: -3.2s;
}
.hero-float-card-3 i {
    color: #f59e0b;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    pointer-events: none;
}
.hero-orb-1 {
    width: 140px;
    height: 140px;
    background: var(--accent-blue);
    top: -20px;
    right: 30px;
}
.hero-orb-2 {
    width: 100px;
    height: 100px;
    background: var(--accent-green);
    bottom: 10px;
    left: -10px;
}
.hero-orb-3 {
    width: 80px;
    height: 80px;
    background: #f59e0b;
    top: 80px;
    left: 80px;
    opacity: 0.06;
}

/* ============================================
   PWA REMINDER
   ============================================ */
.pwa-reminder {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fade-in 0.3s ease;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pwa-reminder-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
}

.pwa-reminder-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px 32px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: slide-up 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.pwa-reminder-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.pwa-reminder-close:hover {
    background: var(--border);
    color: var(--text-primary);
}

.pwa-reminder-icon {
    width: 76px;
    height: 76px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0 auto 20px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-glow);
}
.pwa-reminder-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pwa-reminder-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.pwa-reminder-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.pwa-reminder-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pwa-reminder-btn {
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pwa-reminder-btn-primary {
    background: var(--accent-gradient);
    color: var(--text-inverse);
    box-shadow: var(--shadow-glow);
}
.pwa-reminder-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37,99,235,0.45);
}

.pwa-reminder-btn-secondary {
    background: var(--bg-input);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.pwa-reminder-btn-secondary:hover {
    background: var(--border);
    color: var(--text-primary);
}

/* ============================================
   FILTER
   ============================================ */
.filter-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 22px 24px 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-btn {
    padding: 10px 22px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.filter-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
}
.filter-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: var(--text-inverse);
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}
.filter-btn i {
    font-size: 14px;
}

/* ============================================
   MAIN CONTENT - 6 COLUMN GRID
   ============================================ */
.main-content {
    flex: 1;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 26px 24px 40px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

/* ============================================
   VIDEO CARD - PERFECT TEXT SIZE
   ============================================ */
.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.video-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card-hover);
}

.thumb-wrap {
    position: relative;
    aspect-ratio: 5/4;
    overflow: hidden;
    background: #08080e;
}

.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.video-card:hover .thumb-img {
    transform: scale(1.06);
}

.copy-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    color: var(--text-inverse);
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.1);
}
.video-card:hover .copy-hint {
    opacity: 1;
    bottom: 14px;
}

.card-info {
    padding: 12px 14px 14px;
}

.card-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
    margin-bottom: 8px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meta-item {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}
.meta-item i {
    font-size: 12px;
}

.video-card.copied {
    border-color: var(--accent-green) !important;
    box-shadow: 0 0 32px rgba(22,163,74,0.3) !important;
}
.video-card.copied .copy-hint {
    opacity: 1;
    background: rgba(22,163,74,0.9);
    border-color: var(--accent-green);
}
.video-card.copied .copy-hint i {
    animation: spin 1s ease;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   LOAD MORE
   ============================================ */
.load-more-wrap {
    text-align: center;
    padding: 36px 0 12px;
}

.load-more-btn {
    padding: 14px 44px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    min-width: 160px;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s;
}
.load-more-btn:hover:not(:disabled) {
    border-color: transparent;
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.load-more-btn:hover:not(:disabled)::before {
    opacity: 1;
}
.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.load-more-btn span {
    position: relative;
    z-index: 1;
}

.load-more-btn .spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: var(--text-inverse);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
    z-index: 1;
}
.load-more-btn.loading .spinner {
    display: inline-block;
}
.load-more-btn.loading .btn-text {
    opacity: 0.7;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}
.empty-state i {
    font-size: 52px;
    margin-bottom: 20px;
    opacity: 0.3;
    color: var(--accent-blue);
}
.empty-state h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}
.empty-state p {
    font-size: 15px;
    color: var(--text-muted);
}

/* ============================================
   TOAST
   ============================================ */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    backdrop-filter: blur(12px);
    background: rgba(17,17,24,0.95);
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast i {
    color: var(--accent-green-light);
    font-size: 18px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 28px 24px;
    margin-top: auto;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.footer-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}
.footer-social a:hover {
    border-color: transparent;
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.footer-social a:hover::before {
    opacity: 1;
}
.footer-social a i {
    position: relative;
    z-index: 1;
}

/* ============================================
   RESPONSIVE - 6 COLUMNS ON PC, 2 ON MOBILE
   ============================================ */

/* 5 Columns */
@media (max-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }
    .hero-visual {
        width: 300px;
        height: 250px;
    }
}

/* 4 Columns */
@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
    .hero-visual {
        width: 260px;
        height: 220px;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-desc {
        font-size: 16px;
    }
    .search-wrap {
        width: 320px;
    }
}

/* 3 Columns */
@media (max-width: 768px) {
    .header-inner {
        padding: 10px 16px;
        min-height: 62px;
    }
    .logo {
        font-size: 18px;
        gap: 8px;
    }
    .logo-icon {
        width: 38px;
        height: 38px;
    }
    .search-wrap {
        display: none;
    }
    .mobile-search-btn {
        display: flex;
    }
    .mobile-search-panel {
        top: 62px;
    }
    
    .hero-section {
        padding: 36px 16px 28px;
    }
    .hero-inner {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-badge {
        font-size: 12px;
        padding: 6px 14px 6px 10px;
        margin-bottom: 14px;
        justify-content: center;
    }
    .hero-badge-dot {
        width: 6px;
        height: 6px;
    }
    .hero-title {
        font-size: 30px;
        letter-spacing: -0.5px;
        margin-bottom: 12px;
    }
    .hero-desc {
        font-size: 15px;
        margin: 0 auto 20px;
        max-width: 100%;
    }
    .hero-actions {
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
    }
    .hero-btn {
        min-width: 140px;
        padding: 12px 18px 12px 16px;
        font-size: 14px;
        flex: 1;
        max-width: 200px;
    }
    .hero-btn > i {
        font-size: 16px;
        left: 16px;
    }
    .hero-btn > span:first-of-type {
        margin-left: 24px;
    }
    .hero-btn-sub {
        margin-left: 24px;
        font-size: 10px;
    }
    .hero-stats {
        justify-content: center;
        gap: 20px;
    }
    .hero-stat-num {
        font-size: 20px;
    }
    .hero-stat-label {
        font-size: 12px;
    }
    .hero-stat-divider {
        height: 28px;
    }
    .hero-visual {
        width: 220px;
        height: 180px;
        margin: 0 auto;
    }
    .hero-float-card {
        padding: 8px 14px;
        font-size: 11px;
        border-radius: var(--radius-sm);
    }
    .hero-float-card i {
        font-size: 14px;
    }
    .hero-float-card-1 {
        top: 8px;
        left: 0;
    }
    .hero-float-card-2 {
        top: 60px;
        right: 0;
    }
    .hero-float-card-3 {
        bottom: 8px;
        left: 20px;
    }
    .hero-orb-1 {
        width: 80px;
        height: 80px;
        filter: blur(60px);
    }
    .hero-orb-2 {
        width: 60px;
        height: 60px;
        filter: blur(50px);
    }
    .hero-orb-3 {
        width: 50px;
        height: 50px;
        filter: blur(40px);
    }
    
    /* 2 COLUMNS ON MOBILE */
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .filter-section {
        padding: 16px 16px 0;
        gap: 8px;
        justify-content: center;
    }
    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
        border-width: 1.5px;
    }
    .filter-btn i {
        font-size: 12px;
    }
    
    .main-content {
        padding: 16px 12px 28px;
    }
    
    .video-card {
        border-radius: var(--radius-sm);
    }
    .card-info {
        padding: 10px 10px 12px;
    }
    .card-title {
        font-size: 13px;
        min-height: 36px;
        margin-bottom: 6px;
    }
    .meta-item {
        font-size: 11px;
    }
    .meta-item i {
        font-size: 11px;
    }
    .copy-hint {
        font-size: 10px;
        padding: 4px 12px;
        bottom: 8px;
    }
    .video-card:hover .copy-hint {
        bottom: 10px;
    }
    
    .load-more-wrap {
        padding: 24px 0 8px;
    }
    .load-more-btn {
        padding: 12px 32px;
        font-size: 14px;
        min-width: 120px;
    }
    
    .footer {
        padding: 20px 16px;
    }
    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .footer-copyright {
        font-size: 12px;
    }
    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .toast {
        bottom: 20px;
        padding: 12px 20px;
        font-size: 14px;
        max-width: 90%;
    }
    .toast i {
        font-size: 16px;
    }
    
    .pwa-reminder-card {
        padding: 28px 20px 24px;
    }
    .pwa-reminder-icon {
        width: 64px;
        height: 64px;
    }
    .pwa-reminder-title {
        font-size: 18px;
    }
    .pwa-reminder-text {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .pwa-reminder-btn {
        font-size: 14px;
        padding: 12px 20px;
    }
}

/* Small Mobile */
@media (max-width: 420px) {
    .header-inner {
        padding: 8px 12px;
        min-height: 56px;
    }
    .logo {
        font-size: 15px;
        gap: 6px;
    }
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    .mobile-search-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .mobile-search-panel {
        top: 56px;
        padding: 10px 12px;
    }
    .mobile-search-panel input {
        font-size: 14px;
        height: 38px;
        padding: 8px 12px;
    }
    .mobile-search-panel .mobile-search-action,
    .mobile-search-panel .mobile-search-close {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .hero-section {
        padding: 24px 12px 20px;
    }
    .hero-title {
        font-size: 24px;
    }
    .hero-desc {
        font-size: 13px;
    }
    .hero-btn {
        font-size: 12px;
        padding: 10px 14px 10px 12px;
        min-width: 100px;
    }
    .hero-btn > i {
        font-size: 14px;
        left: 12px;
    }
    .hero-btn > span:first-of-type {
        margin-left: 20px;
    }
    .hero-btn-sub {
        margin-left: 20px;
        font-size: 9px;
    }
    .hero-stats {
        gap: 14px;
    }
    .hero-stat-num {
        font-size: 17px;
    }
    .hero-stat-label {
        font-size: 10px;
    }
    .hero-visual {
        width: 170px;
        height: 140px;
    }
    .hero-float-card {
        padding: 6px 10px;
        font-size: 9px;
        gap: 6px;
    }
    .hero-float-card i {
        font-size: 12px;
    }
    .hero-float-card-1 {
        top: 4px;
        left: 0;
    }
    .hero-float-card-2 {
        top: 44px;
        right: 0;
    }
    .hero-float-card-3 {
        bottom: 4px;
        left: 12px;
    }
    @keyframes float-card {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }
    
    .video-grid {
        gap: 8px;
    }
    .card-title {
        font-size: 12px;
        min-height: 32px;
        margin-bottom: 4px;
    }
    .meta-item {
        font-size: 10px;
    }
    .meta-item i {
        font-size: 10px;
    }
    .card-info {
        padding: 6px 8px 8px;
    }
    .filter-btn {
        padding: 6px 12px;
        font-size: 10px;
    }
    .filter-btn i {
        font-size: 10px;
    }
    .filter-section {
        gap: 6px;
        padding: 12px 12px 0;
    }
    .copy-hint {
        font-size: 9px;
        padding: 3px 10px;
        bottom: 6px;
    }
    .video-card:hover .copy-hint {
        bottom: 8px;
    }
    .load-more-btn {
        padding: 10px 24px;
        font-size: 12px;
        min-width: 100px;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0a0a0f;
        --bg-card: #111118;
        --border: #1e1e2a;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .header, .hero-section, .filter-section, .load-more-wrap,
    .footer, .toast, .pwa-reminder, .mobile-search-panel, .mobile-search-btn {
        display: none !important;
    }
    .main-content {
        padding: 0 !important;
    }
    .video-grid {
        display: block !important;
    }
    .video-card {
        break-inside: avoid;
        margin-bottom: 16px;
        border: 1px solid #ccc !important;
    }
}










        .video-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            padding: 0 12px;
            max-width: 1400px;
            margin: 0 auto;
        }
        @media (min-width: 640px) {
            .video-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 16px; }
        }
        @media (min-width: 1024px) {
            .video-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 20px; }
        }
        @media (min-width: 1280px) {
            .video-grid { grid-template-columns: repeat(5, 1fr); }
        }

        /* ============================================
           CIRCULAR PROGRESS LOADING
           ============================================ */
        .grid-loading-center {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px 20px;
            gap: 16px;
            width: 100%;
            min-height: 300px;
            grid-column: 1 / -1;
        }
        .grid-loading-center .circular-progress {
            width: 48px;
            height: 48px;
            position: relative;
        }
        .grid-loading-center .circular-progress svg {
            transform: rotate(-90deg);
            width: 100%;
            height: 100%;
        }
        .grid-loading-center .circular-progress circle {
            fill: none;
            stroke-width: 4;
            stroke-linecap: round;
        }
        .grid-loading-center .circular-progress .track {
            stroke: rgba(255, 255, 255, 0.08);
        }
        .grid-loading-center .circular-progress .fill {
            stroke: #ff6b6b;
            stroke-dasharray: 126;
            stroke-dashoffset: 126;
            animation: circularFill 1.5s ease-in-out infinite;
        }
        @keyframes circularFill {
            0% { stroke-dashoffset: 126; }
            50% { stroke-dashoffset: 0; }
            100% { stroke-dashoffset: -126; }
        }
        .grid-loading-center span {
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
            font-weight: 500;
        }

        /* ============================================
           AUTO-SCROLL LOADING INDICATOR
           ============================================ */
        .auto-load-indicator {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 32px 20px;
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
            width: 100%;
            text-align: center;
            grid-column: 1 / -1;
        }
        .auto-load-spinner {
            width: 24px;
            height: 24px;
            border: 3px solid rgba(255, 255, 255, 0.1);
            border-top-color: #ff6b6b;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            flex-shrink: 0;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        .auto-load-end {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 32px 20px;
            color: rgba(255, 255, 255, 0.3);
            font-size: 13px;
            width: 100%;
            text-align: center;
            grid-column: 1 / -1;
        }

        /* ============================================
           FILTER & SEARCH LOADING STATE
           ============================================ */
        .grid-loading-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 12, 18, 0.7);
            backdrop-filter: blur(2px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 100;
            border-radius: 16px;
        }
        .grid-loading-overlay.active {
            display: flex;
        }
        .grid-loading-spinner {
            width: 40px;
            height: 40px;
            border: 3px solid rgba(255, 255, 255, 0.1);
            border-top-color: #ff6b6b;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        /* ============================================
           HERO ACHIEVEMENTS
           ============================================ */
        .hero-achievements {
            display: flex;
            align-items: center;
            justify-content: start;
            gap: 0;
            margin: 20px 0 24px;
            flex-wrap: wrap;
        }
        .achievement-item {
            text-align: center;
            padding: 0 20px;
        }
        .achievement-number {
            font-size: 22px;
            font-weight: 800;
            background: linear-gradient(135deg, #ff6b6b, #feca57);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.2;
        }
        .achievement-label {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.5);
            margin-top: 2px;
            font-weight: 500;
        }
        .achievement-divider {
            width: 1px;
            height: 32px;
            background: rgba(255, 255, 255, 0.1);
        }
        @media (max-width: 480px) {
            .hero-achievements {
                gap: 8px 0;
            }
            .achievement-item {
                padding: 0 12px;
            }
            .achievement-number {
                font-size: 18px;
            }
            .achievement-label {
                font-size: 10px;
            }
            .achievement-divider {
                height: 24px;
            }
        }

        /* ============================================
           SMART LINK BREAK MODAL STYLES
           ============================================ */
        /* Modal Overlay */
        .smartlink-break-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 99999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 16px;
            animation: fadeIn 0.3s ease;
        }
        .smartlink-break-overlay.active {
            display: flex;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* Modal Card */
        .smartlink-break-card {
            background: linear-gradient(145deg, #1a1f2e 0%, #0f1419 100%);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 24px;
            width: 100%;
            max-width: 420px;
            padding: 32px 24px;
            text-align: center;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
            animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            overflow: hidden;
        }
        @keyframes slideUp {
            from { transform: translateY(40px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        /* Coffee Icon */
        .smartlink-break-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            position: relative;
        }
        .smartlink-break-icon-ring {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            border: 2px solid transparent;
            background: linear-gradient(#1a1f2e, #1a1f2e) padding-box,
                        linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3) border-box;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: ringPulse 2s ease-in-out infinite;
        }
        @keyframes ringPulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.3); }
            50% { box-shadow: 0 0 0 12px rgba(255, 107, 107, 0); }
        }
        .smartlink-break-icon i {
            font-size: 32px;
            background: linear-gradient(135deg, #ff6b6b, #feca57);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Title & Description */
        .smartlink-break-title {
            font-size: 24px;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 10px;
            letter-spacing: -0.5px;
        }
        .smartlink-break-desc {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.55);
            line-height: 1.6;
            margin-bottom: 24px;
            padding: 0 8px;
        }

        /* Banner */
        .smartlink-break-banner {
            background: linear-gradient(135deg, #1e3a5f 0%, #0d1b2a 50%, #1a0a2e 100%);
            border: 1px solid rgba(100, 150, 255, 0.15);
            border-radius: 16px;
            padding: 18px 16px;
            margin-bottom: 24px;
            position: relative;
            overflow: hidden;
        }
        .smartlink-break-banner::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 120px;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M80 20 Q90 30 85 45 Q95 50 90 65 Q85 80 70 75' stroke='rgba(255,255,255,0.08)' fill='none' stroke-width='1'/%3E%3Cpath d='M70 25 Q75 35 72 50 Q78 55 75 70' stroke='rgba(255,255,255,0.05)' fill='none' stroke-width='0.5'/%3E%3Ccircle cx='88' cy='35' r='2' fill='rgba(255,255,255,0.1)'/%3E%3Ccircle cx='92' cy='55' r='1.5' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E") no-repeat center;
            background-size: contain;
            opacity: 0.6;
            pointer-events: none;
        }
        .smartlink-break-banner-inner {
            display: flex;
            align-items: center;
            position: relative;
            z-index: 1;
        }
        .smartlink-break-banner-telegram {
            display: flex;
            align-items: center;
            gap: 14px;
            text-decoration: none;
            color: #fff;
            text-align: left;
            width: 100%;
        }
        .smartlink-break-banner-telegram i {
            font-size: 40px;
            color: #29b6f6;
            filter: drop-shadow(0 0 10px rgba(41, 182, 246, 0.3));
            flex-shrink: 0;
        }
        .smartlink-break-banner-telegram-text {
            flex: 1;
        }
        .smartlink-break-banner-telegram-text .banner-label {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: rgba(255, 255, 255, 0.5);
            margin-bottom: 4px;
            display: block;
        }
        .smartlink-break-banner-telegram-text h4 {
            font-size: 18px;
            font-weight: 700;
            margin: 0 0 2px;
            color: #fff;
            letter-spacing: -0.3px;
        }
        .smartlink-break-banner-telegram-text .banner-highlight {
            font-size: 15px;
            color: #4fc3f7;
            margin: 0;
            font-weight: 600;
        }
        .smartlink-break-banner-telegram-btn {
            background: linear-gradient(135deg, #42a5f5, #1e88e5);
            color: #fff;
            border: none;
            padding: 10px 20px;
            border-radius: 10px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.2s ease;
            box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
        }
        .smartlink-break-banner-telegram-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
        }

        /* Countdown */
        .smartlink-break-countdown {
            font-size: 15px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 12px;
            font-weight: 500;
        }
        .smartlink-break-countdown span {
            color: #ff6b6b;
            font-weight: 700;
            font-size: 22px;
        }

        /* Progress Bar */
        .smartlink-break-progress-wrap {
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 3px;
            overflow: hidden;
            margin-bottom: 24px;
        }
        .smartlink-break-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #ff6b6b, #feca57);
            border-radius: 3px;
            width: 100%;
            transition: width 1s linear;
        }

        /* Continue Button */
        .smartlink-break-continue {
            width: 100%;
            padding: 14px 24px;
            border: none;
            background: linear-gradient(135deg, #ff6b6b, #feca57);
            color: #fff;
            border-radius: 14px;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.3s ease;
            margin-bottom: 12px;
            animation: fadeIn 0.4s ease;
        }
        .smartlink-break-continue:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
        }
        .smartlink-break-continue:active {
            transform: translateY(0);
        }
        .smartlink-break-continue i {
            font-size: 14px;
        }

        /* Skip Button */
        .smartlink-break-skip {
            width: 100%;
            padding: 14px 24px;
            border: 1.5px solid rgba(255, 255, 255, 0.15);
            background: rgba(255, 255, 255, 0.05);
            color: #fff;
            border-radius: 14px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        .smartlink-break-skip:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.25);
            transform: translateY(-1px);
        }
        .smartlink-break-skip:active {
            transform: translateY(0);
        }
        .smartlink-break-skip i {
            font-size: 14px;
        }
        .smartlink-break-skip-hint {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.35);
            margin-top: 12px;
        }

        /* Prevent body scroll when modal is open */
        body.smartlink-locked {
            overflow: hidden !important;
        }

        /* Mobile adjustments */
        @media (max-width: 480px) {
            .smartlink-break-card {
                padding: 24px 16px;
                border-radius: 20px;
            }
            .smartlink-break-title {
                font-size: 20px;
            }
            .smartlink-break-banner-telegram {
                flex-direction: column;
                text-align: center;
                gap: 8px;
            }
            .smartlink-break-banner-telegram-btn {
                margin-left: 0;
                width: 100%;
            }
        }


/* ============================================
   MOBILE HERO BUTTON FIX
   Desktop UI remains completely unchanged
   ============================================ */
@media (max-width: 768px) {
    .hero-content {
        width: 100%;
    }
    .hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        width: 100%;
        margin: 0 auto 20px;
    }
    .hero-btn {
        width: 100%;
        min-width: 0;
        max-width: none;
        min-height: 76px;
        padding: 12px 14px;
        display: flex;
        flex: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-align: center;
        font-size: 13px;
        line-height: 1.2;
        border-radius: 12px;
    }
    .hero-btn > i {
        position: static;
        transform: none;
        left: auto;
        font-size: 16px;
        margin-bottom: 2px;
    }
    .hero-btn > span:first-of-type {
        margin-left: 0;
        display: block;
        width: 100%;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.2;
        white-space: normal;
    }
    .hero-btn-sub {
        margin-left: 0;
        display: block;
        width: 100%;
        font-size: 9px;
        line-height: 1.25;
        opacity: 0.78;
        white-space: normal;
    }

    /* Third button takes the complete next line */
    .hero-btn:nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 420px) {
    .hero-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .hero-btn {
        min-width: 0;
        min-height: 76px;
        padding: 12px 10px;
        border-radius: 10px;
    }
    .hero-btn > i {
        position: static;
        transform: none;
        left: auto;
        font-size: 16px;
        margin-bottom: 2px;
    }
    .hero-btn > span:first-of-type {
        margin-left: 0;
        font-size: 12px;
        line-height: 1.2;
        white-space: normal;
    }
    .hero-btn-sub {
        margin-left: 0;
        font-size: 9px;
        line-height: 1.2;
        white-space: normal;
    }

    .hero-btn:nth-child(3) {
        grid-column: 1 / -1;
    }
}


/* ============================================
   SEMANTIC BUTTON COLORS
   Only button colors updated - no layout or size changes
   ============================================ */

/* Search buttons - blue for search/action */
.search-wrap .search-btn,
.mobile-search-btn,
.mobile-search-panel .mobile-search-action {
    background: linear-gradient(135deg, #2563eb, #0891b2);
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.28);
}
.search-wrap .search-btn:hover,
.mobile-search-btn:hover,
.mobile-search-panel .mobile-search-action:hover {
    box-shadow: 0 7px 24px rgba(8, 145, 178, 0.38);
}

/* Hero button 1 - Telegram Channel */
.hero-actions .hero-btn:nth-child(1) {
    background: linear-gradient(135deg, #229ED9, #1677B8);
    color: #ffffff;
    box-shadow: 0 5px 22px rgba(34, 158, 217, 0.30);
}
.hero-actions .hero-btn:nth-child(1):hover {
    box-shadow: 0 9px 30px rgba(34, 158, 217, 0.45);
}

/* Hero button 2 - Telegram Bot */
.hero-actions .hero-btn:nth-child(2) {
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: #ffffff;
    box-shadow: 0 5px 22px rgba(99, 102, 241, 0.30);
}
.hero-actions .hero-btn:nth-child(2):hover {
    box-shadow: 0 9px 30px rgba(124, 58, 237, 0.45);
}

/* Hero button 3 - Install App */
.hero-actions .hero-btn:nth-child(3),
.hero-btn-pwa {
    background: linear-gradient(135deg, #059669, #16a34a);
    color: #ffffff;
    box-shadow: 0 5px 22px rgba(5, 150, 105, 0.30);
}
.hero-actions .hero-btn:nth-child(3):hover,
.hero-btn-pwa:hover {
    box-shadow: 0 9px 30px rgba(5, 150, 105, 0.45);
}

/* PWA reminder install button - green for installation */
.pwa-reminder-btn-primary {
    background: linear-gradient(135deg, #059669, #16a34a);
    box-shadow: 0 5px 22px rgba(5, 150, 105, 0.28);
}
.pwa-reminder-btn-primary:hover {
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.42);
}

/* Secondary/cancel button stays neutral */
.pwa-reminder-btn-secondary {
    background: #181825;
    border-color: #2a2a3a;
}
.pwa-reminder-btn-secondary:hover {
    background: #222231;
}

/* Active filters - blue for selected content */
.filter-btn.active {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.28);
}

/* Load more - violet/blue for browsing more content */
.load-more-btn:hover:not(:disabled)::before {
    background: linear-gradient(135deg, #4f46e5, #2563eb);
}
.load-more-btn:hover:not(:disabled) {
    box-shadow: 0 6px 24px rgba(79, 70, 229, 0.28);
}

/* Telegram banner action keeps Telegram identity */
.smartlink-break-banner-telegram-btn {
    background: linear-gradient(135deg, #229ED9, #1677B8);
    box-shadow: 0 4px 15px rgba(34, 158, 217, 0.30);
}
.smartlink-break-banner-telegram-btn:hover {
    box-shadow: 0 7px 22px rgba(34, 158, 217, 0.42);
}

/* Paste button - neutral utility action */
.search-wrap .paste-btn,
.mobile-search-panel .mobile-search-close {
    background: #181825;
    border-color: #2a2a3a;
}
.search-wrap .paste-btn:hover,
.mobile-search-panel .mobile-search-close:hover {
    background: #242436;
    border-color: #3b3b52;
}
