/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #2c3e50;
    line-height: 1.6;
}

.container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e9ecef;
}

.header-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header top section */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 20px;
}

.logo-search-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

/* Logo styles */
.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    color: #2c3e50;
}

.linkhub-logo {
    background: linear-gradient(45deg, #3498db, #2980b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-plus {
    color: #27ae60;
    margin-left: 2px;
}

/* Search container */
.search-container {
    position: relative;
    flex: 1;
    max-width: 500px;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #dee2e6;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #2c3e50;
}

.search-input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #3498db;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #2980b9;
}

/* Weather and login section */
.weather-login-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(248, 249, 250, 0.9);
    padding: 10px 15px;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.weather-icon {
    font-size: 24px;
}

.weather-details {
    display: flex;
    flex-direction: column;
}

.city {
    font-size: 14px;
    color: #6c757d;
}

.temperature {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.weather-detail {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: #6c757d;
}

.login-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.login-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Navigation menu */
.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid #dee2e6;
    background: rgba(248, 249, 250, 0.5);
}

.nav-items {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #495057;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 60px;
}

.nav-item:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
    color: #2980b9;
}

.nav-item.active {
    background: rgba(52, 152, 219, 0.15);
    color: #2980b9;
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-icon.badge {
    background: #ff4444;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
}

.nav-item span:last-child {
    font-size: 12px;
    font-weight: 500;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #495057;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile navigation */
.mobile-nav {
    display: none;
    background: white;
    border-top: 1px solid #dee2e6;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.mobile-nav-items {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.mobile-nav-item {
    padding: 12px 20px;
    text-decoration: none;
    color: #495057;
    border-bottom: 1px solid #f8f9fa;
    transition: background 0.3s ease;
}

.mobile-nav-item:hover {
    background: #f8f9fa;
}

.mobile-nav-item.active {
    background: rgba(52, 152, 219, 0.1);
    color: #2980b9;
    font-weight: 500;
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

/* Main content */
.main-content {
    padding: 40px 0 20px 0;
    display: flex;
    gap: 30px;
    max-width: 1700px;
    margin: 0 auto;
    padding: 20px 20px 40px 20px;
    background: #fafbfc;
    min-height: calc(100vh - 200px);
}

.main-content h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.main-content p {
    color: #6c757d;
    line-height: 1.6;
}

/* Categories and Banners Layout */
.categories {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.banners {
    flex: 1;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 120px;
    height: fit-content;
}

/* Featured Category Styles */
.featured-category {
    grid-column: 1 / -1; /* Span full width */
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 20px;
    border: 2px solid #e9ecef;
}

.featured-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.featured-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: white;
}

.featured-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.featured-badge {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.featured-more {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.featured-more:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.featured-content {
    padding: 25px;
    background: #ffffff;
}

.featured-sites {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.featured-site-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.featured-site-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.featured-rank-1 {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border-color: #e67e22;
}

.featured-rank-2 {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
    border-color: #7f8c8d;
}

.featured-rank-3 {
    background: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
    color: white;
    border-color: #d35400;
}

.featured-rank-1 .featured-site-link,
.featured-rank-2 .featured-site-link,
.featured-rank-3 .featured-site-link {
    color: white;
}

.featured-rank-1 .featured-site-desc,
.featured-rank-2 .featured-site-desc,
.featured-rank-3 .featured-site-desc {
    color: rgba(255, 255, 255, 0.9);
}

.featured-rank-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 8px;
}

.featured-site-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.featured-site-link {
    color: #2c3e50;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.featured-site-link:hover {
    color: #3498db;
}

.featured-site-desc {
    color: #6c757d;
    font-size: 12px;
    font-weight: 400;
}

.featured-tag {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

/* Category Styles */
.category {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}
.last{
    font-size: 11px;
}
.category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.category-header {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
}

.category-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.category-more {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 12px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.category-more:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.category-content {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: #ffffff;
}

.site-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.site-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
    border-color: #dee2e6;
}

.rank-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.site-link {
    color: #2c3e50;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.site-link:hover {
    color: #3498db;
}

/* Rainbow text animation for special links */
.rainbow-text {
    background: linear-gradient(45deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff0080, #ff0000);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow 3s ease-in-out infinite;
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Banner Styles */
.banner-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.banner-grid a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.banner-grid a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.banner-grid img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.banner-grid a:hover img {
    transform: scale(1.02);
}

/* Responsive design */
@media (max-width: 1024px) {
    .nav-items {
        gap: 20px;
    }
    
    .nav-item {
        min-width: 50px;
    }
    
    .weather-detail {
        display: none;
    }
    
    .main-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .categories {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .featured-sites {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 12px;
    }
    
    .banners {
        max-width: none;
        flex-direction: row;
        position: static;
        overflow-x: auto;
        gap: 15px;
    }
    
    .banner-grid {
        display: flex;
        flex-direction: row;
        gap: 15px;
        min-width: max-content;
    }
    
    .banner-grid a {
        min-width: 250px;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }
    
    .header-top {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0 10px;
    }
    
    .logo-search-section {
        width: 100%;
        justify-content: center;
    }
    
    .weather-login-section {
        width: 100%;
        justify-content: space-between;
    }
    
    .search-container {
        max-width: none;
    }
    
    .nav-items {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .weather-info {
        padding: 8px 12px;
    }
    
    .temperature {
        font-size: 16px;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .categories {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .featured-header {
        padding: 15px 20px;
    }
    
    .featured-title {
        font-size: 18px;
    }
    
    .featured-content {
        padding: 20px;
    }
    
    .featured-sites {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .featured-site-item {
        padding: 12px;
    }
    
    .featured-site-link {
        font-size: 14px;
    }
    
    .category-content {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .banners {
        flex-direction: column;
    }
    
    .banner-grid {
        flex-direction: column;
    }
    
    .banner-grid a {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 10px;
    }
    
    .logo-search-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .search-input {
        font-size: 14px;
        padding: 10px 45px 10px 15px;
    }
    
    .search-btn {
        width: 30px;
        height: 30px;
    }
    
    .weather-info {
        gap: 8px;
    }
    
    .weather-icon {
        font-size: 20px;
    }
    
    .login-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .main-content {
        padding: 10px;
    }
    
    .featured-header {
        padding: 12px 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .featured-title {
        font-size: 16px;
        justify-content: center;
    }
    
    .featured-content {
        padding: 15px;
    }
    
    .featured-site-item {
        padding: 10px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .featured-rank-img {
        width: 24px;
        height: 24px;
    }
    
    .featured-site-link {
        font-size: 13px;
    }
    
    .featured-site-desc {
        font-size: 11px;
    }
    
    .category-header {
        padding: 12px 15px;
    }
    
    .category-title {
        font-size: 14px;
    }
    
    .category-content {
        padding: 15px;
    }
    
    .site-item {
        padding: 6px;
    }
    
    .site-link {
        font-size: 12px;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    margin-top: 50px;
    border-top: 4px solid #3498db;
}

.footer-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 40px 0;
}

.footer-section h4 {
    color: #3498db;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.footer-logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo-plus {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #3498db;
    padding-left: 10px;
    transform: translateX(5px);
}

.footer-links a::before {
    content: '▶';
    font-size: 10px;
    margin-right: 8px;
    color: #3498db;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 12px;
    color: #ecf0f1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, #1abc9c 100%);
}
/* Popup */.popup_wrap {
    display: grid;
    justify-content: center;
    align-items: center;
    top: 5%;
    width: 100%;
    position: fixed;
    gap: 10px;
    z-index: 99999;
    /* position: absolute;
    top: 280px;
    width: 50%;
    height: 0;
    left: 15%;
    z-index: 9999999; */
}

.popup {
    position: relative;
    display: inline-block;
}

.popup img {
    height: 250px !important;
}

.popup .close {
    position: relative;
    width: 100%;
    height: 30px;
    background: #000;
    color: #fff;
    opacity: 1;
    padding-top: 10px
}

.popup .close span {
    padding-left: 20px;
}
/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: #000;
    color: #fff;
    text-decoration: none;
    text-align: center;
    line-height: 32px;
    font-size: 14px;
    border: 1px solid #000;
}

.back-to-top:hover {
    background: #333;
}

/* Footer responsive design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 20px 0;
    }
    
    .footer-section h4 {
        font-size: 16px;
    }
    
    .footer-logo-text {
        font-size: 24px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* Animation for mobile menu toggle */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Fixed Right Navigation - Quick Links */
.right-nav-fixed {
    position: fixed;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    z-index: 9999;
    transition: right 0.3s ease;
}

.right-nav-fixed.active {
    right: 0;
}

.right-nav-toggle {
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    padding: 15px 8px;
    border-radius: 25px 0 0 25px;
    cursor: pointer;
    box-shadow: -3px 0 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.right-nav-toggle:hover {
    left: -45px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.toggle-icon {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

.toggle-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.right-nav-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    width: 200px;
    height: 600px;
    border-radius: 15px 0 0 15px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e1f5fe;
}

.right-nav-header {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right-nav-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.right-nav-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.right-nav-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.quick-links {
    flex: 1;
    padding: 20px 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.quick-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.quick-link:hover {
    background: #f8fffe;
    border-color: #4ecdc4;
    transform: translateX(5px);
    box-shadow: 0 3px 15px rgba(78, 205, 196, 0.2);
}

.quick-link:hover::before {
    transform: scaleY(1);
}

.quick-icon {
    font-size: 1.3rem;
    width: 25px;
    text-align: center;
}

.quick-text {
    font-size: 0.95rem;
    font-weight: 500;
}

.right-nav-footer {
    background: #f8fffe;
    padding: 15px 20px;
    border-top: 1px solid #e1f5fe;
}

.health-tip-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #4ecdc4;
}

.tip-icon-mini {
    font-size: 1.1rem;
}

.health-tip-mini p {
    font-size: 0.85rem;
    color: #5a6c7d;
    margin: 0;
    line-height: 1.4;
}

/* Custom scrollbar for quick links */
.quick-links::-webkit-scrollbar {
    width: 4px;
}

.quick-links::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.quick-links::-webkit-scrollbar-thumb {
    background: #4ecdc4;
    border-radius: 2px;
}

.quick-links::-webkit-scrollbar-thumb:hover {
    background: #44a08d;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .right-nav-fixed {
        right: -280px;
    }
    
    .right-nav-content {
        width: 280px;
        height: 500px;
    }
    
    .right-nav-toggle {
        left: -45px;
        padding: 12px 6px;
    }
    
    .toggle-text {
        font-size: 0.8rem;
    }
    
    .quick-links {
        padding: 15px 10px;
        gap: 6px;
    }
    
    .quick-link {
        padding: 10px 12px;
    }
    
    .quick-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .right-nav-fixed {
        right: -250px;
    }
    
    .right-nav-content {
        width: 250px;
        height: 450px;
    }
    
    .right-nav-toggle {
        left: -40px;
        padding: 10px 5px;
    }
}
