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

:root {
--primary-green: #0c5c05;
--light-green: #18a309;
--medium-green: #15921a;
--dark-green: #0a4f04;
--darker-green: #084203;
--darkest-green: #063502;
--bg-black: #000000;
--bg-gray: #111111;
--text-white: #ffffff;
--text-gray: #cccccc;
--text-light-gray: #999999;
--border-green: rgba(12, 92, 5, 0.3);
--glow-green: 0 0 20px rgba(12, 92, 5, 0.3);
--glow-green-strong: 0 0 30px rgba(12, 92, 5, 0.5);
}

body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: linear-gradient(135deg, var(--bg-black) 0%, #111111 50%, var(--bg-black) 100%);
color: var(--text-white);
line-height: 1.6;
overflow-x: hidden;
min-height: 100vh;
}

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

/* Icon Styles */
.icon {
width: 24px;
height: 24px;
fill: currentColor;
display: inline-block;
vertical-align: middle;
}

.icon-sm {
width: 16px;
height: 16px;
}

.icon-lg {
width: 32px;
height: 32px;
}

.icon-xl {
width: 48px;
height: 48px;
}

/* Header Styles */
.site-header {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background: rgba(0, 0, 0, 0.9);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border-green);
}

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

.logo {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
transition: transform 0.3s ease;
}

.logo:hover {
transform: scale(1.05);
}

.logo-image {
position: relative;
width: 48px;
height: 48px;
}

.logo-image img {
width: 100%;
height: 100%;
object-fit: contain;
border-radius: 8px;
filter: drop-shadow(0 0 10px rgba(12, 92, 5, 0.3));
}

.logo-text {
display: flex;
flex-direction: column;
}

.logo-main {
font-size: 20px;
font-weight: 900;
color: var(--text-white);
letter-spacing: -0.5px;
}

.logo-sub {
font-size: 12px;
font-weight: 600;
color: var(--light-green);
text-transform: uppercase;
letter-spacing: 2px;
}

.main-nav {
display: flex;
gap: 32px;
}

.nav-link {
color: var(--text-gray);
text-decoration: none;
font-weight: 500;
font-size: 14px;
position: relative;
transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
color: var(--light-green);
}

.nav-link::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: var(--light-green);
transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
width: 100%;
}

.mobile-menu-toggle {
display: none;
flex-direction: column;
gap: 4px;
background: none;
border: none;
cursor: pointer;
padding: 8px;
}

.mobile-menu-toggle span {
width: 24px;
height: 2px;
background: var(--light-green);
transition: all 0.3s ease;
}

/* Mobile menu toggle icon animation */
.mobile-menu-toggle.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.95);
backdrop-filter: blur(20px);
border-top: 1px solid var(--border-green);
padding: 20px;
}

.mobile-nav-link {
display: block;
color: var(--text-gray);
text-decoration: none;
padding: 12px 16px;
border-radius: 8px;
transition: all 0.3s ease;
}

.mobile-nav-link:hover {
color: var(--light-green);
background: rgba(12, 92, 5, 0.1);
}

/* Button Styles */
.btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 24px;
border-radius: 12px;
text-decoration: none;
font-weight: 600;
font-size: 14px;
transition: all 0.3s ease;
border: none;
cursor: pointer;
}

.btn-primary {
background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
color: var(--text-white);
box-shadow: var(--glow-green);
}

.btn-primary:hover {
background: linear-gradient(135deg, var(--medium-green) 0%, var(--primary-green) 100%);
box-shadow: var(--glow-green-strong);
transform: translateY(-2px);
}

.btn-secondary {
background: rgba(12, 92, 5, 0.1);
color: var(--light-green);
border: 1px solid var(--border-green);
}

.btn-secondary:hover {
background: rgba(12, 92, 5, 0.2);
border-color: var(--primary-green);
}

.btn-ghost {
background: transparent;
color: var(--light-green);
}

.btn-ghost:hover {
background: rgba(12, 92, 5, 0.1);
}

/* Main Content */
.main-content {
margin-top: 80px;
}

/* Hero Section */
.hero {
position: relative;
min-height: 100vh;
display: flex;
align-items: center;
overflow: hidden;
}

.hero-background {
position: absolute;
inset: 0;
z-index: -1;
}

