/* Layout Styles */
.page-layout {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Ad Spaces */
.vertical-ad {
    width: 200px;
    min-height: 600px;
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    border: 1px dashed #444;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.horizontal-ad {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
    border: 1px dashed #444;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tool Categories */
.tool-category {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    text-align: center;
}

.category-header i {
    font-size: 1.8em;
    margin-right: 15px;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.category-header h2 {
    font-size: 1.8em;
    margin: 0;
    font-weight: 600;
}

/* Grid Layouts */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

/* Social Share */
.social-share {
    margin-bottom: 30px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.share-btn {
    display: inline-block;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .vertical-ad {
        width: 160px;
    }
    .container {
        width: calc(100% - 360px);
    }
}

@media (max-width: 992px) {
    .page-layout {
        flex-direction: column;
    }
    .vertical-ad {
        display: none;
    }
    .container {
        width: 100%;
        margin: 0;
    }
    .tool-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 576px) {
    .tool-grid, .feature-grid {
        grid-template-columns: 1fr;
    }
}
