
 /* ========================================
   0. CSS VARIABLES - テーマカラー
   ======================================== */

.home {
    --theme-purple: #6d3e90;
    --theme-blue: #2549d2;
    --theme-purple-light: #8a5ca8;
    --theme-purple-dark: #563172;
    --theme-blue-light: #4668e5;
    --theme-blue-dark: #1a35a0;
    --theme-gradient: linear-gradient(135deg, #6d3e90 0%, #2549d2 100%);
    --theme-gradient-reverse: linear-gradient(135deg, #2549d2 0%, #6d3e90 100%);
}


/* ========================================
   1. CSS RESET & VARIABLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000;
    --text-gray: #666;
    --text-light: #999;
    --border-color: #e5e5e5;
    --bg-gray: #f5f5f5;
    --white: #fff;
    --max-width: 1200px;
    --spacing-unit: 8px;
}

/* ========================================
   2. BASE TYPOGRAPHY & LAYOUT
   ======================================== */

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--primary-color);
    /* background-color: #ffffff !important; */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   3. HEADER & NAVIGATION
   ======================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 3);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: calc(var(--spacing-unit) * 4);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 13px;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ========================================
   4. MAIN CONTENT
   ======================================== */
.main-content {
    max-width: none;
    padding-top: 70px;
    padding-bottom: 60px;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    /* 上部を白っぽく、中間に薄い紫のアクセント */
    background: 
        radial-gradient(ellipse 60% 30% at 30% 10%, rgba(109, 62, 144, 0.08), transparent),  /* 上部の紫をかなり薄く */
        radial-gradient(ellipse 70% 35% at 70% 25%, rgba(248, 199, 255, 0.06), transparent),  /* 薄い紫ピンク */
        radial-gradient(ellipse 50% 25% at 20% 40%, rgba(210, 204, 255, 0.05), transparent),  /* 中間の薄い紫 */
        radial-gradient(ellipse 40% 20% at 80% 60%, rgba(194, 209, 255, 0.03), transparent),  /* 下部はごく薄く */
        linear-gradient(180deg,
            #ffffff 0%,      /* 白から開始 */
            #fffbfe 10%,     /* ごくごく薄い紫 */
            #fff9fc 25%,     /* かすかな紫 */
            #fffcfd 40%,     /* ほぼ白 */
            #ffffff 60%,     /* 白 */
            #ffffff 100%);   /* 完全な白 */
    background-size: 200% 200%, 150% 150%, 180% 180%, 160% 160%, 100% 100%;
    animation: gradientShift 30s ease infinite;
}

.home .main-content {
    padding-top: 70px; /* ヘッダーの高さ分を確保 */
    padding-bottom: 60px;
    padding-left: 0;
    padding-right: 0;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 3);
}

.section-title {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: calc(var(--spacing-unit) * 6);
    text-align: center;
    color: var(--primary-color); /* 黒色のテキストを確保 */
    position: relative;
}

.latest-updates .section-title,
.featured-content .section-title,
.upcoming-events .section-title {
    background: var(--theme-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--theme-gradient);
    border-radius: 2px;
}

.content-header {
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.page-title {
    font-size: 32px;
    font-weight: normal;
    letter-spacing: 0.1em;
}

/* ========================================
   5. COMMON COMPONENTS
   ======================================== */

/* Buttons */
.btn {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 160px;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--text-gray);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Category Tags */
.category-tag {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-radius: 12px;
    margin-bottom: calc(var(--spacing-unit) * 2);
    text-transform: uppercase;
    transition: all 0.3s ease;
    /* 横幅の制限を追加 */
    max-width: fit-content;
    white-space: nowrap;
}

.category-tag.release {
    background: linear-gradient(135deg, rgba(109, 62, 144, 0.1) 0%, rgba(37, 73, 210, 0.1) 100%);
    color: var(--theme-purple);
    border: 1px solid rgba(109, 62, 144, 0.3);
}

.category-tag.live,
.category-tag.event {
    background: #E3F2FD;
    color: #1976D2;
}

.category-tag.news {
    background: rgba(37, 73, 210, 0.1);
    color: var(--theme-blue);
    border: 1px solid rgba(37, 73, 210, 0.3);
}

.category-tag.media,
.category-tag.movie {
    background: #F3E5F5;
    color: #7B1FA2;
}


.category-tag.event,
.category-tag.live {
    background: rgba(109, 62, 144, 0.1);
    color: var(--theme-purple);
    border: 1px solid rgba(109, 62, 144, 0.3);
}


.category-tag.store {
    background: #FFF3E0;
    color: #F57C00;
}

/* Card Components */
.card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-gray);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: calc(var(--spacing-unit) * 3);
}

