/* 
 * Anti-Template Neo-Brutalist Theme 
 * For Indie Game Studio (Lucky Bear Club)
 */
:root {
  --color-primary: #0f172a;
  --color-highlight: #10b981;
  --color-link: #8b5cf6;
  --color-base: #FDFBF7;
  --color-text: #0f172a;
  --color-text-light: #555555;
  --color-line: #0f172a;
  --shape-corner: 0px; /* Sharp edges for retro feel */
  --gap-s: 1rem;
  --gap-m: 2rem;
  --gap-l: 4rem;
  --type-base: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

::selection {
  background: var(--color-highlight);
  color: #fff;
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--type-base);
  background-color: var(--color-base);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  /* Grid paper effect */
  background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
img { max-width: 100%; height: auto; display: block; border: 3px solid var(--color-line); box-shadow: 4px 4px 0 rgba(0,0,0,0.1); }
a { color: var(--color-link); text-decoration: none; font-weight: 700; transition: all 0.2s ease; }
a:hover { color: var(--color-highlight); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* Layout */
.layout-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--gap-s);
}

/* Header */
.global-head {
  background: var(--color-base);
  border-bottom: 3px solid var(--color-line);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  box-shadow: 0 4px 0 rgba(0,0,0,1);
}
.head-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { 
  font-weight: 900; 
  font-size: 1.8rem; 
  color: var(--color-primary); 
  display: flex; 
  align-items: center; 
  gap: 0.75rem; 
  letter-spacing: -1px;
  text-transform: uppercase;
}
.logo img { 
  width: 44px; 
  height: 44px; 
  border: 2px solid var(--color-line); 
  border-radius: 0; 
  box-shadow: 2px 2px 0 #111;
  background: #fff;
}
.site-links { display: flex; gap: 1.5rem; }
.site-links a { 
  color: var(--color-text); 
  font-weight: 800; 
  text-transform: uppercase; 
  font-size: 0.95rem;
  border: 2px solid transparent;
  padding: 0.4rem 0.8rem;
  letter-spacing: 0.5px;
}
.site-links a:hover { 
  background: var(--color-highlight);
  color: #fff;
  border-color: var(--color-line);
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--color-line);
  transform: translate(-3px, -3px);
}

/* Typography */
h1, h2, h3, h4 { 
  color: var(--color-primary); 
  font-weight: 900; 
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 1.2;
}
h1 { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; margin-top: 3rem; border-bottom: 4px solid var(--color-line); padding-bottom: 0.5rem; display: inline-block; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }
p { margin-bottom: 1.5rem; font-size: 1.15rem; }

/* Buttons - Brutalist Style */
.click-target {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-highlight);
  color: #fff;
  padding: 1rem 2.5rem;
  font-weight: 900;
  font-size: 1.2rem;
  text-transform: uppercase;
  border: 3px solid var(--color-line);
  cursor: pointer;
  box-shadow: 6px 6px 0 var(--color-line);
  transition: all 0.15s ease-out;
  text-decoration: none !important;
  letter-spacing: 1px;
}
.click-target:hover { 
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--color-line);
  color: #fff;
}
.click-target:active {
  transform: translate(6px, 6px);
  box-shadow: 0px 0px 0 var(--color-line);
}

/* Layouts */
.hero-zone {
  padding: 6rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.hero-copy { max-width: 800px; }

.text-wrapper { 
  max-width: 800px; 
  margin: 0 auto; 
  background: #fff; 
  padding: 3.5rem; 
  border: 3px solid #111; 
  box-shadow: 12px 12px 0 rgba(0,0,0,0.1); 
  margin-top: 3rem;
}
.text-wide { max-width: 1000px; margin: 0 auto; }

.grid-50-50 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin: var(--gap-l) 0;
}
@media (min-width: 768px) {
  .grid-50-50 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* Features / Services */
.service-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin: var(--gap-m) 0;
}
.service-card {
  background: #fff;
  padding: 2.5rem;
  border: 3px solid var(--color-line);
  box-shadow: 8px 8px 0 var(--color-link);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 12px 12px 0 var(--color-highlight);
}

