.interactive-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url('../images/bg2.jpeg') no-repeat center center;
    background-size: cover;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.interactive-hero h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.interactive-hero p {
    font-size: 1.2em;
    opacity: 0.9;
}

.ink-painting {
    padding: 60px 0;
    background: #f8f8f8;
}

.canvas-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#inkCanvas {
    width: 100%;
    height: 400px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
}

.tools-panel {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 10px 0;
}

.tool-btn {
    padding: 8px 20px;
    border: none;
    background: #333;
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tool-btn:hover {
    background: #555;
}

.tool-btn.active {
    background: #666;
}

#brushSize {
    flex: 1;
    max-width: 200px;
}

.clear-btn,
.save-btn {
    padding: 8px 20px;
    border: none;
    background: #666;
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.clear-btn:hover,
.save-btn:hover {
    background: #888;
}

.template-gallery {
    max-width: 800px;
    margin: 40px auto 0;
}

.template-gallery h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.template-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.template {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.template:hover {
    transform: scale(1.05);
}

.poetry-game {
    padding: 60px 0;
    background: #fff;
}

.poetry-game h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2em;
}

.poetry-container {
    max-width: 800px;
    margin: 0 auto;
}

.poetry-card {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.poetry-question p {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.options {
    display: grid;
    gap: 15px;
}

.option-btn {
    padding: 15px;
    border: 2px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.option-btn:hover {
    border-color: #666;
    background: #f0f0f0;
}

.option-btn.correct {
    border-color: #4CAF50;
    background: #E8F5E9;
}

.option-btn.wrong {
    border-color: #F44336;
    background: #FFEBEE;
}

.poetry-result {
    text-align: center;
    margin-top: 20px;
}

.poetry-result.hidden {
    display: none;
}

.result-text {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333;
}

.next-btn {
    padding: 10px 25px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.next-btn:hover {
    background: #555;
}

.fan-art {
    padding: 60px 0;
    background: #f8f8f8;
}

.fan-art h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2em;
}

.fan-art-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.upload-area {
    text-align: center;
    margin-bottom: 40px;
}

.upload-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #333;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.upload-btn:hover {
    background: #555;
}

.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.art-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.art-item:hover {
    transform: translateY(-5px);
}

.art-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.art-info {
    padding: 15px;
}

.art-info h4 {
    margin: 0 0 5px;
    color: #333;
}

.art-info p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}
