/* ================================================================
   GLOWTROPIA DIGITAL BRASIL — Main Stylesheet
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Exo+2:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg-primary: #07071a;
  --bg-secondary: #0d0d28;
  --bg-card: #111132;
  --bg-card-hover: #161645;
  --bg-surface: #0a0a22;

  --accent-green: #00ff9f;
  --accent-pink: #ff2d87;
  --accent-purple: #8b2fff;
  --accent-blue: #00c8ff;
  --accent-orange: #ff8c00;
  --accent-yellow: #ffe600;

  --grad-primary: linear-gradient(135deg, #8b2fff 0%, #ff2d87 50%, #00ff9f 100%);
  --grad-green: linear-gradient(135deg, #00ff9f, #00c8ff);
  --grad-purple: linear-gradient(135deg, #8b2fff, #ff2d87);
  --grad-tropical: linear-gradient(135deg, #ff8c00, #ff2d87, #8b2fff);
  --grad-neon: linear-gradient(90deg, #00ff9f, #00c8ff, #8b2fff, #ff2d87, #ff8c00, #00ff9f);

  --text-primary: #f0f0ff;
  --text-secondary: #9898c8;
  --text-muted: #5a5a8a;

  --border: rgba(139, 47, 255, 0.2);
  --border-glow: rgba(0, 255, 159, 0.35);

  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow-green: 0 0 30px rgba(0, 255, 159, 0.3);
  --shadow-glow-pink: 0 0 30px rgba(255, 45, 135, 0.3);
  --shadow-glow-purple: 0 0 30px rgba(139, 47, 255, 0.3);
  --shadow-glow-blue: 0 0 30px rgba(0, 200, 255, 0.3);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --font-brand: 'Orbitron', sans-serif;
  --font-heading: 'Exo 2', sans-serif;
  --font-body: 'Exo 2', sans-serif;

  --nav-height: 72px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-green); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-blue); }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--text-primary); }
p { color: var(--text-secondary); margin-bottom: 1rem; }

/* ---- Container ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- Typography ---- */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: var(--grad-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; margin-bottom: 2.5rem; }
.text-gradient { background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-glow { text-shadow: 0 0 20px rgba(0, 255, 159, 0.5); }
.neon-text { color: var(--accent-green); text-shadow: 0 0 10px rgba(0,255,159,.5), 0 0 20px rgba(0,255,159,.3); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.8rem; border: none; border-radius: var(--radius-xl);
  font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); text-decoration: none; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--accent-green), var(--accent-blue)); color: #07071a; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow-green); color: #07071a; }
.btn-secondary { background: transparent; color: var(--accent-green); border: 2px solid var(--accent-green); }
.btn-secondary:hover { background: var(--accent-green); color: #07071a; box-shadow: var(--shadow-glow-green); transform: translateY(-3px); }
.btn-purple { background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink)); color: white; }
.btn-purple:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow-purple); color: white; }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent-green); color: var(--accent-green); }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.4rem; font-size: 1.05rem; }

/* ---- Navigation ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(7, 7, 26, 0.9); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height); transition: var(--transition);
}
.site-header.scrolled { background: rgba(7, 7, 26, 0.98); box-shadow: 0 4px 30px rgba(0,0,0,.5); }
.navbar { display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand:hover { color: var(--accent-green); }
.brand-logo { width: 42px; height: 42px; flex-shrink: 0; }
.brand-name { font-family: var(--font-brand); font-weight: 700; font-size: 1.05rem; background: var(--grad-green); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; }
.brand-sub { font-size: 0.58rem; font-weight: 400; color: var(--text-muted); letter-spacing: 1.5px; text-transform: uppercase; display: block; }
.nav-menu { display: flex; align-items: center; gap: 0.1rem; }
.nav-menu li { position: relative; }
.nav-menu > li > a { display: block; padding: 0.5rem 0.8rem; font-size: 0.88rem; font-weight: 500; color: var(--text-secondary); border-radius: var(--radius-sm); transition: var(--transition); }
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--accent-green); background: rgba(0,255,159,.08); }
.dropdown > a::after { content: ' ▾'; font-size: 0.65rem; }
.dropdown-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); min-width: 220px; box-shadow: var(--shadow-card); padding: 0.5rem; z-index: 200; }
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu { display: block; }
.dropdown-menu li a { padding: 0.6rem 1rem; display: block; color: var(--text-secondary); border-radius: var(--radius-sm); font-size: 0.875rem; }
.dropdown-menu li a:hover { color: var(--accent-green); background: rgba(0,255,159,.08); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; z-index: 1001; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--accent-green); border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Hero ---- */
.hero { padding-top: var(--nav-height); min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7,7,26,.9) 0%, rgba(7,7,26,.45) 55%, rgba(7,7,26,.75) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 660px; }
.hero-tag { display: inline-block; padding: 0.4rem 1.1rem; background: rgba(0,255,159,.1); border: 1px solid rgba(0,255,159,.3); border-radius: var(--radius-xl); font-size: 0.78rem; font-weight: 700; color: var(--accent-green); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-desc { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 2.5rem; max-width: 540px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- Page Hero (inner pages) ---- */
.page-hero { padding: calc(var(--nav-height) + 3.5rem) 0 4rem; position: relative; overflow: hidden; background: var(--bg-secondary); }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(139,47,255,.18) 0%, transparent 60%), radial-gradient(ellipse at 20% 50%, rgba(0,255,159,.1) 0%, transparent 50%); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-green); }
.breadcrumb .sep { color: var(--border); }