.hero-gradient {
position: absolute;
inset: 0;
background: linear-gradient(135deg, var(--bg-black) 0%, #111111 50%, var(--bg-black) 100%);
}

.hero-radial-1 {
position: absolute;
inset: 0;
background: radial-gradient(1200px 600px at 50% 0%, rgba(12, 92, 5, 0.15), transparent 70%);
}

.hero-radial-2 {
position: absolute;
inset: 0;
background: radial-gradient(800px 400px at 80% 100%, rgba(12, 92, 5, 0.1), transparent 60%);
}

.hero-grid {
position: absolute;
inset: 0;
background-image: 
    linear-gradient(rgba(12, 92, 5, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 92, 5, 0.03) 1px, transparent 1px);
background-size: 50px 50px;
}

.hero-glow {
position: absolute;
top: 25%;
left: 50%;
transform: translateX(-50%);
width: 800px;
height: 800px;
background: radial-gradient(circle, rgba(12, 92, 5, 0.05) 0%, transparent 70%);
border-radius: 50%;
animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 80px;
align-items: center;
padding: 80px 0;
}

.hero-badge {
display: inline-flex;
align-items: center;
gap: 12px;
background: rgba(12, 92, 5, 0.2);
border: 1px solid var(--border-green);
border-radius: 50px;
padding: 8px 16px;
margin-bottom: 32px;
backdrop-filter: blur(10px);
}

.logo-small {
width: 32px;
height: 32px;
position: relative;
}

.logo-small img {
width: 100%;
height: 100%;
object-fit: contain;
border-radius: 6px;
filter: drop-shadow(0 0 8px rgba(12, 92, 5, 0.4));
}

.hero-badge span {
color: var(--light-green);
font-weight: 700;
font-size: 14px;
letter-spacing: 1px;
}

.hero-title {
font-size: clamp(3rem, 6vw, 5rem);
font-weight: 900;
line-height: 1.1;
margin-bottom: 32px;
letter-spacing: -1px;
}

.title-main {
background: linear-gradient(135deg, var(--text-white) 0%, #e5e5e5 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.title-accent {
background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-green) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
from { filter: brightness(1); }
to { filter: brightness(1.2); }
}

.hero-description {
font-size: 20px;
color: var(--text-gray);
margin-bottom: 40px;
max-width: 500px;
line-height: 1.7;
}

.hero-actions {
display: flex;
flex-wrap: wrap;
gap: 16px;
margin-bottom: 40px;
}

.hero-stats {
display: flex;
align-items: center;
gap: 24px;
font-size: 14px;
color: var(--text-light-gray);
}

.stat {
display: flex;
align-items: center;
gap: 8px;
}

.status-dot {
width: 12px;
height: 12px;
background: var(--light-green);
border-radius: 50%;
animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
0%, 100% { opacity: 0.6; }
50% { opacity: 1; }
}

.stat-divider {
width: 1px;
height: 16px;
background: var(--text-light-gray);
opacity: 0.3;
}

.hero-image {
position: relative;
}

.image-container {
position: relative;
aspect-ratio: 16/10;
border-radius: 24px;
overflow: hidden;
border: 1px solid var(--border-green);
box-shadow: var(--glow-green);
}

.image-container img {
width: 100%;
height: 100%;
object-fit: cover;
}

.image-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%, rgba(0, 0, 0, 0.2) 100%);
}

.image-badge {
position: absolute;
bottom: 24px;
left: 24px;
display: flex;
align-items: center;
gap: 8px;
background: rgba(4, 40, 1, 0.8);
border: 1px solid var(--border-green);
border-radius: 50px;
padding: 8px 16px;
backdrop-filter: blur(10px);
}

.image-badge span {
color: var(--light-green);
font-weight: 600;
font-size: 12px;
}

.image-badge-top {
position: absolute;
top: 24px;
right: 24px;
background: rgba(4, 40, 1, 0.8);
border: 1px solid var(--border-green);
border-radius: 50px;
padding: 8px 16px;
backdrop-filter: blur(10px);
}

.image-badge-top span {
color: var(--light-green);
font-weight: 600;
font-size: 12px;
}

/* Features Section */
.features {
padding: 120px 0;
position: relative;
}

.features::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(to bottom, transparent 0%, rgba(4, 40, 1, 0.05) 50%, transparent 100%);
}

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

.section-badge {
display: inline-block;
background: rgba(12, 92, 5, 0.1);
border: 1px solid var(--border-green);
border-radius: 50px;
padding: 8px 20px;
color: var(--light-green);
font-weight: 700;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 24px;
backdrop-filter: blur(10px);
}

.section-title {
font-size: clamp(2.5rem, 5vw, 4rem);
font-weight: 900;
margin-bottom: 24px;
background: linear-gradient(135deg, var(--text-white) 0%, var(--text-gray) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
letter-spacing: -1px;
}

.section-description {
font-size: 20px;
color: var(--text-gray);
max-width: 700px;
margin: 0 auto;
line-height: 1.6;
}

.features-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
}

.feature-card {
background: rgba(0, 0, 0, 0.6);
border: 1px solid rgba(6, 53, 2, 0.3);
border-radius: 20px;
padding: 40px;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
backdrop-filter: blur(10px);
text-align: center;
}

.feature-card::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(12, 92, 5, 0.05) 0%, transparent 100%);
opacity: 0;
transition: opacity 0.3s ease;
}

.feature-card:hover {
border-color: var(--primary-green);
box-shadow: var(--glow-green);
transform: translateY(-8px);
}

.feature-card:hover::before {
opacity: 1;
}

.feature-icon-wrapper {
display: flex;
justify-content: center;
margin-bottom: 24px;
}

.feature-icon {
width: 64px;
height: 64px;
fill: var(--light-green);
stroke: var(--light-green);
}

.feature-content h3 {
font-size: 24px;
font-weight: 700;
margin-bottom: 16px;
color: var(--text-white);
}

.feature-content p {
color: var(--text-gray);
line-height: 1.7;
font-size: 16px;
}

/* Team Section */
.team {
padding: 120px 0;
}

.team-banner {
position: relative;
aspect-ratio: 16/5;
border-radius: 24px;
overflow: hidden;
margin-bottom: 80px;
border: 1px solid var(--border-green);
box-shadow: var(--glow-green);
}

.team-banner img {
width: 100%;
height: 100%;
object-fit: cover;
}

.banner-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
}

.banner-badge {
position: absolute;
bottom: 24px;
left: 24px;
display: flex;
align-items: center;
gap: 8px;
background: rgba(4, 40, 1, 0.8);
border: 1px solid var(--border-green);
border-radius: 50px;
padding: 12px 20px;
backdrop-filter: blur(10px);
}

.banner-badge span {
color: var(--light-green);
font-weight: 700;
font-size: 14px;
}

