:root {
    --primary-color: #00f3ff;
    --secondary-color: #bc13fe;
    --bg-dark: #050a14;
    --card-bg: #0a1226;
    --text-light: #e0e6ed;
    --accent-yellow: #fce300;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Floating Top Menu */
.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 10, 20, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end; /* Align right or center? Let's align right for standard feel */
    align-items: center;
    gap: 30px;
}

.menu-item {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.menu-item:not(.disabled):hover {
    color: var(--primary-color);
    background: rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.3);
    text-shadow: 0 0 5px var(--primary-color);
}

.menu-item.disabled {
    color: #555;
    cursor: not-allowed;
    pointer-events: none; /* Make sure it's not clickable */
}


/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 20, 0.75);
    background: linear-gradient(to bottom, rgba(5, 10, 20, 0.3), var(--bg-dark));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    padding-top: 60px; /* Add some padding for the fixed menu */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    letter-spacing: 5px;
}

.core-principles {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.principle-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary-color);
    padding: 25px;
    border-radius: 8px;
    max-width: 400px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principle-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

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

/* AI Credit Link */
.ai-credit {
    margin-top: 50px;
    text-align: center;
}

.ai-credit a {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    background: rgba(0, 243, 255, 0.1);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.ai-credit a:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
    transform: translateY(-2px);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Activity Cards */
.activity-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    margin-bottom: 80px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    scroll-margin-top: 100px; /* For anchor linking if needed */
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.activity-card.reverse {
    flex-direction: row-reverse;
}

.activity-card.reverse::before {
    left: auto;
    right: 0;
}

.card-image {
    flex: 1;
    min-width: 300px;
    height: 400px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    flex: 1.5;
    padding: 40px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    align-items: center;
}

.section-title span {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
    margin-right: 15px;
    font-weight: 700;
    line-height: 1;
}

.activity-card:hover .section-title span {
    color: rgba(0, 243, 255, 0.2);
    transition: color 0.3s ease;
}

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

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #ccc;
}

.feature-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.highlight-text {
    color: var(--accent-yellow);
    font-weight: bold;
    margin: 15px 0;
    border-left: 3px solid var(--accent-yellow);
    padding-left: 15px;
}

.small-text {
    font-size: 0.9rem;
    color: #8892b0;
    margin-bottom: 10px;
}

.contact-info {
    margin-top: 20px;
    padding: 10px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 5px;
    display: inline-block;
}

.event-details {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    background: #0f1a30;
    padding: 15px;
    border-radius: 8px;
}

.event-item .label {
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 5px;
}

.reward-text {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #fff;
    text-shadow: 0 0 5px var(--accent-yellow);
}

/* Buttons */
.btn-group {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.primary-btn {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.primary-btn:hover {
    background: #fff;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.6);
    transform: translateY(-2px);
}

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

.secondary-btn:hover {
    background: rgba(0, 243, 255, 0.1);
    color: #fff;
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 20px;
    background: #020408;
    color: #555;
    font-size: 0.9rem;
    border-top: 1px solid #111;
}

.footer-remark {
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 20px;
    border: 1px dashed #333;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.footer-remark p {
    color: #8892b0;
    font-size: 0.9rem;
}

/* Glitch Effect Animation (Optional but cool) */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 30px, 0); }
    20% { clip: rect(50px, 9999px, 60px, 0); }
    40% { clip: rect(20px, 9999px, 80px, 0); }
    60% { clip: rect(90px, 9999px, 10px, 0); }
    80% { clip: rect(40px, 9999px, 20px, 0); }
    100% { clip: rect(70px, 9999px, 50px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(60px, 9999px, 10px, 0); }
    20% { clip: rect(10px, 9999px, 80px, 0); }
    40% { clip: rect(80px, 9999px, 30px, 0); }
    60% { clip: rect(20px, 9999px, 90px, 0); }
    80% { clip: rect(30px, 9999px, 10px, 0); }
    100% { clip: rect(50px, 9999px, 60px, 0); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .activity-card, 
    .activity-card.reverse {
        flex-direction: column;
    }
    
    .activity-card.reverse::before,
    .activity-card::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
    }
    
    .card-image {
        width: 100%;
        height: 250px;
    }
    
    .card-content {
        padding: 20px;
    }

    .btn-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }

    /* Adjust menu for mobile */
    .menu-container {
        justify-content: center;
        gap: 15px;
    }

    .menu-item {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}
