/* STAT STICK GAMES AS — carditns.store
   Unique Centered + Masonry Grid Blog Style
   Vibrant teal + warm beige + deep charcoal palette
   16px radius, medium shadows, modern clean UI
*/

:root {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --text: #1F2937;
  --muted: #6B7280;
  --accent: #0D9488;
  --accent-dark: #0F766E;
  --border: #E5E7EB;
  --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --radius: 16px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

/* Header */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.nav a {
  color: var(--muted);
}

.nav a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero - Centered Modern */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px 60px;
  text-align: center;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero p {
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: white;
  padding: 16px 36px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.hero-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

/* Long Intro */
.intro {
  max-width: 780px;
  margin: 0 auto 80px;
  padding: 0 40px;
}

.intro p {
  font-size: 17px;
  color: #374151;
  margin-bottom: 1.4em;
}

/* Masonry Grid for Articles */
.section-header {
  max-width: var(--max-width);
  margin: 0 auto 32px;
  padding: 0 40px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: 700;
}

.articles-masonry {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px 80px;
  column-count: 3;
  column-gap: 24px;
}

@media (max-width: 900px) {
  .articles-masonry {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .articles-masonry {
    column-count: 1;
  }
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  break-inside: avoid;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.article-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: #CCFBF1;
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.article-card h3 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 14px;
}

.article-card p {
  color: #4B5563;
  font-size: 15.5px;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.article-card .meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-card .meta a {
  color: var(--accent);
  font-weight: 600;
}

/* Article Page */
.article-page {
  max-width: 780px;
  margin: 60px auto;
  padding: 0 40px;
}

.article-page h1 {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
}

.article-content {
  font-size: 17.5px;
  line-height: 1.8;
  color: #374151;
}

.article-content p {
  margin-bottom: 1.4em;
}

.article-content h2 {
  font-size: 26px;
  margin: 2.2em 0 1em;
  color: var(--text);
}

.back-link {
  display: inline-flex;
  margin-top: 50px;
  color: var(--accent);
  font-weight: 600;
}

/* Contact Form */
.form-section {
  max-width: 620px;
  margin: 60px auto;
  padding: 0 40px;
}

.form-section h1 {
  font-size: 34px;
  margin-bottom: 14px;
}

.contact-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  background: var(--surface);
  transition: all 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
  background: var(--accent);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.contact-form button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* Thank You */
.thankyou {
  max-width: 680px;
  margin: 80px auto;
  padding: 0 40px;
  text-align: center;
}

.thankyou h1 {
  font-size: 40px;
  margin-bottom: 18px;
}

.thankyou .disclaimer {
  margin-top: 50px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: var(--radius);
  font-size: 14px;
  color: #4B5563;
  line-height: 1.65;
}

/* Footer */
.footer {
  background: #1F2937;
  color: #9CA3AF;
  padding: 60px 40px 40px;
  font-size: 14px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer a {
  color: #D1D5DB;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 50px auto 0;
  padding-top: 30px;
  border-top: 1px solid #374151;
  font-size: 13px;
  color: #6B7280;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    padding: 18px 24px;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
  }
  
  .nav.active {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero h1 {
    font-size: 38px;
  }
  
  .articles-masonry {
    padding: 0 24px 60px;
  }
}