.banner-badge-top {
position: absolute;
top: 24px;
right: 24px;
background: rgba(4, 40, 1, 0.8);
border: 1px solid var(--border-green);
border-radius: 50px;
padding: 8px 12px;
backdrop-filter: blur(10px);
}

.banner-badge-top span {
color: var(--light-green);
font-weight: 600;
font-size: 12px;
}

.team-role {
margin-bottom: 80px;
}

.role-header {
display: flex;
align-items: center;
justify-content: center;
gap: 24px;
margin-bottom: 16px;
position: relative;
}

.role-header::before,
.role-header::after {
content: '';
flex: 1;
height: 1px;
background: linear-gradient(to right, transparent, var(--border-green), transparent);
}

.role-badge {
display: flex;
align-items: center;
gap: 12px;
background: rgba(12, 92, 5, 0.1);
border: 1px solid var(--border-green);
border-radius: 50px;
padding: 12px 24px;
backdrop-filter: blur(10px);
}

.role-icon {
width: 24px;
height: 24px;
fill: var(--light-green);
stroke: var(--light-green);
}

.role-header h3 {
font-size: 28px;
font-weight: 700;
color: var(--text-white);
white-space: nowrap;
}

.role-description {
text-align: center;
color: var(--text-gray);
max-width: 600px;
margin: 0 auto 48px;
font-size: 16px;
}

.team-members {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 32px;
justify-items: center;
}

.team-card {
background: rgba(0, 0, 0, 0.6);
border: 1px solid rgba(6, 53, 2, 0.3);
border-radius: 20px;
padding: 32px;
text-align: center;
transition: all 0.3s ease;
width: 100%;
max-width: 400px;
position: relative;
overflow: hidden;
backdrop-filter: blur(10px);
}

.team-card::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(12, 92, 5, 0.05) 0%, transparent 100%);
opacity: 0;
transition: opacity 0.3s ease;
}

.team-card:hover {
border-color: var(--primary-green);
box-shadow: var(--glow-green);
transform: translateY(-8px) scale(1.02);
}

.team-card:hover::before {
opacity: 1;
}

.member-avatar {
width: 80px;
height: 80px;
margin: 0 auto 20px;
border-radius: 50%;
overflow: hidden;
border: 2px solid rgba(8, 66, 3, 0.4);
transition: border-color 0.3s ease;
}

.team-card:hover .member-avatar {
border-color: var(--primary-green);
}

.member-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}

.member-info h4 {
font-size: 20px;
font-weight: 700;
color: var(--text-white);
margin-bottom: 8px;
}

.member-role-badge {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin-bottom: 4px;
}

.member-role-badge .role-icon {
width: 16px;
height: 16px;
fill: var(--light-green);
stroke: var(--light-green);
}

.member-role-badge span {
color: var(--light-green);
font-weight: 600;
font-size: 14px;
}

.member-discord {
color: var(--text-light-gray);
font-size: 12px;
font-family: 'Courier New', monospace;
display: block;
margin-bottom: 20px;
}

.member-role-tag {
display: flex;
justify-content: center;
margin-bottom: 16px;
}

.member-role-tag span {
background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
color: var(--text-white);
padding: 6px 16px;
border-radius: 20px;
font-size: 12px;
font-weight: 700;
letter-spacing: 1px;
}

.member-bio {
color: var(--text-gray);
font-size: 14px;
line-height: 1.6;
margin-bottom: 20px;
}

.member-specialties {
margin-top: 20px;
}

.specialties-title {
color: var(--light-green);
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
text-align: center;
margin-bottom: 8px;
}

.specialties-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
justify-content: center;
}

.specialty-tag {
background: rgba(12, 92, 5, 0.1);
border: 1px solid rgba(8, 66, 3, 0.4);
color: var(--text-gray);
padding: 4px 12px;
border-radius: 16px;
font-size: 11px;
font-weight: 500;
}

.team-footer {
text-align: center;
margin-top: 60px;
}

/* Footer */
.site-footer {
background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
border-top: 1px solid var(--border-green);
padding: 80px 0 40px;
margin-top: 120px;
position: relative;
}

.site-footer::before {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(1000px 400px at 50% 0%, rgba(12, 92, 5, 0.05), transparent 70%);
}

.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 60px;
margin-bottom: 60px;
position: relative;
}

.footer-section h3 {
color: var(--text-white);
font-size: 24px;
font-weight: 900;
margin-bottom: 20px;
}

.footer-section h4 {
color: var(--light-green);
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 20px;
}

.footer-section p {
color: var(--text-gray);
line-height: 1.7;
margin-bottom: 20px;
max-width: 350px;
}

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

.footer-section ul li {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 12px;
}

.footer-section ul li .icon {
fill: var(--light-green);
stroke: var(--light-green);
}

.footer-section ul li a {
color: var(--text-gray);
text-decoration: none;
font-size: 14px;
transition: color 0.2s ease;
}

.footer-section ul li a:hover {
color: var(--light-green);
}

.footer-section ul li span {
color: var(--text-gray);
font-size: 14px;
}

.server-status {
display: flex;
align-items: center;
gap: 8px;
}

.server-status span {
color: var(--light-green);
font-weight: 600;
font-size: 14px;
}

.footer-bottom {
text-align: center;
padding-top: 40px;
border-top: 1px solid var(--border-green);
position: relative;
}

.footer-bottom p {
color: var(--text-light-gray);
font-size: 14px;
}

/* Rules Page Specific Styles */
.rules-page-hero {
position: relative;
min-height: 80vh; /* Adjusted for rules page */
display: flex;
flex-direction: column;
justify-content: center;
overflow: hidden;
padding-top: 80px; /* Account for fixed header */
}

