/* ================================================================
   RESET & BASE CONFIGURATION
   ================================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* New Color Scheme - Vibrant & Modern */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-color: #ff6b6b;
  --accent-hover: #ee5a52;
  --dark-bg: #1a1a2e;
  --light-bg: #f8f9fd;
  --card-bg: #ffffff;
  --text-primary: #2d3561;
  --text-secondary: #6c7a9b;
  --border-color: #e4e7f1;
  
  /* Typography - Google Fonts Style */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

body {
  font-family: var(--font-primary);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--light-bg);
  overflow-x: hidden;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================================
   HEADER - COMPLETELY NEW LAYOUT
   ================================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.header-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.5rem 3rem;
  max-width: 1600px;
  margin: 0 auto;
  gap: 2rem;
}

/* Logo - Center Position */
.site-logo {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.site-logo:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

/* Tagline - Left Position */
.site-tagline {
  grid-column: 1;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  font-weight: 500;
}

/* Hamburger - Right Position */
.hamburger-btn {
  grid-column: 3;
  justify-self: end;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border: none;
  cursor: pointer;
  border-radius: 12px;
  padding: 0;
  z-index: 1001;
  position: relative;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.hamburger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger-btn span:nth-child(2) {
  margin: 5px 0;
  width: 18px;
}

/* Hamburger Animation */
.hamburger-btn.active {
  background: var(--secondary-gradient);
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(9px, 9px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(9px, -9px);
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(26, 26, 46, 0.7);
  backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu - Left Side */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: -450px;
  width: 420px;
  height: 100vh;
  background: linear-gradient(160deg, #667eea 0%, #764ba2 100%);
  z-index: 999;
  transition: left 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow-y: auto;
  padding: 120px 50px 50px;
  box-shadow: 10px 0 50px rgba(0, 0, 0, 0.4);
}

.mobile-menu-overlay.active {
  left: 0;
}

#mobile-menu {
  list-style: none;
  padding: 0;
}

#mobile-menu li {
  margin: 2.5rem 0;
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-menu-overlay.active #mobile-menu li {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered Animation */
.mobile-menu-overlay.active #mobile-menu li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active #mobile-menu li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-overlay.active #mobile-menu li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-overlay.active #mobile-menu li:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu-overlay.active #mobile-menu li:nth-child(5) { transition-delay: 0.5s; }

#mobile-menu .nav-link {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  display: block;
  padding: 1rem 0;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

#mobile-menu .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.8);
  transition: width 0.4s ease;
}

#mobile-menu .nav-link:hover::before,
#mobile-menu .current-menu-item .nav-link::before {
  width: 100%;
}

#mobile-menu .nav-link:hover {
  transform: translateX(10px);
  color: rgba(255, 255, 255, 0.9);
}

/* ================================================================
   RUGBY HOMEPAGE HERO SECTION
   ================================================================ */
.rugby-hero-section {
  margin-top: 90px;
  background: var(--primary-gradient);
  padding: 140px 3rem 120px;
  position: relative;
  overflow: hidden;
}

.rugby-hero-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.rugby-hero-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.rugby-hero-content h1 {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -2px;
}

.rugby-hero-content p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.rugby-cta-btn {
  display: inline-block;
  padding: 1.2rem 3.5rem;
  background: #fff;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.rugby-cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  background: var(--accent-color);
  color: #fff;
}

/* ================================================================
   RUGBY FEATURES SECTION (What You'll Find)
   ================================================================ */
.rugby-features-section {
  padding: 6rem 3rem;
  background: var(--light-bg);
}

.rugby-features-container {
  max-width: 1400px;
  margin: 0 auto;
}

.rugby-features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.rugby-features-header h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rugby-features-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.rugby-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.rugby-feature-card {
  background: var(--card-bg);
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.rugby-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.rugby-feature-card:hover::before {
  transform: scaleX(1);
}

.rugby-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.2);
}

.rugby-feature-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #fff;
  transition: all 0.4s ease;
}

.rugby-feature-card:hover .rugby-feature-icon {
  transform: rotateY(360deg);
}

.rugby-feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.rugby-feature-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ================================================================
   RUGBY AUDIENCE SECTION (Who We Serve)
   ================================================================ */
.rugby-audience-section {
  padding: 6rem 3rem;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.rugby-audience-section::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.rugby-audience-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.rugby-audience-content h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  text-align: center;
}

.rugby-audience-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #a8b3cf;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.rugby-audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.rugby-audience-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
}

.rugby-audience-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.rugby-audience-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1;
}

.rugby-audience-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.rugby-audience-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #a8b3cf;
}

