/* Globals */
:root {
    --transition-fast: 0.3s ease;
    --transition-slow: 0.8s ease;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.2);
    --green: #4CAF50;
    --orange: #FF9800;
    --red: #F44336;
}

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

body {
    font-family: Consolas, 'Courier New', monospace;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Default heading styles */
h1, h2 {
    font-size: 48px;
    margin-bottom: 15px;
}

h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

h4 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Default paragraph styles */
p {
    font-size: 20px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 30px;
}

p strong {
    display: inline-block;
    font-weight: 700;
    font-size: 22px;
    color: #fff;
    margin-bottom: 6px;
}

/* Default link styles */
a {
    color: #5865F2;
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    text-decoration: underline;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
}

/* Hero section */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-container {
    margin-bottom: 30px;
    transition: all var(--transition-fast);
}

.logo {
    width: 400px;
    height: auto;
    transition: all var(--transition-fast);
}

.hero-section.scrolled .logo {
    width: 200px;
}

/* Dashboard */
.dashboard-preview {
    max-width: 1200px;
    width: 90%;
    padding: 30px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-slow);
}

.dashboard-preview.visible {
    opacity: 1;
    transform: translateY(0);
}

.dashboard-preview h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.dashboard-preview p {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.dashboard-section {
    min-height: 100vh;
}

body:not(:has(.hero-section)) .dashboard-section {
    padding-top: 80px;
}

.dashboard-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-100%);
    transition: all var(--transition-fast);
}

.dashboard-header.visible,
body:not(:has(.hero-section)) .dashboard-header {
    opacity: 1;
    transform: translateY(0);
}

.logo-small {
    height: 50px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-small img {
    height: 100%;
    width: auto;
}

.site-title {
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
    margin-right: auto;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-item > a {
    display: block;
    padding: 20px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.nav-item > a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: rgba(0, 0, 0, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1001;
}

.nav-item {
    position: relative;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    font-size: 13px;
    color: #ccc;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding-left: 25px;
}

.dashboard-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Content */
.content-section {
    margin-bottom: 2vh;
    padding: 50px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.content-section > img,
.content-section > p > img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body:not(:has(.hero-section)) .content-section:first-child,
.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section.fade-out {
    opacity: 0;
    transform: translateY(-50px);
}

/* Officers & Calendar */
.officers-section,
.calendar-section {
    border: 1px dotted rgba(255, 255, 255, 0.2);
    padding: 60px 40px;
}

.officers-intro {
    max-width: 900px;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.8;
}

.link {
    color: #5865F2;
    font-weight: bold;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.highlight {
    color: var(--green);
    font-weight: bold;
}

.officers-group {
    margin-bottom: 50px;
}

.officers-group:last-child {
    margin-bottom: 0;
}

.role-title {
    font-size: 24px;
    color: var(--green);
    margin-bottom: 25px;
    font-weight: bold;
}

.officers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.officer-card {
    text-align: center;
    padding: 20px;
    transition: all var(--transition-fast);
    width: 250px;
    flex-shrink: 0;
}

.officer-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.officer-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

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

.officer-info h3 {
    font-size: clamp(12px, 2vw, 16px);
    margin-bottom: 5px;
}

.officer-info p {
    margin: 0;
    font-size: 14px;
    color: #999;
}

.calendar-container {
    margin-bottom: 10px;
}

.calendar-container iframe {
    display: block;
    border-radius: 4px;
}

.calendar-note {
    text-align: center;
    font-size: 16px;
    margin-top: 10px;
}

/* Challenges */
.challenges-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--green);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.challenge-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    padding: 25px;
    text-decoration: none;
    color: #fff;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.challenge-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.challenge-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.challenge-card-header h4 {
    font-size: 22px;
    margin: 0;
    flex: 1;
}

.challenge-card-description {
    font-size: 15px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: auto;
    flex: 1;
}

.challenge-card-meta {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #999;
}

.meta-item {
    display: inline-block;
}

.difficulty {
    padding: 8px 16px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.difficulty-easy { 
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50; 
    border: 2px solid #4CAF50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.2);
}

.difficulty-medium { 
    background: rgba(255, 152, 0, 0.15);
    color: #FF9800; 
    border: 2px solid #FF9800;
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.2);
}

.difficulty-hard { 
    background: rgba(244, 67, 54, 0.15);
    color: #F44336; 
    border: 2px solid #F44336;
    box-shadow: 0 0 20px rgba(244, 67, 54, 0.2);
}

.challenge-category {
    padding: 8px 16px;
    background: rgba(33, 150, 243, 0.15);
    color: #2196F3;
    border: 2px solid #2196F3;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Individual Challenge Page */
.challenge-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.challenge-container h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.challenge-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
}

.challenge-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #ffffff;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid #4CAF50;
    border-radius: 6px;
}

.challenge-button {
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.1) 100%);
    color: #4CAF50;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.challenge-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3) 0%, rgba(76, 175, 80, 0.2) 100%);
}