.rules-page-hero .hero-background {
position: absolute;
inset: 0;
z-index: -1;
}

.rules-page-hero .hero-gradient {
position: absolute;
inset: 0;
background: linear-gradient(135deg, var(--bg-black) 0%, #111111 50%, var(--bg-black) 100%);
}

.rules-page-hero .hero-radial-1 {
position: absolute;
inset: 0;
background: radial-gradient(1200px 600px at 50% 0%, rgba(12, 92, 5, 0.15), transparent 70%);
}

.rules-page-hero .hero-radial-2 {
position: absolute;
inset: 0;
background: radial-gradient(800px 400px at 80% 100%, rgba(12, 92, 5, 0.1), transparent 60%);
}

.rules-page-hero .hero-grid {
position: absolute;
inset: 0;
background-image: 
    linear-gradient(rgba(12, 92, 5, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 92, 5, 0.03) 1px, transparent 1px);
background-size: 50px 50px;
}

.rules-page-hero .hero-glow {
position: absolute;
top: 25%;
left: 50%;
transform: translateX(-50%);
width: 800px;
height: 800px;
background: radial-gradient(circle, rgba(12, 92, 5, 0.05) 0%, transparent 70%);
border-radius: 50%;
animation: pulse 4s ease-in-out infinite;
}

.rules-page-hero .section-header {
margin-bottom: 40px;
}

.rules-page-hero .section-badge {
margin: 0 auto 24px;
}

.rules-page-hero .section-title {
font-size: clamp(2.5rem, 6vw, 5rem);
margin-bottom: 16px;
}

.rules-page-hero .section-description {
max-width: 800px;
margin: 0 auto;
}

.search-input-wrapper {
position: relative;
max-width: 400px;
margin: 32px auto 0;
}

.search-input-wrapper .search-icon {
position: absolute;
left: 12px;
top: 50%;
transform: translateY(-50%);
height: 16px;
width: 16px;
color: var(--text-light-gray);
}

.search-input {
width: 100%;
padding: 12px 16px 12px 40px;
border-radius: 8px;
border: 1px solid rgba(12, 92, 5, 0.5);
background: rgba(4, 40, 1, 0.3);
color: var(--light-green);
font-size: 16px;
transition: all 0.3s ease;
}

.search-input:focus {
outline: none;
border-color: var(--light-green);
box-shadow: 0 0 0 3px rgba(24, 163, 9, 0.2);
}

.tabs-list {
display: grid;
grid-template-columns: repeat(3, 1fr);
width: 100%;
max-width: 800px;
margin: 0 auto 48px;
border: 1px solid rgba(12, 92, 5, 0.5);
background: rgba(4, 40, 1, 0.3);
border-radius: 8px;
overflow: hidden;
backdrop-filter: blur(10px);
}

.tab-button {
display: flex;
flex-direction: column; /* Stack icon and text */
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 16px;
color: var(--light-green);
font-weight: 600;
font-size: 14px;
background: transparent;
border: none;
cursor: pointer;
transition: all 0.3s ease;
}

.tab-button svg {
stroke: var(--light-green); /* Inactive stroke color */
fill: none; /* Inactive fill color (outlined) */
}

.tab-button:hover {
background: rgba(4, 40, 1, 0.1);
color: var(--light-green);
}

.tab-button.active {
background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
color: var(--text-white);
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.tab-button.active svg {
stroke: var(--text-white); /* Active stroke color */
fill: var(--text-white); /* Active fill color (filled) */
}

.tab-content {
display: none;
}

.tab-content.active {
display: block;
}

.rule-category-card {
position: relative;
overflow: hidden;
border-radius: 24px;
border: 1px solid var(--border-green);
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(10px);
box-shadow: var(--glow-green);
transition: all 0.3s ease;
margin-bottom: 24px;
}

.rule-category-card:hover {
border-color: var(--primary-green);
box-shadow: var(--glow-green-strong);
}

.rule-category-card::before {
content: '';
position: absolute;
inset: 0;
border-radius: 24px;
background: linear-gradient(135deg, rgba(12, 92, 5, 0.2) 0%, transparent 100%);
opacity: 0;
transition: opacity 0.3s ease;
}

.rule-category-card:hover::before {
opacity: 1;
}

.category-header-button {
width: 100%;
padding: 24px;
text-align: left;
background: transparent;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
transition: background-color 0.3s ease;
}

.rule-category-card:hover .category-header-button {
background: rgba(4, 40, 1, 0.2);
}

.category-header-content {
display: flex;
align-items: center;
gap: 16px;
}

.category-icon-wrapper {
font-size: 32px;
filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

.category-icon-wrapper svg {
/* fill: var(--light-green); */ /* Removed inline fill/stroke from PHP */
/* stroke: var(--light-green); */ /* Removed inline fill/stroke from PHP */
color: var(--light-green); /* Use color property for fill/stroke */
}

.category-title {
font-size: 24px;
font-weight: 700;
color: var(--text-white);
transition: color 0.3s ease;
}

.rule-category-card:hover .category-title {
color: var(--light-green);
}

.category-description {
color: var(--text-gray);
font-size: 14px;
margin-top: 4px;
}

.category-rule-count {
display: inline-flex;
align-items: center;
gap: 8px;
margin-top: 8px;
font-size: 12px;
font-weight: 600;
color: var(--light-green);
border: 1px solid rgba(12, 92, 5, 0.4);
background: rgba(4, 40, 1, 0.8);
padding: 4px 12px;
border-radius: 50px;
backdrop-filter: blur(10px);
}

.category-toggle-icon {
height: 24px;
width: 24px;
color: var(--light-green);
transition: transform 0.3s ease;
filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

.rule-category-card.expanded .category-toggle-icon {
transform: rotate(180deg);
}

.category-rules-content {
display: none;
border-top: 1px solid var(--border-green);
padding: 24px;
position: relative;
}

.rule-category-card.expanded .category-rules-content {
display: block;
}

.rule-item-card {
position: relative;
overflow: hidden;
border-radius: 12px;
border: 1px solid var(--border-green);
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(10px);
transition: all 0.3s ease;
margin-bottom: 16px;
}

.rule-item-card:last-child {
margin-bottom: 0;
}

.rule-item-card:hover {
border-color: var(--primary-green);
background: rgba(0, 0, 0, 0.7);
}

.rule-item-card::before {
content: '';
position: absolute;
inset: 0;
border-radius: 12px;
background: linear-gradient(135deg, rgba(12, 92, 5, 0.05) 0%, transparent 100%);
opacity: 0;
transition: opacity 0.3s ease;
}

.rule-item-card:hover::before {
opacity: 1;
}

.rule-item-content {
padding: 16px;
position: relative;
}

.rule-item-title {
font-size: 18px;
font-weight: 700;
color: var(--light-green);
margin-bottom: 12px;
filter: drop-shadow(0 0 3px rgba(0,0,0,0.5));
}

.rule-item-description {
color: var(--text-gray);
line-height: 1.6;
font-size: 15px;
}

.no-rules-found {
text-align: center;
padding: 80px 0;
}

.no-rules-badge {
display: inline-flex;
align-items: center;
gap: 12px;
background: rgba(4, 40, 1, 0.8);
border: 1px solid rgba(12, 92, 5, 0.4);
border-radius: 50px;
padding: 12px 20px;
backdrop-filter: blur(10px);
color: var(--text-gray);
font-size: 14px;
}

.no-rules-badge .search-icon {
height: 20px;
width: 20px;
color: var(--light-green);
}

/* Bottom CTA */
.rules-bottom-cta {
margin-top: 80px;
text-align: center;
}

.rules-bottom-cta-badge {
display: inline-flex;
align-items: center;
gap: 16px;
background: rgba(4, 40, 1, 0.8);
border: 1px solid rgba(12, 92, 5, 0.4);
border-radius: 16px;
padding: 16px 24px;
backdrop-filter: blur(10px);
}

.rules-bottom-cta-badge .icon-large {
height: 24px;
width: 24px;
color: var(--light-green);
}

.rules-bottom-cta-text {
text-align: left;
}

.rules-bottom-cta-text p:first-child {
font-size: 14px;
font-weight: 700;
color: var(--text-white);
}

.rules-bottom-cta-text p:last-child {
font-size: 12px;
color: var(--text-light-gray);
}

.rules-bottom-cta-divider {
height: 32px;
width: 1px;
background: rgba(12, 92, 5, 0.3);
}

.rules-bottom-cta-link {
font-size: 14px;
font-weight: 700;
color: var(--light-green);
text-decoration: none;
transition: color 0.2s ease;
}

.rules-bottom-cta-link:hover {
color: var(--medium-green);
}


/* Changelog Page Specific Styles */
.changelog-page-hero {
    position: relative;
    min-height: 80vh; /* Adjusted for content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px; /* Account for fixed header */
}

.changelog-page-hero .hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.changelog-page-hero .hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-black) 0%, #111111 50%, var(--bg-black) 100%);
}

.changelog-page-hero .hero-radial-1 {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 600px at 50% 0%, rgba(12, 92, 5, 0.15), transparent 70%);
}

.changelog-page-hero .hero-radial-2 {
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 400px at 80% 100%, rgba(12, 92, 5, 0.1), transparent 60%);
}

