/* 追加のレスポンシブ対応スタイル */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* bodyの背景スタイル */
.body-background {
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgb(255 255 255 / 27%)), url(/assets/images/site/all_bg.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

@layer utilities {
    .xs\:inline-block {
        @media (min-width: 400px) {
            display: inline-block;
        }
    }
    
    .xs\:hidden {
        @media (min-width: 400px) {
            display: none;
        }
    }
}

/* 抽選アイコンの点滅アニメーション */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.animate-blink {
    animation: blink 1.5s ease-in-out infinite;
}

/* ガチャボタンの位置クラス */
.gacha-btn-position {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ガチャボタン共通クラス */
.gacha-button {
    display: inline-block;
    transition: all 0.3s ease;
    transform-origin: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gacha-button:hover {
    transform: translate(-50%, -50%) scale(1.05);
    filter: brightness(1.1);
}

.gacha-button img {
    width: 40vw;
    max-width: 220px;
    min-width: 160px;
}

/* ガチャボタンのバリエーション */
.gacha-button-1 img {
    width: 38vw;
    max-width: 200px;
}

.gacha-button-2 img {
    width: 42vw;
    max-width: 230px;
}

.gacha-button-3 img {
    width: 45vw;
    max-width: 250px;
    min-width: 180px;
}

/* 固定位置のボタン */
.gacha-button-static {
    position: static;
    transform: none;
}

.gacha-button-static:hover {
    transform: scale(1.05);
}

/* レスポンシブ対応 */
@media (min-width: 640px) {
    .gacha-btn-position {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.fantasy-border {
    position: relative;
    background: linear-gradient(to bottom, #7c2d12, #431407);
    border-radius: 0.75rem;
    padding: 0.25rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(234, 88, 12, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.4);
}

.fantasy-border::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, #f59e0b, #ef4444, #f97316, #b45309);
    border-radius: 0.85rem;
    z-index: -1;
    opacity: 0.5;
    filter: blur(2px);
}

.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 0.25rem;
    padding-bottom: 0.25rem;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: #fff;
    text-shadow: 0 0 5px rgba(239, 68, 68, 0.7), 0 0 10px rgba(220, 38, 38, 0.5);
    border-bottom: 1px solid rgba(220, 38, 38, 0.3);
}

.section-title::before,
.section-title::after {
    display: none;
}

.medal-title {
    position: relative;
    text-align: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: #fff;
    text-shadow: 0 0 5px #f97316, 0 0 10px rgba(234, 88, 12, 0.5);
    border-bottom: 1px solid rgba(249, 115, 22, 0.3);
}

.medal-title::before,
.medal-title::after {
    content: '◆';
    position: absolute;
    top: 0;
    color: #fdba74;
    font-size: 0.75rem;
}

.medal-title::before {
    left: 10px;
}

.medal-title::after {
    right: 10px;
}

.medal-item {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(249, 115, 22, 0.2);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}

.medal-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3), inset 0 0 8px rgba(0, 0, 0, 0.5);
}

.medal-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    animation: shine-medal 3s infinite;
    animation-delay: calc(0.5s * var(--i));
}

@keyframes shine-medal {
    0% { left: -100%; }
    20%, 100% { left: 200%; }
}

.medal-count {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    font-family: 'Cinzel', serif;
}

.medal-img {
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
    transform: scale(1);
    transition: transform 0.3s ease;
}

.medal-item:hover .medal-img {
    transform: scale(1.1) rotate(5deg);
}

/* メダルお知らせバナーのアニメーション */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shine {
    0% { left: -100%; opacity: 0.7; }
    100% { left: 100%; opacity: 0; }
}

.medal-banner {
    animation: float 3s ease-in-out infinite;
}

.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shine 3s infinite;
    animation-delay: 1s;
}

/* 既存のスタイル */
.hero-slider {
    position: relative;
    height: auto;
    overflow: hidden;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    object-fit: contain;
}
.slide.active {
    opacity: 1;
}
.badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ffc107;
    color: #000;
    padding: 4px 8px;
    border-radius: 0 8px 0 8px;
    font-weight: bold;
    font-size: 0.8rem;
}
.menu-overlay {
    backdrop-filter: blur(5px);
}

/* スライダー用の追加スタイル */
@media (min-width: 768px) {
    .hero-slider {
        height: auto;
    }
}

/* 新しいハンバーガーメニューのアニメーション */
.menu-icon {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.menu-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-icon span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: white;
    margin: 2px 0;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}

/* メニューオープン時のアニメーション */
.menu-open .menu-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    width: 24px;
}