.challenge-button-danger:hover:not(:disabled) {
    box-shadow: 0 6px 25px rgba(244, 67, 54, 0.4);
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.3) 0%, rgba(244, 67, 54, 0.2) 100%);
}

.challenge-note {
    font-size: 14px;
    color: #999;
    margin-top: 15px;
    font-style: italic;
}

.challenge-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(76, 175, 80, 0.1);
    border-top: 4px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

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

/* Tablet & Mobile Styles */
@media (max-width: 1024px) {
    .dashboard-header {
        flex-wrap: wrap;
        padding: 15px 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 15px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links::-webkit-scrollbar {
        width: 6px;
    }
    
    .nav-links::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .nav-links::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 3px;
    }
    
    .nav-links::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.3);
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-item > a {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(255, 255, 255, 0.02);
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item.active .dropdown {
        max-height: 300px;
    }
    
    .dropdown a {
        padding: 12px 40px;
        font-size: 14px;
    }
    
    .dropdown a:hover {
        padding-left: 45px;
    }
}

@media (max-width: 768px) {
    .logo { 
        width: 300px; 
    }
    
    .logo-small img {
        height: 40px;
    }
    
    .site-title { 
        font-size: 14px; 
    }

    .content-section {
        padding: 40px 20px;
        margin-bottom: 10vh;
    }

    .content-section h2 { 
        font-size: 32px; 
    }
    
    .content-section p { 
        font-size: 16px; 
    }

    .officers-section,
    .calendar-section {
        padding: 40px 20px;
    }

    .officers-grid {
        gap: 20px;
    }

    .challenges-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-title {
        font-size: 28px;
    }

    .challenge-meta {
        flex-direction: column;
    }

    .challenge-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo { 
        width: 250px; 
    }
    
    .logo-small img {
        height: 35px;
    }
    
    .site-title { 
        font-size: 12px; 
    }
    
    .dashboard-header {
        padding: 12px 15px;
    }
    
    .content-section h2 { 
        font-size: 24px; 
    }
    
    .content-section p { 
        font-size: 14px; 
    }
}

/* Meeting Cards */
.meeting-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.meeting-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    padding: 25px;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    height: 300px;
}

.meeting-card-link:hover .meeting-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.meeting-header {
    margin-bottom: 10px;
    flex-shrink: 0;
}

.meeting-header h4 {
    font-size: 22px;
    margin: 0;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
    max-height: 2.6em;
    word-break: break-word;
}

.meeting-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.meeting-description {
    font-size: 15px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
    flex: 1;
}

.meeting-description p {
    margin: 0;
    font-size: 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-word;
}

.meeting-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    flex-shrink: 0;
}

.meeting-link {
    color: var(--green);
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meeting-card-link:hover .meeting-link {
    color: #fff;
}

/* Meeting Detail Page */
.video-container {
    margin: 40px 0;
}

.video-container h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.video-container iframe {
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.meeting-resources {
    margin: 40px 0;
}

.meeting-resources h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

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

.resource-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    padding: 25px;
    text-decoration: none;
    color: #fff;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 20px;
}

.resource-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--green);
    transform: translateY(-5px);
}

.resource-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.resource-text h4 {
    font-size: 18px;
    margin: 0 0 5px 0;
    color: var(--green);
}

.resource-text p {
    font-size: 14px;
    margin: 0;
    color: #999;
}

/* Year Cards */
.year-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    padding: 25px;
    text-decoration: none;
    color: #fff;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.year-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--green);
    transform: translateY(-5px);
}

.year-card h4 {
    font-size: 24px;
    margin: 0;
    color: var(--green);
}

/* Responsive */
@media (max-width: 768px) {
    .video-container iframe {
        height: 300px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .meeting-card {
        height: auto;
        min-height: 250px;
    }
    
    .meeting-description p {
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
}

.challenge-files {
    margin: 40px 0;
    text-align: center;
}

.challenge-button-secondary {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2) 0%, rgba(33, 150, 243, 0.1) 100%);
    color: #2196F3;
    border: 2px solid #2196F3;
    text-decoration: none;
    display: inline-block;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
}

.challenge-button-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(33, 150, 243, 0.4);
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.3) 0%, rgba(33, 150, 243, 0.2) 100%);
}