.card-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: calc(var(--spacing-unit) * 2);
    line-height: 1.4;
}

.card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--text-gray);
}

.card-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.card-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
}

/* Image Placeholders */
.image-placeholder {
    background-color: var(--bg-gray);
    background-image: linear-gradient(45deg, #e5e5e5 25%, transparent 25%, transparent 75%, #e5e5e5 75%, #e5e5e5),
                      linear-gradient(45deg, #e5e5e5 25%, transparent 25%, transparent 75%, #e5e5e5 75%, #e5e5e5);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 14px;
    min-height: 200px;
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: calc(var(--spacing-unit) * 4);
    font-size: 13px;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb-separator {
    margin: 0 calc(var(--spacing-unit) * 1);
}

.breadcrumb-current {
    color: var(--primary-color);
}

/* ========================================
   6. COMMON LISTS & GRIDS
   ======================================== */

/* Grid Layouts */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
}

.content-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
}

/* List Items */
.list-item {
    padding: calc(var(--spacing-unit) * 3) 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.list-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
    transform: translateX(4px);
}

.list-item:last-child {
    border-bottom: none;
}

/* ========================================
   7. FORMS & CONTROLS
   ======================================== */

/* Form Elements */
.form-group {
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: calc(var(--spacing-unit) * 2.5);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    background: var(--white);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Search */
.search-container {
    position: relative;
    max-width: 400px;
    margin: calc(var(--spacing-unit) * 3) auto;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    padding: calc(var(--spacing-unit) * 2.5) calc(var(--spacing-unit) * 3);
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-btn {
    padding: calc(var(--spacing-unit) * 2.5) calc(var(--spacing-unit) * 3);
    background: var(--primary-color);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 25px 25px 0;
}

.search-btn:hover {
    background: var(--text-gray);
}

.search-btn::before {
    content: '🔍';
    font-size: 14px;
}

/* Filter Buttons */
.filter-controls {
    display: flex;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 1);
    margin-bottom: calc(var(--spacing-unit) * 6);
    flex-wrap: wrap;
}

.filter-btn {
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
    font-size: 12px;
    letter-spacing: 0.05em;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1);
    margin: calc(var(--spacing-unit) * 8) 0;
    padding-top: calc(var(--spacing-unit) * 6);
    border-top: 1px solid var(--border-color);
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    color: var(--text-gray);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Load More */
.load-more {
    text-align: center;
    margin-top: calc(var(--spacing-unit) * 8);
}

.load-more-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: calc(var(--spacing-unit) * 2.5) calc(var(--spacing-unit) * 5);
    font-size: 13px;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.load-more-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ========================================
   8. FOOTER
   ======================================== */

.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: calc(var(--spacing-unit) * 8) 0 calc(var(--spacing-unit) * 4);
    /* margin-top: calc(var(--spacing-unit) * 10); */
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 3);
}

.footer-brand {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 8);
}