.menu-open .menu-icon span:nth-child(2) {
    transform: scaleX(0);
    opacity: 0;
}

.menu-open .menu-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 24px;
}

/* メニューオーバーレイのアニメーション */
.menu-overlay {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

/* サイドメニューのアニメーション */
#side-menu {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#side-menu a {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#side-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), transparent);
    transition: width 0.3s ease;
}

#side-menu a:hover::before {
    width: 100%;
}

/* 履歴アイテムの表示/非表示アニメーション */
.history-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
}

.history-item[style*="display: none"] {
    opacity: 0;
    transform: scaleY(0);
}

.history-item[style*="display: block"] {
    opacity: 1;
    transform: scaleY(1);
}

/* ページャースタイル */
.pager {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.pager-dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: .3s ease;
}

.pager-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* 情報局のパターン背景 */
.info-pattern {
    background-color: #d32f2f;
    background-image: radial-gradient(circle at 25px 25px, rgba(255, 255, 255, 0.2) 2%, transparent 0%), 
                      radial-gradient(circle at 75px 75px, rgba(255, 255, 255, 0.2) 2%, transparent 0%);
    background-size: 100px 100px;
}

/* お知らせバーのスタイル */
.announcement-bar {
    width: 100%;
    height: 40px;
    overflow: hidden;
    position: relative;
}

.announcement-text {
    display: flex;
    position: absolute;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
}

.announcement-text span {
    margin-right: 50px;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* メインコンテンツのパディング調整 */
.main-content {
    padding-top: 40px; /* お知らせバーがある場合 */
}

.no-announcement .main-content {
    padding-top: 0; /* お知らせバーがない場合 */
}

/* 宝箱アイコンのアニメーション */
@keyframes sparkle {
    0% {
        filter: brightness(1);
        transform: scale(1);
    }
    50% {
        filter: brightness(1.5);
        transform: scale(1.1);
    }
    100% {
        filter: brightness(1);
        transform: scale(1);
    }
}

.animate-sparkle {
    animation: sparkle 2s infinite;
}

/* ガチャアニメーション用スタイル */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5)); }
    50% { filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8)); }
}
.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes shine {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

.animate-shine {
    background: linear-gradient(to right, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.3) 25%, 
        rgba(255,255,255,0.5) 50%, 
        rgba(255,255,255,0.3) 75%, 
        rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    animation: shine 3s infinite;
}

/* 集中線アニメーション */
@keyframes spinLines {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.concentricLines {
    position: absolute;
    width: 200%;
    height: 200%;
    top: 50%;
    left: 50%;
    background-image: repeating-conic-gradient(
        rgba(255, 255, 255, 0) 0deg,
        rgba(255, 255, 255, 0) 15deg,
        rgba(255, 255, 255, 0.5) 20deg
    );
    mix-blend-mode: overlay;
    transform-origin: center;
    animation: spinLines 20s linear infinite;
}

/* 回転するサークル背景 */
@keyframes pulseCircle {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.05); opacity: 0.3; }
}

.pulsingCircle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,165,0,0.3) 0%, rgba(255,215,0,0.1) 50%, rgba(255,255,255,0) 70%);
    animation: pulseCircle 3s ease-in-out infinite;
}