.rugby-audience-visual {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.rugby-audience-stat {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1rem;
  color: #a8b3cf;
  font-weight: 600;
}

/* ================================================================
   RUGBY CONTACT SECTION
   ================================================================ */
.rugby-contact-section {
  padding: 6rem 3rem;
  background: linear-gradient(135deg, #f8f9fd 0%, #e8ebf7 100%);
}

.rugby-contact-container {
  max-width: 1400px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-header h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: var(--card-bg);
  padding: 3rem 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.2);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #fff;
  transition: all 0.4s ease;
}

.contact-card:hover .contact-icon {
  transform: rotateY(360deg);
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.contact-link {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.contact-link:hover {
  color: var(--accent-hover);
  transform: translateX(5px);
}

.contact-card a.contact-link::after {
  content: '→';
  margin-left: 0.5rem;
  transition: margin-left 0.3s ease;
}

.contact-card a.contact-link:hover::after {
  margin-left: 1rem;
}

.contact-cta {
  background: var(--card-bg);
  padding: 4rem 3rem;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-cta h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.contact-cta p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.contact-cta-btn {
  display: inline-block;
  padding: 1.2rem 3.5rem;
  background: var(--primary-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.contact-cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.5);
}

/* ================================================================
   HERO SECTION - NEW DYNAMIC LAYOUT
   ================================================================ */
.hero-section {
  margin-top: 90px;
  background: var(--primary-gradient);
  padding: 120px 3rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, -30px) rotate(10deg); }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -2px;
}

.hero-content p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-block;
  padding: 1.2rem 3.5rem;
  background: #fff;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  background: var(--accent-color);
  color: #fff;
}

/* ================================================================
   POST GRID - NEW MASONRY-STYLE LAYOUT
   ================================================================ */
.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 3rem;
  max-width: 1600px;
  margin: 5rem auto;
  padding: 0 3rem;
}

/* Post Card - Redesigned */
.post-item {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  position: relative;
}

.post-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.post-item:hover::before {
  transform: scaleX(1);
}

.post-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
}

.post-featured-image {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: var(--primary-gradient);
}

.post-featured-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.post-item:hover .post-featured-image::after {
  opacity: 1;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-item:hover .post-featured-image img {
  transform: scale(1.15) rotate(2deg);
}

.post-item h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin: 2rem 2rem 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-primary);
}

.post-item h3 a {
  color: var(--text-primary);
  background: linear-gradient(to right, var(--accent-color) 0%, var(--accent-color) 100%);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.4s ease;
}

.post-item h3 a:hover {
  background-size: 100% 2px;
  color: var(--accent-color);
}

.post-item p {
  margin: 0 2rem 2rem;
  color: var(--text-secondary);
  flex: 1;
  font-size: 1rem;
  line-height: 1.7;
}

.post-item > a:last-of-type {
  align-self: flex-start;
  margin: 0 2rem 2rem;
  background: var(--secondary-gradient);
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.post-item > a:last-of-type:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 25px rgba(245, 87, 108, 0.5);
}

/* ================================================================
   PAGINATION - MODERN STYLE
   ================================================================ */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 4rem auto 6rem;
  font-weight: 700;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
  padding: 0 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-weight: 700;
  font-family: var(--font-heading);
}

.page-numbers.current {
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  transform: scale(1.1);
}

.page-numbers:hover:not(.current) {
  background: var(--light-bg);
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.next.page-numbers,
.prev.page-numbers {
  background: var(--secondary-gradient);
  color: #fff;
  border-color: transparent;
  padding: 0 2rem;
  box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.next.page-numbers:hover,
.prev.page-numbers:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(245, 87, 108, 0.5);
}

/* ================================================================
   BREADCRUMBS
   ================================================================ */
.breadcrumbs {
  max-width: 1600px;
  margin: 7rem auto 2rem;
  padding: 0 3rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.breadcrumbs a {
  color: var(--accent-color);
  font-weight: 700;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  color: var(--text-secondary);
}

/* ================================================================
   SINGLE POST CONTENT - WIDER & MODERN
   ================================================================ */
.page-content {
  max-width: 1100px;
  margin: 7rem auto 6rem;
  padding: 0 3rem 4rem;
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border-top: 6px solid;
  border-image: var(--primary-gradient) 1;
}

.page-content .post-featured-image {
  height: auto;
  margin: 0 -3rem 3rem;
  border-radius: 0;
}

.page-content .post-featured-image img {
  width: calc(100% + 6rem);
  height: 500px;
  object-fit: cover;
}

.page-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin: 3rem 0 2rem;
  line-height: 1.2;
  color: var(--text-primary);
  font-weight: 900;
  letter-spacing: -1px;
}

.page-content .content {
  font-size: 1.15rem;
  line-height: 2;
  color: var(--text-primary);
}

.page-content .content p {
  margin-bottom: 2rem;
}

.page-content .content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin: 3rem 0 1.5rem;
  color: var(--text-primary);
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-content .content h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
  font-weight: 700;
}

.page-content .content ul,
.page-content .content ol {
  margin: 1.5rem 0 2rem 2.5rem;
  line-height: 2;
}

