/* Global Styles - Dark Theme */
:root {
    /* Brand Colors */
    --primary-color: #40E0D0;        /* Turquoise */
    --primary-hover: #48D1CC;        /* Slightly darker turquoise */
    --secondary-color: #2d2d2d;      /* Dark Gray */
    --secondary-hover: #3d3d3d;      /* Lighter Dark Gray */
    --accent-color: #48D1CC;         /* Turquoise for accents */
    --gradient: linear-gradient(135deg, #40E0D0 0%, #48D1CC 100%);
    
    /* Background & Surface Colors */
    --bg-primary: #121212;           /* Dark background */
    --bg-secondary: #1e1e1e;         /* Cards, sections */
    --bg-tertiary: #2d2d2d;          /* Dark gray for hover states */
    
    /* Text Colors */
    --text-primary: #e0e0e0;         /* Main text */
    --text-secondary: #b0b0b0;       /* Secondary text */
    --text-light: #f8f9fa;           /* Light text on dark */
    
    /* UI Colors */
    --border-color: #333333;         /* Borders and dividers */
    --success-color: #28a745;        /* Success messages */
    --error-color: #dc3545;          /* Error messages */
    --warning-color: #ffc107;        /* Warning messages */
    --info-color: #17a2b8;           /* Info messages */
    
    /* Dark Mode Colors */
    --dark-bg: #0a0a0a;              /* Darker background */
    --dark-surface: #1a1a1a;         /* Dark surface */
    --dark-text: #e0e0e0;            /* Text on dark */
    --dark-border: #2d2d2d;          /* Borders in dark mode */
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

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

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--bg-primary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: var(--bg-secondary);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
    background: var(--bg-tertiary);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: rgba(74, 107, 255, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
    transition: var(--transition);
}

.feature:hover i {
    background: var(--primary-color);
    color: var(--text-light);
    transform: rotateY(180deg);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Team Showcase */
.team-showcase {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
    position: relative;
}

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

.team-showcase .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.team-showcase .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Team section container */
.team-showcase .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Team grid with centered items */
.team-showcase .team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

/* Add this to help with centering single items */
.team-showcase .team-grid:empty::before {
    content: '';
    width: 220px;
    order: 1;
}

.team-showcase .team-grid:empty::after {
    content: '';
    width: 220px;
    order: 2;
}

/* Individual team member card */
.team-showcase .team-member {
    background: var(--bg-primary);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 220px;
    margin: 0;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    flex: 0 0 220px; /* Fixed width */
}

.team-showcase .team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.team-showcase .member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.team-showcase .team-member:hover .member-avatar {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(64, 224, 208, 0.3);
}

.team-showcase .team-member h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 0.5rem 0 0.3rem;
    font-weight: 600;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    word-break: break-word;
    padding: 0 0.5rem;
}

.team-member .role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1.3;
    word-break: break-word;
    padding: 0 0.5rem;
}

.team-showcase .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: auto;
    padding: 0.8rem 0.5rem 0;
    min-height: 2.2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    align-items: center;
}

