   /* cyrillic-ext */
   @font-face {
       font-family: 'Roboto';
       font-style: normal;
       font-weight: 400;
       font-stretch: normal;
       font-display: swap;
       src: url(/fonts/roboto-regular-cyrillic-ext.woff2) format('woff2');
       unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
   }
   /* cyrillic */
   @font-face {
       font-family: 'Roboto';
       font-style: normal;
       font-weight: 400;
       font-stretch: normal;
       font-display: swap;
       src: url(/fonts/roboto-regular-cyrillic.woff2) format('woff2');
       unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
   }
   /* latin-ext */
   @font-face {
       font-family: 'Roboto';
       font-style: normal;
       font-weight: 400;
       font-stretch: normal;
       font-display: swap;
       src: url(/fonts/roboto-regular-latin-ext.woff2) format('woff2');
       unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
   }
   /* latin */
   @font-face {
       font-family: 'Roboto';
       font-style: normal;
       font-weight: 400;
       font-stretch: normal;
       font-display: swap;
       src: url(/fonts/roboto-regular-latin.woff2) format('woff2');
       unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
   }
   /* cyrillic-ext */
   @font-face {
       font-family: 'Roboto';
       font-style: normal;
       font-weight: 700;
       font-stretch: normal;
       font-display: swap;
       src: url(/fonts/roboto-bold-cyrillic-ext.woff2) format('woff2');
       unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
   }
   /* cyrillic */
   @font-face {
       font-family: 'Roboto';
       font-style: normal;
       font-weight: 700;
       font-stretch: normal;
       font-display: swap;
       src: url(/fonts/roboto-bold-cyrillic.woff2) format('woff2');
       unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
   }
   /* latin-ext */
   @font-face {
       font-family: 'Roboto';
       font-style: normal;
       font-weight: 700;
       font-stretch: normal;
       font-display: swap;
       src: url(/fonts/roboto-bold-latin-ext.woff2) format('woff2');
       unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
   }
   /* latin */
   @font-face {
       font-family: 'Roboto';
       font-style: normal;
       font-weight: 700;
       font-stretch: normal;
       font-display: swap;
       src: url(/fonts/roboto-bold-latin.woff2) format('woff2');
       unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
   }

   /* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: linear-gradient(135deg, #ff6f91 0%, #a29bfe 100%);
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    color: #ff6f91;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    color: #666;
}

/* Main content */
main {
    flex: 1 0 auto;
    padding: 30px 0;
}

.tips-section h2 {
    font-size: 2.2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.tip-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.tip-card h3 {
    font-size: 1.6rem;
    color: #ff6f91;
    margin-bottom: 10px;
}

.tip-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background: #a29bfe;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: #ff6f91;
}

.no-tips {
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-block;
    padding: 10px 15px;
    background: #fff;
    color: #ff6f91;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.pagination-btn:hover {
    background: #a29bfe;
    color: #fff;
}

.pagination-btn.active {
    background: #a29bfe;
    color: #fff;
    cursor: default;
}

.pagination-ellipsis {
    color: #fff;
    font-size: 1rem;
    padding: 10px;
}

/* Tip page */
.tip-content {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.tip-content h1 {
    font-size: 2.2rem;
    color: #ff6f91;
    margin-bottom: 15px;
}

.tip-meta {
    margin-bottom: 20px;
}

.tip-meta p {
    font-size: 0.9rem;
    color: #777;
}

.category-link {
    color: #a29bfe;
    text-decoration: none;
}

.category-link:hover {
    text-decoration: underline;
}

.tip-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.tip-body {
    font-size: 1rem;
    color: #333;
}

.tip-body h1, .tip-body h2, .tip-body h3 {
    color: #ff6f91;
    margin: 20px 0 10px;
}

.tip-body p {
    margin-bottom: 15px;
}

.tip-body ul, .tip-body ol {
    margin: 15px 0;
    padding-left: 20px;
}

/* Footer */
footer {
    flex-shrink: 0;
    background: #ff6f91;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #a29bfe;
}

footer p {
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 2rem;
    }

    .tips-section h2 {
        font-size: 1.8rem;
    }

    .tip-card h3 {
        font-size: 1.4rem;
    }

    .tip-content h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    header h1 {
        font-size: 1.6rem;
    }

    header p {
        font-size: 1rem;
    }

    .tips-section h2 {
        font-size: 1.5rem;
    }

    .tip-card {
        padding: 15px;
    }

    .tip-card h3 {
        font-size: 1.2rem;
    }

    .tip-content {
        padding: 20px;
    }

    .tip-content h1 {
        font-size: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
.related-articles {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}