.forest-site-main {
    background: linear-gradient(135deg, var(--forest-bg-light) 0%, #f0f8f0 100%);
    min-height: calc(100vh - 75px);
    padding: 30px 0;
    position: relative;
    overflow: visible !important;
}

.forest-site-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23e8f5e8" opacity="0.2"><circle cx="20" cy="20" r="1.5"/><circle cx="80" cy="40" r="1"/><circle cx="40" cy="80" r="1.2"/><circle cx="70" cy="10" r="0.8"/><circle cx="10" cy="60" r="1.3"/></svg>') repeat;
    background-size: 100px 100px;
    opacity: 0.3;
    animation: forestSiteFloat 30s ease-in-out infinite;
}

@keyframes forestSiteFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-8px) translateX(5px);
    }

    50% {
        transform: translateY(-15px) translateX(0);
    }

    75% {
        transform: translateY(-8px) translateX(-5px);
    }
}

.forest-site-main.forest-loaded {
    animation: forestSiteFadeIn 0.8s ease-out;
}

@keyframes forestSiteFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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


.forest-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    padding: 15px 25px;
    background: var(--forest-bg);
    border-radius: 25px;
    box-shadow: 0 2px 15px var(--forest-shadow);
    font-size: 14px;
    flex-wrap: wrap;
}

.forest-breadcrumb-item {
    color: var(--forest-text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 12px;
}

.forest-breadcrumb-item:hover {
    color: var(--forest-primary);
    background: var(--forest-bg-light);
}

.forest-breadcrumb-divider {
    color: var(--forest-text-lighter);
    font-weight: 300;
}

.forest-breadcrumb-current {
    color: var(--forest-primary);
    font-weight: 500;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.forest-site-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}


.forest-site-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.forest-site-header-card {
    background: var(--forest-bg);
    border-radius: 20px;
    box-shadow: 0 4px 25px var(--forest-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.forest-site-header-card:hover {
    box-shadow: 0 6px 35px var(--forest-shadow-dark);
}

.forest-site-hero {
    padding: 40px;
    background: linear-gradient(135deg, var(--forest-primary) 0%, var(--forest-primary-light) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.forest-site-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: forestHeroGlow 10s ease-in-out infinite;
}

@keyframes forestHeroGlow {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.6;
    }
}

.forest-site-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.forest-site-icon:hover {
    transform: scale(1.05);
}

.forest-site-icon img {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
}

.forest-site-icon i {
    font-size: 50px;
    color: rgba(255, 255, 255, 0.8);
}

.forest-icon-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--forest-accent), var(--forest-secondary));
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.forest-site-icon:hover .forest-icon-glow {
    opacity: 0.3;
}

.forest-site-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.forest-site-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.forest-site-title i {
    font-size: 28px;
    color: var(--forest-accent);
}

.forest-site-description {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.9);
}

.forest-site-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.forest-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.forest-meta-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.forest-meta-item i {
    font-size: 16px;
    color: var(--forest-accent);
}

.forest-site-actions {
    padding: 30px 40px;
    background: var(--forest-bg);
    display: flex;
    gap: 15px;
    border-top: 1px solid var(--forest-border);
    flex-wrap: wrap;
}

.forest-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 130px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.forest-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.forest-action-btn:hover::before {
    left: 100%;
}

.forest-btn-primary {
    background: linear-gradient(135deg, var(--forest-primary) 0%, var(--forest-secondary) 100%);
    color: #fff;
    box-shadow: 0 4px 15px var(--forest-shadow);
}

.forest-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--forest-shadow-dark);
}

.forest-btn-secondary {
    background: linear-gradient(135deg, var(--forest-secondary) 0%, var(--forest-accent) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.forest-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.forest-btn-outline {
    background: var(--forest-bg);
    color: var(--forest-primary);
    border: 2px solid var(--forest-primary);
}

.forest-btn-outline:hover {
    background: var(--forest-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--forest-shadow-dark);
}

.forest-btn-liked {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%) !important;
    color: #fff !important;
    border-color: #ff6b6b !important;
}

.forest-like-animation {
    animation: forestLikeAnimation 0.6s ease;
}

@keyframes forestLikeAnimation {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}


.forest-stats-card,
.forest-details-card,
.forest-features-card,
.forest-sidebar-card {
    background: var(--forest-bg);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--forest-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.forest-stats-card:hover,
.forest-details-card:hover,
.forest-features-card:hover,
.forest-sidebar-card:hover {
    box-shadow: 0 6px 30px var(--forest-shadow-dark);
    transform: translateY(-2px);
}

.forest-card-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--forest-primary) 0%, var(--forest-primary-light) 100%);
    color: #fff;
}

