/* リセットとベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #b43d9d;
    --secondary-color: #181b39;
    --dark-color: #181b39;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-color: #f5f5f5;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #b43d9d 0%, #8e2f7e 100%);
    --gradient-dark: linear-gradient(135deg, #181b39 0%, #0d0f21 100%);
    --gradient-accent: linear-gradient(135deg, #b43d9d 0%, #181b39 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-primary: 0 4px 20px rgba(180, 61, 157, 0.3);
    --glow-primary: 0 0 40px rgba(180, 61, 157, 0.6);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(24, 27, 57, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--primary-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image {
    height: 35px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .logo-image {
        height: 45px;
    }
}

@media (min-width: 1024px) {
    .logo-image {
        height: 50px;
    }

    .logo-image:hover {
        transform: scale(1.05);
    }
}

.nav {
    display: none;
}

.nav ul {
    list-style: none;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s ease;
    position: relative;
    display: block;
    padding: 12px 0;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 1024px) {
    .nav {
        display: block !important;
    }

    .nav ul {
        display: flex;
        gap: 30px;
    }

    .nav a {
        font-size: 14px;
        padding: 0;
    }

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

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

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

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

/* ヒーローセクション */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    background: linear-gradient(to bottom, #0a0c1f 0%, #181b39 50%, #1a1d3a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        min-height: 600px;
    }
}

@media (min-width: 1024px) {
    .hero {
        min-height: 700px;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 炎のエフェクト - 最適化版 */
.flame {
    position: absolute;
    bottom: -10%;
    width: 120px;
    height: 250px;
    background: radial-gradient(ellipse at center bottom,
            rgba(180, 61, 157, 0.7) 0%,
            rgba(180, 61, 157, 0.5) 20%,
            rgba(220, 80, 180, 0.3) 40%,
            rgba(255, 120, 200, 0.15) 60%,
            transparent 80%);
    filter: blur(25px);
    animation: flameRise 5s ease-in-out infinite;
    opacity: 0.5;
    will-change: transform, opacity;
    transform: translateZ(0);
    /* GPUアクセラレーション */
}

@media (min-width: 768px) {
    .flame {
        width: 160px;
        height: 320px;
        filter: blur(35px);
        opacity: 0.65;
    }
}

@media (min-width: 1024px) {
    .flame {
        width: 200px;
        height: 400px;
        filter: blur(40px);
        opacity: 0.7;
    }
}

.flame-1 {
    left: 15%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.flame-3 {
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    animation-delay: 1s;
    animation-duration: 7s;
    height: 300px;
    width: 150px;
}

.flame-5 {
    right: 15%;
    animation-delay: 2s;
    animation-duration: 6.5s;
}

@media (min-width: 768px) {
    .flame-1 {
        left: 10%;
        height: 320px;
    }

    .flame-3 {
        height: 400px;
        width: 200px;
    }

    .flame-5 {
        right: 10%;
        height: 320px;
    }
}

@media (min-width: 1024px) {
    .flame-1 {
        height: 400px;
    }

    .flame-3 {
        height: 500px;
        width: 250px;
    }

    .flame-5 {
        height: 400px;
    }
}

/* パーティクルキャンバス - パフォーマンス最適化 */
#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    will-change: transform;
    transform: translateZ(0);
    /* GPUアクセラレーション */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 20%, rgba(24, 27, 57, 0.4) 60%, rgba(10, 12, 31, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo img {
    max-width: 90%;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(180, 61, 157, 0.6));
    animation: logoFloat 3s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
    /* GPUアクセラレーション */
}

@media (min-width: 768px) {
    .hero-logo img {
        max-width: 500px;
        filter: drop-shadow(0 0 35px rgba(180, 61, 157, 0.8));
    }
}

@media (min-width: 1024px) {
    .hero-logo img {
        max-width: 600px;
        filter: drop-shadow(0 0 40px rgba(180, 61, 157, 0.8));
    }
}

.hero-subtitle {
    font-size: 18px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 16px 32px;
    background: linear-gradient(135deg, rgba(180, 61, 157, 0.9) 0%, rgba(142, 47, 126, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(180, 61, 157, 0.5), 0 0 40px rgba(180, 61, 157, 0.3);
    backdrop-filter: blur(10px);
    display: inline-block;
    animation: subtitlePulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-subtitle::before {
    content: '📅';
    margin-right: 8px;
    font-size: 1.2em;
}

.hero-subtitle::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 22px;
        margin-bottom: 35px;
        padding: 18px 40px;
        letter-spacing: 1.5px;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 26px;
        margin-bottom: 40px;
        padding: 20px 48px;
        letter-spacing: 2px;
    }

    .hero-subtitle:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 48px rgba(180, 61, 157, 0.7), 0 0 60px rgba(180, 61, 157, 0.5);
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        gap: 20px;
        max-width: none;
        padding: 0;
    }
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .btn {
        padding: 15px 40px;
        font-size: 16px;
        display: inline-block;
    }
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(180, 61, 157, 0.8);
    background: linear-gradient(135deg, #8e2f7e 0%, #b43d9d 100%);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    opacity: 0.7;
    animation: bounce 2s infinite;
    z-index: 3;
}

.scroll-indicator span {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--gradient-primary);
}

/* セクション共通スタイル */
section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    section {
        padding: 80px 0;
    }
}

@media (min-width: 1024px) {
    section {
        padding: 100px 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 50px;
    }
}

@media (min-width: 1024px) {
    .section-header {
        margin-bottom: 60px;
    }
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .section-tag {
        font-size: 13px;
        letter-spacing: 2.5px;
    }
}

@media (min-width: 1024px) {
    .section-tag {
        font-size: 14px;
        letter-spacing: 3px;
        margin-bottom: 10px;
    }
}

.section-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 36px;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 42px;
    }
}

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

