/*!
Theme Name: Lucky Gem
Theme URI: #
Version: 1.0.0
Tested up to: 7.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: lucky-gem
*/

:root {
  --primary: #002223;
  --accent: #b36000;
  --bg: #001a1b;
  --text: #e0e0e0;
  --radius-base: 999px;
  --radius-card: 40px;
  --shadow-hard: 10px 10px 0px var(--accent);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(179, 96, 0, 0.2);
  --font-main: 'Inter', sans-serif;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: linear-gradient(rgba(179, 96, 0, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(179, 96, 0, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.streak-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: repeating-linear-gradient(115deg, transparent, transparent 20%, rgba(179, 96, 0, 0.02) 21%, transparent 22%);
  pointer-events: none;
  z-index: 9999;
}

h1, h2 { text-transform: uppercase; letter-spacing: 2px; }
h1 { font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1; margin-bottom: 2rem; }
h2 { font-size: clamp(1.8rem, 5vw, 3rem); margin-bottom: 3rem; position: relative; display: inline-block; }
h2::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 60%; height: 4px; background: var(--accent); }

a { color: inherit; text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 120px 0; }

.btn {
  display: inline-block;
  padding: 18px 45px;
  border-radius: var(--radius-base);
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary {
  background: linear-gradient(90deg, var(--accent), #ff8c00);
  color: #fff;
  box-shadow: var(--shadow-hard);
}
.btn-primary:hover { transform: translate(-4px, -4px); box-shadow: 14px 14px 0px var(--accent); }
.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-secondary:hover { background: var(--accent); color: #fff; }

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 40px;
  transition: 0.4s;
}

/* Header */
.header {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 34, 35, 0.8);
  backdrop-filter: blur(10px);
}
.header .logo { font-size: 1.5rem; font-weight: 900; color: var(--accent); }
.header ul { display: flex; gap: 30px; }
.header ul li a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 20px; }

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.hero-content { width: 60%; z-index: 2; }
.hero-image {
  position: absolute;
  right: -5%;
  top: 10%;
  width: 50%;
  transform: rotate(5deg);
  z-index: 1;
}

/* Masonry Grid */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 200px;
  gap: 30px;
}
.masonry-item { grid-row: span 2; }
.masonry-item.tall { grid-row: span 3; }
.masonry-item.wide { grid-column: span 2; }

/* Asymmetrical Layouts */
.asym-split { display: flex; gap: 60px; align-items: center; }
.asym-split.reverse { flex-direction: row-reverse; }
.asym-split > div { flex: 1; }
.asym-offset { margin-left: 10%; }

/* Horizontal Scroll */
.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding-bottom: 40px;
  scrollbar-width: none;
}
.horizontal-scroll::-webkit-scrollbar { display: none; }
.scroll-card { min-width: 300px; flex-shrink: 0; }

/* Footer */
.footer { background: #000d0e; padding: 80px 0 40px; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }

@media (max-width: 768px) {
  .hero-content { width: 100%; }
  .hero-image { display: none; }
  .asym-split { flex-direction: column !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header ul { display: none; }
  .masonry-grid { grid-auto-rows: auto; }
  .masonry-item { grid-row: auto !important; grid-column: auto !important; }
}"

img {max-width: 100% !important;height: auto;display: block;}
html {overflow-x: hidden;}
.wp-block-image {margin: 20px auto;max-width: 100%;}
.wp-block-image img {margin: 0 auto;}
.logo img {max-height: 50px;}
table{margin-top: 20px;margin-bottom: 20px;border-spacing: 0;}
th, td {padding: 5px; border-bottom: 1px solid var(--accent)}
.content-block p,.content-block h2, .content-block h3, .content-block ul, .content-block ol,
.content p,.content h2, .content h3, .content ul, .content ol{margin-top: 1em;margin-bottom: 1em;}