.changelog-page-hero .hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(12, 92, 5, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(12, 92, 5, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.changelog-page-hero .hero-glow {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(12, 92, 5, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.changelog-header-content {
    text-align: center;
    margin-bottom: 48px; /* sm:mb-64 */
}

.changelog-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px; /* sm:gap-3 */
    border-radius: 50px;
    border: 1px solid rgba(12, 92, 5, 0.4);
    background: linear-gradient(135deg, rgba(12, 92, 5, 0.2) 0%, rgba(10, 79, 4, 0.2) 100%);
    padding: 8px 16px; /* sm:px-6 py-3 */
    backdrop-filter: blur(10px);
    margin-bottom: 16px; /* sm:mb-24 */
}

.changelog-header-badge .icon-sm {
    height: 16px; /* sm:h-4 w-4 sm:h-5 w-5 */
    width: 16px;
}

.changelog-header-badge span {
    font-size: 12px; /* sm:text-sm */
}

.changelog-title-wrapper {
    margin-bottom: 24px; /* sm:mb-32 */
}

.changelog-title {
    font-size: clamp(2.5rem, 6vw, 5rem); /* 4xl sm:text-5xl md:text-6xl lg:text-7xl */
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 16px; /* sm:mb-6 */
    line-height: 1.1;
}

.changelog-title .title-main {
    background: linear-gradient(135deg, var(--text-white) 0%, #e5e5e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.changelog-title .title-accent {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.changelog-description {
    font-size: 16px; /* base sm:text-lg md:text-xl */
    color: var(--text-gray);
    max-width: 800px; /* sm:max-w-3xl */
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 16px; /* px-4 */
}

.changelog-stats {
    display: flex;
    flex-direction: column; /* sm:flex-row */
    align-items: center;
    justify-content: center;
    gap: 16px; /* sm:gap-8 */
    font-size: 14px; /* sm:text-sm */
    color: var(--text-light-gray);
    padding: 0 16px; /* px-4 */
}

.changelog-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.changelog-stats .stat-divider {
    display: none; /* hidden sm:block */
    height: 16px; /* h-4 */
    width: 1px; /* w-px */
    background: var(--text-light-gray);
}

/* Timeline Wrapper */
.changelog-timeline-wrapper {
    position: relative;
    max-width: 900px; /* max-w-4xl */
    margin: 0 auto;
    padding: 0 16px; /* px-4 */
}

.timeline-line {
    position: absolute;
    left: 16px; /* left-4 sm:left-8 */
    top: 32px; /* top-8 */
    bottom: 32px; /* bottom-8 */
    width: 2px; /* w-0.5 */
    background: linear-gradient(to bottom, var(--light-green) 0%, var(--primary-green) 50%, transparent 100%);
    opacity: 0.6;
}

.timeline-line-animated {
    position: absolute;
    left: 16px; /* left-4 sm:left-8 */
    top: 32px; /* top-8 */
    width: 2px; /* w-0.5 */
    height: 128px; /* h-32 */
    background: linear-gradient(to bottom, var(--light-green) 0%, var(--medium-green) 100%);
    animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.changelog-items-list {
    padding-top: 24px; /* space-y-6 sm:space-y-8 */
}

.changelog-item-card {
    position: relative;
    margin-left: 32px; /* ml-8 sm:ml-16 */
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(12, 92, 5, 0.3);
    border-radius: 12px; /* rounded-lg */
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    margin-bottom: 32px; /* space-y-6 sm:space-y-8 */
}

.changelog-item-card:hover {
    border-color: rgba(12, 92, 5, 0.5);
    box-shadow: var(--glow-green);
    transform: translateY(-4px) scale(1.01); /* hover:scale-[1.02] */
    background: rgba(0, 0, 0, 0.7);
}

.changelog-item-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(12, 92, 5, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.changelog-item-card:hover::before {
    opacity: 1;
}

.timeline-dot {
    position: absolute;
    left: -20px; /* left-2.5 sm:left-6.5 */
    top: 24px; /* top-6 sm:top-8 */
    height: 12px; /* h-3 w-3 sm:h-4 w-4 */
    width: 12px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--light-green) 0%, var(--primary-green) 100%);
    border: 2px solid var(--bg-black);
    box-shadow: var(--glow-green);
    transition: all 0.3s ease;
    z-index: 10;
}

.changelog-item-card:hover .timeline-dot {
    transform: scale(1.25); /* group-hover:scale-125 */
}

.changelog-card-content {
    padding: 16px; /* p-4 sm:p-6 lg:p-8 */
}

.changelog-date-version {
    display: flex;
    flex-direction: column; /* sm:flex-col */
    gap: 12px; /* space-y-3 sm:space-y-4 */
    margin-bottom: 16px; /* Added margin for spacing */
}

.changelog-date-wrapper {
    display: flex;
    align-items: center;
    gap: 12px; /* gap-3 */
    font-size: 14px; /* text-sm */
}

.changelog-icon-box {
    border-radius: 12px; /* rounded-xl */
    border: 1px solid rgba(8, 66, 3, 0.4); /* border-[#0c5c05]/40 */
    background: rgba(4, 40, 1, 0.8); /* bg-[#042801]/80 */
    padding: 8px; /* p-2 */
    transition: all 0.3s ease;
}

.changelog-item-card:hover .changelog-icon-box {
    border-color: rgba(12, 92, 5, 0.6); /* group-hover:border-[#0c5c05]/60 */
    background: rgba(6, 53, 2, 0.5); /* group-hover:bg-[#063502]/50 */
}

.changelog-version-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* gap-2 */
    border-radius: 50px;
    border: 1px solid rgba(12, 92, 5, 0.4);
    background: rgba(4, 40, 1, 0.8);
    padding: 4px 12px; /* px-3 sm:px-4 py-1 sm:py-2 */
    backdrop-filter: blur(10px);
}

.changelog-details-content {
    display: flex;
    flex-direction: column;
    gap: 12px; /* space-y-3 sm:space-y-4 */
}

.changelog-title-type {
    display: flex;
    flex-direction: column; /* sm:flex-row */
    align-items: flex-start; /* sm:items-start */
    justify-content: space-between;
    gap: 12px; /* gap-3 sm:gap-4 */
}

.changelog-item-title {
    font-size: 20px; /* xl sm:text-2xl */
    font-weight: 700;
    color: var(--text-white);
    transition: color 0.3s ease;
}

.changelog-item-card:hover .changelog-item-title {
    color: var(--light-green);
}

.changelog-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px; /* gap-1 */
    font-weight: 600; /* font-semibold */
    color: var(--text-white);
    border: 0;
    padding: 6px 12px; /* Adjusted padding for badge */
    border-radius: 20px; /* Adjusted border-radius for badge */
    transition: all 0.3s ease;
}

.changelog-type-badge:hover {
    transform: scale(1.05);
}

/* Specific badge colors and glows */
.changelog-badge-added {
    background: linear-gradient(to right, var(--primary-green) 0%, var(--medium-green) 100%);
}
.changelog-badge-glow-added {
    box-shadow: 0 0 20px rgba(12, 92, 5, 0.4);
}

.changelog-badge-changed {
    background: linear-gradient(to right, var(--medium-green) 0%, var(--light-green) 100%);
}
.changelog-badge-glow-changed {
    box-shadow: 0 0 20px rgba(21, 146, 26, 0.4);
}

.changelog-badge-fixed {
    background: linear-gradient(to right, var(--light-green) 0%, var(--primary-green) 100%);
}
.changelog-badge-glow-fixed {
    box-shadow: 0 0 20px rgba(24, 163, 9, 0.4);
}

.changelog-badge-removed {
    background: linear-gradient(to right, #dc2626 0%, #ef4444 100%); /* red-600 to red-500 */
}
.changelog-badge-glow-removed {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}


.changelog-details-list {
    display: flex;
    flex-direction: column;
    gap: 8px; /* space-y-2 sm:space-y-3 */
}

.changelog-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px; /* gap-3 */
}

.detail-dot {
    margin-top: 8px; /* mt-2 */
    height: 6px; /* h-1.5 w-1.5 */
    width: 6px;
    border-radius: 50%;
    background: var(--light-green);
    opacity: 0.6;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.changelog-detail-item:hover .detail-dot {
    opacity: 1;
}

.changelog-progress-bar {
    display: flex;
    align-items: center;
    gap: 8px; /* gap-2 */
    padding-top: 8px; /* pt-2 */
}

.progress-track {
    height: 4px; /* h-1 */
    background: rgba(8, 66, 3, 0.4); /* bg-[#084203]/40 */
    border-radius: 9999px; /* rounded-full */
    flex: 1; /* flex-1 */
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-green) 0%, var(--light-green) 100%);
    border-radius: 9999px;
    animation: pulse-fill 2s ease-in-out infinite;
}

@keyframes pulse-fill {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* End of timeline */
.changelog-timeline-end {
    position: relative;
    margin-top: 32px; /* mt-8 sm:mt-12 */
}

.timeline-dot-end {
    position: absolute;
    left: 16px; /* left-2.5 sm:left-6.5 */
    top: 16px; /* top-4 */
    height: 12px; /* h-3 w-3 sm:h-4 w-4 */
    width: 12px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--light-green) 0%, var(--primary-green) 100%);
    border: 2px solid var(--bg-black);
    animation: pulse-dot 2s ease-in-out infinite;
    z-index: 10;
}