.page-content .content li {
  margin-bottom: 0.75rem;
}

.page-content .content a {
  color: var(--accent-color);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.page-content .content a:hover {
  color: var(--accent-hover);
}

/* ================================================================
   404 PAGE - CREATIVE DESIGN
   ================================================================ */
.error-404-content {
  max-width: 800px;
  margin: 12rem auto 10rem;
  padding: 5rem 3rem;
  text-align: center;
  background: var(--card-bg);
  border-radius: 30px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.error-404-content::before {
  content: '404';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25rem;
  font-weight: 900;
  color: rgba(102, 126, 234, 0.05);
  z-index: 0;
  line-height: 1;
}

.error-404-content > * {
  position: relative;
  z-index: 1;
}

.error-404-content h1 {
  font-family: var(--font-heading);
  font-size: 10rem;
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.error-404-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.error-404-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.error-404-content a {
  background: var(--primary-gradient);
  color: #fff;
  padding: 1.2rem 3.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.error-404-content a:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.5);
}

/* ================================================================
   FOOTER - NEW MULTI-COLUMN LAYOUT
   ================================================================ */
footer {
  background: var(--dark-bg);
  color: #a8b3cf;
  padding: 5rem 3rem 3rem;
  border-top: 6px solid;
  border-image: var(--primary-gradient) 1;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.footer-container {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-about p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #a8b3cf;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Footer Menu - Vertical Layout */
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu a {
  color: #a8b3cf;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 20px;
}

.footer-menu a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-menu a:hover {
  color: #fff;
  transform: translateX(10px);
}

.footer-menu a:hover::before {
  opacity: 1;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--secondary-gradient);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
}

/* Footer Bottom */
.footer-bottom {
  max-width: 1600px;
  margin: 4rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #8891a7;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.footer-bottom a {
  color: var(--accent-color);
  font-weight: 700;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */

/* Tablets */
@media (max-width: 1024px) {
  .header-container {
    grid-template-columns: 1fr auto 1fr;
    padding: 1.25rem 2rem;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .rugby-hero-content h1 {
    font-size: 3.5rem;
  }

  .rugby-features-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .rugby-audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .predictor-teams {
    gap: 2rem;
  }

  .post-list {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 0 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .page-content {
    padding: 0 2rem 3rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
  }

  .site-tagline {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
    font-size: 0.8rem;
  }

  .site-logo {
    grid-column: 1;
    grid-row: 1;
  }

  .hamburger-btn {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
  }

  .mobile-menu-overlay {
    width: 320px;
    left: -320px;
    padding: 100px 30px 30px;
  }

  .rugby-hero-section {
    padding: 80px 2rem;
  }

  .rugby-hero-content h1 {
    font-size: 2.5rem;
  }

  .rugby-hero-content p {
    font-size: 1.1rem;
  }

  .rugby-features-section,
  .rugby-audience-section,
  .rugby-interactive-section {
    padding: 4rem 1.5rem;
  }

  .rugby-features-header h2,
  .rugby-audience-content h2,
  .rugby-interactive-header h2 {
    font-size: 2rem;
  }

  .rugby-features-grid {
    gap: 2rem;
  }

  .rugby-audience-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .predictor-teams {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .predictor-vs {
    font-size: 1.5rem;
    text-align: center;
    padding: 1rem 0;
  }

  .rugby-predictor-demo {
    padding: 2rem 1.5rem;
  }

  .team-stats {
    flex-direction: column;
  }

  .hero-section {
    padding: 80px 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .post-list {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
    margin: 3rem auto;
  }

  .post-featured-image {
    height: 240px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .page-content {
    margin: 5rem auto 4rem;
    padding: 0 1.5rem 2rem;
  }

  .page-content h1 {
    font-size: 2.2rem;
  }

  .page-content .post-featured-image img {
    height: 300px;
  }

  .error-404-content h1 {
    font-size: 6rem;
  }

  .error-404-content::before {
    font-size: 12rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hamburger-btn {
    width: 45px;
    height: 45px;
  }

  .mobile-menu-overlay {
    width: 280px;
    left: -280px;
  }

  #mobile-menu .nav-link {
    font-size: 1.3rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .post-item h3 {
    font-size: 1.3rem;
  }

  .page-content h1 {
    font-size: 1.8rem;
  }

  .page-content .content {
    font-size: 1rem;
  }

  .error-404-content {
    padding: 3rem 1.5rem;
  }

  .error-404-content h1 {
    font-size: 4.5rem;
  }

  .error-404-content h2 {
    font-size: 1.8rem;
  }
}

/* ================================================================
   UTILITY CLASSES
   ================================================================ */

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Scroll Margin for Fixed Header */
:target {
  scroll-margin-top: 120px;
}

/* Prevent Scroll When Menu Open */
body.menu-open {
  overflow: hidden;
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.loading {
  animation: pulse 2s infinite;
}