.footer-brand h2 {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-brand p {
    font-size: 16px;
    opacity: 0.8;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: calc(var(--spacing-unit) * 6);
    margin-bottom: calc(var(--spacing-unit) * 8);
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: calc(var(--spacing-unit) * 3);
    letter-spacing: 0.05em;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: calc(var(--spacing-unit) * 4);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

.footer-copyright {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: calc(var(--spacing-unit) * 3);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* Footer Logo */
/* .footer-logo {
    margin-bottom: calc(var(--spacing-unit) * 3);
} */

.footer-logo-img {
    height: 180px;
    width: auto;
    display: inline-block;
    /* filter: brightness(0) invert(1);  */
}

/* ========================================
   9. ANIMATIONS & UTILITIES
   ======================================== */

/* Loading */
.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fade Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.visible { display: block; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   10. RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .nav-container {
        padding: 0 calc(var(--spacing-unit) * 2);
        height: 60px;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: calc(var(--spacing-unit) * 3);
        gap: calc(var(--spacing-unit) * 2);
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        z-index: 1000;
    }

    .nav-menu a.active::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .main-content {
        padding: 80px calc(var(--spacing-unit) * 2) 40px;
    }

    .section-container {
        padding: 0 calc(var(--spacing-unit) * 2);
    }

    .page-title {
        font-size: 24px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 3);
    }

    .footer-sections {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: calc(var(--spacing-unit) * 4);
    }

    .footer-bottom {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 2);
        text-align: center;
    }
    .footer-logo-img {
        height: 180px;
    }
    .filter-controls {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 2);
    }

    .pagination {
        gap: calc(var(--spacing-unit) * 0.5);
    }

    .page-link {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .main-content {
        padding: 60px calc(var(--spacing-unit) * 2) 40px; /* 80pxから60pxに変更 */
    }
    
    .home .main-content {
        padding-top: 60px; /* モバイルヘッダーの高さ */
        padding-bottom: 40px;
        padding-left: 0;
        padding-right: 0;
    }

    .main-content {
        background: 
            radial-gradient(ellipse 60% 30% at 30% 10%, rgba(109, 62, 144, 0.04), transparent),
            radial-gradient(ellipse 70% 35% at 70% 25%, rgba(248, 199, 255, 0.03), transparent),
            radial-gradient(ellipse 50% 25% at 20% 40%, rgba(210, 204, 255, 0.02), transparent),
            radial-gradient(ellipse 40% 20% at 80% 60%, rgba(194, 209, 255, 0.01), transparent),
            linear-gradient(180deg, 
                #ffffff 0%, 
                #fffefe 20%, 
                #ffffff 50%, 
                #ffffff 100%);
    }
    
    /* オーバーレイも調整 */
    .home .main-content::before {
        background: 
            radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    }
}

@media (max-width: 480px) {
    .logo a {
        font-size: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .card-content {
        padding: calc(var(--spacing-unit) * 2);
    }

    .footer-brand h2 {
        font-size: 24px;
    }

    .footer-sections {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 4);
    }
    .footer-logo-img {
        height: 160px;
    }
    .search-container {
        max-width: 100%;
    }

    .filter-btn {
        font-size: 11px;
        padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
    }

    .page-link {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

/* ========================================
   11. ACCESSIBILITY & PERFORMANCE
   ======================================== */

/* Focus States */
.btn:focus,
.nav-menu a:focus,
.nav-toggle:focus,
.form-input:focus,
.search-input:focus,
.filter-btn:focus,
.page-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Performance */
.card:hover,
.btn:hover {
    will-change: transform, box-shadow;
}

/* Lazy Loading */
img[loading="lazy"] {
    background-color: var(--bg-gray);
}

.responsive-image {
    width: 100%;
    height: auto;
    display: block;
}


@media (prefers-color-scheme: dark) {
    .main-content {
        /* ダークモード用の薄いグラデーション */
        background: 
            radial-gradient(ellipse 80% 40% at 20% 0%, rgba(109, 62, 144, 0.08), transparent),
            radial-gradient(ellipse 80% 40% at 80% 30%, rgba(178, 0, 143, 0.05), transparent),
            radial-gradient(ellipse 60% 30% at 10% 50%, rgba(0, 59, 143, 0.02), transparent),
            radial-gradient(ellipse 60% 20% at 90% 60%, rgba(0, 98, 122, 0.01), transparent),
            linear-gradient(180deg, 
                #f9f7fa 0%,
                #fafafb 25%,
                #fcfcfc 50%,
                #ffffff 100%);
        background-size: 400% 400%;
        animation: gradientShift 20s ease infinite;
    }
    .main-content::before {
        background: 
            radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    }
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.main-content > * {
    position: relative;
    z-index: 2;
}

@keyframes gradientMove1 {
    0%, 100% {
        background-position: 0% 0%, 100% 50%, 0% 100%, 100% 100%, 0% 50%;
    }
    25% {
        background-position: 100% 0%, 0% 50%, 100% 100%, 0% 100%, 25% 50%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 100% 0%, 0% 0%, 50% 50%;
    }
    75% {
        background-position: 0% 100%, 100% 0%, 0% 0%, 100% 0%, 75% 50%;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 0%, 100% 50%, 0% 100%, 100% 100%, 0% 50%;
    }
    50% {
        background-position: 100% 100%, 0% 50%, 100% 0%, 0% 0%, 100% 50%;
    }
    100% {
        background-position: 0% 0%, 100% 50%, 0% 100%, 100% 100%, 0% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-content {
        animation: none;
        background-size: 100% 100%;
    }
}
