/* Sakura Theme - Japanese Style Website */
:root {
    --primary-color: #FFB7C5;
    --secondary-color: #FFF0F5;
    --accent-color: #FF69B4;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --light-pink: #FFE4E1;
    --sakura-pink: #FFC0CB;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--white) 0%, var(--secondary-color) 100%);
    overflow-x: hidden;
}

/* Sakura Falling Animation */
.sakura-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Hide sakura animation on mobile devices for better performance */
@media (max-width: 768px) {
    .sakura-container {
        display: none;
    }
}

.sakura-petal {
    position: absolute;
    width: 25px;
    height: 25px;
    background: var(--primary-color);
    border-radius: 150% 0 150% 0;
    animation: sakura-fall 10s linear infinite;
    opacity: 0.9;
    box-shadow: 0 0 10px rgba(255, 183, 197, 0.3);
}

.sakura-petal::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: var(--primary-color);
    border-radius: 150% 0 150% 0;
    transform: rotate(90deg);
    opacity: 0.7;
}

@keyframes sakura-fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) rotate(360deg);
        opacity: 0;
    }
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(255, 183, 197, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Noto Serif', serif;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.nav-logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(255, 183, 197, 0.3);
    transition: var(--transition);
}

.nav-logo:hover .logo-icon {
    box-shadow: 0 6px 20px rgba(255, 183, 197, 0.4);
    transform: rotate(5deg);
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(255, 105, 180, 0.2));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-pink);
    position: relative;
    z-index: 10;
    margin-top: 80px;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb li {
    color: var(--text-light);
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin: 0 0.5rem;
    color: var(--primary-color);
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Hero Section */
.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 240, 245, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-family: 'Noto Serif', serif;
    text-shadow: 2px 2px 4px rgba(255, 183, 197, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--accent-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Common Section Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-family: 'Noto Serif', serif;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.2rem;
    font-weight: 300;
}

/* Generator Section */
.generator {
    background: var(--white);
}

.generator-container {
    max-width: 900px;
    margin: 0 auto;
}

.generator-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--secondary-color);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 183, 197, 0.1);
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.control-input {
    padding: 0.8rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    font-family: 'Noto Sans', sans-serif;
}

.control-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.generate-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.generated-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.generated-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 183, 197, 0.1);
    transition: var(--transition);
    border: 1px solid var(--light-pink);
    position: relative;
    overflow: hidden;
}

.generated-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.generated-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 183, 197, 0.2);
}

.generated-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    font-family: 'Noto Serif', serif;
}

.generated-card .reading {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.generated-card .meaning {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.generated-card .gender-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.gender-tag.surname {
    background: #e7e9db;
    color: #d1db3c;
}

.gender-tag.male {
    background: #E3F2FD;
    color: #1976D2;
}

.gender-tag.female {
    background: #FCE4EC;
    color: #C2185B;
}

/* Name Card Styles */
.name-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 183, 197, 0.1);
    transition: var(--transition);
    border: 1px solid var(--light-pink);
    position: relative;
    overflow: hidden;
}

.name-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.name-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 183, 197, 0.2);
}

.name-kanji {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-family: 'Noto Serif', serif;
}

.name-reading {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.name-romaji {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.name-meaning {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.name-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.name-tags .tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--secondary-color);
    color: var(--accent-color);
    border: 1px solid var(--primary-color);
}

/* Name Category Styles */
.name-category {
    margin-bottom: 2rem;
}

.name-category h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
}

/* Converter Results Styles */
.conversion-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--light-pink);
    box-shadow: 0 3px 15px rgba(255, 183, 197, 0.1);
    transition: var(--transition);
}

.conversion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 183, 197, 0.15);
}

.conversion-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.conversion-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color);
    font-family: 'Noto Serif', serif;
    line-height: 1.3;
}

.gender-tag.unisex {
    background: #F3E5F5;
    color: #7B1FA2;
}