.changelog-end-badge {
    margin-left: 32px; /* ml-8 sm:ml-16 */
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* gap-2 sm:gap-3 */
    border-radius: 50px;
    border: 1px solid rgba(12, 92, 5, 0.4);
    background: rgba(4, 40, 1, 0.8);
    padding: 8px 16px; /* px-4 sm:px-6 py-2 sm:py-3 */
    backdrop-filter: blur(10px);
}

.changelog-end-badge span {
    font-size: 12px; /* text-xs sm:text-sm */
}

/* Bottom CTA */
.changelog-bottom-cta {
    margin-top: 64px; /* mt-16 sm:mt-20 */
    text-align: center;
    padding: 0 16px; /* px-4 */
}

.changelog-bottom-cta-badge {
    display: inline-flex;
    flex-direction: column; /* sm:flex-row */
    align-items: center;
    gap: 12px; /* gap-3 sm:gap-4 */
    border-radius: 16px; /* rounded-2xl */
    border: 1px solid rgba(12, 92, 5, 0.4);
    background: rgba(4, 40, 1, 0.8);
    padding: 16px 24px; /* px-6 sm:px-8 py-4 */
    backdrop-filter: blur(10px);
}

.changelog-bottom-cta-badge .icon-lg {
    height: 20px; /* h-5 w-5 sm:h-6 w-6 */
    width: 20px;
}

