/* ===================================
   Index Page Specific Styles
   =================================== */

:root {
    --kawaii-pink: #ffb7de;
    --kawaii-lilac: #cabffd;
    --kawaii-blue: #bff3ff;
    --kawaii-peach: #ffd7d0;
    --kawaii-yellow: #fff5c3;
    --kawaii-deep-pink: #ff7fbc;
}

.home-page {
    font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #fff8ff;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(255, 183, 222, 0.35), transparent 50%),
        radial-gradient(circle at 85% 8%, rgba(191, 243, 255, 0.3), transparent 45%),
        radial-gradient(circle at 60% 95%, rgba(255, 215, 208, 0.45), transparent 50%);
}

.home-page .main {
    background: transparent;
}

.home-page .section-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 183, 222, 0.25);
    color: var(--primary-color);
    margin-bottom: 12px;
}

.home-page .banner {
    text-align: left;
    position: relative;
    padding: 80px 0;
    margin-top: 32px;
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 247, 253, 0.95), rgba(232, 243, 255, 0.95));
    box-shadow: 0 25px 60px rgba(255, 126, 188, 0.25);
}

.home-page .banner::before,
.home-page .banner::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 0;
}

.home-page .banner::before {
    background: rgba(255, 183, 222, 0.35);
    top: -80px;
    left: -80px;
}

.home-page .banner::after {
    background: rgba(191, 243, 255, 0.35);
    bottom: -100px;
    right: -140px;
}

.home-page .banner__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: center;
}

.home-page .banner__content {
    max-width: 540px;
}

.home-page .banner__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 183, 222, 0.25);
    border-radius: 999px;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.home-page .banner__title {
    font-size: 3rem;
    color: #1f1b2c;
}

.home-page .banner__title-highlight {
    display: inline-block;
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-page .banner__description {
    color: #4b445d;
    font-size: 1.1rem;
}

.home-page .banner__description--sub {
    color: #6c5f84;
}

.home-page .banner__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0;
}

.home-page .banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 200ms ease, box-shadow 200ms ease;
    border: none;
}

.home-page .banner__cta--primary {
    background: linear-gradient(120deg, var(--primary-color), var(--kawaii-deep-pink));
    color: #fff;
    box-shadow: 0 12px 24px rgba(255, 0, 80, 0.26);
}

.home-page .banner__cta--secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    border: 1px solid rgba(255, 0, 80, 0.2);
}

.home-page .banner__cta:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.home-page .banner__stickers {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    gap: 12px;
    font-size: 1.5rem;
}

.home-page .banner__stickers li {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-page .banner__image {
    position: relative;
    display: flex;
    justify-content: center;
}

.home-page .banner__image-card {
    background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.65));
    border-radius: 28px;
    padding: 24px 24px 32px;
    box-shadow: 0 20px 50px rgba(138, 132, 158, 0.18);
    position: relative;
    overflow: hidden;
}

.home-page .banner__caption {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.95rem;
    color: #6b5c85;
    background: rgba(255, 255, 255, 0.85);
    padding: 4px 16px;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.home-page .banner__img {
    max-width: 360px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.home-page .banner__floating-emoji {
    position: absolute;
    font-size: 1.8rem;
    animation: floatEmoji 6s ease-in-out infinite;
}

.home-page .banner__floating-emoji--one {
    top: 10%;
    right: 18%;
}

.home-page .banner__floating-emoji--two {
    bottom: 8%;
    right: 8%;
    animation-duration: 7s;
}

.home-page .banner__floating-emoji--three {
    bottom: 15%;
    left: 5%;
    animation-duration: 8s;
}

/* Banner Section */
.banner__img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.banner {
    padding: 40px 0;
    text-align: center;
}

.banner__content {
    margin-bottom: 30px;
}

.banner__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.banner__description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Static Emoji Grid Styles */
.emoji-grid--static {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.emoji-card--static {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 20px;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #fff;
    text-align: center;
}

.emoji-card--static:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #007bff;
}

/* Emoji Card with Copy Button */
.emoji-card--with-copy {
    position: relative;
    display: flex;
    flex-direction: column;
}

.emoji-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.emoji-card__copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    margin-top: var(--spacing-sm);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 32px;
}

.emoji-card__copy-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light) 0 4px 12px;
}

.emoji-card__copy-btn:active {
    transform: translateY(0);
}

