/*
Theme Name: Steamy Drop Solana
Theme URI: https://steamydrop.com
Author: Custom Development
Description: Minimalist pill header with Desktop Text Nav and Mobile Hamburger. Explicit overrides.
Version: 6.6.2
*/

:root {
    --sol-dark: #030108;
    --sol-purple: #9945FF;
    --sol-green: #14F195;
    --text-main: #cbd5e1;
    --text-light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Plus Jakarta Sans', system-ui, sans-serif;
}

body { margin: 0; padding: 0; background-color: var(--sol-dark); color: var(--text-main); font-family: var(--font-main); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
h1, h2, h3, h4, p { margin-top: 0; line-height: 1.4; }

/* Standard Flex Pill Header - Mathematically locked to 1024px */
.site-header { position: relative; margin: 32px auto 0 auto; z-index: 100; background: rgba(5, 2, 10, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 24px; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; height: 72px; width: calc(100% - 32px) !important; max-width: 1024px !important; box-sizing: border-box; box-shadow: 0 15px 40px rgba(0,0,0,0.6); }
.header-left { display: flex; align-items: center; gap: 16px; }
.header-right { display: flex; align-items: center; gap: 16px !important; }

/* Left Logo Styling (Icon between words) */
.main-logo-link { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.4rem; color: #ffffff; letter-spacing: -0.02em; text-decoration: none; }
.logo-text-part { display: inline-block; }
.site-icon { width: 36px; height: 36px; display: block; object-fit: contain; filter: drop-shadow(0 0 10px rgba(20,241,149,0.3)); transition: transform 0.3s; }
svg.site-icon { fill: transparent; stroke: var(--sol-green); stroke-width: 1.5; filter: drop-shadow(0 0 8px rgba(20,241,149,0.5)); }
.main-logo-link:hover .site-icon { transform: scale(1.1) rotate(5deg); }

/* Explicit Desktop Native WP Menu Overrides (Crushes WP Defaults) */
.desktop-nav { display: block; }
.desktop-nav-list { display: flex !important; align-items: center !important; gap: 24px !important; list-style: none !important; margin: 0 !important; padding: 0 !important; }
.desktop-nav-list li { margin: 0 !important; padding: 0 !important; }
/* Menu Items: Title Case and Bold */
.desktop-nav-list li a, .desktop-nav-list .menu-item a { color: #f8fafc !important; font-weight: 800 !important; font-size: 15px !important; text-decoration: none !important; transition: color 0.2s !important; text-transform: capitalize !important; letter-spacing: 0.02em !important; display: inline-block !important; padding: 6px !important; }
.desktop-nav-list li a:hover, .desktop-nav-list .menu-item a:hover { color: var(--sol-green) !important; }

/* Hamburger Menu Button */
.hamburger-btn { display: none; background: transparent; border: none; color: var(--text-main); cursor: pointer; padding: 8px; transition: color 0.2s; outline: none; }
.hamburger-btn:hover { color: var(--sol-green); }

/* Solana Icon Box Buttons */
.icon-box-btn { background: linear-gradient(135deg, var(--sol-purple) 0%, var(--sol-green) 100%); color: #fff; border: none; padding: 12px; border-radius: 16px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(153,69,255,0.25); outline: none; }
.icon-box-btn svg { width: 22px; height: 22px; }
.icon-box-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20,241,149,0.35); color: #fff; }

/* Floating Dropdown Menus */
.dropdown-menu { position: absolute; top: calc(100% + 16px); background: rgba(10, 5, 20, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 24px; padding: 24px; z-index: 99; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
.dropdown-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-right { right: 0; width: 320px; }

/* Left WP Menu Content (Dropdown version) */
.mobile-nav-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
/* Mobile Menu Items: Title Case and Bold */
.mobile-nav-list li a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; color: var(--text-main); font-weight: 800; text-transform: capitalize; letter-spacing: 0.02em; font-size: 0.95rem; transition: background 0.2s, color 0.2s; }
.mobile-nav-list li a:hover { background: rgba(255,255,255,0.05); color: var(--text-light); }
.mobile-nav-list .current-menu-item a { color: var(--sol-green); background: rgba(20,241,149,0.1); }

/* Right Wallet Menu Content */
.wallet-list { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.wallet-list a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,0.03); color: var(--text-light); font-weight: 700; font-size: 0.95rem; transition: all 0.2s ease; border: 1px solid transparent; }
.wallet-list a:hover { background: rgba(255,255,255,0.08); color: var(--sol-green); border-color: rgba(255,255,255,0.1); transform: translateX(4px); }
.wallet-list a svg { width: 20px; height: 20px; color: #94a3b8; transition: 0.2s; }
.wallet-list a:hover svg { color: var(--sol-green); }
.wallet-paypal { border: 1px solid rgba(0,112,186,0.3) !important; background: rgba(0,112,186,0.1) !important; }
.wallet-paypal:hover { border-color: #0070ba !important; background: rgba(0,112,186,0.2) !important; color: #fff !important; }
.wallet-paypal svg { color: #00a1ff !important; }

/* Page Layout */
.site-main { flex-grow: 1; width: 100%; padding: 40px 16px; position: relative; z-index: 10; }

/* Rebuilt Footer matching the Header */
.site-footer { 
    position: relative; margin: 32px auto 40px auto; z-index: 100; 
    background: rgba(5, 2, 10, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); 
    border: 1px solid var(--glass-border); border-radius: 24px; 
    display: flex; justify-content: center; align-items: center; 
    padding: 0 24px; height: 72px; width: calc(100% - 32px) !important; 
    max-width: 1024px !important; box-sizing: border-box; box-shadow: 0 15px 40px rgba(0,0,0,0.6); 
}

/* App Container (Forces max width identical to header for a structured design) */
.app-container { width: 100% !important; max-width: 1024px !important; margin: 0 auto !important; position: relative; z-index: 10; box-sizing: border-box; }

/* -----------------------------------------------------------------
   NEW: THEME POST META DATA (Tags & Categories)
----------------------------------------------------------------- */
.post-meta-container {
    margin: 24px auto 32px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.solana-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--sol-purple) 0%, var(--sol-green) 100%);
    border-radius: 3px;
}
.post-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.term-badge {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    text-decoration: none;
}
.term-badge:hover {
    border-color: var(--sol-green);
    color: #fff;
    background: rgba(20,241,149,0.1);
    transform: translateY(-2px);
}

/* Global Native Gutenberg Buttons - Centered, Solana Gradient */
.wp-block-buttons { display: flex !important; justify-content: center !important; width: 100% !important; margin: 2.5em 0 !important; }

/* THEME BUTTON EXCLUSION FIX: Forces theme to ignore ANY element with a bpv- class from the plugin */
.wp-block-button__link, button:not(.hamburger-btn):not(.icon-box-btn):not([class*="bpv-"]), .btn { 
    background: linear-gradient(135deg, var(--sol-purple) 0%, var(--sol-green) 100%) !important; 
    color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; font-weight: 800 !important; 
    text-align: center !important; padding: 14px 36px !important; border-radius: 50px !important; 
    border: none !important; text-decoration: none !important; box-shadow: 0 8px 25px rgba(153,69,255,0.3) !important; 
    transition: transform 0.2s, box-shadow 0.2s !important; display: inline-block !important; font-family: var(--font-main) !important; 
}

.wp-block-button__link:hover, button:not(.hamburger-btn):not(.icon-box-btn):not([class*="bpv-"]):hover, .btn:hover { 
    transform: translateY(-2px) !important; box-shadow: 0 12px 30px rgba(20,241,149,0.4) !important; color: #ffffff !important; 
}

/* Fast-Loading Minimalist Blog Grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.blog-card { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; background: var(--sol-dark); border: 1px solid var(--glass-border); text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(153,69,255,0.15); border-color: rgba(20,241,149,0.4); }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img { transform: scale(1.05); }
.blog-card-fallback { width: 100%; height: 100%; background: linear-gradient(135deg, rgba(153,69,255,0.1) 0%, rgba(20,241,149,0.1) 100%); display: flex; align-items: center; justify-content: center; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-fallback { transform: scale(1.05); }
.blog-card-fallback svg { width: 64px; height: 64px; opacity: 0.3; color: var(--sol-green); }
.blog-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,1,8,0) 30%, rgba(3,1,8,0.95) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; z-index: 2; }
.blog-card-title { color: var(--text-light); font-size: 1.25rem; font-weight: 800; line-height: 1.3; margin: 0; text-wrap: balance; }

/* Pagination */
.blog-pagination { margin-top: 48px; text-align: center; }
.blog-pagination .nav-links { display: inline-flex; gap: 8px; background: rgba(0,0,0,0.3); padding: 8px; border-radius: 50px; border: 1px solid var(--glass-border); }
.blog-pagination a, .blog-pagination span { padding: 10px 18px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; color: var(--text-main); transition: 0.2s; }
.blog-pagination a:hover { background: rgba(255,255,255,0.1); color: var(--sol-green); }
.blog-pagination .current { background: linear-gradient(135deg, var(--sol-purple) 0%, var(--sol-green) 100%); color: #fff; box-shadow: 0 4px 15px rgba(153,69,255,0.3); }

/* Background Glow */
.bg-orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: radial-gradient(circle at 50% 0%, #150529 0%, #030108 60%); }
.orb-1 { position: absolute; top: -10%; left: -10%; width: 70vw; height: 70vw; background: radial-gradient(circle, rgba(153,69,255,0.15) 0%, transparent 60%); filter: blur(80px); mix-blend-mode: screen; }
.orb-2 { position: absolute; top: 30%; right: -15%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(20,241,149,0.1) 0%, transparent 60%); filter: blur(80px); mix-blend-mode: screen; }
.orb-3 { position: absolute; bottom: -20%; left: 15%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(153,69,255,0.08) 0%, transparent 60%); filter: blur(80px); mix-blend-mode: screen; }

/* Responsive Overrides */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .site-header { margin-top: 0 !important; height: 64px !important; padding: 0 16px !important; border-radius: 0 !important; width: 100% !important; max-width: 100% !important; border-left: none !important; border-right: none !important; border-top: none !important; }
    
    /* Footer inherits identical mobile override as header */
    .site-footer { margin-bottom: 0 !important; height: 64px !important; padding: 0 16px !important; border-radius: 0 !important; width: 100% !important; max-width: 100% !important; border-left: none !important; border-right: none !important; border-bottom: none !important; margin-top: 0 !important; }
    
    .desktop-nav { display: none !important; }
    .hamburger-btn { display: flex !important; align-items: center; justify-content: center; }
    .header-right { gap: 12px !important; }
    .dropdown-menu { width: 100%; border-radius: 0; padding: 16px; top: 64px; right: 0; left: 0; border-left: none; border-right: none; }
    .blog-grid { grid-template-columns: 1fr; gap: 16px; }
    .blog-card { aspect-ratio: 16/10; }
}