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

body {
    font-family: 'Noto Sans SC', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #ffeaa7 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    overflow-x: hidden;
    position: relative;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    animation: float 6s ease-in-out infinite;
}

.bubble-1 {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 40px;
    height: 40px;
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.bubble-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 5%;
    animation-delay: 2s;
}

.bubble-4 {
    width: 50px;
    height: 50px;
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.bubble-5 {
    width: 70px;
    height: 70px;
    top: 50%;
    left: 85%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.star {
    position: absolute;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    animation: twinkle 2s ease-in-out infinite;
}

.star-1 {
    top: 15%;
    left: 25%;
    animation-delay: 0s;
}

.star-2 {
    top: 25%;
    right: 20%;
    animation-delay: 0.5s;
}

.star-3 {
    bottom: 40%;
    left: 15%;
    animation-delay: 1s;
}

.star-4 {
    bottom: 25%;
    right: 25%;
    animation-delay: 1.5s;
}

.star-5 {
    top: 60%;
    left: 35%;
    animation-delay: 2s;
}

.star-6 {
    top: 40%;
    right: 35%;
    animation-delay: 2.5s;
}

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

.petal {
    position: absolute;
    font-size: 20px;
    opacity: 0.7;
    animation: fall linear infinite;
}

.petal-1 { top: -5%; left: 10%; animation-duration: 10s; animation-delay: 0s; }
.petal-2 { top: -5%; left: 30%; animation-duration: 12s; animation-delay: 2s; }
.petal-3 { top: -5%; left: 50%; animation-duration: 11s; animation-delay: 4s; }
.petal-4 { top: -5%; left: 70%; animation-duration: 13s; animation-delay: 1s; }
.petal-5 { top: -5%; left: 90%; animation-duration: 10.5s; animation-delay: 3s; }

@keyframes fall {
    0% {
        transform: translateY(-20px) rotate(0deg) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) rotate(360deg) translateX(50px);
        opacity: 0;
    }
}

.meteor {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    animation: shoot linear infinite;
    opacity: 0;
}

.meteor-1 { top: 10%; left: 80%; animation-duration: 3s; animation-delay: 0s; }
.meteor-2 { top: 5%; left: 60%; animation-duration: 2.5s; animation-delay: 4s; }
.meteor-3 { top: 15%; left: 90%; animation-duration: 3.5s; animation-delay: 8s; }

@keyframes shoot {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 1;
        box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.8);
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translateX(-200px) translateY(200px);
        opacity: 0;
        box-shadow: none;
    }
}

.rainbow-text {
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #1dd1a1, #5f27cd, #ff6b6b);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbowShift 3s ease infinite;
}

@keyframes rainbowShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.quote-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.quote-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b9d, #c44569, #f8b500);
}

.quote-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

.quote-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2d3436;
    margin-bottom: 10px;
    font-style: italic;
}

.quote-author {
    font-size: 0.9rem;
    color: #636e72;
}

.countdown-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4ecdc4, #44a08d, #2c3e50);
}

.countdown-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
    display: block;
}

.countdown-label {
    text-align: center;
    font-size: 0.95rem;
    color: #636e72;
    margin-bottom: 15px;
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.countdown-item {
    text-align: center;
    min-width: 60px;
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b9d;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.countdown-unit {
    font-size: 0.8rem;
    color: #636e72;
}

.paper-plane {
    position: absolute;
    font-size: 40px;
    top: 30%;
    right: 8%;
    animation: fly 8s ease-in-out infinite;
    opacity: 0.5;
}

.graduation-cap {
    position: absolute;
    font-size: 50px;
    bottom: 35%;
    left: 8%;
    animation: bounce 3s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes fly {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(-15deg);
    }
    25% {
        transform: translateX(-10px) translateY(-15px) rotate(-20deg);
    }
    75% {
        transform: translateX(10px) translateY(10px) rotate(-10deg);
    }
}

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

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    flex-direction: column;
    gap: 20px;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ff6b9d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
    z-index: 4000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    max-width: 90%;
}

.toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success {
    background: linear-gradient(135deg, #00b894, #00a085);
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.4);
}

.toast.error {
    background: linear-gradient(135deg, #d63031, #b71c1c);
    box-shadow: 0 10px 30px rgba(214, 48, 49, 0.4);
}

.floating-btn-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-post-btn {
    padding: 18px 35px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Noto Sans SC', sans-serif;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

.floating-post-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 157, 0.5);
}

.floating-post-btn:active {
    transform: translateY(-2px) scale(1.02);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
    }
    50% {
        box-shadow: 0 8px 35px rgba(255, 107, 157, 0.6);
    }
}