/* Aboutセクション */
.about {
    background: var(--light-color);
}

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

.about-text h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-color);
}

@media (min-width: 768px) {
    .about-text h3 {
        font-size: 26px;
        margin-bottom: 18px;
    }
}

@media (min-width: 1024px) {
    .about-text h3 {
        font-size: 28px;
        margin-bottom: 20px;
    }
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-light);
}

@media (min-width: 768px) {
    .about-text p {
        font-size: 16px;
    }
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 640px) {
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .about-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: 50px;
    }
}

.feature-item {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .feature-item {
        padding: 28px;
    }
}

@media (min-width: 1024px) {
    .feature-item {
        padding: 30px;
    }

    .feature-item:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* Scheduleセクション */
.schedule {
    background: var(--white);
}

.schedule-content {
    max-width: 900px;
    margin: 0 auto;
}

.broadcast-info {
    margin-bottom: 50px;
}

.broadcast-card {
    background: var(--secondary-color);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .broadcast-card {
        padding: 35px 30px;
        border-radius: 18px;
    }
}

@media (min-width: 1024px) {
    .broadcast-card {
        padding: 40px;
        border-radius: 20px;
    }
}

.broadcast-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
}

.broadcast-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.time-main {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .time-main {
        font-size: 28px;
        margin-bottom: 10px;
    }
}

@media (min-width: 1024px) {
    .time-main {
        font-size: 32px;
    }
}

.channel {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .channel {
        font-size: 17px;
    }
}

@media (min-width: 1024px) {
    .channel {
        font-size: 18px;
    }
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .schedule-list {
        gap: 20px;
    }
}

.schedule-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background: var(--light-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .schedule-item {
        flex-direction: row;
        gap: 24px;
        padding: 24px;
        border-radius: 14px;
    }
}

@media (min-width: 1024px) {
    .schedule-item {
        gap: 30px;
        padding: 30px;
        border-radius: 16px;
    }

    .schedule-item:hover {
        transform: translateX(10px);
        box-shadow: var(--shadow-md);
    }
}

.schedule-date {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .schedule-date {
        flex-direction: column;
        gap: 0;
        min-width: 90px;
        padding: 18px;
        border-radius: 12px;
    }
}

@media (min-width: 1024px) {
    .schedule-date {
        min-width: 100px;
        padding: 20px;
    }
}

.schedule-date .month {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.schedule-date .day {
    font-size: 36px;
    font-weight: 900;
    color: var(--dark-color);
}

.schedule-details {
    flex: 1;
}

.schedule-details h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-color);
}

@media (min-width: 768px) {
    .schedule-details h4 {
        font-size: 20px;
        margin-bottom: 10px;
    }
}

@media (min-width: 1024px) {
    .schedule-details h4 {
        font-size: 22px;
    }
}

.schedule-details p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--text-light);
}

@media (min-width: 768px) {
    .schedule-details p {
        font-size: 15px;
    }
}

.schedule-time {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    padding: 5px 15px;
    background: var(--white);
    border-radius: 20px;
}

/* Videosセクション */
.videos {
    background: var(--light-color);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

@media (min-width: 640px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-bottom: 40px;
    }
}

.video-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: var(--gradient-dark);
    cursor: pointer;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    transition: all 0.3s ease;
    border: 3px solid var(--white);
}

.video-card:hover .play-button {
    background: #8e2f7e;
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 30px rgba(180, 61, 157, 0.9);
}

.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

.video-new {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.video-info {
    padding: 25px;
}

.video-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-color);
    line-height: 1.4;
}

@media (min-width: 768px) {
    .video-info h4 {
        font-size: 17px;
        margin-bottom: 10px;
    }
}

@media (min-width: 1024px) {
    .video-info h4 {
        font-size: 18px;
    }
}

.video-date {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.video-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.more-videos {
    text-align: center;
}

/* Newsセクション */
.news {
    background: var(--white);
}

.news-list {
    max-width: 900px;
    margin: 0 auto 40px;
}

.news-item {
    display: flex;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    padding-left: 15px;
    background: var(--light-color);
}

.news-date {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 100px;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.6;
}

.more-news {
    text-align: center;
}

/* フッター */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px;
    border-top: 4px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        margin-bottom: 40px;
    }
}

.footer-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

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

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes subtitlePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(180, 61, 157, 0.5), 0 0 40px rgba(180, 61, 157, 0.3);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 12px 40px rgba(180, 61, 157, 0.7), 0 0 60px rgba(180, 61, 157, 0.5);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

@keyframes flameRise {
    0% {
        transform: translateY(0) scaleY(1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-80px) scaleY(1.2);
        opacity: 0.8;
    }

    100% {
        transform: translateY(-160px) scaleY(0.8);
        opacity: 0.2;
    }
}

@media (min-width: 768px) {
    @keyframes flameRise {
        0% {
            transform: translateY(0) scaleY(1);
            opacity: 0.65;
        }

        50% {
            transform: translateY(-90px) scaleY(1.2);
            opacity: 0.85;
        }

        100% {
            transform: translateY(-180px) scaleY(0.8);
            opacity: 0.25;
        }
    }
}

@media (min-width: 1024px) {
    @keyframes flameRise {
        0% {
            transform: translateY(0) scaleY(1);
            opacity: 0.7;
        }

        50% {
            transform: translateY(-100px) scaleY(1.2);
            opacity: 0.9;
        }

        100% {
            transform: translateY(-200px) scaleY(0.8);
            opacity: 0.3;
        }
    }
}