.forest-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.forest-card-title i {
    font-size: 20px;
    color: var(--forest-accent);
}


.forest-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 30px;
}

.forest-stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    border-right: 1px solid var(--forest-border);
    border-bottom: 1px solid var(--forest-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.forest-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 90, 39, 0.05), transparent);
    transition: left 0.4s ease;
}

.forest-stat-item:hover::before {
    left: 100%;
}

.forest-stat-item:hover {
    background: var(--forest-bg-light);
    transform: scale(1.02);
}

.forest-stat-item:nth-child(2n) {
    border-right: none;
}

.forest-stat-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.forest-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.forest-stat-today {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.forest-stat-month {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
}

.forest-stat-total {
    background: linear-gradient(135deg, var(--forest-primary) 0%, var(--forest-secondary) 100%);
}

.forest-stat-rating {
    background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
}

.forest-stat-item:hover .forest-stat-icon {
    transform: scale(1.1);
}

.forest-stat-icon i {
    font-size: 28px;
}

.forest-stat-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.forest-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--forest-text);
    line-height: 1.2;
    margin-bottom: 8px;
}

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

.forest-star-rating {
    display: flex;
    gap: 2px;
}

.forest-star-rating i {
    font-size: 16px;
    color: #ffd700;
}


.forest-details-content {
    padding: 30px;
}

.forest-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--forest-border);
    transition: all 0.3s ease;
}

.forest-detail-row:hover {
    background: var(--forest-bg-light);
    margin: 0 -20px;
    padding: 15px 20px;
    border-radius: 10px;
}

.forest-detail-row:last-child {
    border-bottom: none;
}

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

.forest-detail-value {
    font-size: 14px;
    color: var(--forest-text);
    font-weight: 600;
}

.forest-category-link {
    color: var(--forest-primary);
    text-decoration: none;
    padding: 4px 12px;
    background: var(--forest-bg-light);
    border-radius: 15px;
    border: 1px solid var(--forest-border);
    transition: all 0.3s ease;
}

.forest-category-link:hover {
    background: var(--forest-primary);
    color: #fff;
    transform: translateY(-2px);
}

.forest-domain-text {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: var(--forest-bg-light);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid var(--forest-border);
}


.forest-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 30px;
}

.forest-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--forest-bg-light);
    border-radius: 15px;
    border: 2px solid var(--forest-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.forest-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 90, 39, 0.05), transparent);
    transition: left 0.4s ease;
}

.forest-feature-item:hover::before {
    left: 100%;
}

.forest-feature-item:hover {
    background: var(--forest-bg);
    border-color: var(--forest-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--forest-shadow);
}

.forest-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--forest-primary) 0%, var(--forest-secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.forest-feature-item:hover .forest-feature-icon {
    transform: scale(1.1);
}

.forest-feature-icon i {
    font-size: 24px;
}

.forest-feature-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.forest-feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--forest-text);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.forest-feature-content p {
    font-size: 14px;
    color: var(--forest-text-light);
    margin: 0;
    line-height: 1.5;
}


.forest-site-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: sticky;
    top: 100px;
    align-self: start;
}


.forest-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 30px;
}

.forest-tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
    background: var(--forest-bg-light);
    border: 2px solid var(--forest-border);
    border-radius: 12px;
    color: var(--forest-text);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.forest-tool-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 90, 39, 0.1), transparent);
    transition: left 0.4s ease;
}

.forest-tool-item:hover::before {
    left: 100%;
}

.forest-tool-item:hover {
    background: var(--forest-primary);
    color: #fff;
    border-color: var(--forest-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--forest-shadow);
}