/* ---- Cards ---- */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); box-shadow: var(--shadow-card); }
.card:hover { transform: translateY(-6px); border-color: rgba(0,255,159,.35); box-shadow: var(--shadow-glow-green), var(--shadow-card); }
.card-image { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-secondary); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.card:hover .card-image img { transform: scale(1.06); }
.card-body { padding: 1.5rem; }
.card-tag { display: inline-block; padding: 0.25rem 0.8rem; border-radius: var(--radius-xl); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.75rem; }
.card-tag.green { background: rgba(0,255,159,.1); color: var(--accent-green); }
.card-tag.pink { background: rgba(255,45,135,.1); color: var(--accent-pink); }
.card-tag.purple { background: rgba(139,47,255,.1); color: var(--accent-purple); }
.card-tag.blue { background: rgba(0,200,255,.1); color: var(--accent-blue); }
.card-tag.orange { background: rgba(255,140,0,.1); color: var(--accent-orange); }
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.7rem; color: var(--text-primary); line-height: 1.4; }
.card-text { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.65; }
.card-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.78rem; color: var(--text-muted); flex-wrap: wrap; }
.card-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; font-weight: 600; color: var(--accent-green); transition: var(--transition); }
.card-link:hover { color: var(--accent-blue); gap: 0.6rem; }

/* ---- Grids ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---- Sections ---- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-secondary); }
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* ---- Feature Cards ---- */
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; transition: var(--transition); }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(0,255,159,.3); box-shadow: var(--shadow-glow-green); }
.feature-icon { width: 64px; height: 64px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 1.75rem; }
.feature-icon.green { background: rgba(0,255,159,.1); }
.feature-icon.pink { background: rgba(255,45,135,.1); }
.feature-icon.purple { background: rgba(139,47,255,.1); }
.feature-icon.blue { background: rgba(0,200,255,.1); }
.feature-icon.orange { background: rgba(255,140,0,.1); }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.7rem; }
.feature-card p { font-size: 0.875rem; color: var(--text-secondary); margin: 0; }

