/*
Theme Name: Shailesh Crypto Theme
Theme URI: https://example.com/shailesh-crypto
Author: Antigravity
Author URI: https://google.com
Description: A premium, modern dark theme for Shailesh Crypto tools.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shailesh-crypto
*/

/* =========================================
   1. Design System & Variables (Premium Dark)
   ========================================= */
:root {
    /* Main Backgrounds - Deep, Rich Dark */
    --bg-body: #050505;
    --bg-surface: #0f1012;
    --bg-card: #15161a;
    --bg-card-hover: #1c1e24;

    /* Accents - Neon Green & subtle gradients */
    --accent-primary: #00ffa3;
    /* Electric Green */
    --accent-secondary: #00d4ff;
    /* Cyber Blue for subtle gradients */
    --accent-glow: rgba(0, 255, 163, 0.35);
    --accent-dim: rgba(0, 255, 163, 0.08);

    /* Typography colors */
    --text-main: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    /* Borders & Glassmorphism */
    --border-light: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 255, 163, 0.4);
    --glass-bg: rgba(21, 22, 26, 0.7);
    --glass-blur: blur(12px);

    /* Layout */
    --container-width: 1280px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --font-heading: 'Outfit', 'Inter', sans-serif;
    /* Recommend Google Font import in header */
    --font-body: 'Inter', -apple-system, sans-serif;
}

/* =========================================
   2. Global Reset & Typography
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--accent-glow);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   3. Premium Header (Glassmorphism)
   ========================================= */
.site-header {
    background: rgba(5, 5, 5, 0.85);
    /* Transparent dark */
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo span {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* No Menu - Clean Header style */
.header-actions span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* =========================================
   4. Hero Section (Modern & Big)
   ========================================= */
.hero-section {
    position: relative;
    padding: 7rem 1rem 5rem 1rem;
    text-align: center;
    overflow: hidden;
}

/* Background blob effect */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 255, 163, 0.1) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: -1;
    pointer-events: none;
}

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section h1 span {
    color: var(--accent-primary);
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

@media(max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/* =========================================
   5. Main Grid & Tools (Premium Cards)
   ========================================= */
.main-grid-container {
    padding-bottom: 6rem;
}

.category-block {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

.category-title::before {
    content: '';
    display: block;
    width: 6px;
    height: 24px;
    background: var(--accent-primary);
    border-radius: 4px;
    margin-right: 12px;
    box-shadow: 0 0 12px var(--accent-glow);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Card Style */
.ilove-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Card Hover */
.ilove-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Icon Box */
.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.card-icon svg {
    stroke: var(--accent-primary);
    transition: 0.3s;
}

.ilove-card:hover .card-icon {
    background: var(--accent-dim);
    border-color: var(--accent-glow);
    transform: scale(1.05);
}

/* Text */
.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #fff;
    transition: 0.3s;
}

.ilove-card:hover .card-content h3 {
    color: var(--accent-primary);
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* =========================================
   6. Tool Containers & Forms (Global)
   ========================================= */
.uct-tool-container {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 700px;
    margin: 40px auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.uct-tool-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--accent-primary);
    font-size: 1.8rem;
}

.uct-form-group {
    margin-bottom: 24px;
}

.uct-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-secondary);
}

.uct-form-group input,
.uct-form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
}

.uct-form-group input:focus,
.uct-form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px var(--accent-dim);
}

.uct-calculate-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent-primary), #00d4ff);
    border: none;
    border-radius: var(--radius-sm);
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.uct-calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 163, 0.3);
    filter: brightness(1.1);
}

.uct-result {
    margin-top: 30px;
    padding: 24px;
    background: rgba(0, 255, 163, 0.05);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);
    display: none;
}

.uct-result h4 {
    color: var(--accent-primary);
    margin-bottom: 10px;
}

/* =========================================
   7. Footer
   ========================================= */
.site-footer {
    border-top: 1px solid var(--border-light);
    padding: 3rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}