/*
Theme Name: AdSenseTools Pro
Theme URI: https://example.com/adsensetools-pro
Author: Antigravity
Author URI: https://google.com
Description: A premium, ultra-fast, and AdSense-optimized WordPress theme for image utility tools.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adsensetools-pro
Tags: tools, adsense-optimized, fast-loading, clean-design, responsive
*/

:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #10b981;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(to right, var(--bg-dark), #1e293b);
    padding: 8px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--glass-border);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
}

/* Header */
header {
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu-wrapper ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-menu-wrapper a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu-wrapper a:hover {
    color: var(--primary);
}

.btn-cta {
    background: var(--glass);
    border: 1px solid var(--primary);
    color: var(--text-main);
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: var(--primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

/* Main Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

.tool-item {
    padding: 30px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tool-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.tool-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.tool-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Ad Placements */
.ad-slot {
    background: var(--glass);
    border: 1px dashed var(--glass-border);
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
    text-align: center;
    color: var(--text-muted);
}

footer a {
    color: var(--primary);
    text-decoration: none;
}