/* グミボタン共通スタイル */
.gummy-btn {
    height: 36px;
    border-radius: 18px;
    font-weight: bold;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    padding: 0 20px;
    min-width: 100px;
}

/* 上部のハイライト */
.gummy-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
    border-radius: 18px 18px 0 0;
    pointer-events: none;
}

/* 角のツヤ（左上） */
.gummy-btn::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 8px;
    width: 20px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    filter: blur(3px);
    pointer-events: none;
}

/* 追加の角のツヤ（右側） */
.gummy-btn .shine-right {
    position: absolute;
    top: 4px;
    right: 10px;
    width: 8px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

/* ホバー時のアニメーション */
.gummy-btn:hover {
    transform: translateY(-2px);
}

/* クリック時のアニメーション */
.gummy-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 水色バージョン */
.gummy-btn-aqua {
    background: linear-gradient(135deg, #8BEAFF, #BFFDFF);
    color: #0066aa;
}

.gummy-btn-aqua:hover {
    box-shadow: 0 6px 12px rgba(139, 234, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* 黄色バージョン */
.gummy-btn-yellow {
    background: linear-gradient(135deg, #F2D01F, #FFE973);
    color: #6b5900;
}

.gummy-btn-yellow:hover {
    box-shadow: 0 6px 12px rgba(242, 208, 31, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* ピンク（レインボー）バージョン - 100連ガチャ専用 */
.gummy-btn-pink {
    background: linear-gradient(90deg, #FFF168 0%, #CBFFFA 50%, #FBD6FF 100%);
    color: #333;
}

.gummy-btn-pink:hover {
    box-shadow: 0 6px 12px rgba(203, 255, 250, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* サイズバリエーション */
.gummy-btn-sm {
    height: 32px;
    font-size: 12px;
    border-radius: 16px;
    padding: 0 16px;
    min-width: 80px;
}

.gummy-btn-lg {
    height: 42px;
    font-size: 16px;
    border-radius: 21px;
    padding: 0 28px;
    min-width: 120px;
}

/* 固定幅 */
.gummy-btn-fixed {
    width: 150px;
    flex: none;
}

/* 無効化（グレーアウト）スタイル */
.gummy-btn-disabled {
    background: linear-gradient(135deg, #cccccc, #e0e0e0) !important;
    color: #888 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.gummy-btn-disabled:hover {
    transform: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.gummy-btn-disabled::before {
    background: rgba(255, 255, 255, 0.2) !important;
}

.gummy-btn-disabled .shine-right {
    display: none;
}

/* レインボーグラデーションボタン */
.gummy-btn-rainbow {
    background: linear-gradient(135deg, #FFF168 0%, #CBFFFA 50%, #FBD6FF 100%);
    color: #555555;
    text-shadow: none;
}

.gummy-btn-rainbow:hover {
    box-shadow: 0 4px 8px rgba(203, 255, 250, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}


.btn-yellow-frame {
    width: auto;
    height: 32px;
    padding: 0;
    background: transparent;
    border: 2px solid #FFE14D;
    border-radius: 16px;
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-yellow-frame:hover {
    border-color: #FFD700;
    background: #FFFACD;
}