:root {
  --bg: #050505;
  --panel: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --brand-green: #00ff7f; /* Verde Neon Street */
  --font-logo: 'Sedgwick Ave Display', cursive; /* Nova Fonte Grafite Street */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden; display: flex; flex-direction: column; min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; outline: none; }
.hidden { display: none !important; }

.page-shell { max-width: 1440px; margin: 0 auto; padding: 24px; width: 100%; flex: 1; }

/* === Intro Animação Otimizada === */
.intro-overlay { position: fixed; inset: 0; background: #030303; z-index: 9999; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.intro-inner { display: flex; align-items: center; justify-content: center; width: 100%; padding: 0 20px; }

.intro-brand { 
  font-family: var(--font-logo);
  font-size: clamp(60px, 18vw, 150px); /* Fonte Street ganha mais destaque */
  text-transform: uppercase;
  transform-origin: center center; 
  text-align: center; 
  line-height: 0.85; 
  will-change: transform, opacity;
}

.intro-brand .world { color: var(--brand-green); text-shadow: 0 0 20px rgba(0, 255, 127, 0.5); }
.intro-brand .icons { color: white; margin-top: -10px; }

/* === Header (Foco Total na Galeria) === */
.site-header { display: flex; justify-content: flex-end; align-items: center; padding: 10px 0 30px; border-bottom: 1px solid var(--border); opacity: 0; }

.header-controls { display: flex; align-items: center; gap: 12px; width: 100%; justify-content: flex-end; }
.search-wrapper { display: flex; align-items: center; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 12px; padding: 0 15px; height: 50px; width: 100%; max-width: 400px; transition: 0.3s; }
.search-wrapper:focus-within { border-color: white; }
.search-input { background: transparent; border: none; color: white; margin-left: 10px; width: 100%; font-size: 15px; }
.search-input::placeholder { color: rgba(255,255,255,0.4); }
.search-wrapper span.material-icons { color: var(--muted); font-size: 22px; }
.menu-btn { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 12px; transition: 0.3s; flex-shrink: 0; }
.menu-btn:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* === Menu Lateral (Drawer) === */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); z-index: 9000; opacity: 0; pointer-events: none; transition: 0.3s ease; }
.drawer-overlay.active { opacity: 1; pointer-events: all; }
.category-drawer { position: fixed; top: 0; right: -320px; width: 320px; max-width: 85vw; height: 100%; background: #0a0a0a; border-left: 1px solid var(--border); z-index: 9001; display: flex; flex-direction: column; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: -10px 0 30px rgba(0,0,0,0.5); }
.category-drawer.open { right: 0; }
.drawer-header { padding: 25px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.drawer-header h3 { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.close-drawer { background: transparent; border: none; color: var(--muted); font-size: 28px; cursor: pointer; transition: 0.2s; }
.close-drawer:hover { color: white; }
.drawer-body { padding: 25px 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; }
.drawer-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.category-list { display: flex; flex-direction: column; gap: 8px; }
.category-pill { background: transparent; border: 1px solid transparent; color: var(--muted); border-radius: 8px; padding: 12px 15px; cursor: pointer; transition: 0.2s; font-size: 14px; text-align: left; }
.category-pill:hover { background: rgba(255,255,255,0.05); color: white; }
.category-pill.active { background: rgba(255,255,255,0.1); color: white; border-color: var(--border); font-weight: 600; }

/* === Galeria === */
.gallery-section { padding-top: 10px; }
.status-box { padding: 20px; text-align: center; color: var(--muted); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 20px; transition: 0.3s; }
.icons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.icon-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; overflow: hidden; cursor: pointer; transition: all 0.3s ease; aspect-ratio: 1/1; position: relative; }
.icon-card:hover { border-color: rgba(255, 255, 255, 0.2); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.icon-preview { width: 100%; height: 100%; background: #0a0a0a; position: relative; }
.icon-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.icon-card:hover .icon-preview img { transform: scale(1.08); }

.direct-download-btn { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.7); color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.2); z-index: 10; }
.icon-card:hover .direct-download-btn { opacity: 1; }
.direct-download-btn:hover { background: white; color: black; transform: scale(1.1); }
.direct-download-btn span.material-icons { font-size: 20px; }

/* === Modal === */
.icon-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(10px); }
.modal-content { position: relative; background: #0a0a0a; border: 1px solid var(--border); border-radius: 24px; max-width: 500px; width: 100%; overflow: hidden; animation: modalIn 0.3s ease-out; z-index: 10001; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.close-modal { position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.2); color: white; width: 36px; height: 36px; border-radius: 50%; font-size: 20px; cursor: pointer; transition: 0.2s; z-index: 2; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px);}
.close-modal:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

.modal-body { display: flex; flex-direction: column; }
.preview-container { width: 100%; aspect-ratio: 1/1; background: #050505; display: flex; align-items: center; justify-content: center; }
.preview-container img { width: 100%; height: 100%; object-fit: contain; }
.modal-info { padding: 20px; display: flex; justify-content: center; }
.btn-primary { width: 100%; background: white; color: black; font-weight: 600; padding: 15px; text-align: center; border-radius: 12px; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-primary:hover { opacity: 0.8; }

/* === FOOTER (RODAPÉ) === */
.site-footer { background: #080808; border-top: 1px solid var(--border); padding: 50px 24px 20px; margin-top: 40px; }
.footer-content { max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }

/* Logo Grafite Inclinada no Rodapé */
.footer-logo {
  font-family: var(--font-logo);
  font-size: 34px;
  line-height: 0.85;
  text-transform: uppercase;
  transform: rotate(-6deg); /* Inclinação Street */
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-logo .world { color: var(--brand-green); }
.footer-logo .icons { color: white; padding-left: 10px; }

.footer-links-area { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-column h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.15em; color: white; margin: 0 0 20px 0; }
.footer-column a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 12px; transition: 0.2s; }
.footer-column a:hover { color: white; transform: translateX(3px); }
.footer-bottom { max-width: 1440px; margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; color: var(--muted); font-size: 12px; }

/* === Mobile Otimizado === */
@media (max-width: 768px) {
  .page-shell { padding: 15px; }
  .site-header { padding: 15px 0 20px; }
  .header-controls { width: 100%; display: flex; gap: 10px; justify-content: space-between; }
  .search-wrapper { max-width: none; flex: 1; height: 48px; }
  .menu-btn { width: 48px; height: 48px; }
  .icons-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .icon-card { border-radius: 8px; }
  
  .direct-download-btn { opacity: 1; width: 32px; height: 32px; bottom: 5px; right: 5px; }
  .direct-download-btn span.material-icons { font-size: 16px; }
  
  .footer-content { flex-direction: column; gap: 30px; margin-bottom: 30px; }
  .footer-links-area { gap: 30px; flex-direction: column; }
  .site-footer { padding: 40px 15px 20px; }
}