.forest-tool-item i {
    font-size: 24px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.forest-tool-item span {
    font-size: 12px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}


.forest-related-sites {
    padding: 30px;
    max-height: 400px;
    overflow-y: auto;
}

.forest-related-sites::-webkit-scrollbar {
    width: 6px;
}

.forest-related-sites::-webkit-scrollbar-track {
    background: var(--forest-bg-light);
    border-radius: 3px;
}

.forest-related-sites::-webkit-scrollbar-thumb {
    background: var(--forest-primary);
    border-radius: 3px;
}

.forest-related-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    color: var(--forest-text);
    text-decoration: none;
    border-radius: 12px;
    border: 2px solid var(--forest-border);
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.forest-related-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 90, 39, 0.1), transparent);
    transition: left 0.4s ease;
}

.forest-related-item:hover::before {
    left: 100%;
}

.forest-related-item:hover,
.forest-related-item.forest-item-hover {
    background: var(--forest-bg);
    border-color: var(--forest-primary);
    transform: translateX(5px);
    box-shadow: 0 4px 15px var(--forest-shadow);
}

.forest-related-item:last-child {
    margin-bottom: 0;
}

.forest-related-icon {
    width: 40px;
    height: 40px;
    background: var(--forest-bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--forest-border);
    position: relative;
    z-index: 1;
}

.forest-related-icon img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.forest-related-icon i {
    font-size: 20px;
    color: var(--forest-primary);
}

.forest-related-content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.forest-related-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-text);
    line-height: 1.4;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forest-related-desc {
    font-size: 12px;
    color: var(--forest-text-light);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.forest-empty-related i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.forest-empty-related p {
    font-size: 14px;
    margin: 0;
}


.forest-hot-sites {
    padding: 30px;
}

.forest-hot-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    color: var(--forest-text);
    text-decoration: none;
    border-radius: 12px;
    border: 2px solid var(--forest-border);
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.forest-hot-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 90, 39, 0.1), transparent);
    transition: left 0.4s ease;
}

.forest-hot-item:hover::before {
    left: 100%;
}

.forest-hot-item:hover {
    background: var(--forest-bg);
    border-color: var(--forest-primary);
    transform: translateX(5px);
    box-shadow: 0 4px 15px var(--forest-shadow);
}

.forest-hot-item:last-child {
    margin-bottom: 0;
}

.forest-hot-rank {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.forest-rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
}

.forest-rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
}

.forest-rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #b8860b 100%);
}

.forest-rank-other {
    background: linear-gradient(135deg, var(--forest-primary) 0%, var(--forest-secondary) 100%);
}

.forest-hot-content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.forest-hot-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-text);
    line-height: 1.4;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forest-hot-count {
    font-size: 12px;
    color: var(--forest-text-light);
}


.forest-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.forest-share-modal.forest-modal-show {
    opacity: 1;
    visibility: visible;
}

.forest-share-content {
    background: var(--forest-bg);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.forest-share-modal.forest-modal-show .forest-share-content {
    transform: scale(1);
}

.forest-share-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--forest-primary) 0%, var(--forest-primary-light) 100%);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.forest-share-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.forest-share-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forest-share-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.forest-share-body {
    padding: 30px;
}

.forest-share-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--forest-bg-light);
    border-radius: 15px;
    margin-bottom: 25px;
    border: 2px solid var(--forest-border);
}

.forest-preview-icon {
    width: 60px;
    height: 60px;
    background: var(--forest-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--forest-border);
}

.forest-preview-icon img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}

.forest-preview-icon i {
    font-size: 30px;
    color: var(--forest-primary);
}

.forest-preview-info {
    flex: 1;
    min-width: 0;
}

.forest-preview-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--forest-text);
    margin: 0 0 8px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forest-preview-info p {
    font-size: 14px;
    color: var(--forest-text-light);
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forest-share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.forest-share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--forest-bg-light);
    border: 2px solid var(--forest-border);
    border-radius: 15px;
    color: var(--forest-text);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.forest-share-btn:hover {
    background: var(--forest-primary);
    color: #fff;
    border-color: var(--forest-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--forest-shadow);
}

.forest-share-btn i {
    font-size: 24px;
}

.forest-share-url {
    display: flex;
    gap: 10px;
}

