@charset "UTF-8";

/* 日本語版のスタイルを継承しつつ、英語用に調整 */

/* --- Tech Hero Header --- */
.tech-hero-header {
    text-align: center;
    padding: 60px 20px 40px;
    background: radial-gradient(circle at center, rgba(26, 115, 232, 0.15) 0%, transparent 70%);
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a73e8, #00c6ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
    transform: rotate(-5deg);
}
.logo-icon svg { width: 30px; height: 30px; }

.logo-text-group { text-align: left; }

.main-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3.5rem;
    margin: 0;
    line-height: 1;
    color: #2c3e50;
    letter-spacing: -1px;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.05);
}

.gradient-text {
    background: linear-gradient(90deg, #1a73e8, #d900ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #5f6368;
    margin: 5px 0 0 2px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-top: 20px;
    font-family: 'Noto Sans JP', sans-serif;
}
.hero-description .highlight {
    background: linear-gradient(transparent 60%, #fff176 60%);
    font-weight: bold;
    padding: 0 2px;
}

/* --- Action Area (Buttons) --- */
.action-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 15px 25px;
    border-radius: 50px;
    margin: 0 auto 30px;
    max-width: fit-content;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.action-label {
    font-weight: bold;
    color: #555;
    margin-right: 5px;
}

.level-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}
.level-btn.active {
    background: #e8f0fe;
    color: #1a73e8;
    border-color: #1a73e8;
    font-weight: bold;
}

.action-group-divider {
    width: 1px;
    height: 20px;
    background-color: #ddd;
}

.secondary-action-btn {
    text-decoration: none;
    color: #555;
    font-size: 0.95em;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}
.secondary-action-btn:hover {
    background-color: #eee;
    color: #333;
}

/* --- Dark Mode --- */
body.dark-mode .tech-hero-header { background: radial-gradient(circle at center, rgba(26, 115, 232, 0.1) 0%, transparent 70%); }
body.dark-mode .main-title { color: #fff; text-shadow: 0 0 20px rgba(26, 115, 232, 0.5); }
body.dark-mode .gradient-text { background: linear-gradient(90deg, #58a6ff, #ff58e8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
body.dark-mode .sub-title, body.dark-mode .hero-description { color: #ccc; }
body.dark-mode .hero-description .highlight { background: linear-gradient(transparent 60%, rgba(26, 115, 232, 0.5) 60%); color: #fff; }
body.dark-mode .action-area { background-color: #252627; border-color: #333; }
body.dark-mode .action-label { color: #ccc; }
body.dark-mode .level-btn { background-color: #333; border-color: #555; color: #ccc; }
body.dark-mode .level-btn.active { background-color: #303841; color: #58a6ff; border-color: #58a6ff; }
body.dark-mode .secondary-action-btn { color: #aaa; }
body.dark-mode .secondary-action-btn:hover { background-color: #333; color: #fff; }

/* ==========================================================================
   言語切り替えボタン
   ========================================================================== */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 15px;
    font-family: 'JetBrains Mono', monospace; /* テック感のあるフォント */
    font-size: 14px;
    font-weight: bold;
}

.language-switcher .lang-link {
    text-decoration: none;
    color: #888; /* 非アクティブな色 */
    padding: 2px 5px;
    border-radius: 4px;
    transition: all 0.2s;
}

.language-switcher .lang-link:hover {
    color: #fff;
}

/* 選択中の言語 */
.language-switcher .lang-link.active {
    color: #1a73e8; /* アクティブな色（青） */
    background-color: rgba(26, 115, 232, 0.1);
}

.language-switcher .divider {
    color: #555;
}

/* ダークモード対応 */
body.dark-mode .language-switcher .lang-link.active {
    color: #58a6ff; /* ダークモード時は明るい青 */
    background-color: rgba(88, 166, 255, 0.1);
}