.changelog-bottom-cta-text {
    text-align: center; /* sm:text-left */
}

.changelog-bottom-cta-text p:first-child {
    font-size: 14px; /* text-sm */
    font-weight: 700;
    color: var(--text-white);
}

.changelog-bottom-cta-text p:last-child {
    font-size: 12px; /* text-xs */
    color: var(--text-light-gray);
}

.changelog-bottom-cta-divider {
    display: none; /* hidden sm:block */
    height: 32px; /* h-8 */
    width: 1px; /* w-px */
    background: rgba(12, 92, 5, 0.3);
}

.changelog-bottom-cta-link {
    font-size: 14px; /* text-sm */
    font-weight: 700;
    color: var(--light-green);
    text-decoration: none;
    transition: color 0.2s ease;
}

.changelog-bottom-cta-link:hover {
    color: var(--medium-green);
}


/* Responsive Design */
@media (max-width: 1024px) {
.hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
}

.hero-image {
    order: -1;
}

.features-grid {
    grid-template-columns: repeat(2, 1fr);
}

.team-members {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
}

@media (max-width: 768px) {
.container {
    padding: 0 16px;
}

.main-nav {
    display: none;
}

.header-actions {
    display: none;
}

.mobile-menu-toggle {
    display: flex;
}

.mobile-menu.active {
    display: block;
}

.hero {
    padding: 40px 0;
}

.hero-title {
    font-size: 2.5rem;
}

.hero-actions {
    flex-direction: column;
    align-items: center;
}

.hero-stats {
    flex-direction: column;
    gap: 12px;
}

.features-grid {
    grid-template-columns: 1fr;
}

.feature-card {
    padding: 32px 24px;
}

.team-members {
    grid-template-columns: 1fr;
}

.team-banner {
    aspect-ratio: 16/8;
}

.section-title {
    font-size: 2.5rem;
}

.footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}

/* Rules Page Responsive */
.rules-page-hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 40px;
}

.rules-page-hero .section-title {
    font-size: 2.5rem;
}

.rules-page-hero .section-description {
    font-size: 16px;
}

.search-input-wrapper {
    margin-top: 24px;
}

.tabs-list {
    grid-template-columns: 1fr; /* Stack tabs on small screens */
    max-width: 100%;
}