.forest-share-url input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--forest-border);
    border-radius: 10px;
    background: var(--forest-bg-light);
    color: var(--forest-text);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.forest-share-url input:focus {
    border-color: var(--forest-primary);
    background: var(--forest-bg);
}

.forest-copy-btn {
    padding: 12px 20px;
    background: var(--forest-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.forest-copy-btn:hover {
    background: var(--forest-secondary);
    transform: translateY(-2px);
}

.forest-copy-btn.forest-copied {
    background: var(--forest-secondary);
}


.forest-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    word-wrap: break-word;
}

.forest-toast.forest-toast-show {
    transform: translateX(0);
}

.forest-toast-success {
    background: linear-gradient(135deg, var(--forest-secondary) 0%, var(--forest-primary) 100%);
}

.forest-toast-error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.forest-toast-info {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
}

.forest-toast-warning {
    background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
}


@media (max-width: 1024px) {
    .forest-site-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .forest-site-sidebar {
        order: 1;
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .forest-breadcrumb {
        padding: 12px 20px;
        font-size: 13px;
    }

    .forest-breadcrumb-current {
        max-width: 150px;
    }

    .forest-site-hero {
        padding: 30px;
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .forest-site-title {
        font-size: 28px;
        justify-content: center;
    }

    .forest-site-meta {
        justify-content: center;
        gap: 15px;
    }

    .forest-site-actions {
        padding: 25px 30px;
        justify-content: center;
    }

    .forest-stats-grid {
        padding: 25px;
    }

    .forest-stat-item {
        padding: 20px;
    }

    .forest-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px;
    }

    .forest-tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 25px;
    }
}

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

    .forest-site-main {
        padding: 20px 0;
    }

    .forest-breadcrumb {
        padding: 10px 15px;
        margin-bottom: 20px;
        font-size: 12px;
    }

    .forest-breadcrumb-current {
        max-width: 120px;
    }

    .forest-site-hero {
        padding: 25px 20px;
    }

    .forest-site-icon {
        width: 80px;
        height: 80px;
    }

    .forest-site-icon img {
        width: 60px;
        height: 60px;
    }

    .forest-site-icon i {
        font-size: 40px;
    }

    .forest-site-title {
        font-size: 24px;
    }

    .forest-site-description {
        font-size: 15px;
    }

    .forest-meta-item {
        font-size: 13px;
        padding: 6px 12px;
    }

    .forest-site-actions {
        padding: 20px;
        flex-direction: column;
        gap: 12px;
    }

    .forest-action-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 13px;
    }

    .forest-stats-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 15px;
    }

    .forest-stat-item {
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid var(--forest-border);
        border-radius: 12px;
        background: var(--forest-bg-light);
        margin-bottom: 0;
    }

    .forest-stat-item:last-child {
        border-bottom: none;
    }

    .forest-stat-icon {
        width: 50px;
        height: 50px;
    }

    .forest-stat-icon i {
        font-size: 24px;
    }

    .forest-stat-value {
        font-size: 24px;
    }

    .forest-details-content {
        padding: 20px;
    }

    .forest-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 0;
    }

    .forest-detail-row:hover {
        margin: 0 -15px;
        padding: 12px 15px;
    }

    .forest-features-grid {
        padding: 20px;
        gap: 15px;
    }

    .forest-feature-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .forest-feature-icon {
        width: 60px;
        height: 60px;
        align-self: center;
    }

    .forest-tools-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }

    .forest-tool-item {
        padding: 15px 10px;
    }

    .forest-tool-item i {
        font-size: 20px;
    }

    .forest-tool-item span {
        font-size: 11px;
    }

    .forest-related-sites,
    .forest-hot-sites {
        padding: 20px;
    }

    .forest-related-item,
    .forest-hot-item {
        padding: 12px;
    }

    .forest-related-icon {
        width: 35px;
        height: 35px;
    }

    .forest-related-icon img {
        width: 28px;
        height: 28px;
    }

    .forest-related-title,
    .forest-hot-title {
        font-size: 13px;
    }

    .forest-related-desc,
    .forest-hot-count {
        font-size: 11px;
    }

    .forest-hot-rank {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .forest-share-content {
        width: 95%;
        margin: 20px;
    }

    .forest-share-header {
        padding: 20px;
    }

    .forest-share-header h3 {
        font-size: 18px;
    }

    .forest-share-body {
        padding: 20px;
    }

    .forest-share-preview {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .forest-preview-icon {
        width: 50px;
        height: 50px;
        align-self: center;
    }

    .forest-preview-icon img {
        width: 40px;
        height: 40px;
    }

    .forest-share-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 20px;
    }

    .forest-share-btn {
        padding: 15px;
        font-size: 13px;
    }

    .forest-share-btn i {
        font-size: 20px;
    }

    .forest-share-url {
        flex-direction: column;
        gap: 10px;
    }

    .forest-copy-btn {
        width: 100%;
    }

    .forest-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
    }

    .forest-toast.forest-toast-show {
        transform: translateY(0);
    }
}

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

    .forest-site-main {
        padding: 15px 0;
    }

    .forest-breadcrumb {
        padding: 8px 12px;
        margin-bottom: 15px;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 5px;
    }

    .forest-breadcrumb-current {
        max-width: none;
    }

    .forest-site-hero {
        padding: 20px 15px;
    }

    .forest-site-icon {
        width: 70px;
        height: 70px;
    }

    .forest-site-icon img {
        width: 50px;
        height: 50px;
    }

    .forest-site-title {
        font-size: 20px;
    }

    .forest-site-description {
        font-size: 14px;
    }

    .forest-site-actions {
        padding: 15px;
    }

    .forest-stats-grid {
        padding: 15px;
    }

    .forest-stat-item {
        padding: 15px;
        gap: 15px;
    }

    .forest-stat-icon {
        width: 45px;
        height: 45px;
    }

    .forest-stat-icon i {
        font-size: 20px;
    }

    .forest-stat-value {
        font-size: 20px;
    }

    .forest-stat-label {
        font-size: 13px;
    }

    .forest-details-content {
        padding: 15px;
    }

    .forest-features-grid {
        padding: 15px;
    }

    .forest-feature-item {
        padding: 12px;
    }

    .forest-feature-icon {
        width: 50px;
        height: 50px;
    }

    .forest-feature-icon i {
        font-size: 20px;
    }

    .forest-feature-content h4 {
        font-size: 15px;
    }

    .forest-feature-content p {
        font-size: 13px;
    }

    .forest-tools-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .forest-related-sites,
    .forest-hot-sites {
        padding: 15px;
    }

    .forest-share-buttons {
        grid-template-columns: 1fr;
    }
}