.gender-tag.full-name {
    background: #E8F5E8;
    color: #2E7D32;
}

/* Converter Section */
.converter {
    background: var(--secondary-color);
    padding-top: 4rem;
}

.converter-container {
    max-width: 800px;
    margin: 0 auto;
}

.converter-input {
    margin-bottom: 2rem;
}

.converter-input label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

#converterInput {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

#converterInput:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.converter-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.converter-results {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 183, 197, 0.1);
    min-height: 200px;
}

.conversion-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--secondary-color);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.conversion-item:last-child {
    margin-bottom: 0;
}

.conversion-label {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.conversion-value {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-family: 'Noto Serif', serif;
}

/* English to Japanese Name Converter Section */
.english-converter {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    padding-top: 4rem;
}

.english-converter-container {
    max-width: 900px;
    margin: 0 auto;
}

.converter-input-group {
    margin-bottom: 2rem;
}

.converter-input-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

#englishNameInput {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    margin-bottom: 0.5rem;
}

#englishNameInput:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.input-hint {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.converter-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 183, 197, 0.1);
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.english-converter-results {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 183, 197, 0.1);
    min-height: 300px;
}

.english-conversion-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.english-conversion-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 183, 197, 0.2);
}

.english-conversion-card:last-child {
    margin-bottom: 0;
}

.conversion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.english-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.japanese-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Noto Serif', serif;
}

.japanese-reading {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.conversion-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.detail-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.detail-label {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.detail-value {
    color: var(--text-dark);
    font-size: 1rem;
}

.conversion-explanation {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    border-top: 3px solid var(--primary-color);
}

.conversion-explanation h4 {
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.conversion-explanation p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.meaning-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.kanji-component {
    background: var(--secondary-color);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.no-results i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.no-results h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Meanings Section */
.meanings {
    background: var(--white);
}

.meanings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.meaning-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 183, 197, 0.1);
    transition: var(--transition);
    border: 1px solid var(--light-pink);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.meaning-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 183, 197, 0.2);
}

.meaning-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    font-family: 'Noto Serif', serif;
}

.meaning-card .reading {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.meaning-breakdown {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.kanji-meaning {
    background: var(--secondary-color);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    color: var(--accent-color);
    font-weight: 600;
}

.full-meaning {
    color: var(--text-dark);
    line-height: 1.6;
    font-style: italic;
}

/* Culture Section */
.culture {
    background: var(--secondary-color);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.culture-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(255, 183, 197, 0.1);
}

.culture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 183, 197, 0.2);
}

.culture-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.culture-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: 'Noto Serif', serif;
}

.culture-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(255, 183, 197, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 183, 197, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255, 105, 180, 0.9), transparent);
    color: var(--white);
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-family: 'Noto Serif', serif;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-family: 'Noto Serif', serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--white);
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Social Media Sharing */
.social-share {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-share h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #1877F2, #0c5cd6);
}

