/*
Theme Name: Titan Digital Store
Theme URI: https://titan.gg
Author: Titan.gg
Author URI: https://titan.gg
Description: Premium Game Store Theme for Steam ID, CDKEY, and Game Rental
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: titan-store
Tags: e-commerce, gaming, dark, custom-menu, featured-images
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg: #f8f9fc;
    --surface: #fff;
    --surface2: #f2f4f8;
    --surface3: #e8ecf5;
    --blue: #2d5be3;
    --blue2: #4671f6;
    --blue3: #1a3dc7;
    --blue-soft: #eef2ff;
    --blue-mid: #dbe4ff;
    --navy: #0d1b40;
    --navy2: #162050;
    --text: #0d1b40;
    --sub: #4a5578;
    --muted: #8892aa;
    --border: #e2e7f0;
    --border2: #cdd5e8;
    --green: #16a34a;
    --red: #dc2626;
    --amber: #d97706;
    --purple: #7c3aed;
    --sh1: 0 1px 3px rgba(13,27,64,.06), 0 2px 8px rgba(13,27,64,.04);
    --sh2: 0 4px 16px rgba(13,27,64,.10), 0 1px 4px rgba(13,27,64,.06);
    --sh3: 0 12px 40px rgba(13,27,64,.14), 0 2px 8px rgba(13,27,64,.06);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color .16s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue-mid); border-radius: 4px; }

/* TOPBAR */
.titan-topbar { background: var(--navy); padding: 8px 0; text-align: center; font-size: 12px; color: rgba(255,255,255,.65); letter-spacing: .3px; }
.titan-topbar strong { color: #93c5fd; font-weight: 700; }

/* HEADER */
.titan-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 300; box-shadow: var(--sh1); }
.titan-header-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 16px; height: 62px; }
.titan-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.titan-logo-mark { width: 36px; height: 36px; background: linear-gradient(135deg, var(--blue), var(--blue3)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; color: #fff; box-shadow: 0 2px 8px rgba(45,91,227,.3); }
.titan-logo-name { font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: -.5px; }
.titan-logo-name span { color: var(--blue); }
.titan-nav { flex: 1; display: flex; justify-content: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.titan-nav li { list-style: none; margin: 0; padding: 0; }
.titan-nav a { color: var(--sub); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 8px; transition: all .16s; white-space: nowrap; text-decoration: none; display: block; }
.titan-nav a:hover, .titan-nav a.current-menu-item { color: var(--blue); background: var(--blue-soft); }
.titan-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
.titan-icon-btn { width: 38px; height: 38px; border: 1.5px solid var(--border); background: var(--surface); border-radius: 9px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 15px; color: var(--sub); position: relative; transition: all .16s; }
.titan-icon-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.titan-cart-count { position: absolute; top: -5px; right: -5px; background: var(--red); color: #fff; font-size: 9px; font-weight: 800; width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.titan-wallet-btn { display: flex; align-items: center; gap: 6px; padding: 7px 14px; background: var(--blue-soft); border: 1.5px solid var(--blue-mid); border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--blue); cursor: pointer; transition: all .16s; }
.titan-wallet-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.titan-register-btn { padding: 8px 18px; background: var(--blue); color: #fff; border: none; border-radius: 9px; font-size: 13px; font-weight: 700; transition: all .16s; }
.titan-register-btn:hover { background: var(--blue3); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(45,91,227,.3); }

/* HERO SLIDER */
.titan-hero { background: var(--navy); overflow: hidden; position: relative; }
.titan-slides-wrap { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }

.titan-slide {
    min-width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    padding: 0 40px;
    text-align: left;
}

.titan-slide-emoji { font-size: 320px; opacity: .05; position: absolute; right: 60px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.titan-slide-grad { position: absolute; inset: 0; }

.titan-slide-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 1280px;
    width: 100%;
    padding: 0 24px;
}
.titan-slide-body > * { max-width: 580px; }
.titan-slide-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; width: fit-content; }
.titan-slide-tag.blue { background: rgba(70,113,246,.2); border: 1px solid rgba(70,113,246,.4); color: #93c5fd; }
.titan-slide-tag.green { background: rgba(22,163,74,.2); border: 1px solid rgba(22,163,74,.4); color: #86efac; }
.titan-slide-tag.amber { background: rgba(217,119,6,.2); border: 1px solid rgba(217,119,6,.4); color: #fcd34d; }
.titan-slide-body h1 { font-size: 44px; font-weight: 800; color: #fff; line-height: 1.05; letter-spacing: -1.5px; margin-bottom: 10px; }
.titan-slide-body h1 em { font-style: normal; color: #93c5fd; }
.titan-slide-body p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 22px; }
.titan-slide-prices { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.titan-price-old { font-size: 15px; color: rgba(255,255,255,.35); text-decoration: line-through; }
.titan-price-new { font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -1px; line-height: 1; }
.titan-price-disc { background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 5px; }
.titan-slide-btns { display: flex; gap: 10px; }
.titan-btn-buy { padding: 12px 26px; background: var(--blue2); color: #fff; border: none; border-radius: 10px; font-size: 14px; font-weight: 700; transition: all .2s; }
.titan-btn-buy:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,91,227,.4); }
.titan-btn-more { padding: 12px 22px; background: transparent; color: rgba(255,255,255,.7); border: 1.5px solid rgba(255,255,255,.2); border-radius: 10px; font-size: 13px; font-weight: 600; transition: all .2s; }
.titan-btn-more:hover { border-color: rgba(255,255,255,.5); color: #fff; }

.titan-slide-card {
    position: relative;
    z-index: 3;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 20px;
    width: 100%;
}
.titan-slide-card-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.titan-deal-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; margin-bottom: 6px; cursor: pointer; transition: background .16s; border: 1px solid transparent; }
.titan-deal-row:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.titan-deal-row:last-child { margin-bottom: 0; }
.titan-deal-icon { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.titan-deal-info { flex: 1; min-width: 0; }
.titan-deal-name { font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.titan-deal-type { font-size: 10px; color: rgba(255,255,255,.4); margin-top: 1px; }
.titan-deal-price { font-size: 14px; font-weight: 800; color: #93c5fd; white-space: nowrap; }

.titan-slider-dots { position: absolute; bottom: 18px; left: 80px; display: flex; align-items: center; gap: 8px; z-index: 10; }
.titan-dot { width: 20px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.2); cursor: pointer; transition: all .3s; }
.titan-dot.active { background: var(--blue2); width: 32px; }
.titan-slider-arrows { position: absolute; bottom: 14px; right: 24px; display: flex; gap: 6px; z-index: 10; }
.titan-arrow { width: 34px; height: 34px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: rgba(255,255,255,.5); font-size: 13px; transition: all .2s; }
.titan-arrow:hover { background: var(--blue2); border-color: var(--blue2); color: #fff; }

/* LAYOUT */
.titan-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.titan-section { padding: 36px 0; }
.titan-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.titan-section-title { font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -.4px; display: flex; align-items: center; gap: 10px; }
.titan-section-title::before { content: ''; width: 4px; height: 20px; background: var(--blue); border-radius: 2px; display: block; flex-shrink: 0; }
.titan-pill { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; padding: 3px 9px; border-radius: 20px; }
.titan-pill.blue { background: var(--blue-soft); color: var(--blue); }
.titan-pill.green { background: #dcfce7; color: var(--green); }
.titan-pill.amber { background: #fef3c7; color: var(--amber); }
.titan-all-btn { font-size: 12px; font-weight: 700; color: var(--blue); padding: 6px 14px; border: 1.5px solid var(--blue-mid); border-radius: 8px; cursor: pointer; transition: all .16s; background: none; }
.titan-all-btn:hover { background: var(--blue-soft); }
.titan-divider { height: 0; background: none; }

/* CATEGORY CARDS */
.titan-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 24px 0; }
.titan-cat-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: 16px; padding: 22px 20px 20px; cursor: pointer; transition: all .22s; position: relative; overflow: hidden; display: block; text-decoration: none; background-size: cover; background-position: center; }
.titan-cat-card.has-bg::before { content:''; position:absolute; inset:0; background:var(--cat-overlay,rgba(255,255,255,.82)); border-radius:15px; z-index:0; transition:opacity .22s; }
.titan-cat-card.has-bg:hover::before { opacity:.9; }
.titan-cat-card.has-bg > * { position:relative; z-index:1; }
.titan-cat-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--cat-color); border-radius: 16px 16px 0 0; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.titan-cat-card:hover { border-color: var(--cat-color); transform: translateY(-4px); box-shadow: var(--sh3); }
.titan-cat-card:hover::after { transform: scaleX(1); }
.titan-cat-card.c1 { --cat-color: #2d5be3; }
.titan-cat-card.c2 { --cat-color: #7c3aed; }
.titan-cat-card.c3 { --cat-color: #dc2626; }
.titan-cat-card.c4 { --cat-color: #d97706; }
.titan-cat-icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; min-width: 50px; }
.titan-cat-icon:empty { display: none; }
.titan-cat-card.c1 .titan-cat-icon { background: #eef2ff; }
.titan-cat-card.c2 .titan-cat-icon { background: #f5f3ff; }
.titan-cat-card.c3 .titan-cat-icon { background: #fef2f2; }
.titan-cat-card.c4 .titan-cat-icon { background: #fffbeb; }
.titan-cat-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--cat-color); margin-bottom: 5px; }
.titan-cat-name { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 5px; letter-spacing: -.3px; }
.titan-cat-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.titan-cat-num { font-size: 42px; font-weight: 800; color: var(--cat-color); opacity: .06; position: absolute; right: 14px; bottom: 8px; line-height: 1; letter-spacing: -2px; }
.titan-cat-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--cat-color); }

/* PRODUCT GRIDS */
.titan-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.titan-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.titan-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.titan-product-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; cursor: pointer; transition: all .22s; position: relative; display: block; text-decoration: none; }
.titan-product-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--sh2); }
.titan-product-thumb { width: 100%; aspect-ratio: 460/215; display: flex; align-items: center; justify-content: center; font-size: 52px; position: relative; overflow: hidden; background: var(--surface2); }
.titan-product-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.titan-thumb-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,27,64,.5) 0%, transparent 55%); }
.titan-discount-tag { position: absolute; top: 8px; right: 8px; background: var(--red); color: #fff; font-size: 9px; font-weight: 800; padding: 3px 7px; border-radius: 5px; }
.titan-type-tag { position: absolute; top: 8px; left: 8px; font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 5px; text-transform: uppercase; letter-spacing: .4px; }
.titan-type-tag.id { background: var(--blue); color: #fff; }
.titan-type-tag.key { background: var(--purple); color: #fff; }
.titan-type-tag.rent { background: #059669; color: #fff; }
.titan-type-tag.hot { background: var(--amber); color: #fff; }
.titan-product-body { padding: 10px 10px 12px; }
.titan-product-name { font-size: 12px; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.titan-product-platform { font-size: 10px; color: var(--muted); margin-bottom: 9px; font-weight: 500; }
.titan-product-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.titan-product-price .old { font-size: 10px; color: var(--muted); text-decoration: line-through; line-height: 1; }
.titan-product-price .now { font-size: 17px; font-weight: 800; color: var(--blue); letter-spacing: -.4px; line-height: 1.1; }
.titan-add-btn { width: 30px; height: 30px; background: var(--blue); color: #fff; border: none; border-radius: 8px; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .18s; }
.titan-add-btn:hover { background: var(--blue3); transform: scale(1.1); }
.titan-add-btn.added { background: var(--green); }

.tp1  { background: linear-gradient(160deg,#c7d2fe,#818cf8); }
.tp2  { background: linear-gradient(160deg,#bfdbfe,#60a5fa); }
.tp3  { background: linear-gradient(160deg,#fce7f3,#f472b6); }
.tp4  { background: linear-gradient(160deg,#d1fae5,#34d399); }
.tp5  { background: linear-gradient(160deg,#fef3c7,#fbbf24); }
.tp6  { background: linear-gradient(160deg,#fee2e2,#f87171); }
.tp7  { background: linear-gradient(160deg,#e0e7ff,#6366f1); }
.tp8  { background: linear-gradient(160deg,#ccfbf1,#2dd4bf); }
.tp9  { background: linear-gradient(160deg,#fef9c3,#facc15); }
.tp10 { background: linear-gradient(160deg,#fae8ff,#c084fc); }
.tp11 { background: linear-gradient(160deg,#dbeafe,#3b82f6); }
.tp12 { background: linear-gradient(160deg,#dcfce7,#4ade80); }

/* FEATURED */
.titan-featured-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.titan-featured-big { border-radius: 16px; background: linear-gradient(135deg, var(--navy) 0%, #1a3498 100%); padding: 32px; min-height: 240px; display: flex; align-items: flex-end; cursor: pointer; transition: all .22s; border: 1.5px solid #1a3498; position: relative; overflow: hidden; }
.titan-featured-big::before { content: ''; position: absolute; right: -20px; top: -20px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(147,197,253,.12), transparent 70%); }
.titan-featured-big:hover { transform: translateY(-3px); box-shadow: var(--sh3); }
.titan-featured-label { position: absolute; top: 20px; left: 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #93c5fd; font-size: 10px; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; }
.titan-featured-emoji { position: absolute; right: 24px; top: 20px; font-size: 72px; opacity: .35; }
.titan-featured-content { position: relative; z-index: 2; }
.titan-featured-content h3 { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 4px; }
.titan-featured-content p { font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 14px; line-height: 1.5; }
.titan-featured-price { font-size: 26px; font-weight: 800; color: #93c5fd; letter-spacing: -.5px; }
.titan-featured-buy { margin-left: 16px; padding: 10px 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all .2s; }
.titan-featured-buy:hover { background: #fff; color: var(--navy); }
.titan-featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* PROMO */
.titan-promo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; padding: 0 0 36px; }
.titan-promo-banner { border-radius: 14px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; transition: all .22s; position: relative; overflow: hidden; border: 1.5px solid transparent; }
.titan-promo-banner:hover { transform: translateY(-3px); box-shadow: var(--sh2); }
.titan-promo-banner.pb1 { background: linear-gradient(135deg,#eef2ff,#dbe4ff); border-color: #c7d2fe; }
.titan-promo-banner.pb2 { background: linear-gradient(135deg,#f0fdf4,#dcfce7); border-color: #bbf7d0; }
.titan-promo-banner.pb3 { background: linear-gradient(135deg,#fffbeb,#fef3c7); border-color: #fde68a; }
.titan-promo-text h4 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 4px; letter-spacing: -.3px; }
.titan-promo-text p { font-size: 11px; color: var(--sub); line-height: 1.5; }
.titan-promo-price { font-size: 28px; font-weight: 800; letter-spacing: -1px; }
.pb1 .titan-promo-price { color: var(--blue); }
.pb2 .titan-promo-price { color: var(--green); }
.pb3 .titan-promo-price { color: var(--amber); }
.titan-promo-sub { font-size: 10px; color: var(--muted); margin-top: 2px; text-align: right; }

/* CATALOG TABS */
.titan-catalog-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.titan-catalog-tabs { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
.titan-tab { padding: 7px 16px; border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; border: 1.5px solid var(--border); background: var(--surface); color: var(--sub); transition: all .16s; }
.titan-tab:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.titan-tab.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* WHY US */
.titan-why { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; margin: 8px 0; }
.titan-why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.titan-why-item { display: flex; align-items: flex-start; gap: 12px; padding: 0 28px; border-right: 1px solid var(--border); }
.titan-why-item:first-child { padding-left: 0; }
.titan-why-item:last-child { border-right: none; }
.titan-why-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.titan-why-item h4 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.titan-why-item p { font-size: 11px; color: var(--muted); line-height: 1.5; }

/* FOOTER */
.titan-footer { background: var(--navy2); padding: 48px 0 20px; }
.titan-footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.titan-footer-logo { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.titan-footer-logo-box { width: 34px; height: 34px; background: var(--blue2); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: #fff; }
.titan-footer-logo-name { font-size: 15px; font-weight: 800; color: #fff; letter-spacing: -.3px; }
.titan-footer-brand p { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.8; max-width: 210px; }
.titan-footer-payment { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.titan-footer-payment span { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.5); font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: 6px; }
.titan-footer-col h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.3); margin-bottom: 14px; }
.titan-footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.5); text-decoration: none; margin-bottom: 9px; transition: color .16s; }
.titan-footer-col a:hover { color: #fff; }
.titan-social-links { display: flex; gap: 7px; margin-top: 10px; }
.titan-social-btn { width: 32px; height: 32px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: rgba(255,255,255,.6); cursor: pointer; transition: all .16s; }
.titan-social-btn:hover { background: var(--blue2); border-color: var(--blue2); color: #fff; }
.titan-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; display: flex; align-items: center; justify-content: space-between; }
.titan-footer-bottom p { font-size: 11px; color: rgba(255,255,255,.25); }

/* TOAST */
#titan-toast { position: fixed; bottom: 22px; right: 22px; z-index: 999; background: var(--navy); border: 1px solid rgba(255,255,255,.08); border-left: 3px solid var(--green); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 13px; font-weight: 600; box-shadow: var(--sh3); transform: translateY(80px); opacity: 0; transition: all .28s; pointer-events: none; display: flex; align-items: center; gap: 8px; }
.titan-toast-check { width: 18px; height: 18px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; }
#titan-toast.show { transform: translateY(0); opacity: 1; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .titan-grid-6 { grid-template-columns: repeat(4, 1fr); }
    .titan-grid-5 { grid-template-columns: repeat(4, 1fr); }
    .titan-categories { grid-template-columns: repeat(2, 1fr); }
    .titan-featured-wrap { grid-template-columns: 1fr; }
    .titan-slide { grid-template-columns: 1fr; padding: 0 48px; }
    .titan-slide-card { display: none; }
    .titan-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .titan-nav { display: none; }
    .titan-grid-6, .titan-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .titan-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .titan-promo-grid { grid-template-columns: 1fr; }
    .titan-why-grid { grid-template-columns: repeat(2, 1fr); }
    .titan-why-item { border-right: none; padding: 12px 0; border-bottom: 1px solid var(--border); }
    .titan-why-item:last-child { border-bottom: none; }
    .titan-footer-top { grid-template-columns: 1fr; }
    .titan-slide-body h1 { font-size: 28px; }
    .titan-slide { padding: 0 24px; height: 360px; }
}

/* ══════════════════════════════════════════
   PRODUCT CARDS — redesign ทันสมัย
   ══════════════════════════════════════════ */
.titan-product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .22s, box-shadow .22s, border-color .18s;
  position: relative;
  display: block;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(13,27,64,.07);
}
.titan-product-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(45,91,227,.18);
}

/* Thumb — Steam capsule ratio 460x215 ≈ 2.14:1 */
.titan-product-thumb {
  width: 100%;
  aspect-ratio: 460/215;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px;
  position: relative; overflow: hidden;
  background: #0d1b40;
}
.titan-product-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  transition: transform .4s ease;
}
.titan-product-card:hover .titan-product-thumb img { transform: scale(1.07); }
.titan-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,64,.55) 0%, transparent 60%);
}

/* Tags */
.titan-discount-tag {
  position: absolute; top: 8px; right: 8px;
  background: #ef4444; color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 3px 8px; border-radius: 6px;
  box-shadow: 0 2px 6px rgba(239,68,68,.4);
  z-index: 2;
}
.titan-type-tag {
  position: absolute; top: 8px; left: 8px;
  font-size: 9px; font-weight: 800;
  padding: 3px 8px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: .5px;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.titan-type-tag.id   { background: rgba(45,91,227,.85);  color: #fff; }
.titan-type-tag.key  { background: rgba(124,58,237,.85); color: #fff; }
.titan-type-tag.rent { background: rgba(5,150,105,.85);  color: #fff; }
.titan-type-tag.hot  { background: rgba(217,119,6,.85);  color: #fff; }

/* Body */
.titan-product-body { padding: 11px 12px 13px; }
.titan-product-name {
  font-size: 13px; font-weight: 700; color: var(--text);
  margin-bottom: 3px; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.titan-product-platform {
  font-size: 11px; color: var(--muted);
  margin-bottom: 8px;
}
.titan-product-footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
  flex-wrap: wrap;
}
.titan-product-price { display: flex; flex-direction: column; gap: 1px; flex-shrink: 0; }
.titan-product-price .old {
  font-size: 10px; color: var(--muted);
  text-decoration: line-through; line-height: 1;
}
.titan-product-price .now {
  font-size: 18px; font-weight: 800;
  color: var(--blue); letter-spacing: -.3px; line-height: 1.1;
}

/* Add to cart button — รถเข็น + ข้อความ */
.titan-add-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; border: none;
  border-radius: 9px; width: 34px; height: 34px;
  font-size: 20px; font-weight: 700; cursor: pointer;
  flex-shrink: 0; line-height: 1;
  transition: background .18s, transform .14s, box-shadow .18s;
  box-shadow: 0 3px 10px rgba(45,91,227,.35);
}
.titan-add-btn:hover { background: var(--blue3); transform: scale(1.05); box-shadow: 0 5px 16px rgba(45,91,227,.5); }
.titan-add-btn.added { background: var(--green); box-shadow: none; }

/* ══════════════════════════════════════════
   NEW GAMES — layout แบบ Featured (รูป 2)
   1 ใหญ่ซ้าย + 4 เล็กขวา 2×2
   ══════════════════════════════════════════ */
/* ── Placeholder skeleton (แสดงเมื่อยังไม่ครบ 5 เกม) ── */
.ng-placeholder {
    border-radius: 12px;
    background: var(--surface2);
    border: 2px dashed var(--border2);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px; color: var(--muted);
    font-size: 12px; font-weight: 600;
    cursor: default;
    height: 100%;
    min-height: 120px;
}
.ng-placeholder-icon { font-size: 28px; opacity: .4; }
.ng-placeholder-text { opacity: .5; }
@keyframes ng-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.ng-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 10px;
  height: 380px;   /* คงที่ทุก slide */
  align-items: stretch;
}
.ng-layout.ng-solo { grid-template-columns: 1fr; }

/* BIG card */
.ng-main {
  display: block; position: relative;
  border-radius: 16px; overflow: hidden;
  text-decoration: none;
  background: var(--surface2); height: 100%;
  transition: transform .22s;
}
.ng-main:hover { transform: translateY(-3px); }
.ng-main-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  image-rendering: auto;
  transition: transform .4s ease;
}
.ng-main:hover .ng-main-img { transform: scale(1.03); }
.ng-main-fallback { position: absolute; inset: 0; }
.ng-main-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.95) 0%,
    rgba(0,0,0,.6)  35%,
    rgba(0,0,0,.15) 65%,
    transparent     100%
  );
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 22px 22px;
}

/* badge แสดงสถานะ */
.ng-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 5px;
  background: #16a34a; color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 5px 11px; border-radius: 20px;
  letter-spacing: .5px; text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(22,163,74,.45);
}

.ng-main-title {
  font-size: 26px; font-weight: 800; color: #fff;
  margin: 0 0 4px; line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
}
.ng-main-sub {
  font-size: 12px; color: rgba(255,255,255,.55);
  margin: 0 0 14px; letter-spacing: .2px;
}

/* แถบราคา + ปุ่ม */
.ng-main-bar {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 10px 14px;
}
.ng-main-prices { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ng-old { color: rgba(255,255,255,.35); font-size: 12px; text-decoration: line-through; }
.ng-price { color: var(--blue2); font-size: 24px; font-weight: 800; line-height: 1; }
.ng-disc {
  background: #ef4444; color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 3px 7px; border-radius: 5px;
}
.ng-cart-btn {
  background: var(--blue2); color: #fff; border: none;
  border-radius: 10px; padding: 10px 20px;
  font-size: 13px; font-weight: 800; cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
  transition: background .18s, transform .14s, box-shadow .18s;
  box-shadow: 0 3px 12px rgba(70,113,246,.5);
}
.ng-cart-btn:hover {
  background: var(--blue3);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(45,91,227,.55);
}

/* 4 SMALL cards */
.ng-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px; height: 100%;
}
.ng-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  text-decoration: none; min-height: 0;
  box-shadow: 0 2px 10px rgba(13,27,64,.08);
  transition: transform .2s, box-shadow .2s, border-color .18s;
}
.ng-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(45,91,227,.2);
}
.ng-card-thumb {
  position: relative; flex: 1; min-height: 0;
  overflow: hidden; background: #0d1b40;
}
.ng-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .35s ease;
}
.ng-card:hover .ng-card-thumb img { transform: scale(1.08); }
.ng-card-fallback { position: absolute; inset: 0; }

.ng-card-disc {
  position: absolute; top: 5px; right: 5px;
  background: #ef4444; color: #fff;
  font-size: 9px; font-weight: 800;
  padding: 2px 6px; border-radius: 4px; z-index: 2;
}
.ng-card-tag {
  position: absolute; bottom: 5px; left: 5px;
  font-size: 9px; font-weight: 800;
  padding: 2px 7px; border-radius: 4px; z-index: 2;
  backdrop-filter: blur(4px);
}
.ng-card-tag.id   { background: rgba(45,91,227,.85);  color: #fff; }
.ng-card-tag.key  { background: rgba(124,58,237,.85); color: #fff; }
.ng-card-tag.rent { background: rgba(5,150,105,.85);  color: #fff; }
.ng-card-tag.hot  { background: rgba(217,119,6,.85);  color: #fff; }

.ng-card-body {
  padding: 8px 10px 10px;
  background: var(--navy);
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,.04);
}
.ng-card-name {
  font-size: 11px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 5px;
}
.ng-card-footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 4px;
}
.ng-card-prices { display: flex; align-items: baseline; gap: 5px; min-width: 0; }
.ng-old-sm { font-size: 9px; color: rgba(255,255,255,.3); text-decoration: line-through; }
.ng-price-sm { font-size: 13px; font-weight: 800; color: var(--blue2); }

.ng-add {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; border: none;
  border-radius: 7px; width: 28px; height: 28px;
  font-size: 18px; font-weight: 700; cursor: pointer;
  flex-shrink: 0; line-height: 1;
  transition: background .18s, transform .14s, box-shadow .18s;
  box-shadow: 0 2px 8px rgba(45,91,227,.4);
}
.ng-add:hover {
  background: var(--blue3);
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(45,91,227,.55);
}


/* ── New Games Slider ─────────────────── */
.ng-slider-wrap {
    position: relative;
    padding: 0 44px;   /* พื้นที่ปุ่มซ้ายขวา — ปุ่มอยู่นอกกรอบ */
}
/* กล่องที่ซ่อน overflow แยกออกมา ไม่ให้ตัดปุ่ม */
.ng-slider-clip {
    overflow: hidden;
    width: 100%;
    border-radius: 4px;
}
.ng-slider-track {
    display: flex;
    width: 300%;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.ng-slide {
    flex: 0 0 calc(100% / 3);
    width: calc(100% / 3);
    min-width: 0;
    padding: 2px 0 4px;
}
.ng-slider-btn {
    position: absolute; top: 50%; transform: translateY(-55%);
    z-index: 10; width: 38px; height: 38px; border-radius: 50%;
    background: #fff; border: 1.5px solid var(--border);
    color: var(--navy); font-size: 22px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 12px rgba(13,27,64,.15);
    transition: all .18s; line-height: 1;
}
.ng-slider-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-55%) scale(1.08); }
.ng-slider-prev { left: 0; }
.ng-slider-next { right: 0; }
.ng-dots {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 16px;
}
.ng-dot {
    width: 28px; height: 4px; border-radius: 2px;
    background: var(--border2); border: none; padding: 0;
    cursor: pointer; transition: all .3s;
}
.ng-dot.active { background: var(--blue); width: 40px; }

/* Responsive */
@media (max-width: 900px) {
  .ng-layout { grid-template-columns: 1fr; height: auto; }
  .ng-main   { height: 300px; }
  .ng-grid   { grid-template-columns: repeat(2,1fr); grid-template-rows: auto; height: auto; }
  .ng-card-thumb { height: 90px; flex: none; }
}
@media (max-width: 500px) {
  .ng-grid { grid-template-columns: 1fr; }
}


/* CATALOG ALL BTN */
.titan-catalog-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.titan-catalog-tabs { display: flex; gap: 6px; }

/* Hide plugin floating cart buttons */
.woocommerce-mini-cart-item,
.floating-cart,
.twbb-cart-button,
.xoo-wsc-modal,
.cart-button-wrap,
a.wc-forward,
.wc-backward,
.woocommerce a.button.wc-forward,
div[class*="floating"],
div[id*="floating-cart"],
.wc-block-components-sidebar,
#tera-wallet-float,
.tera-wallet-float-btn,
.tw-float-btn,
[class*="tw-float"],
[id*="tw-float"] { display: none !important; }

/* Tooltip on cart buttons */
.titan-add-btn,.ng-add,.ng-cart-btn{position:relative}
.titan-add-btn::after,.ng-add::after,.ng-cart-btn::after{
  content:'หยิบใส่ตะกร้า';
  position:absolute; bottom:calc(100% + 6px); left:50%; transform:translateX(-50%);
  background:rgba(13,27,64,.88); color:#fff; font-size:11px; font-weight:600;
  white-space:nowrap; padding:4px 9px; border-radius:6px;
  pointer-events:none; opacity:0; transition:opacity .18s;
  z-index:20;
}
.titan-add-btn:hover::after,.ng-add:hover::after,.ng-cart-btn:hover::after{opacity:1}

/* ── Auth pages (login/register) ─────── */
.auth-page { min-height:calc(100vh - 120px); }

/* ══════════════════════════════════════════
   INFO PAGES  (contact / refund / faq / terms)
   ══════════════════════════════════════════ */

/* Hero banner */
.tpage-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); padding: 52px 0 48px; text-align: center; position: relative; overflow: hidden; }
.tpage-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45,91,227,.25) 0%, transparent 70%); pointer-events: none; }
.tpage-hero--blue  { background: linear-gradient(135deg, #0d2461 0%, var(--navy2) 100%); }
.tpage-hero--purple{ background: linear-gradient(135deg, #2d0d61 0%, var(--navy2) 100%); }
.tpage-hero--navy  { background: linear-gradient(135deg, var(--navy) 0%, #0a1330 100%); }
.tpage-hero-inner  { position: relative; z-index: 1; }
.tpage-hero-icon   { font-size: 48px; margin-bottom: 14px; display: block; }
.tpage-hero-title  { font-size: 32px; font-weight: 800; color: #fff; margin: 0 0 10px; letter-spacing: -.6px; }
.tpage-hero-sub    { font-size: 14px; color: rgba(255,255,255,.55); max-width: 500px; margin: 0 auto; line-height: 1.7; }

/* Page wrapper */
.tpage-wrap { padding-top: 40px; padding-bottom: 60px; }

/* Alert bar */
.tpage-alert { display: flex; align-items: center; gap: 12px; background: #fffbeb; border: 1.5px solid #fcd34d; border-radius: 12px; padding: 14px 18px; margin-bottom: 32px; font-size: 13px; color: #92400e; font-weight: 500; }
.tpage-alert--info { background: var(--blue-soft); border-color: var(--blue-mid); color: var(--navy); }
.tpage-alert-icon  { font-size: 18px; flex-shrink: 0; }

/* Info box (footer CTA) */
.tpage-info-box { display: flex; align-items: flex-start; gap: 16px; background: var(--surface2); border: 1.5px solid var(--border); border-radius: 14px; padding: 20px 22px; margin-top: 36px; }
.tpage-info-box-icon { font-size: 26px; flex-shrink: 0; margin-top: 2px; }
.tpage-info-box-title { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 5px; }
.tpage-info-box-text  { font-size: 13px; color: var(--sub); line-height: 1.6; }

/* Section title */
.tpage-section { margin-top: 40px; }
.tpage-section-title { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 22px; display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }

/* ── Contact page ── */
.tpage-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .tpage-contact-grid { grid-template-columns: 1fr; } }
.tpage-contact-card { display: flex; align-items: center; gap: 16px; padding: 22px 20px; border-radius: 16px; border: 1.5px solid var(--border); background: var(--surface); text-decoration: none; transition: all .22s; cursor: pointer; }
.tpage-contact-card:hover { transform: translateY(-4px); box-shadow: var(--sh3); }
.tpage-contact-fb:hover     { border-color: #1877f2; }
.tpage-contact-line:hover   { border-color: #06c755; }
.tpage-contact-discord:hover{ border-color: #5865f2; }
.tpage-contact-card-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tpage-contact-fb .tpage-contact-card-icon     { background: #e7f0fd; color: #1877f2; }
.tpage-contact-line .tpage-contact-card-icon   { background: #e6f9ed; color: #06c755; }
.tpage-contact-discord .tpage-contact-card-icon{ background: #eef0ff; color: #5865f2; }
.tpage-contact-card-body   { flex: 1; min-width: 0; }
.tpage-contact-card-label  { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 3px; }
.tpage-contact-card-value  { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 3px; }
.tpage-contact-card-desc   { font-size: 12px; color: var(--muted); }
.tpage-contact-card-arrow  { font-size: 18px; color: var(--muted); flex-shrink: 0; transition: transform .18s; }
.tpage-contact-card:hover .tpage-contact-card-arrow { transform: translateX(4px); color: var(--blue); }

/* ── Refund page ── */
.tpage-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 800px) { .tpage-two-col { grid-template-columns: 1fr; } }
.tpage-policy-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; }
.tpage-policy-can  { border-top: 4px solid var(--green); }
.tpage-policy-cannot { border-top: 4px solid var(--red); }
.tpage-policy-card-head { padding: 20px 22px 14px; border-bottom: 1px solid var(--border); }
.tpage-policy-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 20px; margin-bottom: 8px; }
.tpage-policy-badge--green { background: #dcfce7; color: var(--green); }
.tpage-policy-badge--red   { background: #fee2e2; color: var(--red); }
.tpage-policy-card-head h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin: 0; }
.tpage-policy-list { padding: 16px 22px; list-style: none; margin: 0; }
.tpage-policy-list li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--sub); line-height: 1.55; }
.tpage-policy-list li:last-child { border-bottom: none; }
.tpage-list-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.tpage-list-dot--green { background: var(--green); }
.tpage-list-dot--red   { background: var(--red); }
.tpage-policy-conditions { padding: 16px 22px; background: var(--surface2); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.tpage-policy-cond-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--sub); }
.tpage-policy-cond-label { font-size: 11px; font-weight: 800; color: var(--navy); white-space: nowrap; flex-shrink: 0; }
/* Steps */
.tpage-steps { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.tpage-step  { flex: 1; min-width: 140px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; padding: 18px 16px; display: flex; align-items: flex-start; gap: 12px; transition: all .2s; }
.tpage-step:hover { border-color: var(--blue); box-shadow: var(--sh2); }
.tpage-step-num  { width: 32px; height: 32px; background: var(--blue); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0; }
.tpage-step-title { font-size: 13px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.tpage-step-desc  { font-size: 12px; color: var(--muted); line-height: 1.5; }
.tpage-step-arrow { font-size: 20px; color: var(--muted); padding-top: 14px; flex-shrink: 0; }
@media (max-width: 700px) { .tpage-step-arrow { display: none; } .tpage-step { min-width: 100%; } }

/* ── FAQ page ── */
.tpage-faq-section { margin-bottom: 32px; }
.tpage-faq-section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.tpage-faq-section-icon { font-size: 22px; }
.tpage-faq-section-head h2 { font-size: 18px; font-weight: 800; color: var(--navy); margin: 0; }
.tpage-faq-list { display: flex; flex-direction: column; gap: 8px; }
.tpage-faq-item { background: var(--surface); border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color .18s; }
.tpage-faq-item.open { border-color: var(--blue); }
.tpage-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: none; border: none; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--navy); text-align: left; font-family: inherit; transition: background .14s; }
.tpage-faq-q:hover { background: var(--surface2); }
.tpage-faq-item.open .tpage-faq-q { background: var(--blue-soft); color: var(--blue); }
.tpage-faq-chevron { font-size: 16px; flex-shrink: 0; transition: transform .22s; }
.tpage-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 18px; font-size: 13px; color: var(--sub); line-height: 1.7; }
.tpage-faq-item.open .tpage-faq-a { padding: 4px 18px 18px; }
.tpage-faq-steps-inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 0; }
.tpage-faq-step-chip { background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tpage-faq-arrow { color: var(--muted); font-size: 14px; }
.tpage-faq-tags { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px 0; }
.tpage-faq-tag { font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 20px; }
.tpage-faq-tag--blue   { background: var(--blue-soft); color: var(--blue); }
.tpage-faq-tag--purple { background: #f5f3ff; color: var(--purple); }
.tpage-faq-tag--green  { background: #dcfce7; color: var(--green); }

/* ── Terms page ── */
.tpage-terms-list { display: flex; flex-direction: column; gap: 0; border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; }
.tpage-terms-item { display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--border); transition: background .15s; }
.tpage-terms-item:last-child { border-bottom: none; }
.tpage-terms-item:hover { background: var(--surface2); }
.tpage-terms-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.tpage-terms-title { font-size: 15px; font-weight: 800; color: var(--navy); margin: 0 0 7px; }
.tpage-terms-text  { font-size: 13px; color: var(--sub); line-height: 1.7; margin: 0; }
.tpage-terms-footer-note { margin-top: 28px; text-align: center; font-size: 12px; color: var(--muted); padding: 14px; background: var(--surface2); border-radius: 10px; border: 1px solid var(--border); }
/* Password strength colors */
.strength-weak   { color:#ef4444; }
.strength-medium { color:#f97316; }
.strength-good   { color:#eab308; }
.strength-strong { color:#22c55e; }

/* ── Notifications ──────────────────── */
.titan-notif-wrap { position: relative; }
.titan-notif-btn { width: 38px; height: 38px; border: 1.5px solid var(--border); background: var(--surface); border-radius: 9px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--sub); position: relative; transition: all .16s; }
.titan-notif-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.titan-notif-badge { position: absolute; top: -5px; right: -5px; background: var(--red); color: #fff; font-size: 9px; font-weight: 800; min-width: 17px; height: 17px; border-radius: 50%; display: none; align-items: center; justify-content: center; border: 2px solid #fff; padding: 0 3px; box-sizing: border-box; }
.titan-notif-panel { display: none; position: absolute; top: calc(100% + 10px); right: 0; width: 340px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 12px 40px rgba(13,27,64,.16), 0 2px 8px rgba(13,27,64,.06); z-index: 600; overflow: hidden; }
.titan-notif-panel.open { display: block; animation: notifSlideIn .18s cubic-bezier(.4,0,.2,1); }
@keyframes notifSlideIn { from { opacity: 0; transform: translateY(-8px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.titan-notif-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 12px; border-bottom: 1px solid var(--border); background: var(--surface); }
.titan-notif-head h4 { font-size: 14px; font-weight: 800; color: var(--navy); margin: 0; display: flex; align-items: center; gap: 7px; }
.titan-notif-head-dot { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; display: inline-block; }
.titan-notif-read-btn { font-size: 11px; font-weight: 700; color: var(--blue); background: var(--blue-soft); border: none; border-radius: 6px; padding: 4px 10px; cursor: pointer; transition: all .15s; }
.titan-notif-read-btn:hover { background: var(--blue); color: #fff; }
.titan-notif-list { max-height: 360px; overflow-y: auto; padding: 8px; }
.titan-notif-item { padding: 11px 13px; border-radius: 10px; cursor: default; transition: background .14s; margin-bottom: 4px; border: 1px solid transparent; }
.titan-notif-item:last-child { margin-bottom: 0; }
.titan-notif-item:hover { background: var(--surface2); }
.titan-notif-item.unread { background: var(--blue-soft); border-color: var(--blue-mid); }
.titan-notif-item.unread:hover { background: #dce6ff; }
.titan-notif-item-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.titan-notif-item-title { font-size: 13px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 6px; flex: 1; line-height: 1.4; }
.titan-notif-unread-dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
.titan-notif-item-msg { font-size: 12px; color: var(--sub); line-height: 1.55; margin-bottom: 6px; }
.titan-notif-item-time { font-size: 10px; color: var(--muted); font-weight: 600; letter-spacing: .2px; }
.titan-notif-empty { text-align: center; padding: 36px 20px; color: var(--muted); font-size: 13px; }
.titan-notif-empty-icon { font-size: 32px; margin-bottom: 8px; opacity: .5; }
.titan-notif-footer { padding: 10px 16px; border-top: 1px solid var(--border); background: var(--surface2); text-align: center; }

/* v9.9: Clickable notifications + bell shake animation */
a.titan-notif-item.has-link { display: block; text-decoration: none; color: inherit; cursor: pointer; }
a.titan-notif-item.has-link:hover { background: var(--blue-soft) !important; transform: translateX(2px); transition: all .15s; }
a.titan-notif-item.has-link.unread:hover { background: #c7d7ff !important; }
.titan-notif-shake { animation: titanBellShake .7s cubic-bezier(.36,.07,.19,.97); }
@keyframes titanBellShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px) rotate(-8deg); }
    20%, 40%, 60%, 80% { transform: translateX(3px) rotate(8deg); }
}
.titan-notif-footer span { font-size: 11px; color: var(--muted); font-weight: 600; }
