/*
Theme Name: Lottery 1
Theme URI: https://thelottery1.com/
Author: You
Description: Lottery 1 – Login, App Download & Register guide (no results).
Version: 1.0
Text Domain: lottery1
*/

:root {
  --l1-primary: #046bd2;
  --l1-primary-dark: #045cb4;
  --l1-bg: #f9fafb;
  --l1-text: #334155;
  --l1-heading: #1e293b;
}

body {
  margin: 0;
  background: var(--l1-bg);
  color: var(--l1-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

a { color: var(--l1-primary); text-decoration: none; }
a:hover { color: var(--l1-primary-dark); }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 99;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
}
.site-title a {
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--l1-heading);
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--l1-text);
  font-weight: 500;
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: var(--l1-primary-dark);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--l1-primary);
}

/* hero */
.hero {
  background: #fff;
  padding: 2.8rem 0 2rem 0;
}
.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--l1-heading);
}
.hero-lead {
  max-width: 760px;
}
.hero-image {
  margin: 1.5rem 0;
}
.hero-image img {
  max-width: 700px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.btn-primary {
  display: inline-block;
  background: #cf2e2e;
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
}

/* main content */
.site-content {
  background: #fff;
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem 1.5rem;
}
.entry-content img { max-width: 100%; height: auto; }

/* footer */
.site-footer {
  background: #eee;
  padding: 1.5rem 0;
  margin-top: 3rem;
}
.site-footer p {
  text-align: center;
  margin: 0;
  color: var(--l1-text);
}

/* cards like section */
.l1-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}
.l1-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.2rem;
}

/* responsive */
@media (max-width: 921px) {
  .main-nav { display: none; }
  .main-nav.active { display: block; background: #fff; padding: 1rem 0; }
  .main-nav ul { flex-direction: column; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 2rem; }
}
.site-footer {
  background: #ededed;
  padding: 1.2rem 0;
  margin-top: 3rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-left {
  color: #1e293b;
  font-size: 0.98rem;
}

.footer-right a {
  margin-left: 1rem;
  color: #046bd2;
  font-weight: 500;
  white-space: nowrap;
}

.footer-right a:first-child {
  margin-left: 0;
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-right a {
    margin-left: 0;
    margin-right: 1rem;
    display: inline-block;
    margin-top: 0.4rem;
  }
}
