/*
Theme Name: Dice Links Guide
Theme URI: https://dicelinksguide.com
Author: Dice Links Team
Author URI: https://dicelinksguide.com
Description: Professional WordPress theme for Monopoly GO free dice links, daily events, and sticker trading. Optimized for SEO and user engagement.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dice-links-guide
Tags: monopoly-go, free-dice, gaming, wiki, blog

This theme is designed for gaming communities focused on Monopoly GO.
*/

/* ==================================================
   CSS Reset & Base Styles
   ================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #FF6B6B;
  --secondary-color: #4ECDC4;
  --accent-color: #FFE66D;
  --dark-bg: #1A1A2E;
  --light-bg: #F8F9FA;
  --text-dark: #2D3436;
  --text-light: #636E72;
  --border-color: #DFE6E9;
  --success: #00B894;
  --warning: #FDCB6E;
  --danger: #D63031;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--light-bg);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* ==================================================
   Container & Layout
   ================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ==================================================
   Header Styles
   ================================================== */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--primary-color);
}

.header-top {
  background: var(--dark-bg);
  padding: 10px 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-announcement {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 500;
}

.header-social a {
  color: #fff;
  margin-left: 15px;
  font-size: 18px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.header-social a:hover {
  opacity: 1;
}

.header-main {
  padding: 20px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: -1px;
}

.site-logo img {
  max-height: 50px;
  margin-right: 12px;
}

/* ==================================================
   Navigation Styles
   ================================================== */
.main-navigation ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 5px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--primary-color);
}

/* Dropdown Menu */
.main-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 10px 0;
  border-radius: 8px;
  margin-top: 10px;
}

.main-navigation li:hover > .sub-menu {
  display: flex;
}

.main-navigation .sub-menu a {
  padding: 12px 20px;
  text-transform: none;
  font-weight: 500;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-dark);
  cursor: pointer;
}

/* ==================================================
   Hero Section - Free Dice Links
   ================================================== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  background-size: 50px 50px;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-cta {
  display: inline-flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background: #fff;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary-color);
}

/* ==================================================
   Daily Dice Links Section
   ================================================== */
.dice-links-section {
  padding: 60px 0;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
}

.dice-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.dice-link-card {
  background: #fff;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dice-link-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.dice-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.dice-link-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.dice-link-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.dice-badge {
  background: var(--accent-color);
  color: var(--text-dark);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.dice-link-info {
  margin-bottom: 20px;
}

.dice-link-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.dice-link-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dice-link-description {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.5;
}

.dice-link-button {
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dice-link-button:hover {
  background: var(--secondary-color);
  transform: scale(1.02);
}

/* Status Badges */
.status-active {
  background: var(--success);
  color: #fff;
}

.status-expiring {
  background: var(--warning);
  color: var(--text-dark);
}

.status-expired {
  background: var(--danger);
  color: #fff;
}

/* ==================================================
   Features Section
   ================================================== */
.features-section {
  padding: 60px 0;
  background: var(--light-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #fff;
  padding: 35px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* ==================================================
   Footer Styles
   ================================================== */
.site-footer {
  background: var(--dark-bg);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-widget h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.footer-widget ul {
  list-style: none;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* ==================================================
   Responsive Design
   ================================================== */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .main-navigation.active {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }

  .main-navigation a {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
  }

  .main-navigation .sub-menu {
    position: static;
    box-shadow: none;
    margin-top: 0;
    background: var(--light-bg);
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .dice-links-grid {
    grid-template-columns: 1fr;
  }

  .header-content {
    flex-wrap: wrap;
  }
}