/* White Theme - Soft Pink (Only Theme) */
:root {
    --bg-color: #FFF5FA;
    --card-bg: rgba(255, 255, 255, 0.6);
    --box-bg: rgba(255, 240, 250, 0.8);
    --text-main: #FF69B4;
    --text-secondary: #333333;
    --gradient-text: linear-gradient(135deg, #FFB6D9, #FF69B4, #FFB6D9, #FF69B4);
    --blob-1: #FFB6D9;
    --blob-2: #FFC0D9;
    --blob-3: #FF69B4;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                backdrop-filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    padding-bottom: 120px;
}

/* Стилизация скроллбара */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--text-main);
    border-radius: 10px;
}

/* Переливающийся текст */
.main-title {
    font-size: clamp(28px, 8vw, 56px);
    font-weight: 900;
    letter-spacing: 6px;
    text-transform: uppercase;
    background: var(--gradient-text);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
    margin-top: 0;
    margin-bottom: 30px;
    will-change: background-position;
    transition: letter-spacing 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes shine {
    to { background-position: 300% center; }
}

.main-title:hover {
    letter-spacing: 10px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* Фон с блобами */
.bg-wrapper {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    filter: blur(60px);
    overflow: hidden;
    backdrop-filter: blur(30px);
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.65;
    animation: float 20s infinite ease-in-out;
    will-change: transform;
    mix-blend-mode: screen;
}

/* Левое верхнее пятно - нежно-розовое */
.blob-1 { 
    width: 600px; 
    height: 600px; 
    background: radial-gradient(circle, var(--blob-1), transparent 70%);
    top: -20%; 
    left: -15%; 
    animation: float-left 28s infinite ease-in-out;
}

/* Правое нижнее пятно - основной розовый */
.blob-2 { 
    width: 700px; 
    height: 700px; 
    background: radial-gradient(circle, var(--blob-2), transparent 70%);
    bottom: -25%; 
    right: -15%; 
    animation: float-right 32s infinite ease-in-out;
    animation-delay: -8s; 
}

/* Центральное пятно - темный розовый */
.blob-3 { 
    width: 400px; 
    height: 400px; 
    background: radial-gradient(circle, var(--blob-3), transparent 60%);
    top: 45%; 
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float-center 26s infinite ease-in-out;
    animation-delay: -13s;
}

@keyframes float-left {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(80px, -80px) scale(1.1);
    }
    50% { 
        transform: translate(120px, 60px) scale(0.95);
    }
    75% {
        transform: translate(30px, 100px) scale(1.05);
    }
}

@keyframes float-right {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-100px, 80px) scale(1.08);
    }
    50% { 
        transform: translate(-80px, -100px) scale(0.92);
    }
    75% {
        transform: translate(-40px, -50px) scale(1.05);
    }
}

@keyframes float-center {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
    }
    25% {
        transform: translate(-35%, -60%) scale(1.12);
    }
    50% { 
        transform: translate(-65%, -40%) scale(0.88);
    }
    75% {
        transform: translate(-50%, -55%) scale(1.08);
    }
}

/* Мобильная оптимизация для розовых бобов */
@media (max-width: 768px) {
    .blob-1 { 
        width: 400px; 
        height: 400px;
        opacity: 0.7;
        top: -10%; 
        left: -20%; 
        animation: float-left-mobile 18s infinite ease-in-out;
    }

    .blob-2 { 
        width: 450px; 
        height: 450px;
        opacity: 0.7;
        bottom: -15%; 
        right: -20%; 
        animation: float-right-mobile 20s infinite ease-in-out;
        animation-delay: -8s; 
    }

    .blob-3 { 
        width: 300px; 
        height: 300px;
        opacity: 0.75;
        top: 50%; 
        left: 50%;
        animation: float-center-mobile 16s infinite ease-in-out;
        animation-delay: -13s;
    }

    @keyframes float-left-mobile {
        0%, 100% { 
            transform: translate(0, 0) scale(1);
        }
        25% {
            transform: translate(60px, -50px) scale(1.15);
        }
        50% { 
            transform: translate(40px, 80px) scale(0.95);
        }
        75% {
            transform: translate(20px, 40px) scale(1.1);
        }
    }

    @keyframes float-right-mobile {
        0%, 100% { 
            transform: translate(0, 0) scale(1);
        }
        25% {
            transform: translate(-70px, 50px) scale(1.12);
        }
        50% { 
            transform: translate(-50px, -80px) scale(0.92);
        }
        75% {
            transform: translate(-30px, -40px) scale(1.08);
        }
    }

    @keyframes float-center-mobile {
        0%, 100% { 
            transform: translate(-50%, -50%) scale(1);
        }
        25% {
            transform: translate(-40%, -65%) scale(1.2);
        }
        50% { 
            transform: translate(-60%, -35%) scale(0.85);
        }
        75% {
            transform: translate(-50%, -50%) scale(1.1);
        }
    }
}

