/* emojicopiar Styles */

/* Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #0ea5e9;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --bg-color: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

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

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Header Styles
   ============================================ */
.header {
    background: var(--card-bg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
}

/* Search */
.search-container {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-color);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Header Actions Container */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
}

.language-btn:hover {
    border-color: var(--primary-color);
    background: white;
}

.lang-icon {
    font-size: 1.1rem;
}

.lang-text {
    font-weight: 600;
}

.lang-arrow {
    font-size: 0.6rem;
    transition: var(--transition);
}

.language-selector.active .lang-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    overflow: hidden;
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.lang-option:hover {
    background: rgba(37, 99, 235, 0.1);
    border-left-color: var(--primary-color);
}

.lang-option.active {
    background: rgba(37, 99, 235, 0.15);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--card-bg);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    padding: 20px;
}

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

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

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav-link {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-color);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

/* ============================================
   Toast Notification
   ============================================ */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-xl);
    z-index: 2000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-weight: 500;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: var(--bg-gradient);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.hero-search {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-search-input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
}

.hero-search-btn {
    padding: 18px 25px;
    background: var(--primary-color);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.hero-search-btn:hover {
    background: var(--primary-dark);
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 60px 20px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
}

/* ============================================
   Emoji Grid
   ============================================ */
.emoji-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 10px;
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.emoji-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--bg-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.emoji-item:hover {
    transform: scale(1.15);
    background: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.emoji-item:active {
    transform: scale(0.95);
}

.emoji-item.copied {
    animation: copyPulse 0.5s ease;
}

@keyframes copyPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); background: var(--success-color); }
    100% { transform: scale(1); }
}

.emoji-item .copy-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--success-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.emoji-item.copied .copy-indicator {
    opacity: 1;
    transform: scale(1);
}

/* Empty & No Results Messages */
.empty-message,
.no-results {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 20px;
    font-size: 1rem;
    grid-column: 1 / -1;
}

/* Clear Button */
.clear-btn {
    display: block;
    margin: 20px auto 0;
    padding: 12px 25px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.clear-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Category Tabs
   ============================================ */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.category-tab {
    padding: 12px 20px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.category-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.category-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

/* Category Content */
.category-content {
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
    gap: 8px;
}

/* ============================================
   Search Results Section
   ============================================ */
.search-results {
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 50px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-main {
    margin-bottom: 30px;
}

.footer .logo-icon {
    font-size: 2.5rem;
}

.footer .logo-text {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #60a5fa, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-note {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .emoji-grid {
        grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .header-container {
        padding: 12px 15px;
    }
    
    .language-btn {
        padding: 8px 12px;
    }
    
    .lang-text {
        display: none;
    }
    
    .lang-arrow {
        display: none;
    }
    
    .language-dropdown {
        right: -50px;
    }
    
    .hero {
        padding: 50px 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-search {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }
    
    .hero-search-input {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }
    
    .hero-search-btn {
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }
    
    .section {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .emoji-grid {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
        padding: 15px;
        gap: 8px;
    }
    
    .emoji-item {
        font-size: 1.6rem;
    }
    
    .category-tabs {
        gap: 8px;
    }
    
    .category-tab {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .emoji-grid {
        grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
    }
    
    .emoji-item {
        font-size: 1.4rem;
    }
    
    .category-tab {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.6s ease;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Sidebar Ads Layout */
.container-with-ads {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-with-ads .main-content {
    flex: 1;
    min-width: 0;
}

.sidebar-ad {
    width: 160px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.ad-sidebar {
    width: 160px;
    min-height: 600px;
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--gray-300);
}

@media (max-width: 1200px) {
    .sidebar-ad-left {
        display: none;
    }
    
    .container-with-ads {
        max-width: 1000px;
    }
}

@media (max-width: 900px) {
    .sidebar-ad {
        display: none;
    }
    
    .container-with-ads {
        display: block;
        padding: 0 15px;
    }
}

/* ============================================
   Hero Stats
   ============================================ */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

/* ============================================
   Section Description
   ============================================ */
.section-description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 25px;
    margin-top: -15px;
    font-size: 1rem;
}

/* ============================================
   Ad Container Styles
   ============================================ */
.ad-container {
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    background: var(--bg-color);
}

.ad-placeholder {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    width: 100%;
    max-width: 728px;
}

.ad-leaderboard .ad-placeholder {
    min-height: 90px;
}

.ad-rectangle .ad-placeholder {
    min-height: 250px;
    max-width: 300px;
}

.ad-label {
    color: var(--text-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    background: var(--bg-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Other Sections
   ============================================ */

/* ============================================
   Emoji Collection Bar
   ============================================ */
.emoji-collection-bar {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    border-top: 4px solid #60a5fa;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 18px 20px;
}

.emoji-collection-bar.visible {
    bottom: 0;
}

.collection-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.collection-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
}

.collection-icon {
    font-size: 1.5rem;
}

.collection-title {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

.collection-count {
    background: #60a5fa;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    min-width: 25px;
    text-align: center;
}

.collection-emojis {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 55px;
    background: white;
    padding: 10px 18px;
    border-radius: 15px;
    overflow-x: auto;
    scrollbar-width: thin;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.collection-emojis::-webkit-scrollbar {
    height: 6px;
}

.collection-emojis::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.collection-placeholder {
    color: var(--gray-400);
    font-size: 0.9rem;
    font-style: italic;
}

.collection-emoji {
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.2s;
    animation: popIn 0.3s ease;
}

.collection-emoji:hover {
    transform: scale(1.2);
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

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

.collection-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.collection-btn-copy {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.collection-btn-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.collection-btn-clear {
    background: var(--gray-200);
    color: var(--gray-600);
}

.collection-btn-clear:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Mobile adjustments for collection bar */
@media (max-width: 768px) {
    .emoji-collection-bar {
        padding: 12px 15px;
    }
    
    .collection-container {
        gap: 12px;
    }
    
    .collection-header {
        border-right: none;
        padding-right: 0;
        width: 100%;
        justify-content: center;
    }
    
    .collection-emojis {
        width: 100%;
        min-height: 50px;
    }
    
    .collection-actions {
        width: 100%;
        justify-content: center;
    }
    
    .collection-btn {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        flex: 1 1 80px;
    }
}

/* Interstitial Ad Modal */
.ad-interstitial {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ad-interstitial.show {
    display: flex;
    opacity: 1;
}

.ad-interstitial-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.ad-interstitial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.ad-timer {
    background: var(--primary-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.ad-close-btn {
    background: var(--gray-300);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: not-allowed;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.ad-close-btn:not(:disabled) {
    cursor: pointer;
    opacity: 1;
    background: var(--primary-color);
    color: white;
}

.ad-close-btn:not(:disabled):hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.ad-interstitial-body {
    padding: 20px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-interstitial-slot {
    width: 100%;
    min-height: 250px;
    background: var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