/* Hints Section - Dropdown Style */
.challenge-hints {
    margin: 50px 0;
}

.hint-block {
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 152, 0, 0.2);
    transition: all 0.3s ease;
}

.hint-block:hover {
    border-color: rgba(255, 152, 0, 0.4);
    box-shadow: 0 4px 20px rgba(255, 152, 0, 0.15);
}

.dropdown-toggle {
    width: 100%;
    padding: 18px 25px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.15) 0%, rgba(255, 152, 0, 0.05) 100%);
    color: #FF9800;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown-toggle.active::after {
    transform: rotate(180deg);
}

.dropdown-toggle:hover {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.25) 0%, rgba(255, 152, 0, 0.15) 100%);
    color: #FFB74D;
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1rem;
}

.dropdown-content.active {
    max-height: 500px;
    padding: 0.5rem 1rem;
}

.dropdown-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #e0e0e0;
}

/* FAQ Dropdowns */
.faq-block .dropdown-toggle {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.15) 0%, rgba(33, 150, 243, 0.05) 100%);
    color: #2196F3;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: none;
    border-radius: 8px;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-block .dropdown-toggle:hover {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.25) 0%, rgba(33, 150, 243, 0.15) 100%);
    color: #64B5F6;
}

.faq-block .dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(33, 150, 243, 0.03);
    border-top: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 0 0 8px 8px;
    padding: 0 20px; /* initial collapsed padding */
}

.faq-block .dropdown-content.active {
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.25);
    border-top: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 0 0 8px 8px;
}

.faq-block .dropdown-content p {
    margin: 0 0 12px 0;
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
}

.faq-block .dropdown-content p:last-child {
    margin-bottom: 0;
}

.faq-block .dropdown-content code {
    background: rgba(33, 150, 243, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #2196F3;
    font-size: 14px;
}

.faq-block .dropdown-content strong {
    font-weight: 700;
    color: #fff;
}

.faq-block .dropdown-content em {
    color: #bbb;
    font-style: italic;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .challenge-container {
        padding: 30px 15px;
    }

    .challenge-container h2 {
        font-size: 32px;
    }

    .challenge-meta {
        flex-wrap: wrap;
    }

    .challenge-description {
        font-size: 16px;
        padding: 20px;
    }

    .challenge-box {
        padding: 25px 20px;
    }

    .challenge-button,
    .challenge-button-secondary {
        width: 100%;
        padding: 14px 30px;
        font-size: 14px;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 0;
    }

    .dropdown-toggle {
        padding: 15px 20px;
        font-size: 14px;
    }

    .dropdown-content.active {
        padding: 20px;
    }

    .dropdown-content p {
        font-size: 15px;
    }
}

.challenge-static-info {
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 4px;
}

.challenge-controls {
    margin: 40px 0;
}

.challenge-info-box {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    padding: 25px;
    margin-bottom: 20px;
}

.challenge-info-box h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--green);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 16px;
}

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

.info-row span:first-child {
    color: #999;
    font-weight: 600;
}

.info-row span:last-child,
.info-row a {
    color: #4CAF50;
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

.info-row a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-row a:hover {
    color: #45a049;
    text-decoration: underline;
}

.info-label {
    font-weight: bold;
    color: #ccc;
}

.info-value {
    color: #fff;
    font-family: 'Courier New', monospace;
}

.info-link {
    color: var(--green);
    text-decoration: none;
    font-family: 'Courier New', monospace;
}

.info-link:hover {
    text-decoration: underline;
}

.challenge-button-danger {
    background-color: rgba(244, 67, 54, 0.2);
    color: var(--red);
    border: 2px solid var(--red);
}

.challenge-button-danger:hover {
    background-color: rgba(244, 67, 54, 0.3);
}

.challenge-note {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 768px) {
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .hint-item {
        padding: 12px;
        font-size: 14px;
    }
}

.committees-section {
    max-width: 1200px;
    margin: 0 auto;
}

.committee-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.committee-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.committee-header {
    margin-bottom: 15px;
}

.committee-title {
    font-size: 1.8em;
    color: #fff;
    margin: 0 0 10px 0;
}

.committee-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1em;
    margin-bottom: 25px;
    line-height: 1.6;
}

.committee-members {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.committee-member {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    transition: background 0.2s ease;
}

.committee-member:hover {
    background: rgba(255, 255, 255, 0.05);
}

.member-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.member-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.95em;
}

.member-role {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .committee-card {
        padding: 20px;
    }
    
    .committee-members {
        flex-direction: column;
    }
    
    .committee-member {
        width: 100%;
    }
}