/*
Theme Name: ShapeArt Minimal
Theme URI: https://shapeart.it/
Author: Antigravity AI
Description: A minimalist white theme for an arcade game design studio.
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --bg-color: #ffffff;
  --text-main: #1a1a1a;
  --text-muted: #666666;
  --shape-red: #E53935;
  --shape-blue: #1E88E5;
  --shape-green: #43A047;
  --shape-yellow: #FDD835;
  --font-main: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--text-main); background-color: var(--bg-color); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* Typography */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; margin-bottom: 1rem; letter-spacing: -0.03em; }
h1 { font-size: 4.5rem; }
h2 { font-size: 2.5rem; }
p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 1.5rem; max-width: 600px;}
a { color: var(--shape-blue); text-decoration: none; font-weight: 600; transition: var(--transition); }
a:hover { color: var(--text-main); }

/* Layout Grid */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
header { padding: 2rem 0; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 800; letter-spacing: -1px; text-transform: uppercase; color: var(--text-main); }
.logo span { color: var(--shape-blue); }

.hero { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }

/* CSS App Icon (Based on SHAPES) */
.css-icon-container {
    width: 140px;
    height: 140px;
    background: #111;
    border-radius: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    transition: var(--transition);
}
.css-icon-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px rgba(0,0,0,0.12);
}
.css-circle-top { position: absolute; top: 18%; width: 22%; height: 22%; border-radius: 50%; background: var(--shape-red); }
.css-circle-right { position: absolute; right: 18%; width: 22%; height: 22%; border-radius: 50%; background: var(--shape-green); }
.css-circle-bottom { position: absolute; bottom: 18%; width: 22%; height: 22%; border-radius: 50%; background: var(--shape-yellow); }
.css-circle-left { position: absolute; left: 18%; width: 22%; height: 22%; border-radius: 50%; background: var(--shape-blue); }
.css-diamond { position: absolute; width: 12%; height: 12%; background: white; transform: rotate(45deg); }

/* Buttons */
.btn { display: inline-block; width: 100%; max-width: 360px; text-align: center; padding: 1.2rem 1rem; background: var(--text-main); color: white; border-radius: 50px; font-weight: 600; text-transform: uppercase; font-size: 0.90rem; letter-spacing: 1px; transition: var(--transition); }
.btn:hover { background: var(--shape-blue); color: white; transform: translateY(-3px); box-shadow: 0 15px 25px rgba(30,136,229,0.25); }

/* App Section */
.app-section { padding: 8rem 0; background-color: #fafafa; border-radius: 40px; margin: 4rem 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; }

footer { padding: 4rem 0; text-align: center; margin-top: 4rem; color: var(--text-muted); font-size: 0.9rem;}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 3rem; }
  .app-section { margin: 2rem 0; border-radius: 0; }
  header { flex-direction: column; gap: 1.5rem; }
  nav { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}

/* Dark Theme Components */
html.dark-theme {
  --bg-color: #0a0a0a;
  --text-main: #f5f5f5;
  --text-muted: #8c8c8c;
}
html.dark-theme .app-section { background-color: #121212; border: 1px solid #1f1f1f; }
html.dark-theme footer { border-top-color: #1f1f1f; }
html.dark-theme nav div { border-color: #1f1f1f !important; }
html.dark-theme nav span { color: #1f1f1f !important; }
html.dark-theme .btn { color: var(--bg-color); }
html.dark-theme .btn:hover { color: #ffffff; }

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  margin-left: 1rem;
  text-transform: uppercase;
  transition: var(--transition);
}
.theme-toggle-btn:hover {
  color: var(--shape-blue);
}
