:root {
    /* RTA Brand Colors */
    --rta-red: #be1c2d;
    --rta-red-dark: #8b1421;
    --rta-red-light: #d42c40;
    
    /* Complementary Colors */
    --steel-blue: #34495e;
    --steel-blue-light: #4a6378;
    --deep-gray: #2c3e50;
    --deep-gray-light: #3d566e;
    --charcoal: #1a1a1a;
    --charcoal-light: #2d2d2d;
    
    /* Main Color Variables */
    --primary-color: #be1c2d;
    --secondary-color: #34495e;
    --accent-color: #2c3e50;
    --tertiary-color: #d42c40;
    
    /* Background Colors */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #1a1a1a;
    --bg-card-hover: #2d2d2d;
    --bg-section-alt: #111111;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --border-color: #2c3e50;
    
    /* Status Colors */
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --info-color: #3498db;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #be1c2d 0%, #d42c40 100%);
    --gradient-secondary: linear-gradient(135deg, #34495e 0%, #4a6378 100%);
    --gradient-tertiary: linear-gradient(135deg, #2c3e50 0%, #3d566e 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 20px rgba(190, 28, 45, 0.4);
    --shadow-glow-blue: 0 0 20px rgba(52, 73, 94, 0.4);
    --shadow-glow-gray: 0 0 20px rgba(44, 62, 80, 0.4);
    
    /* Fonts */
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-weight: bold;
    color: var(--bg-dark);
    font-size: 1.2rem;
}

.logo-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: -1;
}

.matrix-rain {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, transparent 0%, rgba(190, 28, 45, 0.1) 100%);
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.terminal-prompt {
    color: var(--primary-color);
    font-family: var(--font-mono);
}

.typing-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--primary-color);
    font-weight: normal;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, var(--primary-color), var(--tertiary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mission Section */
.mission {
    background: var(--bg-darker);
}

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

.mission-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-glow-blue);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mission-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--bg-dark);
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Testimonials */
.testimonials {
    background: var(--bg-darker);
}

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

.testimonial-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--bg-dark);
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Join Section */
.join {
    background: linear-gradient(135deg, rgba(190, 28, 45, 0.1) 0%, rgba(52, 73, 94, 0.1) 100%);
    text-align: center;
}

.join-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.join-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sponsors */
.sponsors {
    background: var(--bg-darker);
}

.sponsors-description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.sponsor-placeholder {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.sponsor-logo {
    color: var(--text-muted);
}

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

.sponsor-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, rgba(190, 28, 45, 0.1) 0%, rgba(52, 73, 94, 0.1) 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Meetings Page */
.upcoming-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}

.upcoming-card {
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 30px;
    display: flex;
    gap: 30px;
}

.upcoming-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.upcoming-date {
    text-align: center;
    min-width: 80px;
}

.date-month {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.date-day {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-primary);
}

.upcoming-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.upcoming-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.upcoming-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.meetings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.meeting-card {
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.meeting-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.meeting-image {
    height: 200px;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.image-placeholder {
    color: var(--text-muted);
}

.image-placeholder svg {
    width: 60px;
    height: 60px;
    opacity: 0.3;
}

.meeting-content {
    padding: 25px;
}

.meeting-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.meeting-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.meeting-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.meeting-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(190, 28, 45, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

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

.format-card {
    text-align: center;
    padding: 30px;
}

.format-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.format-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--bg-dark);
}

.format-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.format-card p {
    color: var(--text-secondary);
}

/* Hack Wednesdays Page */
.about-hack-wednesdays {
    background: var(--bg-darker);
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    text-align: center;
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--bg-dark);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
}

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

.box-card {
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 30px;
    position: relative;
}