@media (max-width: 480px) {
    .blob-1 { 
        width: 280px; 
        height: 280px;
        opacity: 0.75;
        top: -5%; 
        left: -25%; 
        animation: float-left-small 15s infinite ease-in-out;
    }

    .blob-2 { 
        width: 320px; 
        height: 320px;
        opacity: 0.75;
        bottom: -10%; 
        right: -25%; 
        animation: float-right-small 17s infinite ease-in-out;
        animation-delay: -8s; 
    }

    .blob-3 { 
        width: 220px; 
        height: 220px;
        opacity: 0.8;
        animation: float-center-small 14s infinite ease-in-out;
        animation-delay: -13s;
    }

    @keyframes float-left-small {
        0%, 100% { 
            transform: translate(0, 0) scale(1);
        }
        25% {
            transform: translate(50px, -40px) scale(1.2);
        }
        50% { 
            transform: translate(30px, 60px) scale(0.9);
        }
        75% {
            transform: translate(15px, 30px) scale(1.15);
        }
    }

    @keyframes float-right-small {
        0%, 100% { 
            transform: translate(0, 0) scale(1);
        }
        25% {
            transform: translate(-50px, 40px) scale(1.15);
        }
        50% { 
            transform: translate(-35px, -60px) scale(0.92);
        }
        75% {
            transform: translate(-25px, -30px) scale(1.12);
        }
    }

    @keyframes float-center-small {
        0%, 100% { 
            transform: translate(-50%, -50%) scale(1);
        }
        25% {
            transform: translate(-45%, -70%) scale(1.25);
        }
        50% { 
            transform: translate(-55%, -30%) scale(0.8);
        }
        75% {
            transform: translate(-50%, -50%) scale(1.15);
        }
    }
}

/* Контент */
.main-wrapper {
    width: 100%;
    max-width: 800px;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section { text-align: center; width: 100%; }

.avatar-container {
    margin-bottom: 30px;
    /* Анимация float-avatar удалена */
    will-change: auto; /* Сброс will-change, так как анимации нет */
}

/* @keyframes float-avatar удален */

.profile-img {
    width: 200px; height: 200px; /* Размер остается */
    border-radius: 40px; /* Квадратная форма с закругленными углами */
    border: 5px solid var(--box-bg); /* Более тонкая рамка */
    outline: 2px solid var(--text-main); /* Дополнительная акцентная обводка */
    outline-offset: 2px; /* Отступ обводки */
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2), inset 0 0 10px rgba(255,255,255,0.15); /* Менее выраженная тень */
    transition: all 0.3s ease-in-out; 
}

.profile-img:hover {
    transform: scale(1.02); /* Легкое увеличение при наведении */
    box-shadow: 0 12px 30px rgba(0,0,0,0.25), inset 0 0 15px rgba(255,255,255,0.2);
}

/* Карточка */
.links-card {
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    width: 100%;
    border-radius: 40px;
    padding: 40px 25px;
    text-align: center;
    border: 1px solid rgba(255, 182, 217, 0.2);
    margin-bottom: 30px;
}

