:root {
    --bg-color: #050510;
    --text-color: #ffffff;
    --text-muted: #a0a0b0;
    --primary-color: #00f2ff;
    /* Neon Cyan */
    --secondary-color: #bd00ff;
    /* Neon Purple */
    --accent-color: #00ff9d;
    /* Neon Green */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 12px;
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Inter', sans-serif;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-jp);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Overlay for global gradient feel */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(189, 0, 255, 0.15), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 242, 255, 0.15), transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-en);
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(5, 5, 16, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-family: var(--font-en);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: #000;
    border: none;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #000;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('hero_bg_v2.png') no-repeat center center/cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 16, 0.6);
    /* Darken the background image */
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: var(--font-jp);
    font-weight: 500;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 20px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #fff 0%, #a0a0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-year {
    color: var(--secondary-color);
    -webkit-text-fill-color: var(--secondary-color);
}

.hero-date {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    font-family: var(--font-en);
}

.hero-date-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-left: 15px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
    opacity: 0.7;
}

.hero-scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    display: block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-desc {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-muted);
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* News Section */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}

.news-date {
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.news-category {
    font-size: 0.8rem;
    padding: 4px 12px;
    background: rgba(189, 0, 255, 0.2);
    border: 1px solid var(--secondary-color);
    border-radius: 20px;
    color: var(--text-color);
}

.news-content {
    flex: 1;
    font-size: 0.95rem;
    text-align: left;
}

/* About Section */
.about-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-card h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-family: var(--font-jp);
    background: linear-gradient(90deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.about-section-content {
    text-align: left;
    margin-top: 40px;
}

.about-subsection {
    margin-bottom: 30px;
}

.about-subsection h4 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-family: var(--font-jp);
    border-left: 4px solid var(--secondary-color);
    padding-left: 15px;
}

.about-subsection ul {
    list-style: none;
    padding-left: 0;
}

.about-subsection li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    font-size: 1rem;
    color: var(--text-color);
}

.about-subsection li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Past Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    padding: 0;
    overflow: hidden;
}

.project-video {
    width: 100%;
}

.project-info {
    padding: 20px;
    text-align: left;
}

.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.project-team {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-family: var(--font-jp);
}

/* Prizes Section */
.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.prize-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.grand-prize {
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1);
    transform: scale(1.05);
}

.grand-prize:hover {
    transform: scale(1.05) translateY(-5px);
}

.prize-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.prize-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: var(--font-jp);
}

.prize-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-en);
}

.prize-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Schedule Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 100px;
    height: 100%;
    width: 2px;
    background: var(--glass-border);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-date {
    width: 100px;
    padding-right: 30px;
    text-align: right;
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 20px;
}

.timeline-content {
    flex: 1;
    margin-left: 30px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    left: -36px;
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary-color);
}

.timeline-item.highlight .timeline-content {
    border-color: var(--secondary-color);
}

.timeline-item.highlight .timeline-date {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tool-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* Judges Section */
.judges-placeholder {
    text-align: center;
    padding: 60px;
}

.coming-soon {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    letter-spacing: 5px;
}

/* Footer */
.footer {
    padding: 60px 0;
    background: #020205;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.copyright {
    font-size: 0.9rem;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .header {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-date {
        font-size: 1.8rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-date {
        width: 100%;
        text-align: left;
        padding-left: 40px;
        margin-bottom: 10px;
    }

    .timeline-content {
        margin-left: 0;
    }

    .timeline-content::before {
        left: 16px;
        top: -35px;
    }

    .header-btn {
        display: none;
        /* Hide entry button on mobile header to save space */
    }
}

/* Criteria Section */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.criteria-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.criteria-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    width: 100%;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

/* Hero Logo */
.hero-logo-container {
    margin-bottom: 20px;
}

.hero-logo {
    max-width: 250px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(0, 242, 255, 0.3));
}