/* ---- Tip Cards ---- */
.tip-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; gap: 1.25rem; align-items: flex-start; transition: var(--transition); }
.tip-card:hover { border-color: rgba(0,255,159,.3); transform: translateX(4px); }
.tip-icon { width: 50px; height: 50px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.tip-icon.green { background: rgba(0,255,159,.1); }
.tip-icon.pink { background: rgba(255,45,135,.1); }
.tip-icon.purple { background: rgba(139,47,255,.1); }
.tip-icon.blue { background: rgba(0,200,255,.1); }
.tip-icon.orange { background: rgba(255,140,0,.1); }
.tip-content h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.tip-content p { font-size: 0.875rem; color: var(--text-secondary); margin: 0; }

/* ---- Stats ---- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.75rem; text-align: center; transition: var(--transition); }
.stat-card:hover { border-color: rgba(0,255,159,.3); }
.stat-number { font-family: var(--font-brand); font-size: 2.2rem; font-weight: 800; background: var(--grad-green); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.85rem; color: var(--text-secondary); }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-item { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-md); border: 1px solid var(--border); cursor: pointer; transition: var(--transition); position: relative; }
.gallery-item:hover { border-color: rgba(0,255,159,.45); transform: scale(1.02); box-shadow: var(--shadow-glow-green); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.gallery-item:hover img { transform: scale(1.12); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(7,7,26,.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); font-size: 2.2rem; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.95); align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 92vw; max-height: 92vh; }
.lightbox-inner img { max-width: 100%; max-height: 88vh; border-radius: var(--radius-md); border: 1px solid var(--border-glow); }
.lightbox-close { position: absolute; top: -44px; right: 0; background: none; border: 1px solid var(--border); color: var(--text-primary); font-size: 1.2rem; cursor: pointer; padding: 0.4rem 0.8rem; border-radius: var(--radius-sm); transition: var(--transition); }
.lightbox-close:hover { border-color: var(--accent-green); color: var(--accent-green); }
.lightbox-caption { text-align: center; color: var(--text-secondary); font-size: 0.875rem; margin-top: 0.75rem; }

/* ---- Forms ---- */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 0.5rem; }
.form-control { width: 100%; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.8rem 1rem; color: var(--text-primary); font-family: var(--font-body); font-size: 0.95rem; transition: var(--transition); outline: none; }
.form-control:focus { border-color: var(--accent-green); box-shadow: 0 0 0 3px rgba(0,255,159,.1); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { min-height: 150px; resize: vertical; }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239898c8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---- Newsletter ---- */
.newsletter-box { background: linear-gradient(135deg, rgba(139,47,255,.15), rgba(0,255,159,.06)); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 3.5rem; text-align: center; position: relative; overflow: hidden; }
.newsletter-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(0,255,159,.1), transparent 60%); }
.newsletter-form { display: flex; gap: 1rem; max-width: 480px; margin: 2rem auto 0; position: relative; z-index: 1; }
.newsletter-form .form-control { flex: 1; border-radius: var(--radius-xl); }

/* ---- Article Content ---- */
.article-content { max-width: 780px; margin: 0 auto; }
.article-content h2 { font-size: 1.65rem; font-weight: 700; margin: 2.5rem 0 1rem; }
.article-content h3 { font-size: 1.25rem; font-weight: 600; margin: 2rem 0 0.75rem; color: var(--accent-green); }
.article-content p { margin-bottom: 1.25rem; line-height: 1.85; }
.article-content ul, .article-content ol { margin: 1rem 0 1.25rem 1.5rem; }
.article-content li { margin-bottom: 0.5rem; color: var(--text-secondary); position: relative; }
.article-content ul li::before { content: '▸'; color: var(--accent-green); position: absolute; left: -1.25rem; }
.article-content ol { list-style: decimal; }
.article-content ol li::marker { color: var(--accent-green); }
.article-content blockquote { border-left: 3px solid var(--accent-green); padding: 1rem 1.5rem; margin: 1.5rem 0; background: rgba(0,255,159,.04); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.article-content blockquote p { margin: 0; font-style: italic; }
.article-image { width: 100%; border-radius: var(--radius-lg); overflow: hidden; margin: 2rem 0; border: 1px solid var(--border); }
.article-image img { width: 100%; }
.article-lead { font-size: 1.15rem; color: var(--text-primary); font-weight: 300; line-height: 1.85; margin-bottom: 2rem; border-left: 3px solid var(--accent-purple); padding-left: 1.5rem; }

/* Sidebar */
.sidebar-title { font-size: 0.9rem; font-weight: 700; color: var(--accent-green); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }

/* ---- Tags ---- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { display: inline-block; padding: 0.3rem 0.85rem; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-xl); font-size: 0.8rem; color: var(--text-secondary); cursor: pointer; transition: var(--transition); }
.tag:hover, .tag.active { border-color: var(--accent-green); color: var(--accent-green); background: rgba(0,255,159,.08); }

/* ---- Dividers ---- */
.divider { height: 1px; background: var(--border); margin: 2rem 0; }
.divider-glow { height: 2px; background: var(--grad-neon); background-size: 300% 100%; margin: 3rem 0; border-radius: 2px; animation: neonFlow 4s linear infinite; }
@keyframes neonFlow { 0%{background-position:0% 50%} 100%{background-position:300% 50%} }

/* ---- Alert/Info Box ---- */
.info-box { background: rgba(0,200,255,.07); border: 1px solid rgba(0,200,255,.25); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.info-box p { margin: 0; font-size: 0.9rem; color: var(--accent-blue); }
.warning-box { background: rgba(255,140,0,.07); border: 1px solid rgba(255,140,0,.25); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.warning-box p { margin: 0; font-size: 0.9rem; color: var(--accent-orange); }

/* ---- Footer ---- */
.site-footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; color: var(--text-primary); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.875rem; color: var(--text-secondary); }
.footer-col ul li a:hover { color: var(--accent-green); }
.footer-brand p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.75; margin-top: 0.75rem; }
.footer-contact-item { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.6rem; font-size: 0.875rem; color: var(--text-secondary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--accent-green); }

/* ---- Toast ---- */
#toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 9998; display: flex; flex-direction: column; gap: 0.75rem; max-width: 380px; }
.toast { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-card); animation: toastIn 0.35s ease; position: relative; overflow: hidden; }
.toast::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 4px 0 0 4px; }
.toast.success::before { background: var(--accent-green); }
.toast.error::before { background: var(--accent-pink); }
.toast.info::before { background: var(--accent-blue); }
.toast.warning::before { background: var(--accent-orange); }
.toast-icon { font-size: 1.3rem; }
.toast-body { flex: 1; }
.toast-title { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.15rem; }
.toast-text { font-size: 0.8rem; color: var(--text-secondary); margin: 0; }
.toast-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1rem; padding: 0.25rem; border-radius: 4px; transition: var(--transition); }
.toast-close:hover { color: var(--text-primary); }
@keyframes toastIn { from{transform:translateX(110%);opacity:0} to{transform:translateX(0);opacity:1} }
@keyframes toastOut { from{transform:translateX(0);opacity:1} to{transform:translateX(110%);opacity:0} }

