:root {
    --bg-color: #0c1a2c;
    --text-color: #e0e6f0;
    --gold-color: #ffd700;
    --card-bg: rgba(21, 38, 58, 0.7);
    --border-color: rgba(0, 245, 212, 0.2);
    --accent-color: #00f5d4;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-title: 'Orbitron', sans-serif;
}
html { scroll-behavior: smooth; }
body { background-color: var(--bg-color); color: var(--text-color); font-family: var(--font-main); margin: 0; line-height: 1.8; }
#particles-js { position: fixed; width: 100%; height: 100%; top: 0; left: 0; z-index: -1; }
.site-header { position: absolute; top: 20px; left: 20px; z-index: 1000; }
.site-header img { height: 40px; }
.container { max-width: 960px; margin: 0 auto; padding: 40px 20px; }
.section-title { font-family: var(--font-title); font-size: 2.5rem; text-align: center; margin-bottom: 40px; color: var(--accent-color); text-shadow: 0 0 10px var(--accent-color); }
/* Hero */
.hero-section { text-align: center; padding: 100px 0 60px; }
.main-title { font-family: var(--font-title); font-size: 3.5rem; font-weight: 900; color: #fff; margin: 0; }
.subtitle { font-family: var(--font-title); font-size: 2rem; color: var(--gold-color); text-shadow: 0 0 15px var(--gold-color); margin: 10px 0; }
.description { font-size: 1.1rem; opacity: 0.9; margin-top: 10px; }
.stats-container { display: flex; justify-content: center; gap: 40px; margin-top: 40px; align-items: center; }
.stat-item { text-align: center; }
.stat-number, .stat-text { font-family: var(--font-title); font-size: 3rem; font-weight: 700; color: var(--accent-color); }
.stat-label { font-size: 1rem; opacity: 0.8; }
.stat-text-small { font-family: var(--font-title); font-size: 1.2rem; color: #fff; }
.stat-label-small { font-size: 1rem; opacity: 0.8; }
/* Awards */
.awards-section { margin-bottom: 80px; }
.award-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 15px; margin-bottom: 30px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform 0.3s, box-shadow 0.3s; overflow: hidden; }
.award-card:hover { transform: translateY(-10px); box-shadow: 0 10px 40px rgba(0, 245, 212, 0.2); }
.award-header { display: flex; align-items: center; padding: 20px; border-bottom: 1px solid var(--border-color); }
.award-icon { font-size: 2rem; margin-right: 15px; }
.award-title { font-family: var(--font-title); font-size: 1.8rem; margin: 0; }
.grand-prize { border-color: var(--gold-color); box-shadow: 0 0 30px rgba(255, 215, 0, 0.3); }
.grand-prize .award-title { color: var(--gold-color); }
.award-body { padding: 30px; }
.work-title { font-size: 1.5rem; font-weight: bold; margin-bottom: 5px; }
.creator-name { font-size: 1rem; opacity: 0.9; margin-bottom: 20px; }
.video-embed-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin-bottom: 20px; border-radius: 8px; }
.video-embed-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.work-description { font-size: 0.95rem; }
.reason { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--border-color); opacity: 0.9; font-size: 0.9rem; }
.prize-info { margin-top: 20px; background-color: rgba(0, 0, 0, 0.2); padding: 15px; border-radius: 8px; font-size: 0.9rem; }
.prize-info p { margin: 0; }
.prize-info small { opacity: 0.8; }
.award-form-button { display: block; background: var(--accent-color); color: var(--bg-color); padding: 12px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; font-size: 1rem; transition: transform 0.3s, box-shadow 0.3s; margin-top: 20px; text-align: center; }
.award-form-button:hover { transform: scale(1.05); box-shadow: 0 0 20px var(--accent-color); }
/* Summary */
.summary-section { text-align: center; max-width: 800px; margin: 0 auto 80px; }
.summary-section p { margin-bottom: 20px; }

/* ★★★ 申請フォームエリアのスタイルを全面的に改修 ★★★ */
.application-section { 
    text-align: center; 
    background-color: var(--card-bg);
    padding: 60px 20px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}
.application-description { 
    margin-bottom: 40px; 
}
.application-description small { 
    display: block; margin-top: 10px; opacity: 0.8; 
}
.form-buttons-container { 
    display: flex; flex-direction: column; align-items: center; gap: 25px; 
}
.form-button { 
    display: inline-block; 
    background-color: var(--accent-color); 
    color: var(--bg-color); 
    padding: 15px 30px; 
    border-radius: 5px; 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 1rem; 
    transition: transform 0.3s, box-shadow 0.3s; 
    width: 80%;
    max-width: 400px;
}
.form-button:hover { 
    transform: scale(1.05); 
    box-shadow: 0 0 20px var(--accent-color); 
}
.form-anchor {
    padding-top: 80px; /* ヘッダーの高さ分を考慮して、ジャンプ位置を調整 */
    margin-top: -80px;
}

/* Animation */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* --- NFT Section --- */
.nft-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}
.nft-container {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
}
.nft-image {
    flex-shrink: 0;
}
.nft-image img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    background-color: #000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
.nft-info h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-top: 0;
}
.nft-info p {
    margin-bottom: 20px;
}
.nft-note {
    font-size: 0.9rem;
    opacity: 0.8;
    background-color: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 8px;
}
.nft-button {
    display: inline-block;
    background-color: #fff;
    color: var(--bg-color);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.3s, background-color 0.3s;
}
.nft-button:hover {
    transform: scale(1.05);
    background-color: var(--gold-color);
}

/* Responsive for NFT Section */
@media (max-width: 768px) {
    .nft-container {
        flex-direction: column;
        text-align: center;
    }
    .nft-image img {
        width: 150px;
        height: 150px;
    }
}

/* --- Award Card Updates --- */
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.image-link-wrapper {
    display: block;
    position: relative;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.image-link-wrapper img {
    width: 100%;
    display: block;
}

.play-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-link-wrapper:hover .play-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr; /* スマホでは縦並び */
    }
}

/* --- Application Note Section --- */
.application-note-section {
    text-align: center;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 80px;
}
.note-title {
    font-family: var(--font-title);
    color: var(--gold-color);
    margin-top: 0;
    margin-bottom: 20px;
}
.application-note-section p {
    margin: 10px 0 0 0;
}

/* --- BGM Controller Style --- */
#bgm-controller {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#bgm-button {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: background-color 0.3s, transform 0.3s;
}

#bgm-button:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}
