* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-pink: #ff6b9d;
    --primary-pink-light: #ffc2d4;
    --primary-pink-dark: #e55a8a;
    --bg-gradient: linear-gradient(135deg, #fff5f7 0%, #ffe6ee 50%, #fff0f5 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #ffd6e4;
    --shadow: 0 8px 32px rgba(255, 107, 157, 0.15);
}

html,
body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.index-body {
    position: relative;
    overflow: hidden;
}

.blessing-body,
.gift-body,
.card-body,
.admin-body {
    position: relative;
}

.navbar-pink {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-pink-dark) 100%);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
    position: relative;
    z-index: 100;
}

.nav-brand-pink {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-brand-admin {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-menu-pink {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-link-pink {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link-pink:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-link-pink.active {
    background: rgba(255, 255, 255, 0.3);
}

.admin-nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.index-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.index-content {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.index-title {
    font-size: 48px;
    color: var(--primary-pink);
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(255, 107, 157, 0.2);
    animation: fadeInDown 1s ease;
}

.index-blessing {
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 50px;
    animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.countdown-container {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    animation: fadeIn 1s ease 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.countdown-title {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    font-size: 56px;
    font-weight: bold;
    color: var(--primary-pink);
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-pink-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 5px;
}

.countdown-separator {
    font-size: 48px;
    color: var(--primary-pink);
    font-weight: bold;
    margin-top: -20px;
}

.countdown-message {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
}

.index-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.index-modal-content {
    background: white;
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.5s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.index-modal-header h2 {
    color: var(--primary-pink);
    font-size: 28px;
    margin-bottom: 20px;
}

.index-modal-body p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.index-modal-footer {
    margin-top: 30px;
}

.index-modal-btn {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-pink-dark) 100%);
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.index-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.5);
}

.index-modal-btn-secondary {
    background: white;
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
    padding: 15px 50px;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 15px;
}

.index-modal-btn-secondary:hover {
    background: var(--primary-pink-light);
    color: var(--primary-pink-dark);
}

.index-marquee {
    background: linear-gradient(90deg, var(--primary-pink) 0%, var(--primary-pink-light) 50%, var(--primary-pink) 100%);
    color: white;
    padding: 12px 0;
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.index-danmu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.danmu {
    position: absolute;
    white-space: nowrap;
    font-size: 18px;
    font-weight: bold;
    animation: danmuMove linear forwards;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes danmuMove {
    0% {
        right: -200px;
        opacity: 1;
    }
    100% {
        right: 100vw;
        opacity: 0.3;
    }
}

.blessing-preview {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.blessing-preview-title {
    font-size: 20px;
    color: var(--primary-pink);
    margin-bottom: 15px;
    font-weight: bold;
}

.blessing-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blessing-item {
    padding: 12px 20px;
    background: linear-gradient(135deg, #fff5f7 0%, #ffe6ee 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-pink);
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.empty-blessing {
    text-align: center;
    color: var(--text-light);
    padding: 20px;
}

.balloon {
    position: fixed;
    width: 40px;
    height: 50px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: floatUp linear infinite;
    opacity: 0.7;
    z-index: 0;
}

.balloon::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid inherit;
}

.balloon::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    width: 1px;
    height: 50px;
    background: rgba(0, 0, 0, 0.1);
}

@keyframes floatUp {
    0% {
        bottom: -100px;
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        bottom: 110vh;
        opacity: 0;
    }
}

.sparkles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, white 0%, transparent 70%);
    border-radius: 50%;
    animation: sparkleFloat 3s ease-in-out infinite;
}

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

.page-wrapper {
    flex: 1;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

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

.page-title {
    font-size: 36px;
    color: var(--primary-pink);
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(255, 107, 157, 0.1);
}

.content-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.card-header {
    text-align: center;
    margin-bottom: 25px;
}

.card-header h2 {
    color: var(--primary-pink);
    font-size: 24px;
    margin-bottom: 10px;
}

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

textarea {
    width: 100%;
    min-height: 150px;
    padding: 15px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
    background: #fafafa;
}

textarea::placeholder {
    color: #b8b8b8;
    font-style: italic;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
    background: white;
}

textarea:hover {
    border-color: var(--primary-pink-light);
    background: white;
}

.color-picker {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

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

.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    border-color: var(--text-dark);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-pink-dark) 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
    width: 100%;
    margin-top: 15px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.5);
}

.blessing-template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.template-btn {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe6ee 100%);
    border: 2px solid var(--border-color);
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--text-dark);
    text-align: left;
}

.template-btn:hover {
    border-color: var(--primary-pink);
    background: linear-gradient(135deg, #ffe6ee 0%, #ffd6e4 100%);
    transform: translateY(-2px);
}

.blessing-wall,
.gift-wall {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.blessing-wall::-webkit-scrollbar,
.gift-wall::-webkit-scrollbar {
    width: 6px;
}

.blessing-wall::-webkit-scrollbar-thumb,
.gift-wall::-webkit-scrollbar-thumb {
    background: var(--primary-pink-light);
    border-radius: 3px;
}

.blessing-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blessing-card-content {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.blessing-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
}

.blessing-author {
    font-weight: bold;
    color: var(--primary-pink);
}

.blessing-time {
    font-size: 12px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.empty-state p {
    font-size: 16px;
}

.gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gift-card {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe6ee 100%);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gift-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
    border-color: var(--primary-pink);
}

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

.gift-name {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.gift-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-pink);
}

.gift-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.gift-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

.gift-modal-header {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-pink-dark) 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gift-modal-header h3 {
    font-size: 18px;
}

.gift-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.gift-modal-body {
    padding: 30px;
    text-align: center;
}

.gift-modal-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.gift-modal-name {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.gift-modal-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-pink);
    margin-bottom: 20px;
}

.gift-form-group {
    text-align: left;
    margin-top: 15px;
}

.gift-form-group label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.gift-form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.gift-form-group input::placeholder {
    color: #b8b8b8;
    font-style: italic;
}

.gift-form-group input:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
    background: white;
}

.gift-form-group input:hover {
    border-color: var(--primary-pink-light);
    background: white;
}

.gift-modal-footer {
    padding: 20px;
    display: flex;
    gap: 10px;
}

.gift-cancel-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gift-cancel-btn:hover {
    background: #f5f5f5;
}

.gift-confirm-btn {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-pink-dark) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gift-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.gift-wall-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    border-left: 4px solid var(--primary-pink);
}

.gift-wall-icon {
    font-size: 36px;
}

.gift-wall-info {
    flex: 1;
}

.gift-wall-name {
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.gift-wall-message {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.gift-wall-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-light);
}

.gift-wall-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-pink);
}