@media print {
    .forest-site-main {
        background: #fff !important;
        color: #000 !important;
    }

    .forest-site-hero {
        background: #f0f0f0 !important;
        color: #000 !important;
        border: 2px solid #000;
    }

    .forest-site-title {
        color: #000 !important;
    }

    .forest-site-sidebar,
    .forest-site-actions,
    .forest-breadcrumb {
        display: none !important;
    }

    .forest-site-layout {
        grid-template-columns: 1fr !important;
    }

    .forest-card-header {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
}


.forest-site-content:focus-within {
    outline: 2px solid var(--forest-accent);
    outline-offset: 2px;
}

.forest-action-btn:focus,
.forest-tool-item:focus,
.forest-related-item:focus,
.forest-hot-item:focus {
    outline: 2px solid var(--forest-accent);
    outline-offset: 2px;
}


@media (prefers-contrast: high) {
    .forest-site-content {
        color: #000;
    }

    .forest-action-btn,
    .forest-tool-item,
    .forest-related-item,
    .forest-hot-item {
        border-width: 2px;
    }
}


@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .forest-site-main::before {
        display: none;
    }

    .forest-site-hero::before {
        display: none;
    }
}


.forest-site-main ::selection {
    background: var(--forest-secondary);
    color: #fff;
}

.forest-site-main ::-moz-selection {
    background: var(--forest-secondary);
    color: #fff;
}


.forest-site-main * {
    box-sizing: border-box;
}


.forest-site-header-card,
.forest-stats-card,
.forest-details-card,
.forest-features-card,
.forest-sidebar-card,
.forest-action-btn,
.forest-tool-item,
.forest-related-item,
.forest-hot-item {
    will-change: transform;
    backface-visibility: hidden;
}