.team-showcase .social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Team Categories */
.team-category {
    grid-column: 1 / -1;
    margin: 2rem auto 1.5rem;
    color: var(--primary-color);
    font-size: 1.8rem;
    text-align: center;
    position: relative;
    padding: 0 1rem 0.8rem;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-underline {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0.5rem auto 0;
    border-radius: 3px;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bio {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.text-center {
    text-align: center;
    margin-top: 3rem;
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Navigation */
header {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.logo {
    position: absolute;
    left: -140%;
    height: 50%;
    display: flex;
    align-items: flex-start; /* Changed from center to flex-start */
    z-index: 1001;
    padding: -20px 0 10px; /* Increased top padding */
    top: -215px; /* Added to push the logo down */
}

.logo-img {
    height: 480px; /* Better proportioned logo */
    width: auto;
    max-width: 300px; /* Better control over logo width */
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

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

/* Navigation */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: block;
    position: absolute;
    background: var(--dark-surface);
    min-width: 240px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    top: 100%;
    left: 50%;
    margin-top: 15px;
    visibility: hidden;
    transform-origin: top center;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
    visibility: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add a longer delay when closing */
.dropdown:not(:hover) .dropdown-content {
    transition: opacity 0.3s ease 1s, 
                transform 0.3s ease 1s, 
                visibility 0s 1.3s;
}

.dropdown-content a {
    color: var(--text-light);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: var(--transition);
    border-left: 3px solid transparent;
    font-size: 0.95rem;
}

.dropdown-content a i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.dropdown-content a:hover {
    background: rgba(255,255,255,0.1);
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown > a i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

/* Rules Navigation */
.rules-nav {
    position: relative;
    display: flex;
    align-items: center;
}

.rules-links {
    display: flex;
    gap: 1.5rem;
    margin-left: 1rem;
}

/* Enhanced Collapsible Sections */
.collapsible {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 5px 0;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.collapsible::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.3s ease;
    z-index: -1;
    opacity: 0.1;
}

.collapsible:hover::after {
    height: 100%;
}

.collapsible:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.collapsible-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9em;
    margin-left: 0.5rem;
    opacity: 0.8;
}

.collapsible.active {
    background-color: var(--bg-tertiary);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-left: 4px solid var(--primary-color);
}

.collapsible.active .collapsible-icon {
    transform: rotate(180deg);
}

.collapsible-content {
    padding: 0 18px;
    background-color: var(--bg-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    margin-bottom: 10px;
    border-radius: 0 0 5px 5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.3s ease-out, opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
}

.collapsible-content.active {
    opacity: 1;
    transform: translateY(0);
    padding: 20px 18px;
}

.rule-item {
    padding: 15px;
    margin: 10px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    transition: transform 0.2s ease;
    border-left: 3px solid var(--primary-color);
}

.rule-item:hover {
    transform: translateX(5px);
    background: var(--bg-tertiary);
}

.rules-links a {
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0.8;
    transition: var(--transition);
    white-space: nowrap;
}

.rules-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .rules-links {
        display: none;
    }
    
    .rules-nav {
        flex-direction: column;
        align-items: flex-start;
    }
}

.nav-links a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.95)),
                url('img/banner.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 180, 156, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #60E9B0 0%, #60E9B0 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(96, 233, 176, 0.5);
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button span {
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Team Preview Section */
.team-preview {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

.team-preview .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    position: relative;
}

.team-preview .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.team-preview .team-grid {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 2rem 1rem;
    margin: 0 -1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-secondary);
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.team-preview .team-grid::-webkit-scrollbar {
    height: 8px;
}

.team-preview .team-grid::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.team-preview .team-grid::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
}

.team-preview .team-member {
    flex: 0 0 250px;
    scroll-snap-align: start;
}

.team-preview .team-member {
    background: var(--bg-primary);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.team-preview .team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.team-preview .member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.team-preview .team-member:hover .member-avatar {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(64, 224, 208, 0.3);
}

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

.team-preview .team-member h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.team-preview .team-member .role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-preview .btn-outline {
    display: inline-block;
    margin-top: 3rem;
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.team-preview .btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(245, 141, 8, 0.3);
}

.text-center {
    text-align: center;
}

/* ======================
   Rules Section - Modern Design
   ====================== */
.rules-container {
    padding: 6rem 1.5rem 5rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.rules-category {
    margin-bottom: 1.5rem;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

/* Collapsible Button Styling */
.collapsible {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 5px 0;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-color);
}

.collapsible:hover {
    background-color: var(--bg-secondary);
    border-color: var(--primary-color);
}

.collapsible.active {
    background-color: var(--bg-secondary);
    border-color: var(--primary-color);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 1px solid transparent;
}

.collapsible-icon {
    transition: transform 0.3s ease;
    font-size: 0.9em;
    margin-left: 0.5rem;
    opacity: 0.8;
}

.collapsible.active .collapsible-icon {
    transform: rotate(180deg);
}

/* Collapsible Content Styling */
.collapsible-content {
    background-color: var(--bg-secondary);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.4s ease-out, opacity 0.3s ease, transform 0.3s ease;
    margin-bottom: 10px;
    border-radius: 0 0 5px 5px;
    border: 1px solid var(--border-color);
    border-top: none;
    padding: 0 18px;
    box-sizing: border-box;
}

.collapsible-content.active {
    opacity: 1;
    transform: translateY(0);
    padding: 20px 18px;
    border-color: var(--primary-color);
    max-height: none;
    height: auto;
}

/* Rule Item Styling */
.rule-item {
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 1.5rem 1.8rem;
    margin-bottom: 1.2rem;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

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

.rule-item:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.rule-item h3 {
    color: var(--primary-color);
    margin: 0 0 0.75rem 0;
    font-size: 1.15rem;
}

.rule-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* Prevent horizontal scroll on mobile */
* {
    max-width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rules-container {
        padding: 5rem 0.5rem 3rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .collapsible {
        padding: 1.25rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .collapsible-content {
        padding: 0 1rem;
    }
    
    .collapsible-content.active {
        padding: 1.25rem 1rem;
    }
    
    .rule-item {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .rule-item:last-child {
        margin-bottom: 0;
    }
}

.rule {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.rule:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.rule h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* About Page */
.about-hero {
    background: linear-gradient(rgba(26, 31, 46, 0.8), rgba(26, 31, 46, 0.8)),
                url('https://images.unsplash.com/photo-1511512578047-dfb367046420?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.about-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.about-section .container {
    max-width: 800px;
    text-align: center;
}

.about-section h2 {
    margin-bottom: 1.5rem;
}

.about-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.team-section {
    padding: 5rem 0;
    background-color: white;
}

.team-member-detail {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.team-member-detail:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-avatar-large {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    background-color: #f0f2f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--secondary-color);
}

.role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.bio {
    margin-bottom: 1.5rem;
    color: #666;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f0f2f5;
    border-radius: 50%;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: white;
}

.join-section {
    padding: 5rem 0;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

.join-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.join-section p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%);
    color: var(--light-color);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #1cffc6);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    position: relative;
    z-index: 1;
}

/* Footer Logo Section */
.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    opacity: 1;
    transform: translateY(-3px);
}

.tagline {
    color: var(--primary-color) !important;
    font-weight: 500;
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
}

.footer-description {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: #999 !important;
    margin-top: 1rem !important;
}

/* Contact Info */
.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem !important;
    transition: all 0.3s ease;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.contact-info p:last-child {
    border-bottom: none;
}

.contact-info i {
    margin-right: 12px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 5px;
    transition: all 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: #b3b3b3;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links i {
    margin-right: 10px;
    font-size: 0.7rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Footer Section Styling */
.footer-section {
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-section:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #1cffc6);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.15);
    position: relative;
    backdrop-filter: blur(5px);
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-bottom p {
    color: #777;
    font-size: 0.9rem;
    margin: 0;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--dark-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem 0;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .team-showcase .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .rules-container {
        padding: 7rem 1rem 3rem;
    }
    
    .about-hero {
        height: 30vh;
    }
    
    .about-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .about-content h1 {
        font-size: 2rem;
    }
}