.share-btn.reddit {
    background: linear-gradient(135deg, #FF4500, #e03d00);
}

.share-btn.google {
    background: linear-gradient(135deg, #4285F4, #2c5aa0);
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #0077B5, #005885);
}

.share-btn.pinterest {
    background: linear-gradient(135deg, #E60023, #c41e3a);
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #1da854);
}

.share-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #006699);
}

.share-btn:hover {
    color: var(--white);
}

/* Product Hunt Badge */
.product-hunt-badge {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    padding: 1rem 0;
    margin-right: 4rem;
}

.product-hunt-badge a {
    display: inline-block;
    text-decoration: none;
    border: none;
    outline: none;
}

.product-hunt-badge img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Disable animations and transitions for better performance */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Hide sakura animation */
    .sakura-container {
        display: none;
    }
    
    /* Disable hover effects on mobile */
    .generated-card:hover,
    .name-card:hover,
    .meaning-card:hover,
    .origin-card:hover,
    .culture-card:hover,
    .gallery-item:hover,
    .conversion-item:hover,
    .english-conversion-card:hover,
    .seo-content-item:hover,
    .nav-link:hover,
    .btn:hover,
    .share-btn:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    /* Disable parallax and complex effects */
    .hero-content {
        animation: none !important;
    }
    
    .fade-in {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Simplify backdrop filters for performance */
    .header {
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.98);
    }
    
    /* Disable smooth scrolling */
    html {
        scroll-behavior: auto;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-logo {
        gap: 0.6rem;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .logo-icon svg {
        width: 20px;
        height: 20px;
    }

    .logo-main {
        font-size: 1.2rem;
    }

    .logo-sub {
        font-size: 0.8rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .search-box {
        flex-direction: column;
    }

    .nav-logo {
        gap: 0.5rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .logo-icon svg {
        width: 18px;
        height: 18px;
    }

    .logo-main {
        font-size: 1.1rem;
    }

    .logo-sub {
        font-size: 0.75rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .culture-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        justify-content: center;
    }

    .search-filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 150px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

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

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar (disabled on mobile for performance) */
@media (min-width: 769px) {
    ::-webkit-scrollbar {
        width: 10px;
    }

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

    ::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 5px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--accent-color);
    }
}

@media (max-width: 768px) {
    ::-webkit-scrollbar {
        display: none;
    }
    
    /* Hide scrollbar on mobile for cleaner look */
    body {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/* Origins and History Section */
.origins {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    position: relative;
    z-index: 2;
}

.origins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.origin-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 183, 197, 0.1);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.origin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.origin-card:hover::before {
    transform: scaleX(1);
}

.origin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 183, 197, 0.2);
    border-color: var(--primary-color);
}

.origin-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.origin-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.origin-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Timeline Styles */
.origins-timeline {
    margin-top: 4rem;
}

.origins-timeline h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 200px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(255, 183, 197, 0.1);
}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 183, 197, 0.1);
    margin: 0 2rem;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -40px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -40px;
}

.timeline-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Refresh Button Container */
.refresh-button-container {
    text-align: center;
    margin-top: 3rem;
}

#refreshMeanings {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    transition: var(--transition);
}

#refreshMeanings:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.3);
}

#refreshMeanings i {
    transition: transform 0.3s ease;
}

#refreshMeanings:hover i {
    transform: rotate(180deg);
}

/* SEO Content Section */
.seo-content {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--secondary-color) 100%);
    position: relative;
    z-index: 2;
}

.seo-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.seo-content-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 183, 197, 0.1);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.seo-content-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 183, 197, 0.2);
}

.seo-content-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.seo-content-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding-left: 60px;
    }
    
    .timeline-date {
        flex: none;
        margin-bottom: 1rem;
        width: auto;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    .timeline-content::before {
        left: -40px !important;
        right: auto !important;
    }
    
    .origins-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .refresh-button-container {
        margin-top: 2rem;
    }
    
    #refreshMeanings {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .breadcrumb {
        padding: 0.5rem 0;
        font-size: 0.8rem;
    }
    
    .seo-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Blog Styles */
.blog-section {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(255, 183, 197, 0.1);
    transition: var(--transition);
    border: 1px solid var(--light-pink);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 183, 197, 0.2);
}

.blog-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-family: 'Noto Serif', serif;
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-color);
    gap: 0.8rem;
}

/* Blog Categories */
.blog-categories {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(255, 183, 197, 0.1);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 183, 197, 0.2);
    border-color: var(--primary-color);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.category-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Article Styles */
.article-header {
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--secondary-color) 100%);
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Noto Serif', serif;
}

.article-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.5;
}

.featured-image {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 183, 197, 0.2);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.featured-image:hover img {
    transform: scale(1.02);
}