/* ---- Scroll Animations ---- */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ---- Decorative ---- */
.pixel-dots { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.pixel-dot { width: 8px; height: 8px; border-radius: 2px; }
.badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.9rem; border-radius: var(--radius-xl); font-size: 0.78rem; font-weight: 700; }
.badge-green { background: rgba(0,255,159,.15); color: var(--accent-green); border: 1px solid rgba(0,255,159,.3); }
.badge-purple { background: rgba(139,47,255,.15); color: var(--accent-purple); border: 1px solid rgba(139,47,255,.3); }
.badge-pink { background: rgba(255,45,135,.15); color: var(--accent-pink); border: 1px solid rgba(255,45,135,.3); }

/* ---- Pagination ---- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.page-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-card); color: var(--text-secondary); font-size: 0.875rem; cursor: pointer; transition: var(--transition); }
.page-btn:hover, .page-btn.active { border-color: var(--accent-green); color: var(--accent-green); background: rgba(0,255,159,.08); }

/* ---- Two-column article layout ---- */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }

/* ---- Legal Pages ---- */
.legal-content h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; color: var(--accent-green); }
.legal-content h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.legal-content p { color: var(--text-secondary); margin-bottom: 1rem; }
.legal-content ul { margin: 0.75rem 0 1rem 1.5rem; list-style: disc; }
.legal-content ul li { color: var(--text-secondary); margin-bottom: 0.4rem; }
.legal-content ul li::marker { color: var(--accent-green); }

/* ---- Utilities ---- */
.mt-1{margin-top:.5rem} .mt-2{margin-top:1rem} .mt-3{margin-top:1.5rem} .mt-4{margin-top:2rem} .mt-5{margin-top:3rem}
.mb-1{margin-bottom:.5rem} .mb-2{margin-bottom:1rem} .mb-3{margin-bottom:1.5rem} .mb-4{margin-bottom:2rem}
.text-center{text-align:center} .d-flex{display:flex} .align-center{align-items:center}
.justify-between{justify-content:space-between} .gap-1{gap:.5rem} .gap-2{gap:1rem} .gap-3{gap:1.5rem} .w-100{width:100%}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .article-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
    background: rgba(7,7,26,.98); flex-direction: column; align-items: flex-start;
    padding: 1.5rem; gap: 0.1rem; transform: translateX(-100%);
    transition: transform 0.35s ease; overflow-y: auto; border-top: 1px solid var(--border);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu li { width: 100%; }
  .nav-menu > li > a { padding: 0.9rem 1rem; font-size: 1rem; }
  .dropdown-menu { position: static; box-shadow: none; border-radius: var(--radius-sm); margin: 0.25rem 0 0.25rem 1rem; background: var(--bg-secondary); display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form { flex-direction: column; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  #toast-container { left: 1rem; right: 1rem; max-width: none; bottom: 1rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .newsletter-box { padding: 2rem 1.5rem; }
  .section { padding: 3.5rem 0; }
}
