/*
Theme Name: QuickUrls Pro Design
Theme URI: https://example.com/quickurls
Author: Senior WP Developer
Description: High-performance URL shortener with dark neon UI and optimized ad placements.
Version: 2.0.0
Text Domain: quickurls
*/

:root {
    --bg-dark: #0a0a12; /* Deep dark background */
    --bg-card: #13132b; /* Slightly lighter card bg */
    --primary: #00f2fe; /* Neon Cyan */
    --secondary: #4facfe; /* Neon Blue/Purple */
    --accent-glow: rgba(0, 242, 254, 0.2);
    --text-main: #ffffff;
    --text-muted: #a0a0c0;
    --border-color: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
}

/* High-Tech Background */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(79, 172, 254, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 242, 254, 0.1) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

/* Subtle Grid Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
                      linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

/* Layout */
.container {
    max-width: 1100px; /* Wider container for modern look */
    margin: 0 auto;
    padding: 20px;
    width: 95%;
    flex: 1;
}

/* Header & Nav */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.site-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -1px; }
.site-title a { background: linear-gradient(to right, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none; }
.main-nav a { margin-left: 20px; color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.main-nav a:hover { color: var(--primary); }

/* Cards & Sections */
.glass-card, .feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

/* Hero Typography */
.hero-section { text-align: center; padding: 40px 0 20px; }
h1.hero-title { font-size: 3.5rem; font-weight: 900; margin-bottom: 1rem; line-height: 1.2; }
h1 .highlight { background: linear-gradient(to right, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
p.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 30px; }
h2 { font-size: 1.8rem; margin-bottom: 1.5rem; color: var(--text-main); }

/* Forms - Glowing Inputs */
.shortener-form-wrapper { max-width: 700px; margin: 0 auto; }
.shortener-form { display: flex; gap: 10px; position: relative; }

input[type="url"], input[type="text"] {
    width: 100%;
    padding: 18px 25px;
    border-radius: 50px; /* Rounded pill shape */
    border: 2px solid var(--border-color);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--accent-glow);
    background: rgba(0, 0, 0, 0.5);
}

/* Buttons - Neon Gradient */
button.btn-submit {
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #000;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

button.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0, 242, 254, 0.5); }
button.btn-submit:active { transform: scale(0.98); }

/* Results Area */
.result-box { margin-top: 30px; padding: 20px; background: rgba(0, 242, 254, 0.05); border: 1px solid var(--primary); border-radius: 12px; }
.result-flex { display: flex; gap: 10px; margin-top: 15px; }
.result-flex input { margin: 0; border-radius: 12px; border-color: var(--primary); }
.result-flex button { border-radius: 12px; padding: 15px 25px; }
.error-box { margin-top: 20px; padding: 15px; background: rgba(255, 50, 50, 0.1); border: 1px solid #ff4444; border-radius: 8px; color: #ffaaaa; text-align: center; }

/* Features Grid (Inspired by image) */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin: 40px 0; }
.feature-card { text-align: center; padding: 30px; transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.feature-icon { font-size: 2.5rem; margin-bottom: 20px; display: inline-block; background: linear-gradient(to right, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.feature-card h3 { margin-bottom: 15px; font-size: 1.3rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Ad Spots - Integrated Design */
.ad-slot {
    margin: 30px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    padding: 20px;
    background: rgba(255,255,255,0.02); /* Very subtle offset */
    border-radius: 12px;
    border: 1px dashed var(--border-color); /* Dashed border indicates a "slot" */
}
.ad-label { font-size: 0.6rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; opacity: 0.7; }

/* Footer */
.site-footer { text-align: center; padding: 30px 0; border-top: 1px solid var(--border-color); margin-top: auto; color: var(--text-muted); }
.site-footer a { color: var(--text-muted); margin: 0 10px; }
.site-footer a:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 768px) {
    .site-header { flex-direction: column; gap: 15px; }
    h1.hero-title { font-size: 2.5rem; }
    .shortener-form { flex-direction: column; }
    button.btn-submit { width: 100%; }
    .result-flex { flex-direction: column; }
}
/* Blog Card Specifics */
.blog-card {
    transition: transform 0.3s, border-color 0.3s;
}
.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}
.blog-thumb img {
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-thumb img {
    transform: scale(1.1); /* Zoom effect on hover */
}

/* --- MONETAG STICKY FOOTER CSS --- */
.monetag-sticky-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: rgba(10, 10, 18, 0.95);
    border: 1px solid #00f2fe; /* Neon Cyan */
    border-radius: 50px;
    padding: 10px 15px;
    display: flex; /* Flex is critical here */
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(0, 242, 254, 0.2);
    z-index: 99999;
    backdrop-filter: blur(10px);
    animation: floatUp 1s ease-out;
}
@keyframes floatUp { from { transform: translate(-50%, 100px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.sticky-content { display: flex; align-items: center; gap: 10px; }
.sticky-icon { font-size: 1.5rem; }
.sticky-text { display: flex; flex-direction: column; line-height: 1.2; }
.sticky-text .highlight { color: #fff; font-weight: 700; font-size: 0.95rem; }
.sticky-text .sub-text { color: #a0a0c0; font-size: 0.75rem; }
.sticky-btn {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #000; font-weight: 800; padding: 10px 20px; border-radius: 30px;
    text-decoration: none; font-size: 0.9rem; white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
    animation: pulse-neon 2s infinite;
}
@keyframes pulse-neon {
    0% { transform: scale(1); } 50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(79, 172, 254, 0); } 100% { transform: scale(1); }
}
.sticky-close { background: none; border: none; color: #666; font-size: 1.5rem; margin-left: 10px; cursor: pointer; }
@media (max-width: 480px) {
    .monetag-sticky-bar { bottom: 10px; width: 95%; padding: 8px 12px; }
    .sticky-text .sub-text { display: none; }
}