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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0f1419;
    min-height: 100vh;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #667eea;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.defi-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #2d3748 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.conference-info {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: white;
    font-style: normal;
    opacity: 0.9;
}

.conference-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.conference-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

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

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

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-discord {
    background: #5865F2;
    color: white;
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
}

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

/* Main Content */
.main-content {
    background: white;
    margin-top: -40px;
    border-radius: 40px 40px 0 0;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

/* Section Backgrounds and Transitions */
.section {
    position: relative;
    overflow: hidden;
    transition: all 0.6s ease;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
    pointer-events: none;
}

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

/* Modern Purple Theme - Alternating Shades */
.overview-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    position: relative;
}

.overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02), rgba(118, 75, 162, 0.02));
    pointer-events: none;
}

.task-section {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    position: relative;
}

.task-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.04), rgba(118, 75, 162, 0.04));
    pointer-events: none;
}

.evaluation-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    position: relative;
}

.evaluation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02), rgba(118, 75, 162, 0.02));
    pointer-events: none;
}

.timeline-section {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    position: relative;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.04), rgba(118, 75, 162, 0.04));
    pointer-events: none;
}

.prizes-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    position: relative;
}

.prizes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02), rgba(118, 75, 162, 0.02));
    pointer-events: none;
}

.organizers-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    position: relative;
}

.organizers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02), rgba(118, 75, 162, 0.02));
    pointer-events: none;
}

.submission-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    position: relative;
}

.submission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02), rgba(118, 75, 162, 0.02));
    pointer-events: none;
}

.resources-section {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    position: relative;
}

.resources-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.04), rgba(118, 75, 162, 0.04));
    pointer-events: none;
}

/* Modern Scroll-triggered animations */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    margin-bottom: 0;
    padding: 80px 0;
}

.section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced section transitions with subtle alternating effects */
.section:nth-child(even) {
    transform: translateY(-30px);
}

.section:nth-child(even).animate-in {
    transform: translateY(0);
}

/* Modern section spacing and borders */
.section:not(:last-child) {
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.section:first-child {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.section:last-child {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.section p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.section ul, .section ol {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.section li {
    margin-bottom: 0.5rem;
}

.section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #667eea;
}

.section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.highlight-box {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.rules-content,
.submission-content {
    position: relative;
    z-index: 2;
}

.highlight-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.highlight-box p {
    color: white;
}

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

.stat-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #667eea;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 45%;
    position: relative;
}

.timeline-date {
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: #667eea;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Organizers */
.organizers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.organizer-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: transform 0.3s ease;
}

.organizer-card:hover {
    transform: translateY(-5px);
}

.organizer-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
}

.organizer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.organizer-photo i {
    font-size: 3rem;
    color: #999;
}

.organizer-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.organizer-affiliation {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.organizer-title {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 1rem;
}

.organizer-email {
    color: #666;
    text-decoration: none;
}

.organizer-email:hover {
    color: #667eea;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

/* Modern Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .submission-buttons {
        flex-direction: column;
        align-items: center;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    .timeline-dot {
        left: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

    /* Modern section responsive adjustments */
    .section {
        padding: 60px 0;
        margin-bottom: 0;
    }

    .section h2 {
        font-size: 2rem;
    }

    .section-content {
        padding: 0 1.5rem;
    }

    .section:first-child {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .section:last-child {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .section-content {
        padding: 0 1rem;
    }

    .organizers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .prizes-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-embed {
        height: 180px;
    }

    .paper-card {
        padding: 1.5rem;
    }
}

/* Medium screens - 2 columns for videos */
@media (max-width: 1024px) and (min-width: 769px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}


/* Resources Section */
.resources-container {
    margin: 3rem 0;
}

.video-section, .paper-section {
    margin-bottom: 4rem;
}

.video-section h3, .paper-section h3 {
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 2rem;
    text-align: center;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.video-embed {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.video-info p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.paper-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #667eea;
}

.paper-header h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.paper-authors {
    color: #666;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.paper-authors span {
    font-weight: 600;
    color: #333;
}

.paper-abstract {
    margin-bottom: 2rem;
}

.paper-abstract p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.paper-links {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


.copy-citation-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.copy-citation-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Prizes Section */
.prizes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.prize-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.prize-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prize-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

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

.prize-card > * {
    position: relative;
    z-index: 2;
}

.first-prize {
    border-color: #FFD700;
    background: linear-gradient(135deg, #fff9e6, #fff3cd);
}

.first-prize::before {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 193, 7, 0.2));
}

.second-prize {
    border-color: #C0C0C0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.second-prize::before {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(108, 117, 125, 0.2));
}

.third-prize {
    border-color: #CD7F32;
    background: linear-gradient(135deg, #fdf2e9, #fce4d6);
}

.third-prize::before {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.2), rgba(184, 115, 51, 0.2));
}

.prize-rank {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.prize-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.prize-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 1.5rem;
}

.prize-sponsor {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.prize-sponsor span {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.sponsor-logo {
    max-height: 60px;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.sponsor-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.prize-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    font-style: italic;
}

.prize-eligibility {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    margin-top: 3rem;
    text-align: center;
}

.prize-eligibility h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.prize-eligibility p {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.prize-eligibility ul {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.prize-eligibility li {
    color: white;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.prize-eligibility li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Responsive Design for Prizes */
@media (max-width: 768px) {
    .prizes-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .prize-card {
        padding: 2rem;
    }
    
    .prize-amount {
        font-size: 2.5rem;
    }
    
    .prize-eligibility {
        padding: 2rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}
