/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;600;800&display=swap');

:root {
    /* Theme Colors: Midnight & Neon vibe */
    --bg-core: #0f172a;       /* Dark Blue Black */
    --bg-secondary: #1e293b;  /* Lighter Dark */
    --primary: #3b82f6;       /* Electric Blue */
    --primary-glow: rgba(59, 130, 246, 0.5);
    --accent: #8b5cf6;        /* Purple Neon */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius: 12px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Sarabun', sans-serif;
    background-color: var(--bg-core);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Utility Classes --- */
.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px var(--primary-glow);
    border-color: var(--primary);
}

/* --- Navbar --- */
.navbar-custom {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}
.navbar-brand span { font-weight: 800; letter-spacing: -1px; }

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 120px 0 80px;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 40%),
                radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.1), transparent 40%);
}
.domain-search-box {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}
.domain-search-box input {
    width: 100%;
    padding: 20px 30px;
    border-radius: 50px;
    border: 2px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s;
}
.domain-search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    background: rgba(255, 255, 255, 0.1);
}
.domain-search-box button {
    position: absolute;
    right: 8px;
    top: 8px;
    bottom: 8px;
    border-radius: 40px;
    padding: 0 30px;
    font-weight: bold;
}

/* --- Section Headers --- */
.section-header { margin-bottom: 60px; text-align: center; }
.section-header h2 { font-weight: 800; font-size: 2.5rem; margin-bottom: 1rem; }

/* --- Product Grid (Ready-Made) --- */
.product-img-wrapper {
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    position: relative;
}
.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.glass-card:hover .product-img-wrapper img { transform: scale(1.1); }
.price-tag {
    position: absolute;
    bottom: 10px; right: 10px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--glass-border);
    background: #0b1120;
    padding: 60px 0;
}