/* OnlyFans выделенный блок */
.onlyfans-featured {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.onlyfans-box {
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 30px;
    border-radius: 40px;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background 0.3s ease;
    will-change: transform;
    font-size: 18px;
    font-weight: 700;
    border: 1px solid rgba(255, 182, 217, 0.2);
    max-width: 280px;
}

.onlyfans-box img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.onlyfans-box:hover {
    transform: translateY(-12px) scale(1.08);
    box-shadow: 0 20px 50px rgba(255, 105, 180, 0.25);
    background: linear-gradient(135deg, var(--text-main), #FF1493);
    color: #FFFFFF;
}

.card-title {
    color: var(--text-main);
    font-size: 24px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.social-box {
    background: var(--box-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 15px 5px;
    border-radius: 24px;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background 0.3s ease;
    will-change: transform;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 182, 217, 0.15);
}

.social-box img { 
    width: 32px; 
    height: 32px; 
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    background: var(--text-main);
    color: #FFFFFF;
}



/* МОБИЛКА */
@media (max-width: 1024px) {
    .main-wrapper {
        padding: 50px 15px;
    }
    
    .profile-img {
        width: 160px;
        height: 160px;
    }
    
    .main-title {
        font-size: clamp(24px, 6vw, 42px);
        margin-bottom: 30px;
    }
    
    .links-card {
        padding: 30px 20px;
    }
    
    .card-title {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .social-grid {
        gap: 12px;
    }
    
    .social-box {
        padding: 12px 3px;
        border-radius: 18px;
        font-size: 11px;
        gap: 8px;
    }
    
    .social-box img {
        width: 28px;
        height: 28px;
    }
    
    .onlyfans-box {
        padding: 25px;
    }
    
    .onlyfans-box img {
        width: 80px;
        height: 80px;
    }
    
    .onlyfans-box {
        font-size: 16px;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .main-wrapper {
        padding: 40px 12px;
    }
    
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .social-box {
        padding: 10px 2px;
        border-radius: 16px;
        font-size: 10px;
        gap: 6px;
    }
    
    .social-box img {
        width: 24px;
        height: 24px;
    }
    
    .profile-img {
        width: 140px;
        height: 140px;
    }
    
    .main-title {
        font-size: clamp(20px, 5vw, 36px);
        margin-bottom: 30px;
    }
    
    .card-title {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .links-card {
        padding: 25px 15px;
        border-radius: 30px;
    }
    
    .onlyfans-box {
        padding: 20px;
    }
    
    .onlyfans-box img {
        width: 70px;
        height: 70px;
    }
    
    .onlyfans-box {
        font-size: 14px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .main-wrapper {
        padding: 35px 10px;
    }
    
    .avatar-container {
        margin-bottom: 30px;
    }
    
    .profile-img {
        width: 120px;
        height: 120px;
    }
    
    .main-title {
        font-size: clamp(18px, 4vw, 28px);
        letter-spacing: 2px;
        margin-bottom: 30px;
    }
    
    .onlyfans-featured {
        margin-bottom: 30px;
    }
    
    .onlyfans-box {
        padding: 18px;
        border-radius: 28px;
        font-size: 13px;
        gap: 10px;
    }
    
    .onlyfans-box img {
        width: 60px;
        height: 60px;
    }
    
    .links-card {
        padding: 20px 12px;
        border-radius: 28px;
    }
    
    .card-title {
        font-size: 16px;
        letter-spacing: 0.5px;
        margin-bottom: 30px;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .social-box {
        padding: 8px 2px;
        border-radius: 14px;
        font-size: 9px;
        gap: 5px;
    }
    
    .social-box img {
        width: 20px;
        height: 20px;
    }
    
    .theme-toggle-container {
        top: 15px;
        right: 15px;
    }
    
    .theme-btn {
        width: 48px;
        height: 48px;
    }
    
    .theme-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ==================== AGE VERIFICATION MODAL ==================== */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: fadeIn 0.4s ease-out;
}

.age-modal.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.age-modal-content {
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 182, 217, 0.3);
    border-radius: 40px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.age-modal-title {
    font-size: clamp(24px, 6vw, 36px);
    font-weight: 900;
    background: var(--gradient-text);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.age-modal-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.age-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.age-btn {
    padding: 15px 30px;
    border-radius: 25px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    letter-spacing: 1px;
    text-transform: uppercase;
    will-change: transform;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.age-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.age-btn:active {
    transform: translateY(-1px);
}

.age-btn-yes {
    background: var(--text-main);
    color: #FFFFFF;
    border: 2px solid var(--text-main);
    flex: 1;
    min-width: 150px;
}

.age-btn-yes:hover {
    background: linear-gradient(135deg, var(--text-main), #FF1493);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.3);
}

.age-btn-no {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: 2px solid rgba(255, 182, 217, 0.4);
    flex: 1;
    min-width: 150px;
}

.age-btn-no:hover {
    background: rgba(255, 105, 180, 0.1);
    border-color: var(--text-main);
    color: var(--text-main);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.2);
}

/* Mobile optimization for age modal */
@media (max-width: 480px) {
    .age-modal-content {
        padding: 40px 25px;
        border-radius: 30px;
    }

    .age-modal-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .age-modal-text {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .age-modal-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .age-btn {
        padding: 14px 20px;
        font-size: 14px;
        width: 100%;
    }
}

/* ==================== POSTS SECTION ==================== */
.posts-section {
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    width: 100%;
    border-radius: 40px;
    padding: 40px 25px;
    text-align: center;
    border: 1px solid rgba(255, 182, 217, 0.2);
    margin-top: 0;
    margin-bottom: 30px;
}

.posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.post-card {
    background: var(--box-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 182, 217, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.2);
    background: linear-gradient(135deg, var(--box-bg), rgba(255, 240, 250, 0.95));
}

.post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.post-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.post-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    word-break: break-word;
}

.post-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.post-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--text-main);
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.post-link:hover {
    background: linear-gradient(135deg, var(--text-main), #FF1493);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.3);
    transform: scale(1.05);
}

.post-actions {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    gap: 8px;
}

.post-actions.show {
    display: flex;
}

.post-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.post-action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.post-action-btn.delete {
    color: #FF6B6B;
}

.post-action-btn.delete:hover {
    background: #FF6B6B;
    color: white;
}

.post-action-btn.edit {
    color: #FF69B4;
}

.post-action-btn.edit:hover {
    background: #FF69B4;
    color: white;
}

/* Модальное окно для редактирования */
.edit-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.edit-modal.show {
    display: flex;
}

.edit-modal-content {
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 30px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(255, 182, 217, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.edit-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

.modal-form-group {
    margin-bottom: 20px;
}

.modal-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.modal-form-group input,
.modal-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 182, 217, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-form-group input:focus,
.modal-form-group textarea:focus {
    outline: none;
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.2);
}

.modal-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-btn {
    padding: 12px 25px;
    border-radius: 20px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-btn.save {
    background: var(--text-main);
    color: white;
}

.modal-btn.save:hover {
    background: linear-gradient(135deg, var(--text-main), #FF1493);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.3);
}

.modal-btn.cancel {
    background: rgba(255, 182, 217, 0.2);
    color: var(--text-secondary);
}

.modal-btn.cancel:hover {
    background: rgba(255, 105, 180, 0.15);
    color: var(--text-main);
}

@media (max-width: 768px) {
    .posts-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 15px;
    }
    
    .post-card {
        border-radius: 24px;
    }
    
    .post-image {
        height: 160px;
    }
    
    .post-content {
        padding: 15px;
    }
    
    .post-title {
        font-size: 16px;
    }
    
    .post-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .posts-container {
        grid-template-columns: 1fr;
    }
    
    .edit-modal-content {
        width: 95%;
        padding: 20px;
    }
}

/* ==================== FOOTER ==================== */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 245, 250, 0), rgba(255, 245, 250, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 182, 217, 0.2);
    z-index: 100;
    padding: 20px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-text {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    letter-spacing: 0.3px;
    line-height: 1.5;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-text:hover {
    opacity: 1;
}

/* Mobile optimization for footer */
@media (max-width: 768px) {
    .site-footer {
        padding: 15px 0;
    }

    .footer-text {
        font-size: 12px;
        letter-spacing: 0.2px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 12px 0;
    }

    .footer-text {
        font-size: 11px;
        letter-spacing: 0.1px;
    }
}