.tab-button {
    padding: 10px 12px;
    font-size: 13px;
}

.rule-category-card {
    padding: 0; /* Remove padding from card itself */
}

.category-header-button {
    padding: 16px;
}

.category-header-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
}

.category-icon-wrapper {
    font-size: 28px;
}

.category-title {
    font-size: 20px;
}

.category-description {
    font-size: 13px;
}

.category-rule-count {
    font-size: 11px;
    padding: 3px 10px;
}

.category-rules-content {
    padding: 16px;
}

.rule-item-card {
    margin-bottom: 12px;
}

.rule-item-title {
    font-size: 16px;
    margin-bottom: 8px;
}

.rule-item-description {
    font-size: 14px;
}

.rules-bottom-cta-badge {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
}

.rules-bottom-cta-text {
    text-align: center;
}

.rules-bottom-cta-divider {
    display: none;
}

/* Changelog Page Responsive */
.changelog-page-hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 40px;
}

.changelog-header-content {
    margin-bottom: 32px;
}

.changelog-header-badge {
    padding: 6px 12px;
    margin-bottom: 16px;
}

.changelog-header-badge .icon-sm {
    height: 14px;
    width: 14px;
}

.changelog-header-badge span {
    font-size: 11px;
}

.changelog-title-wrapper {
    margin-bottom: 24px;
}

.changelog-title {
    font-size: 2.5rem;
}

.changelog-description {
    font-size: 14px;
}

.changelog-stats {
    flex-direction: column;
    gap: 12px;
}

.changelog-stats .stat-divider {
    display: none;
}

.changelog-timeline-wrapper {
    padding: 0 12px;
}

.timeline-line {
    left: 12px;
}

.timeline-line-animated {
    left: 12px;
}

.changelog-item-card {
    margin-left: 24px;
    margin-bottom: 24px;
}

.timeline-dot {
    left: -16px;
    top: 20px;
    height: 10px;
    width: 10px;
}

.changelog-card-content {
    padding: 12px;
}

.changelog-date-version {
    gap: 8px;
    margin-bottom: 12px;
}

.changelog-date-wrapper {
    gap: 8px;
}

.changelog-icon-box {
    padding: 6px;
}

.changelog-version-badge {
    padding: 3px 10px;
}

.changelog-details-content {
    gap: 8px;
}

.changelog-title-type {
    flex-direction: column;
    gap: 8px;
}

.changelog-item-title {
    font-size: 18px;
}

.changelog-type-badge {
    padding: 4px 10px;
    font-size: 11px;
}

.changelog-detail-item {
    gap: 8px;
}

.detail-dot {
    margin-top: 6px;
    height: 5px;
    width: 5px;
}

.changelog-progress-bar {
    padding-top: 6px;
}

.changelog-timeline-end {
    margin-top: 24px;
}

.timeline-dot-end {
    left: 12px;
    top: 12px;
    height: 10px;
    width: 10px;
}

.changelog-end-badge {
    margin-left: 24px;
    padding: 6px 12px;
}

.changelog-end-badge .icon-sm {
    height: 12px;
    width: 12px;
}

.changelog-end-badge span {
    font-size: 11px;
}

.changelog-bottom-cta {
    margin-top: 40px;
}

.changelog-bottom-cta-badge {
    padding: 16px;
    gap: 12px;
}

.changelog-bottom-cta-badge .icon-lg {
    height: 18px;
    width: 18px;
}

.changelog-bottom-cta-text p:first-child {
    font-size: 13px;
}

.changelog-bottom-cta-text p:last-child {
    font-size: 11px;
}

.changelog-bottom-cta-divider {
    display: none;
}
}

@media (max-width: 480px) {
.hero-title {
    font-size: 2rem;
}

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

.btn {
    padding: 10px 20px;
    font-size: 14px;
}

.feature-card {
    padding: 24px 20px;
}

.team-card {
    padding: 24px 20px;
}

/* Rules Page Smaller Screens */
.rules-page-hero .section-title {
    font-size: 2rem;
}
.rules-page-hero .section-description {
    font-size: 14px;
}
.search-input {
    padding: 10px 12px 10px 36px;
    font-size: 14px;
}
.search-input-wrapper .search-icon {
    left: 10px;
    height: 14px;
    width: 14px;
}
.tab-button {
    font-size: 12px;
    padding: 8px 10px;
}
.category-title {
    font-size: 18px;
}
.category-description {
    font-size: 12px;
}
.rule-item-title {
    font-size: 15px;
}
.rule-item-description {
    font-size: 13px;
}

/* Changelog Page Smaller Screens */
.changelog-title {
    font-size: 2rem;
}
.changelog-description {
    font-size: 13px;
}
.changelog-header-badge {
    padding: 4px 10px;
    gap: 8px;
}
.changelog-header-badge span {
    font-size: 10px;
}
.changelog-stats {
    font-size: 12px;
}
.changelog-item-card {
    margin-left: 16px;
}
.timeline-dot {
    left: -12px;
}
.changelog-card-content {
    padding: 10px;
}
.changelog-item-title {
    font-size: 16px;
}
.changelog-type-badge {
    padding: 3px 8px;
    font-size: 10px;
}
.changelog-detail-item {
    gap: 6px;
}
.detail-dot {
    margin-top: 5px;
}
.changelog-end-badge {
    margin-left: 16px;
}
.changelog-bottom-cta-badge {
    padding: 12px;
}
.changelog-bottom-cta-text p:first-child {
    font-size: 12px;
}
.changelog-bottom-cta-text p:last-child {
    font-size: 10px;
}
}