/* 回転アニメーション - spinアニメーションの追加 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


  /* ボタン基本スタイル */
        .treasure-button {
            position: absolute;
            cursor: pointer;
            filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.7));
            transition: all 0.3s ease;
            z-index: 20;
        }
        
        /* ボタン位置クラス - サイズもこちらで管理 */
        .treasure-center {
    top: 78%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: auto;
}
        
        .treasure-top-left {
            top: 20%;
            left: 20%;
            transform: translate(-20%, -20%);
            width: 100px;
            height: auto;
        }
        
        .treasure-top-right {
            top: 20%;
            right: 20%;
            transform: translate(20%, -20%);
            width: 100px;
            height: auto;
        }
        
        .treasure-bottom-left {
            bottom: 20%;
            left: 20%;
            transform: translate(-20%, 20%);
            width: 100px;
            height: auto;
        }
        
        .treasure-bottom-right {
            bottom: 20%;
            right: 20%;
            transform: translate(20%, 20%);
            width: 100px;
            height: auto;
        }
        
        /* キラキラエフェクト - シンプルなものに戻す */
        @keyframes sparkle {
            0% { filter: drop-shadow(0 0 5px gold); }
            50% { filter: drop-shadow(0 0 15px gold); }
            100% { filter: drop-shadow(0 0 5px gold); }
        }
        
        .sparkle {
            animation: sparkle 2s infinite;
        }
        
        /* 装飾用の宝石アニメーション */
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        .floating {
            animation: float 3s ease-in-out infinite;
        }
        
        /* RPG風フレーム - ティール系に変更 */
        .rpg-frame {
            border: 4px solid #0f766e; /* teal-700 */
            border-radius: 8px;
            background: linear-gradient(135deg, #0d3d39, #0a2e2c); /* ティール系グラデーション */
            box-shadow: 0 0 0 4px #000, inset 0 0 20px rgba(0,0,0,0.5);
            position: relative;
            padding: 15px;
            margin-bottom: 15px;
            color: #fff;
        }
        
        .rpg-frame::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border: 2px solid #2dd4bf; /* teal-400 */
            border-radius: 4px;
            pointer-events: none;
            margin: 3px;
        }
        
        /* RPG風タイトル */
        .rpg-title {
            background: linear-gradient(to right, #134e4a, #1f2937, #134e4a); /* teal-900と灰色のグラデーション */
            color: #ffffff; /* white */
            text-align: center;
            padding: 8px;
            font-weight: bold;
            font-size: 1.2rem;
            position: relative;
            margin: -15px -15px 15px -15px;
            border-bottom: 2px solid #14b8a6; /* teal-500 */
        }
        
        /* RPG風ボックス */
        .rpg-box {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid #2dd4bf; /* teal-400 */
            padding: 10px;
            color: #fff;
            margin-bottom: 10px;
color: #fff;
        }
        
        /* RPG風アイコン */
        .rpg-icon {
            width: 40px;
            height: 40px;
            background: #1f2937; /* gray-800 */
            border: 2px solid #2dd4bf; /* teal-400 */
            border-radius: 10%;
            padding: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
        }
        
        /* RPG風確率表示もティール系に変更 - 縦並びに変更 */
        .probability-container {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .probability-item {
            background: rgba(0, 0, 0, 0.3);
            border: 2px solid #14b8a6; /* teal-500 */
            text-align: center;
            padding: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .probability-item p {
            margin: 0;
        }
        
        .probability-item .percent {
            color: #fbbf24; /* amber-400 - 黄色系 */
            font-size: 1.2rem;
            font-weight: bold;
        }
        
        
        /* 戻るボタンのスタイルもティール系に変更 */
        .go-back-button {
            background-image: linear-gradient(to right, #0f766e, #1f2937);
            border-color: #14b8a6;
            color: #ffffff;
        }

        .go-back-button:hover {
            background-image: linear-gradient(to right, #115e59, #111827);
        }

  .gacha-bottom-center2 {
    /* bottom: 10px; */
    left: 50%;
    transform: translateX(-50%);
    width: 230px;
    height: auto;
    top: 82%;
}
.text-overlay {
    position: absolute;
    top: 48%;
    left: 0;
    right: 0;
    /* transform: translate(-50%, -50%); */
    padding: 10px;
    text-align: center;
    width: 100%;
}

.text-overlay h2 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.text-overlay {
    position: absolute;
    top: 48%;
    left: 0;
    right: 0;
    /* transform: translate(-50%, -50%); */
    padding: 10px;
    text-align: center;
    width: 100%;
}
.text-overlay p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    line-height: 1.5;
}   

  .treasure-hunt-container {
      position: relative;
      width: 100%;
      aspect-ratio: 3 / 4;
      overflow: hidden;
    }
    .treasure-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }
    .treasure-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }
    .treasure-hunt-title {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

    .treasure-hunt-title img {
      animation: float 3s ease-in-out infinite;
    }
    .treasure-boxes-container {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 20px;
    padding-inline: 20px;
    z-index: 2;
    width: 100%;
    justify-content: center;
}

    .treasure-box-item {
      position: relative;
      flex: 1 1 0;
      max-width: 110px;
      aspect-ratio: 1 / 1;
      cursor: pointer;
      transition: transform 0.3s ease;
    }
    .treasure-box-frame {
      position: relative;
      width: 100%;
      height: 100%;
      background: #ffffff;
      border-radius: 14px;
      box-shadow: 0 0 8px rgba(139, 0, 0, 0.3), inset 0 0 10px rgba(200, 0, 0, 0.05);
      overflow: hidden;
      z-index: 1;
    }
    .treasure-box-frame img {
      position: relative;
      z-index: 2;
      width: 85%;
      margin: 0 auto;
      padding-top: 7px;
      display: block;
      filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
    }
    .electric-animation {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background-color: transparent;
      overflow: hidden;
      z-index: 1;
    }
    .electric-animation::before {
      content: "";
      position: absolute;
      top: -50%;
      left: -50%;
      right: -50%;
      bottom: -50%;
      background-image:
        linear-gradient(to right, transparent 45%, rgba(255, 235, 59, 0.8) 49%, rgba(255, 235, 59, 0.8) 51%, transparent 55%),
        linear-gradient(to bottom, transparent 45%, rgba(255, 235, 59, 0.8) 49%, rgba(255, 235, 59, 0.8) 51%, transparent 55%);
      background-size: 25px 25px;
      animation: electric-animation 2s linear infinite;
    }
    @keyframes electric-animation {
      0% { transform: rotate(0deg); opacity: 0.7; }
      50% { transform: rotate(180deg); opacity: 0.3; }
      100% { transform: rotate(360deg); opacity: 0.7; }
    }
    .ribbon-number {
      position: absolute;
      bottom: -5px;
      left: 0;
      right: 0;
      height: 32px;
      background: linear-gradient(to bottom, #a60000, #7a0000);
      text-align: center;
      line-height: 28px;
      font-weight: bold;
      color: #fff;
      font-size: 20px;
      z-index: 3;
      box-shadow: 0 3px 8px rgba(0,0,0,0.4);
      text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    }
    .update-button-container {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

    /* ファンタジー電光掲示板 */
   .magic-marquee {
    position: relative;
    background: linear-gradient(to right, #382414, #5a3b2e, #382414);
    border-bottom: 3px solid #d4af37;
    box-shadow: 0 0 12px rgba(255, 230, 150, 0.5), inset 0 0 10px rgba(255, 215, 0, 0.2);
    color: #fff7d1;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 1px 1px 2px #000;
    padding: 15px 0;
    z-index: 10;
    overflow: hidden;
    margin-top: 65px;
}

    .magic-marquee::before,
    .magic-marquee::after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      width: 40px;
      background: linear-gradient(to right, rgba(56,36,20,1), transparent);
      z-index: 41;
    }
    .magic-marquee::before {
      left: 0;
    }
    .magic-marquee::after {
      right: 0;
      transform: scaleX(-1);
    }
    .magic-marquee span {
      display: inline-block;
      white-space: nowrap;
      padding-left: 100%;
      animation: marquee 15s linear infinite;
    }
    @keyframes marquee {
      0% { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }
 @keyframes pulse-shadow {
            0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.7); }
            70% { box-shadow: 0 0 0 10px rgba(20, 184, 166, 0); }
            100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
        }
        
        .terms-container h2 {
            color: #0f766e;
            font-weight: 700;
            margin-top: 1.5rem;
            margin-bottom: 0.75rem;
            font-size: 1.125rem;
            line-height: 1.75rem;
            padding-bottom: 0.25rem;
            border-bottom: 1px solid rgba(20, 184, 166, 0.3);
        }
        
        .terms-container p {
            color: #334155;
            font-size: 0.875rem;
            line-height: 1.5rem;
            margin-bottom: 1rem;
        }
        
        .terms-container ul {
            list-style-type: disc;
            margin-left: 1.5rem;
            margin-bottom: 1rem;
        }
        
        .terms-container li {
            color: #334155;
            font-size: 0.875rem;
            line-height: 1.5rem;
            margin-bottom: 0.375rem;
        }
        
        .terms-container hr {
            margin: 1.5rem 0;
            border: 0;
            height: 1px;
            background-image: linear-gradient(to right, rgba(20, 184, 166, 0.2), rgba(20, 184, 166, 0.5), rgba(20, 184, 166, 0.2));
        }
        
        .terms-paper {
            background-color: white;
            border-radius: 0.5rem;
            padding: 2rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(20, 184, 166, 0.1);
        }
        
        .terms-paper::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            border-width: 0 24px 24px 0;
            border-style: solid;
            border-color: #99f6e4 #f8fafc;
        }
    .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.3s ease;
            opacity: 0;
        }
        .faq-answer.active {
            max-height: 1000px;
            padding: 1.25rem;
            opacity: 1;
        }
        .icon-plus {
            transition: transform 0.3s ease;
        }
        .icon-plus.active {
            transform: rotate(135deg);
        }
        .plus-icon-container {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border: 2px solid white;
            background-color: transparent;
        }
        @keyframes pulse-border {
            0% {
                box-shadow: 0 0 0 0 rgba(22, 109, 101, 0.4);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(22, 109, 101, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(22, 109, 101, 0);
            }
        }