/*
Theme Name: 777LuckyDraws Multipage
Theme URI: 
Author: Dave x ChatGPT
Description: Multipage 777 style theme for 777LuckyDraws based on provided HTML.
Version: 1.0
Text Domain: luckydraws777_multipage
*/

:root {
      --navy: #061534;
      --navy-dark: #040b1e;
      --navy-mid: #0b1f4a;
      --red: #ff2626;
      --yellow: #ffcc33;
      --white: #ffffff;
      --text-muted: #d0d6f0;
      --radius: 10px;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: radial-gradient(circle at top, var(--navy) 0, var(--navy-dark) 55%);
      color: var(--white);
    }

    /* HEADER */

    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 1.5rem;
      background: rgba(4, 11, 30, 0.96);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .logo-wrap {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .logo {
      height: 40px;
      width: auto;
      border-radius: 6px;
      background: #111;
      padding: 2px 6px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      font-size: 0.8rem;
    }

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

    .logo span:first-child {
      color: var(--red);
    }

    .brand-name {
      font-weight: 700;
      letter-spacing: 0.03em;
    }

    .main-nav {
      display: flex;
      gap: 1.5rem;
    }

    .main-nav a {
      text-decoration: none;
      color: var(--white);
      font-weight: 500;
      font-size: 0.95rem;
    }

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

    /* Mobile toggle */

    .nav-toggle {
      display: none;
      background: none;
      border: 2px solid var(--white);
      color: var(--white);
      border-radius: 4px;
      padding: 0.25rem 0.5rem;
      font-size: 1.1rem;
    }

    /* Mobile nav */

    .mobile-nav {
      display: none;
      flex-direction: column;
      background: var(--navy-dark);
      padding: 0.5rem 1.5rem 1rem;
      gap: 0.5rem;
    }

    .mobile-nav a {
      color: var(--white);
      text-decoration: none;
      font-weight: 500;
    }

    .mobile-nav--open {
      display: flex;
    }

    /* HERO */

    .hero-section {
      padding: 4rem 1.5rem 3rem;
      text-align: center;
    }

    .hero-inner {
      max-width: 800px;
      margin: 0 auto;
    }

    .hero-section h1 {
      font-size: clamp(2.2rem, 4vw, 3rem);
      margin-bottom: 0.5rem;
    }

    .hero-section p {
      color: var(--text-muted);
      margin-bottom: 1.5rem;
    }

    /* SECTIONS */

    .section {
      padding: 3rem 1.5rem;
    }

    .section-inner {
      max-width: 1100px;
      margin: 0 auto;
    }

    .section-about {
      background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);
    }

    .section-dark {
      background: radial-gradient(circle at top, var(--navy-mid), var(--navy-dark));
    }

    .section-mid {
      background: radial-gradient(circle at top, #111b40, #070b20);
    }

    .section-header {
      text-align: center;
      margin-bottom: 2rem;
    }

    .section-header h2 {
      font-size: 1.8rem;
      margin-bottom: 0.25rem;
    }

    .section-header p {
      color: var(--text-muted);
      margin: 0;
    }

    /* GRID */

    .product-grid {
      display: grid;
      gap: 1.5rem;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }

    .product-card {
      background: rgba(3, 8, 25, 0.95);
      border-radius: var(--radius);
      padding: 1rem;
      border: 1px solid rgba(255, 255, 255, 0.06);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .product-card img {
      width: 100%;
      height: 160px;
      object-fit: cover;
      border-radius: calc(var(--radius) - 2px);
      background: #222;
    }

    .product-card h3 {
      margin: 0.5rem 0 0.25rem;
      font-size: 1.1rem;
    }

    .product-price {
      font-weight: 700;
      color: var(--yellow);
      margin: 0;
    }

    .product-meta {
      color: var(--text-muted);
      font-size: 0.85rem;
      margin-bottom: 0.5rem;
    }

    /* CONTACT */

    .contact-layout {
      display: grid;
      gap: 2rem;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
    }

    .contact-list {
      list-style: none;
      padding: 0;
      margin: 1rem 0 0;
    }

    .contact-list li {
      margin-bottom: 0.4rem;
    }

    .contact-list a {
      color: var(--yellow);
      text-decoration: none;
    }

    .contact-form {
      display: grid;
      gap: 0.75rem;
    }

    .contact-form label {
      font-size: 0.9rem;
      display: grid;
      gap: 0.25rem;
    }

    .contact-form input,
    .contact-form textarea {
      border-radius: 6px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: rgba(2, 8, 28, 0.9);
      color: var(--white);
      padding: 0.5rem 0.6rem;
      font-size: 0.95rem;
    }

    /* BUTTONS */

    .btn {
      display: inline-block;
      border-radius: 999px;
      padding: 0.55rem 1.4rem;
      font-weight: 700;
      text-decoration: none;
      border: none;
      cursor: pointer;
      font-size: 0.95rem;
    }

    .btn-primary {
      background: var(--yellow);
      color: #111;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
    }

    .btn-primary:hover {
      filter: brightness(1.05);
    }

    .btn-secondary {
      background: var(--red);
      color: var(--white);
      text-align: center;
    }

    .btn-secondary:hover {
      filter: brightness(1.05);
    }

    /* FOOTER */

    .site-footer {
      padding: 1rem 1.5rem 1.5rem;
      background: #020715;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .footer-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: space-between;
      align-items: center;
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .footer-links a {
      color: var(--text-muted);
      text-decoration: none;
      margin-left: 1rem;
    }

    /* RESPONSIVE */

    @media (max-width: 768px) {
      .main-nav {
        display: none;
      }

      .nav-toggle {
        display: block;
      }

      .contact-layout {
        grid-template-columns: 1fr;
      }

      .hero-section {
        padding-top: 3rem;
      }
    }