:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg-dark: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.4;
}

.blob {
    position: absolute;
    border-radius: 50%;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: move 20s infinite alternate;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #ec4899;
    bottom: -50px;
    left: -50px;
    animation: move 15s infinite alternate-reverse;
}

@keyframes move {
    from { transform: translate(0, 0); }
    to { transform: translate(100px, 100px); }
}

/* Header */
header {
    padding: 3rem 0;
    text-align: center;
}

.logo {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.logo-icon {
    font-size: 2.5rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -1px;
}

.tagline {
    color: var(--text-muted);
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.card p {
    color: var(--primary);
    font-weight: 600;
}

/* Tool Area */
.tool-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.back-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
}

.back-link:hover {
    color: var(--text-main);
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 1.5rem;
}

/* Form Styles */
input, textarea, select {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    color: white;
    font-family: inherit;
    margin-bottom: 1.5rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background: var(--primary-hover);
}

.result-area {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 0.75rem;
    border: 1px dashed var(--primary);
    word-break: break-all;
    font-family: monospace;
    font-size: 1.1rem;
}

/* Monetization */
.monetization-area, .monetization-area-mini {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.ad-placeholder {
    width: 100%;
    max-width: 600px;
    height: 120px;
    border: 1px dashed var(--text-muted);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.ad-placeholder-mini {
    padding: 1rem 2rem;
    border: 1px dashed var(--text-muted);
    border-radius: 0.5rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 4rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .container { padding: 0 1rem; }
    h1 { font-size: 2rem; }
    .glass { padding: 1.5rem; }
}