/* Highlight Box */
.highlight-area {
  background: var(--color-link);
  color: #fff;
  border: 3px solid var(--color-line);
  padding: 3rem;
  margin: 5rem 0;
  box-shadow: 12px 12px 0 var(--color-primary);
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease;
}
.highlight-area:hover {
  transform: rotate(0deg);
}
.highlight-area h3, .highlight-area h2 { color: #fff; border-color: #fff; }
.highlight-area a { color: #fff; text-decoration: underline; text-decoration-style: wavy; text-decoration-thickness: 2px;}
.highlight-area a:hover { color: var(--color-highlight); }

/* Footer */
.global-foot {
  background: var(--color-primary);
  color: #fff;
  padding: 5rem 0 2rem;
  margin-top: 6rem;
  border-top: 6px solid var(--color-highlight);
}
.foot-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .foot-wrap { grid-template-columns: repeat(3, 1fr); }
}
.foot-section h4 { color: var(--color-highlight); margin-bottom: 1.5rem; border-bottom: none; font-size: 1.6rem;}
.foot-section p { color: #ccc; }
.foot-section a { 
  color: #fff; 
  display: block; 
  margin-bottom: 0.75rem; 
  font-weight: 600; 
  border: 2px solid transparent; 
  padding: 0.4rem; 
  width: max-content;
}
.foot-section a:hover { 
  color: var(--color-highlight); 
  border: 2px dashed var(--color-highlight); 
  text-decoration: none; 
  transform: translateX(8px);
}
.foot-copyright {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px dashed rgba(255,255,255,0.2);
  font-size: 0.95rem;
  color: #888;
  font-family: monospace;
}

/* Post Grid */
.article-list {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .article-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .article-list { grid-template-columns: repeat(3, 1fr); }
}
.article-box {
  background: #fff;
  border: 3px solid var(--color-line);
  padding: 2.5rem;
  box-shadow: 8px 8px 0 var(--color-line);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.article-box:hover {
  background: var(--color-base);
  box-shadow: 12px 12px 0 var(--color-link);
  transform: translate(-4px, -4px);
}
.meta-data { 
  font-size: 0.85rem; 
  color: var(--color-text-light); 
  margin-bottom: 1.5rem; 
  font-family: monospace; 
  text-transform: uppercase; 
  font-weight: bold; 
  background: #e2e8f0; 
  padding: 0.4rem 0.8rem; 
  display: inline-block; 
  border: 2px solid #111;
}

/* FAQ */
.accordion-item {
  border: 3px solid var(--color-line);
  background: #fff;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 6px 6px 0 var(--color-line);
  transition: transform 0.2s;
}
.accordion-item:hover {
  transform: translateX(10px);
}
.accordion-title { font-weight: 900; font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--color-link); text-transform: uppercase; }
.accordion-text { color: var(--color-text); margin-bottom: 0; }

/* Form */
.form-field { margin-bottom: 2rem; }
.form-field label { display: block; margin-bottom: 0.5rem; font-weight: 900; text-transform: uppercase; font-size: 1rem;}
.form-field input, .form-field textarea {
  width: 100%;
  padding: 1.2rem;
  border: 3px solid var(--color-line);
  border-radius: 0;
  font-family: var(--type-base);
  font-size: 1.1rem;
  background: var(--color-base);
  box-shadow: inset 4px 4px 0 rgba(0,0,0,0.05);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--color-link);
  box-shadow: 4px 4px 0 var(--color-link);
}

/* Mobile Toggle */
.hamburger-btn { display: none; }

@media (max-width: 767px) {
  .site-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; padding: 2rem; border-bottom: 4px solid var(--color-line); box-shadow: 0 10px 0 rgba(0,0,0,1); }
  .site-links.active { display: flex; }
  .hamburger-btn { display: block; background: var(--color-highlight); color: #fff; border: 3px solid #111; padding: 0.5rem 1rem; font-weight: 900; cursor: pointer; box-shadow: 4px 4px 0 #111; font-size: 1.2rem;}
  .hamburger-btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #111; }
  h1 { font-size: 2.5rem; }
  .text-wrapper { padding: 1.5rem; }
  .highlight-area { transform: none; padding: 1.5rem; }
  .click-target { width: 100%; text-align: center; }
}