.box-card.current {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.box-status {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(190, 28, 45, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.box-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.box-header h3 {
    font-size: 1.5rem;
}

.difficulty {
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: bold;
}

.difficulty.easy {
    background: rgba(52, 73, 94, 0.2);
    color: var(--success-color);
}

.difficulty.medium {
    background: rgba(255, 170, 0, 0.2);
    color: var(--warning-color);
}

.difficulty.hard {
    background: rgba(255, 51, 68, 0.2);
    color: var(--error-color);
}

.box-description {
    margin-bottom: 20px;
}

.box-description p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.box-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.box-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.box-progress {
    margin-top: 20px;
}

.progress-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.progress-bar {
    height: 8px;
    background: var(--bg-darker);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.progress-65 {
    width: 65%;
}

.progress-text {
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-top: 8px;
}

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

.completed-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.completed-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.completed-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.completed-stats {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--bg-dark);
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-secondary);
}

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

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

.resource-category {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.resource-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.resource-category ul {
    list-style: none;
}

.resource-category li {
    padding: 8px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.resource-category li:last-child {
    border-bottom: none;
}

/* CTF Page */
.ctf-hero {
    background: linear-gradient(135deg, rgba(190, 28, 45, 0.1) 0%, rgba(44, 62, 80, 0.1) 100%);
}

.ctf-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 2rem;
}

.ctf-stats .stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

.ctf-banner {
    background: var(--bg-card);
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    padding: 40px;
    box-shadow: var(--shadow-glow);
}

.ctf-banner-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
}

.ctf-date {
    text-align: center;
    padding: 20px;
    background: var(--gradient-primary);
    border-radius: 10px;
    color: var(--text-primary);
}

.date-month {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000000;
}

.date-day {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.date-year {
    font-size: 1rem;
}

.ctf-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.ctf-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
}

.ctf-details {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.ctf-countdown {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.countdown-item {
    text-align: center;
    background: var(--bg-darker);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.countdown-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.countdown-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.category-icon.web { background: rgba(190, 28, 45, 0.2); }
.category-icon.crypto { background: rgba(52, 73, 94, 0.2); }
.category-icon.reverse { background: rgba(44, 62, 80, 0.2); }
.category-icon.pwn { background: rgba(212, 44, 64, 0.2); }
.category-icon.forensics { background: rgba(52, 73, 94, 0.3); }
.category-icon.misc { background: rgba(44, 62, 80, 0.3); }

.category-icon svg {
    width: 30px;
    height: 30px;
}

.category-icon.web svg { stroke: #be1c2d; }
.category-icon.crypto svg { stroke: #34495e; }
.category-icon.reverse svg { stroke: #2c3e50; }
.category-icon.pwn svg { stroke: #d42c40; }
.category-icon.forensics svg { stroke: #4a6378; }
.category-icon.misc svg { stroke: #3d566e; }

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.category-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.past-ctf-card {
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 30px;
}

.ctf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.ctf-header h3 {
    font-size: 1.5rem;
}

.ctf-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.ctf-stats-mini {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.ctf-stats-mini .stat {
    padding: 8px 15px;
    background: var(--bg-darker);
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.ctf-winners h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.winners-list {
    list-style: none;
    counter-reset: winner-counter;
}

.winners-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    counter-increment: winner-counter;
}

.winners-list li:last-child {
    border-bottom: none;
}

.winners-list li::before {
    content: counter(winner-counter) ".";
    margin-right: 10px;
    color: var(--primary-color);
    font-weight: bold;
}

.team-name {
    flex: 1;
}

.score {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.rule-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.rule-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.rule-card ul {
    list-style: none;
}

.rule-card li {
    padding: 10px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
}

.rule-card li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.prep-content {
    max-width: 800px;
    margin: 0 auto;
}

.resource-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.resource-group h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.resource-group ul {
    list-style: none;
}

.resource-group li {
    margin-bottom: 10px;
}

.resource-group a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-group a:hover {
    color: var(--primary-color);
}

.ctf-cta {
    background: linear-gradient(135deg, rgba(190, 28, 45, 0.1) 0%, rgba(44, 62, 80, 0.1) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Page */
.contact-main {
    background: var(--bg-darker);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 25px;
    height: 25px;
    stroke: var(--bg-dark);
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.contact-details p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.contact-details .link {
    color: var(--primary-color);
    text-decoration: none;
}

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

.benefits-list {
    list-style: none;
    margin: 20px 0;
}

.benefits-list li {
    padding: 10px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.sponsor-cta {
    color: var(--text-primary);
    font-weight: 500;
    margin: 20px 0 15px;
}

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

.partnership-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.partnership-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.partnership-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--bg-dark);
}

.partnership-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.partnership-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-section {
    background: var(--bg-darker);
}

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

.faq-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Footer */
footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .ctf-banner-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .ctf-date {
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .meetings-grid {
        grid-template-columns: 1fr;
    }
    
    .boxes-grid {
        grid-template-columns: 1fr;
    }
    
    .upcoming-card {
        flex-direction: column;
    }
    
    .ctf-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .ctf-details {
        flex-direction: column;
        gap: 15px;
    }
    
    .ctf-countdown {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .partnership-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .meetings-grid,
    .testimonials-grid,
    .mission-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .past-ctf-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.mission-card,
.stat-card,
.testimonial-card,
.meeting-card,
.box-card {
    animation: fadeIn 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--bg-dark);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* Contact Page LinkedIn Section */
.contact-simple {
    display: flex;
    justify-content: center;
    padding: 60px 0;
}

.contact-linkedin {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 600px;
    text-align: left;
}

.linkedin-icon {
    flex-shrink: 0;
}

.linkedin-icon svg {
    width: 60px;
    height: 60px;
    color: var(--primary-color);
}

.linkedin-content h2 {
    margin: 0 0 15px 0;
    color: var(--text-primary);
    font-size: 2rem;
}

.linkedin-content p {
    margin: 0 0 25px 0;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-linkedin {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .linkedin-icon svg {
        width: 48px;
        height: 48px;
    }
}

/* Meeting Format Section Styling */
.meeting-format {
    background: var(--bg-section-alt);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.format-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.format-info h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.format-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.format-info p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .meeting-format {
        padding: 40px 0;
    }
    
    .format-content {
        margin: 20px;
        padding: 25px 20px;
    }
    
    .format-info h2 {
        font-size: 1.75rem;
    }
    
    .format-info p {
        font-size: 1rem;
    }
}