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

body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* CatsMeヘッダー */
.catsme-header {
    background: white;
    color: #F07A88;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    border-radius: 8px;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #F07A88;
}

.brand-tagline {
    font-size: 0.9rem;
    color: #F07A88;
    margin-left: 0.5rem;
}

.header-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #F07A88;
}

/* メインコンテンツエリア */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 140px);
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* プロジェクトカード */
.project-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* メインビジュアル */
.campaign-hero {
    height: 300px;
    overflow: hidden;
}

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

/* キャンペーン内容 */
.campaign-content {
    padding: 2rem;
    position: relative;
}

.campaign-deadline {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    z-index: 10;
}

.campaign-deadline i {
    animation: tick 1s ease-in-out infinite;
}

@keyframes tick {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.campaign-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.campaign-description {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.description-timestamp {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

/* 支援状況セクション */
.support-section {
    margin-bottom: 2.5rem;
}

.support-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.stat-timestamp {
    font-size: 0.75rem;
    color: #999;
    font-style: italic;
    margin-top: 0.25rem;
    display: block;
}

.details-btn {
    width: 100%;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.details-btn:hover {
    border-color: #F07A88;
    background: #f8f9ff;
    color: #F07A88;
}

/* 募金情報セクション */
.funding-info {
    background: linear-gradient(135deg, #fef8f9 0%, #fce8ec 100%);
    border: 2px solid #F07A88;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.funding-text {
    font-size: 1rem;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.funding-text i {
    color: #F07A88;
    font-size: 1.2rem;
}

.gift-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b9d, #E06377);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(214, 51, 132, 0.3);
    position: relative;
    animation: giftPop 0.6s ease-out;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gift-box:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(214, 51, 132, 0.4);
}

.gift-box.loading {
    background: linear-gradient(135deg, #e9ecef, #adb5bd);
    animation: pulse 2s infinite;
}

.gift-box::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 10px;
    background: #fff;
    border-radius: 1px;
}

.gift-box::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

@keyframes giftPop {
    0% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(-10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-8px);}
    60% {transform: translateY(-4px);}
}

/* 次のプレゼント予告 */
.next-gift {
    background: rgba(255, 255, 255, 0.8);
    border: 2px dashed #ff6b9d;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.next-gift-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.next-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #E06377;
}

.next-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.next-gift-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.next-gift-name {
    font-size: 0.85rem;
    color: #495057;
    font-weight: 500;
}

/* 寄付セクション */
.donation-section {
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
    text-align: center;
}

.donation-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.amount-btn {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
}

.amount-btn:hover, .amount-btn.selected {
    border-color: #F07A88;
    background-color: #f8f9ff;
    text-decoration: none;
}

.amount-btn:visited {
    text-decoration: none;
}

.amount-btn .amount {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.amount-btn .desc {
    font-size: 0.85rem;
    color: #6c757d;
}



.donate-btn {
    width: 100%;
    background: linear-gradient(135deg, #F07A88 0%, #E06377 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.donate-btn i {
    margin-right: 0.5rem;
}

/* メール登録セクション */
.email-section {
    background: linear-gradient(135deg, #fff5f8 0%, #f0e6ff 100%);
    border: 3px solid #F07A88;
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.email-section::before {
    content: '✨';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite;
}

.email-section::after {
    content: '🌟';
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite 0.5s;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
}

.email-title {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #F07A88, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.email-title i {
    color: #F07A88;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.email-description {
    font-size: 1rem;
    color: #444;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.highlight-text {
    display: block;
    font-size: 0.9rem;
    color: #7b68ee;
    font-weight: 600;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(240, 122, 136, 0.1);
    border-radius: 10px;
}

.email-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.email-input {
    width: 100%;
    max-width: 360px;
    padding: 1rem 1.25rem;
    border: 3px solid #F07A88;
    border-radius: 25px;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.4s ease;
    background: white;
    box-shadow: 0 4px 15px rgba(240, 122, 136, 0.2);
}

.email-input:focus {
    outline: none;
    border-color: #9b59b6;
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.3);
    transform: translateY(-2px);
}

.email-input::placeholder {
    color: #F07A88;
    opacity: 0.7;
    font-style: italic;
}

.email-note {
    font-size: 0.9rem;
    color: #F07A88;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.action-message {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.urgency-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e74c3c;
    padding: 0.75rem 1.5rem;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 15px;
    border: 2px solid #e74c3c;
}

.action-text {
    font-size: 1rem;
    font-weight: 600;
    color: #F07A88;
    text-align: center;
}

/* 手数料情報セクション */
.fee-info {
    background: transparent;
    border: none;
    margin: 0.5rem 0;
    overflow: hidden;
}

.fee-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 0.5rem 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    color: #999;
    text-decoration: none;
}

.fee-toggle:hover {
    color: #666;
}

.fee-toggle-text {
    font-weight: 400;
}

.fee-toggle-icon {
    transition: transform 0.3s ease;
    font-size: 0.7rem;
}

.fee-toggle.active .fee-toggle-icon {
    transform: rotate(180deg);
}

.fee-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fbfbfb;
    border-top: 1px solid #eee;
}

.fee-content.active {
    max-height: 300px;
}

.fee-breakdown {
    display: flex;
    justify-content: space-around;
    gap: 0.5rem;
    margin: 0.75rem 1rem 0.25rem;
    flex-wrap: wrap;
}

.fee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    background: transparent;
    border: 1px solid #eee;
    border-radius: 4px;
    min-width: 100px;
    flex: 1;
}

.fee-label {
    font-size: 0.7rem;
    color: #999;
    margin-bottom: 0.25rem;
    text-align: center;
}

.fee-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
}

.fee-amount {
    font-size: 0.65rem;
    font-weight: 400;
    color: #999;
    margin-top: 0.25rem;
}

.fee-description {
    font-size: 0.7rem;
    color: #999;
    line-height: 1.4;
    margin: 0.5rem 1rem 1rem;
    text-align: left;
}

/* 寄付CTAセクション */
.donation-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.cta-message {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.cta-btn-simple {
    background: linear-gradient(135deg, #F07A88 0%, #E06377 100%);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(240, 122, 136, 0.3);
}

.cta-btn-simple:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 122, 136, 0.4);
    text-decoration: none;
    color: white;
}

.cta-btn-simple i {
    font-size: 1rem;
}

/* CatsMeフッター */
.catsme-footer {
    background: white;
    color: #F07A88;
    margin-top: 4rem;
    border-top: 1px solid #e9ecef;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo-img {
    width: 1.8rem;
    height: 1.8rem;
    object-fit: contain;
    border-radius: 6px;
}

.footer-description {
    color: #666;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #6c757d;
}

.footer-column a {
    display: block;
    color: #F07A88;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #E06377;
}

.footer-bottom {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #F07A88;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #E06377;
}

/* ポップアップスタイル */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.popup-overlay.show .popup-content {
    transform: scale(1) translateY(0);
}

.popup-header {
    background: linear-gradient(135deg, #F07A88 0%, #E06377 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popup-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.popup-body {
    padding: 0;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

.detail-section {
    padding: 2rem;
    border-bottom: 1px solid #f1f3f4;
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-section h3 i {
    color: #F07A88;
    width: 20px;
}

.detail-content p {
    margin-bottom: 0.75rem;
    color: #555;
    line-height: 1.6;
}

.detail-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.detail-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* 猫ちゃんグリッド（ポップアップ内） */
.cats-grid-popup {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.cat-card-popup {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #F07A88, #E06377);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cat-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.cat-info p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* 使い道内訳 */
.usage-breakdown {
    display: grid;
    gap: 1rem;
}

.usage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.usage-icon {
    width: 50px;
    height: 50px;
    background: #F07A88;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.usage-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.usage-text p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* 連絡先情報 */
.contact-info {
    display: grid;
    gap: 0.75rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #555;
    font-size: 0.95rem;
}

.contact-info i {
    color: #F07A88;
    width: 20px;
    text-align: center;
}

/* プレゼント詳細ツールチップ */
.gift-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.gift-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2c3e50;
}

.gift-box:hover .gift-tooltip {
    opacity: 1;
    visibility: visible;
}

/* 達成おめでとうメッセージ */
.achievement-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ff6b9d, #E06377);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(214, 51, 132, 0.3);
    z-index: 1001;
    animation: achievementPop 0.8s ease-out;
}

.achievement-message h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.achievement-message p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.achievement-close {
    background: white;
    color: #E06377;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
}

@keyframes achievementPop {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
        text-align: center;
    }
    
    .brand-logo {
        width: 2rem;
        height: 2rem;
        border-radius: 6px;
    }

    .brand-tagline {
        display: none;
    }
    
    .footer-logo-img {
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 4px;
    }

    .content-container {
        padding: 0 1rem;
    }

    .project-card {
        border-radius: 16px;
    }

    .campaign-content {
        padding: 1.5rem;
    }

    .campaign-title {
        font-size: 1.5rem;
    }

    .donation-amounts {
        grid-template-columns: 1fr;
    }

    .support-stats {
        gap: 1rem;
    }

    .stat-value {
        font-size: 1.1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .gifts-section {
        padding: 1.5rem;
    }

    .gifts-title {
        font-size: 1rem;
    }

    .next-gift {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .next-gift-info {
        text-align: center;
    }

    .achievement-message {
        width: 90%;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .campaign-hero {
        height: 250px;
    }
    
    .email-section {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
    }
    
    .email-section::before, .email-section::after {
        font-size: 1rem;
    }
    
    .email-title {
        font-size: 1.1rem;
    }
    
    .email-description {
        font-size: 0.95rem;
    }
    
    .action-message {
        gap: 0.5rem;
    }
    
    .urgency-text {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .action-text {
        font-size: 0.9rem;
    }
    
    .campaign-deadline {
        position: static;
        margin-bottom: 1rem;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        align-self: flex-end;
    }
    
    .stat-timestamp {
        font-size: 0.7rem;
    }
    
    .donation-cta {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
    }
    
    .cta-message {
        font-size: 1rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .cta-btn-simple {
        padding: 0.875rem 2.5rem;
        font-size: 1rem;
        max-width: 260px;
        margin: 0 auto;
    }
    
    .fee-toggle {
        padding: 0.5rem 0;
        font-size: 0.75rem;
    }
    
    .fee-breakdown {
        flex-direction: column;
        gap: 0.5rem;
        margin: 0.5rem 0.75rem 0.25rem;
    }
    
    .fee-item {
        min-width: auto;
        width: 100%;
    }
    
    .fee-description {
        margin: 0.5rem 0.75rem 0.75rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .campaign-hero {
        height: 200px;
    }
    
    .email-section {
        padding: 1rem;
    }
    
    .email-input {
        max-width: 250px;
        font-size: 0.95rem;
    }
    
    .email-note {
        font-size: 0.75rem;
    }
}

    .campaign-content {
        padding: 1rem;
    }



    .popup-content {
        width: 95%;
        max-height: 95vh;
    }

    .popup-header {
        padding: 1rem 1.5rem;
    }

    .detail-section {
        padding: 1.5rem;
    }

    .cats-grid-popup {
        grid-template-columns: 1fr;
    }

    .cat-card-popup {
        flex-direction: column;
        text-align: center;
    }
}