.card-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-dark);
}

.form-group input {
    padding: 15px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input::placeholder {
    color: #b8b8b8;
    font-style: italic;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
    background: white;
}

.form-group input:hover {
    border-color: var(--primary-pink-light);
    background: white;
}

.card-style-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.card-style-option {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 80px;
}

.card-style-option:hover {
    border-color: var(--primary-pink);
}

.card-style-option.selected {
    border-color: var(--primary-pink);
    background: #fff5f7;
}

.style-preview {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.card-style-option span {
    font-size: 12px;
    color: var(--text-dark);
}

.card-preview {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.letter-card {
    width: 100%;
    max-width: 400px;
    min-height: 300px;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.letter-header {
    text-align: right;
    margin-bottom: 20px;
}

.letter-date {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
}

.letter-to {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.letter-content {
    flex: 1;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    white-space: pre-wrap;
}

.letter-from {
    text-align: right;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 20px;
}

.sent-cards-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.sent-card-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sent-card-preview {
    padding: 25px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.sent-card-header {
    text-align: right;
    margin-bottom: 15px;
}

.sent-card-date {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.5);
}

.sent-card-to {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.sent-card-content {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.sent-card-from {
    text-align: right;
    font-size: 12px;
    margin-top: 15px;
}

.sent-card-info {
    padding: 12px 15px;
    background: #f8f8f8;
}

.sent-card-time {
    font-size: 12px;
    color: var(--text-light);
}

.admin-login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff5f7 0%, #ffe6ee 50%, #fff0f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.admin-login-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.2);
}

.admin-login-card h2 {
    color: var(--primary-pink);
    font-size: 28px;
    margin-bottom: 10px;
}

.admin-login-card-subtitle {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 30px;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    position: relative;
}

.admin-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.admin-form-input {
    padding: 15px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.admin-form-input::placeholder {
    color: #b8b8b8;
    font-style: italic;
}

.admin-form-input:focus {
    outline: none;
    border-color: var(--primary-pink);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
    transform: translateY(-1px);
}

.admin-form-input:hover {
    border-color: var(--primary-pink-light);
    background: white;
}

.admin-form-textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.admin-form-textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
}

.admin-btn {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-pink-dark) 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.admin-btn-secondary {
    background: linear-gradient(135deg, #a8a8a8 0%, #888888 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.admin-btn-secondary:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.admin-btn-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.admin-btn-danger:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.admin-btn-small {
    padding: 6px 15px;
    font-size: 12px;
}

.admin-login-error {
    color: #ff6b6b;
    font-size: 13px;
    display: none;
}

.admin-login-copyright {
    margin-top: 30px;
    font-size: 12px;
    color: var(--text-light);
}

.admin-login-copyright a {
    color: var(--primary-pink);
    text-decoration: none;
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.admin-header {
    text-align: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    color: var(--primary-pink);
    font-size: 32px;
    margin-bottom: 10px;
}

.admin-subtitle {
    color: var(--text-light);
    font-size: 14px;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.admin-tab {
    background: white;
    border: 2px solid var(--border-color);
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.admin-tab:hover {
    border-color: var(--primary-pink);
}

.admin-tab.active {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-pink-dark) 100%);
    color: white;
    border-color: var(--primary-pink);
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
}

.admin-stat-card h3 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.admin-stat-card .value {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-pink);
}

.admin-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.admin-card h2 {
    color: var(--primary-pink);
    font-size: 20px;
    margin-bottom: 20px;
}

.admin-blessing-list,
.admin-gift-list,
.admin-card-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
}

.admin-blessing-item,
.admin-gift-item,
.admin-card-item {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-blessing-content,
.admin-card-content {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

.admin-blessing-meta,
.admin-gift-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.admin-blessing-author {
    color: var(--primary-pink);
    font-weight: bold;
}

.admin-blessing-time,
.admin-card-time,
.admin-gift-time {
    font-size: 12px;
}

.admin-gift-item {
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.admin-gift-icon {
    font-size: 32px;
}

.admin-gift-info {
    flex: 1;
}

.admin-gift-name {
    font-weight: bold;
    color: var(--text-dark);
}

.admin-gift-from {
    font-size: 13px;
    color: var(--text-light);
}

.admin-gift-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-pink);
}

.admin-card-item {
    gap: 12px;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.admin-card-to {
    font-weight: bold;
    color: var(--primary-pink);
}

.admin-card-from {
    color: var(--text-light);
}

.admin-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.index-empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

.site-footer {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-pink-dark) 100%);
    padding: 20px;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright {
    color: white;
    font-size: 14px;
}

.footer-link-white {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.footer-link-white:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .navbar-pink {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .nav-menu-pink {
        flex-wrap: wrap;
        justify-content: center;
    }

    .index-title {
        font-size: 32px;
    }

    .index-blessing {
        font-size: 18px;
    }

    .countdown-number {
        font-size: 36px;
    }

    .countdown-separator {
        font-size: 28px;
    }

    .countdown {
        gap: 8px;
    }

    .page-title {
        font-size: 28px;
    }

    .content-card {
        padding: 20px;
    }

    .admin-tabs {
        justify-content: center;
    }

    .admin-tab {
        padding: 10px 20px;
        font-size: 13px;
    }

    .gift-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blessing-template-grid {
        grid-template-columns: 1fr;
    }
}