.floating-btn-icon {
    font-size: 1.3rem;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: white;
    border-radius: 30px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(50px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 30px 20px;
    border-bottom: 2px solid #f0f0f0;
    position: sticky;
    top: 0;
    background: white;
    border-radius: 30px 30px 0 0;
}

.modal-title {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.8rem;
    color: #2d3436;
    margin: 0;
}

.modal-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close-btn:hover {
    background: #ff6b9d;
    color: white;
    transform: rotate(90deg);
}

.message-form {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-label {
    font-size: 1rem;
    color: #636e72;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.label-icon {
    font-size: 1.2rem;
}

.input-field,
.textarea-field {
    padding: 15px 20px;
    border: 2px solid #dfe6e9;
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Noto Sans SC', sans-serif;
    transition: all 0.3s ease;
    background: #f8f9fa;
    width: 100%;
}

.input-field:focus,
.textarea-field:focus {
    outline: none;
    border-color: #ff6b9d;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.1);
}

.textarea-field {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.char-count {
    text-align: right;
    font-size: 0.85rem;
    color: #b2bec3;
    margin-top: 5px;
}

.upload-area {
    position: relative;
    border: 2px dashed #dfe6e9;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #ff6b9d;
    background: rgba(255, 107, 157, 0.05);
}

.upload-area.dragover {
    border-color: #ff6b9d;
    background: rgba(255, 107, 157, 0.1);
    transform: scale(1.02);
}

.image-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.upload-placeholder {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-icon {
    font-size: 3rem;
}

.upload-text {
    font-size: 1.1rem;
    color: #636e72;
    font-weight: 500;
    margin: 0;
}

.upload-hint {
    font-size: 0.85rem;
    color: #b2bec3;
    margin: 0;
}

.upload-preview {
    position: relative;
    padding: 10px;
    background: #f8f9fa;
}

.upload-preview img {
    display: block;
    max-width: 100%;
    max-height: 300px;
    margin: 0 auto;
    border-radius: 10px;
    object-fit: contain;
}

.remove-image-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.remove-image-btn:hover {
    background: #d63031;
    transform: scale(1.1);
}

.message-image {
    max-width: 100%;
    max-height: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    margin-top: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 10px;
}

.cancel-btn {
    padding: 15px 30px;
    background: #f0f0f0;
    color: #666;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans SC', sans-serif;
}

.cancel-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.submit-btn {
    padding: 15px 35px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Noto Sans SC', sans-serif;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.5);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    font-size: 1.2rem;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
}

.title-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: inline-block;
    max-width: 600px;
}

.title {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 3.5rem;
    background: linear-gradient(135deg, #ff6b9d, #c44569, #f8b500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    animation: titlePulse 3s ease-in-out infinite;
}

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

.subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 300;
}

.date-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    border-radius: 50px;
    font-size: 1.1rem;
    color: #6c5ce7;
    font-weight: 500;
}

.year {
    font-weight: 700;
    font-size: 1.3rem;
}

.main-content {
    margin-bottom: 40px;
}

.messages-section {
    margin-top: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-title {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 2rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.message-count {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    color: #636e72;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#totalCount {
    color: #ff6b9d;
    font-weight: 700;
    font-size: 1.2rem;
}

.messages-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

.empty-text {
    font-size: 1.5rem;
    color: #636e72;
    font-weight: 500;
    margin-bottom: 10px;
}

.empty-hint {
    font-size: 1rem;
    color: #b2bec3;
}

.message-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.5s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.message-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

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

.message-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #ff6b9d, #c44569, #f8b500);
}

.message-card.pink::before {
    background: linear-gradient(180deg, #ff6b9d, #c44569, #f8b500);
}

.message-card.blue::before {
    background: linear-gradient(180deg, #4ecdc4, #44a08d, #2c3e50);
}

.message-card.purple::before {
    background: linear-gradient(180deg, #a18cd1, #fbc2eb, #f6d365);
}

.message-card.green::before {
    background: linear-gradient(180deg, #11998e, #38ef7d, #f093fb);
}

.message-card.orange::before {
    background: linear-gradient(180deg, #ff9a9e, #fecfef, #fecfef);
}

.message-card.cyan::before {
    background: linear-gradient(180deg, #667eea, #764ba2, #f093fb);
}

.message-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px dashed #dfe6e9;
}

.message-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(255, 107, 157, 0.3);
}

.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3436;
}

.message-time {
    font-size: 0.9rem;
    color: #b2bec3;
    display: flex;
    align-items: center;
    gap: 5px;
}

.time-icon {
    font-size: 1rem;
}

.message-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2d3436;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
}

.footer-text {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

@media (max-width: 768px) {
    .feature-section {
        grid-template-columns: 1fr;
    }

    .quote-card,
    .countdown-card {
        padding: 20px;
    }

    .quote-text {
        font-size: 1rem;
    }

    .countdown-display {
        gap: 10px;
    }

    .countdown-item {
        min-width: 45px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .floating-btn-wrapper {
        bottom: 20px;
        right: 20px;
    }

    .floating-post-btn {
        padding: 15px 28px;
        font-size: 1rem;
    }

    .modal-container {
        border-radius: 20px;
        max-height: 85vh;
    }

    .modal-header {
        padding: 20px 20px 15px;
    }

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

    .message-form {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .cancel-btn,
    .submit-btn {
        width: 100%;
        justify-content: center;
    }

    .title {
        font-size: 2.5rem;
    }

    .title-wrapper {
        padding: 30px;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .message-card {
        padding: 20px;
    }

    .message-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .author-name {
        font-size: 1.1rem;
    }

    .footer-text {
        font-size: 1.4rem;
    }

    .paper-plane,
    .graduation-cap {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .header {
        padding: 30px 15px;
    }

    .title {
        font-size: 2rem;
    }

    .date-display {
        flex-direction: column;
        gap: 5px;
    }

    .floating-btn-wrapper {
        bottom: 15px;
        right: 15px;
        left: 15px;
    }

    .floating-post-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
    }

    .modal-overlay {
        padding: 15px;
        align-items: flex-end;
    }

    .modal-container {
        border-radius: 20px 20px 0 0;
        max-height: 80vh;
        transform: scale(1) translateY(100%);
    }

    .modal-overlay.active .modal-container {
        transform: scale(1) translateY(0);
    }

    .modal-header {
        padding: 15px 20px 15px;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .message-form {
        padding: 15px;
        gap: 20px;
    }

    .input-field,
    .textarea-field {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .textarea-field {
        min-height: 120px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1000px;
    }

    .title {
        font-size: 4rem;
    }

    .title-wrapper {
        padding: 50px 60px;
    }

    .modal-container {
        max-width: 700px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
