/* ==========================================================================
   Base Design System - Premium Turf & Gold Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #0F5132;       /* Deep Turf Green */
    --primary-light: #198754; /* Active Turf Green */
    --primary-dark: #082F1D;  /* Rich Shadow Green */
    --accent: #D4AF37;        /* Metallic Gold */
    --accent-light: #F3E5AB;  /* Soft Gold Accent */
    --accent-dark: #AA7C11;   /* Antique Gold */
    --text-dark: #1E293B;     /* Slate Dark Text */
    --text-light: #F8FAFC;    /* Clean White / Light Gray */
    --bg-light: #F8FAFC;      /* Clean Background */
    --bg-dark: #0F172A;       /* Midnight Blue Dark Mode */
    --card-bg: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.15), 0 10px 10px -5px rgba(0,0,0,0.04);
}

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

body {
    font-family: 'Outfit', 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography & Headers
   ========================================================================== */

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

header {
    background: rgba(15, 81, 50, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--bg-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.5);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--text-light);
    padding: 8rem 2rem 5rem 2rem;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(25, 135, 84, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(214, 175, 55, 0.15);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 60%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 2.5rem;
    font-weight: 600;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--bg-dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Book Cover Mockup */
.book-mockup-wrapper {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    perspective: 1000px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.book-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.5;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 4px 12px 12px 4px;
    border: 3px solid var(--accent);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    text-align: left;
    position: relative;
    transform: rotateY(-10deg);
    transition: var(--transition);
}

.book-mockup-wrapper:hover .book-cover {
    transform: rotateY(-5deg) translateY(-5px);
}

.book-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    width: 10px;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.book-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 700;
}

.book-title {
    font-size: 1.6rem;
    color: #FFF;
    margin-top: 1rem;
    line-height: 1.2;
}

.book-subtitle {
    font-size: 0.85rem;
    color: var(--accent-light);
    margin-top: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.book-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    margin-top: auto;
}

.book-author {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

.book-badge {
    background: var(--accent);
    color: var(--bg-dark);
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 800;
}

/* ==========================================================================
   Section Layouts & General Styling
   ========================================================================== */

section {
    padding: 5rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* ==========================================================================
   Features Section (Introduction Highlights)
   ========================================================================== */

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

.feature-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212,175,55,0.2);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #64748B;
    font-size: 0.95rem;
}

/* Placeholder for Image Slots */
.image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #64748B;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    border: 2px dashed #94A3B8;
    position: relative;
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hide borders and backgrounds when image is loaded */
.image-placeholder:has(img) {
    border: none !important;
    background: transparent !important;
}

.image-placeholder svg {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
    fill: #94A3B8;
}

/* ==========================================================================
   Step-by-Step Guide Preview
   ========================================================================== */

.bg-light-gray {
    background-color: #F1F5F9;
}

.step-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.step-row:nth-child(even) {
    direction: rtl;
}

.step-row:nth-child(even) .step-content {
    direction: ltr;
}

.step-row:last-child {
    margin-bottom: 0;
}

.step-num {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.step-title {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.step-content p {
    color: #475569;
    margin-bottom: 1.5rem;
}

.step-highlight {
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* ==========================================================================
   Racing Newspaper Interactive Component (Pro Betting)
   ========================================================================== */

.newspaper-tool-container {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

.newspaper-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.news-card-mockup {
    background: #FFFDF9; /* Aged newspaper color */
    border: 2px solid #E2D7C5;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    font-family: monospace;
}

.news-header {
    text-align: center;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: #333;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #333;
}

.news-col {
    border-right: 1px solid #333;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-col:last-child {
    border-right: none;
}

.col-number {
    font-size: 1.25rem;
    font-weight: bold;
    border-bottom: 1px solid #333;
    width: 100%;
    text-align: center;
    background: #E2E8F0;
}

.horse-name {
    font-size: 0.8rem;
    font-weight: bold;
    margin: 0.5rem 0;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.1em;
    height: 100px;
}

.predictions {
    border-top: 1px solid #333;
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.star-marked {
    color: #B45309;
    font-weight: bold;
    background: #FEF3C7;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.past-perf {
    border-top: 1px solid #333;
    width: 100%;
    font-size: 0.75rem;
    padding-top: 0.5rem;
    text-align: center;
}

.position-track {
    color: #4B5563;
    font-weight: bold;
}

.speed-circle {
    display: inline-block;
    background: #111827;
    color: #FFF;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    text-align: center;
    line-height: 16px;
    font-size: 0.65rem;
    margin-left: 2px;
}

.news-explain {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.explain-point {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.explain-point:hover, .explain-point.active {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: var(--shadow-sm);
}

.explain-point h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.explain-point h4 span {
    background: var(--accent);
    color: var(--bg-dark);
    font-size: 0.75rem;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

/* ==========================================================================
   Cheering Phrases Section
   ========================================================================== */

.cheer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.cheer-box {
    background: var(--card-bg);
    border: 2px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cheer-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.cheer-badge {
    background: var(--primary);
    color: var(--text-light);
    padding: 0.4rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.cheer-phrase-ja {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.cheer-phrase-romaji {
    font-size: 1.25rem;
    color: var(--accent-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cheer-meaning {
    font-size: 1.1rem;
    color: #475569;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cheer-desc {
    font-size: 0.95rem;
    color: #64748B;
}

/* ==========================================================================
   Special Bonus / Support Section
   ========================================================================== */

.bonus-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--text-light);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.bonus-box::before {
    content: '★';
    position: absolute;
    font-size: 20rem;
    color: rgba(212, 175, 55, 0.05);
    bottom: -80px;
    right: -40px;
    pointer-events: none;
}

.bonus-badge {
    background: var(--accent);
    color: var(--bg-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}
.bonus-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.bonus-desc {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: rgba(255, 255, 255, 0.85);
}

.bonus-ticket {
    background: #FFF;
    border: 3px dashed var(--accent);
    border-radius: 12px;
    display: inline-block;
    padding: 1.5rem 3rem;
    color: var(--text-dark);
    text-align: left;
    box-shadow: var(--shadow-md);
}

.ticket-header {
    font-weight: bold;
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 0.5rem;
}

.ticket-body p {
    font-size: 0.9rem;
    color: #64748B;
    margin-bottom: 0.5rem;
}

.ticket-body .email {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--primary);
    background: #F1F5F9;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    display: inline-block;
    font-family: monospace;
}

/* ==========================================================================
   Pricing / CTA Section
   ========================================================================== */

.cta-section {
    text-align: center;
    background: #F1F5F9;
}

.pricing-card {
    background: #FFF;
    border-radius: 20px;
    max-width: 500px;
    margin: 0 auto;
    padding: 4rem 3rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--accent);
    position: relative;
}

.popular-ribbon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg-dark);
    padding: 0.4rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.price-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.price-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.price-value span {
    font-size: 1rem;
    color: #64748B;
    font-weight: 400;
}

.price-features {
    list-style: none;
    text-align: left;
    margin: 2rem 0 3rem 0;
}

.price-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #F1F5F9;
    color: #475569;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-features li::before {
    content: '✔';
    color: var(--primary-light);
    font-weight: bold;
}

.pricing-card .btn-primary {
    display: block;
    width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 3rem 2rem;
    text-align: center;
    font-size: 0.9rem;
    border-top: 4px solid var(--accent);
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

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

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 968px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-subtitle {
        font-size: 1.15rem;
    }
    .step-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .step-row:nth-child(even) {
        direction: ltr;
    }
    .newspaper-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .cheer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .nav-links {
        display: none; /* simple hidden for mobile, can add burger menu */
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    .bonus-ticket {
        padding: 1rem;
    }
    .ticket-body .email {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Paywall Gradient Mask for Newspaper Section
   ========================================================================== */

.newspaper-paywall-container {
    position: relative;
    max-height: 580px; /* Cut off section roughly at the middle */
    overflow: hidden;
    transition: var(--transition);
}

.paywall-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 320px;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 0.85) 40%, rgba(248, 250, 252, 1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 2rem;
    z-index: 10;
    pointer-events: auto;
}

.paywall-btn-box {
    background: #FFFFFF;
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 2rem 3rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    margin: 0 1.5rem;
    transform: translateY(-10px);
}

.paywall-btn-box h5 {
    color: var(--primary-dark);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.paywall-btn-box p {
    font-size: 0.9rem;
    color: #64748B;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* ==========================================================================
   Email Interactive Blur Effect
   ========================================================================== */

.email-reveal-container {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.email-reveal {
    filter: blur(6px); /* ぼかしを少し強めに設定して確実に読めないようにします */
    user-select: none;
    pointer-events: none;
}

@media (max-width: 968px) {
    .cheer-layout-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 576px) {
    .kiyoto-message-box {
        flex-direction: column;
        text-align: center !important;
    }
    .kiyoto-message-box div {
        text-align: center !important;
    }
}

/* ==========================================================================
   Digital Edition Section
   ========================================================================== */

.digital-edition-section {
    background-color: var(--card-bg);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.digital-full-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.digital-description {
    color: #475569;
    font-size: 1.05rem;
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.digital-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
    margin-bottom: 3rem;
}

.digital-feature-card {
    background: #F8FAFC;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.digital-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(25, 135, 84, 0.2);
}

.digital-feature-card .df-icon {
    font-size: 1.75rem;
    background: rgba(25, 135, 84, 0.1);
    color: var(--primary);
    padding: 0.5rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
}

.digital-feature-card strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.digital-feature-card p {
    color: #64748B;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.digital-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    .digital-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   Etsy & Buy Section Premium Layout
   ========================================================================== */

.buy-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.etsy-preview-area {
    text-align: center;
    background: #FFF;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

.etsy-book-cover {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border: 2px solid var(--accent);
    margin: 0 auto 1.5rem auto;
    transition: var(--transition);
}

.etsy-book-cover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.etsy-promo-title {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.etsy-promo-desc {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 968px) {
    .buy-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
