
/* Hero Section */
.hero {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: 3.5em;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.3em;
    margin-bottom: 30px;
}

.cta-bar {
    margin-top: 10px;
}

.register-cta {
    display: inline-block;
    background-color: #FF8C00;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.register-cta:hover {
    background-color: #FF7A00;
}

.hero-stats {
    display: none;
}

.hero-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding: 0 20px;
}

.hero-tool-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #fff;
}

.hero-tool-card .tool-icon {
    display: block;
    font-size: 2em;
    margin-bottom: 5px;
}

.hero-tool-card h3 {
    font-size: 1.2em;
    margin: 0;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .hero-tools-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
    }
}


/* Tools Section */
.tools-section {
    margin-bottom: 50px;
}

.tools-section .section-title,
.devlog-section .section-title,
.wishpool-section .section-title {
    color: var(--text-primary);
    text-shadow: none;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tool-card {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px; /* Ensure cards have consistent height */
}

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

.tool-icon { display: none; }

.tool-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.tool-card p {
    font-size: 0.95em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take available space */
}

.tool-status {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
}

.tool-card.available .tool-status {
    background-color: #A5D4A5; /* Light green */
    color: #3C763D; /* Dark green */
}

.tool-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.tool-card.disabled:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tool-card.disabled .tool-status {
    background-color: #D4A5A5; /* Light red */
    color: #A94442; /* Dark red */
}

/* Devlog Section */
.devlog-section {
    margin-bottom: 50px;
}

.devlog-container {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.devlog-entry {
    border-bottom: 1px solid var(--milk-tea-light);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.devlog-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.devlog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.devlog-date {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.devlog-tag {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
}

.devlog-tag.new {
    background-color: #FFD700; /* Gold */
    color: #333;
}

.devlog-entry h3 {
    font-size: 1.3em;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.devlog-entry p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.devlog-entry ul {
    list-style-type: none;
    padding-left: 0;
}

.devlog-entry ul li {
    color: var(--text-secondary);
    margin-bottom: 5px;
    position: relative;
    padding-left: 0;
}

.devlog-entry ul li::before {
    content: ''; /* 移除內容 */
    position: absolute;
    left: 0;
    top: 0;
}

/* Wishpool Section */
.wishpool-section {
    margin-bottom: 50px;
}

.wishpool-container {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

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

.wishpool-support-message p {
    font-size: 1.1em;
    color: var(--text-primary);
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 40px 20px;
    }

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

    .hero-subtitle {
        font-size: 1em;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}


/* Update Note Style */
.update-note {
    display: block;
    font-size: 0.7em;
    font-weight: normal;
    color: var(--milk-tea-medium);
    margin-top: 5px;
}

.devlog-tag.old {
    background-color: #D3D3D3; /* Light Gray */
    color: #555;
}

.devlog-entry ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 10px;
}

.devlog-entry ul li {
    color: var(--text-secondary);
    margin-bottom: 5px;
    position: relative;
    padding-left: 0;
}

.devlog-entry ul li::before {
    content: ''; /* 移除內容 */
    position: absolute;
    left: 0;
    top: 0;
}