.emoji-card__copy-btn svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.emoji-card__copy-btn.copying {
    background: var(--primary-color);
    color: var(--text-inverse);
    border-color: var(--primary-color);
    pointer-events: none;
}

.emoji-card__copy-btn.copying svg {
    display: none;
}

.emoji-card__image {
    margin-bottom: 15px;
}

.emoji-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.emoji-card__name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.emoji-card__shortcode {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    font-family: 'Courier New', monospace;
}

.home-page .popular-emojis {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), #fff5fb);
    border-radius: 32px;
    margin-top: 48px;
    padding: 80px 0;
    box-shadow: 0 20px 50px rgba(255, 126, 188, 0.12);
}

.home-page .section-header__title {
    color: #2c1b35;
}

.home-page .section-header__description {
    color: #5c4c6c;
}

.home-page .emoji-grid--static {
    gap: 24px;
}

.home-page .emoji-card--static {
    border: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 251, 0.95));
    box-shadow: 0 15px 30px rgba(41, 36, 54, 0.08);
    border-radius: 24px;
    padding: 24px;
}

.home-page .emoji-card--static:hover {
    border: none;
    box-shadow: 0 24px 36px rgba(41, 36, 54, 0.15);
}

.home-page .emoji-card__image {
    margin-bottom: 20px;
}

.home-page .emoji-card__name {
    color: #2c1b35;
}

.home-page .emoji-card__shortcode {
    font-family: 'Fredoka', sans-serif;
    color: #ff6fb5;
    background: rgba(255, 183, 222, 0.2);
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 999px;
}

.home-page .emoji-card__copy-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 183, 222, 0.4);
    border-radius: 18px;
    font-family: 'Fredoka', sans-serif;
}

.home-page .emoji-card__copy-btn:hover {
    background: linear-gradient(120deg, rgba(255, 183, 222, 0.5), rgba(191, 243, 255, 0.5));
    box-shadow: 0 10px 24px rgba(255, 183, 222, 0.35);
}

.home-page .emoji-card__copy-btn.copying {
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
}

/* About TikTok Emojis Section Styles */
.about-tiktok {
    padding: 60px 0;
    background: #f8f9fa;
    border-top: 1px solid #e1e5e9;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 30px 0;
    text-align: center;
    line-height: 1.2;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
}

.about-text p {
    margin: 0 0 20px 0;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 30px 0 15px 0;
}

.about-text ul {
    margin: 0 0 25px 0;
    padding-left: 25px;
}

.about-text li {
    margin: 8px 0;
    line-height: 1.6;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin: 20px 0 30px 0;
}

.feature-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    font-size: 1rem;
    line-height: 1.5;
}

.feature-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.how-to-steps {
    margin: 25px 0;
}

.step {
    background: white;
    padding: 25px;
    margin: 15px 0;
    border-radius: 10px;
    border: 1px solid #e1e5e9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 10px 0;
}

.step p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
}

.home-page .about-tiktok {
    background: linear-gradient(180deg, #fff9fb, #f9f4ff);
    border: none;
}

.home-page .feature-item,
.home-page .step {
    border: none;
    box-shadow: 0 15px 35px rgba(41, 36, 54, 0.08);
    background: #fff;
    border-radius: 20px;
}

.home-page .step h4 {
    color: #2c1b35;
}

@keyframes floatEmoji {
    0% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -12px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .home-page .banner {
        padding: 60px 0;
    }
    
    .home-page .banner__container {
        grid-template-columns: 1fr;
    }
    
    .home-page .banner__cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .home-page .banner__cta {
        width: 100%;
        justify-content: center;
    }
    
    .banner__title {
        font-size: 2rem;
    }
    
    .banner__description {
        font-size: 1rem;
    }
    
    .emoji-grid--static {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .emoji-card--static {
        padding: 15px;
    }
    
    .emoji-img {
        width: 40px;
        height: 40px;
    }
    
    .emoji-card__name {
        font-size: 14px;
    }
    
    .emoji-card__shortcode {
        font-size: 12px;
    }
    
    .about-tiktok {
        padding: 40px 0;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .feature-item,
    .step {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .home-page .banner__title {
        font-size: 2.2rem;
    }
    
    .home-page .banner__stickers {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .banner__title {
        font-size: 1.75rem;
    }
    
    .banner__description {
        font-size: 1rem;
    }
    
    .emoji-grid--static {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .about-title {
        font-size: 1.75rem;
    }
    
    .about-text h3 {
        font-size: 1.2rem;
    }
}