.article-content {
    padding: 4rem 0;
    background: var(--white);
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-body h2 {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin: 3rem 0 1.5rem;
    font-family: 'Noto Serif', serif;
    font-weight: 600;
}

.article-body h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul, .article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body strong {
    color: var(--accent-color);
    font-weight: 600;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-pink);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.article-tags .tag {
    background: var(--secondary-color);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--primary-color);
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-prev, .nav-next {
    flex: 1;
    min-width: 200px;
}

.article-nav-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: var(--secondary-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--light-pink);
}

.article-nav-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.nav-prev .article-nav-link {
    justify-content: flex-start;
}

.nav-next .article-nav-link {
    justify-content: flex-end;
}

/* Related Articles */
.related-articles {
    padding: 4rem 0;
    background: var(--secondary-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.related-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(255, 183, 197, 0.1);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 183, 197, 0.2);
}

.related-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 1.5rem;
}

.related-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.related-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.related-content h3 a:hover {
    color: var(--accent-color);
}

.related-content p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Mobile Responsive for Blog */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-body h2 {
        font-size: 1.8rem;
    }
    
    .article-body h3 {
        font-size: 1.4rem;
    }
    
    .article-navigation {
        flex-direction: column;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-meta {
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    .article-meta {
        gap: 1rem;
        font-size: 0.8rem;
    }
}

/* Enhanced SEO Content Styles for Blog Page */
.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.seo-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 183, 197, 0.1);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.seo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 183, 197, 0.05) 0%, rgba(255, 105, 180, 0.05) 100%);
    z-index: -1;
}

.seo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 183, 197, 0.2);
}

.seo-item h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.seo-item h3 i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.seo-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.seo-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    text-align: center;
}

.stat-item {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.3);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
}

.seo-cta {
    background: linear-gradient(135deg, rgba(255, 240, 245, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 4rem;
    border: 2px solid var(--light-pink);
    position: relative;
}

.seo-cta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--primary-color));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.seo-cta h2 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Noto Serif', serif;
}

.seo-cta p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Mobile Responsive Styles for SEO Content */
@media (max-width: 768px) {
    .seo-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .seo-item {
        padding: 2rem;
    }
    
    .seo-item h3 {
        font-size: 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .seo-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin: 3rem 0;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .stat-item p {
        font-size: 1rem;
    }
    
    .seo-cta {
        padding: 2rem;
        margin-top: 3rem;
    }
    
    .seo-cta h2 {
        font-size: 2rem;
    }
    
    .seo-cta p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .seo-stats {
        grid-template-columns: 1fr;
    }
}

/* Section Featured Image Styles */
.section-featured-image {
    width: 100%;
    margin: 0 auto 2rem;
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(255, 183, 197, 0.2);
    position: relative;
}

.section-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.section-featured-image:hover img {
    transform: scale(1.02);
}

.section-featured-image figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    color: var(--white);
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
}

/* Origin Card Image Styles */
.origin-card-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.origin-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.origin-card:hover .origin-card-image img {
    transform: scale(1.05);
}

/* Hero with Image Overlay */
.hero-with-image {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-with-image .hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
}

.hero-with-image .hero-title {
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-with-image .hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Inline Content Image */
.content-image-inline {
    float: right;
    margin: 0 0 1.5rem 2rem;
    max-width: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(255, 183, 197, 0.2);
}

.content-image-inline img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Image Styles */
@media (max-width: 768px) {
    .section-featured-image {
        border-radius: 12px;
        margin-bottom: 1.5rem;
    }
    
    .section-featured-image img {
        aspect-ratio: 4 / 3;
    }
    
    .section-featured-image figcaption {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    .content-image-inline {
        float: none;
        margin: 1.5rem auto;
        max-width: 100%;
    }
    
    .origin-card-image img {
        height: 150px;
    }
    
    .hero-with-image {
        min-height: 50vh;
    }
}

@media (max-width: 480px) {
    .section-featured-image {
        border-radius: 8px;
    }
    
    .origin-card-image img {
        height: 120px;
    }
}