body {
    font-family: 'Special Elite', monospace;
    margin: 0;
    color: #333;
    background-image: url('/background_shop.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Changed from fixed to scroll */
    background-color: #f4f4f4; /* Fallback in case image fails to load */
}

header {
    background-color: #fff;
    padding: 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-content h1 {
    font-family: 'Special Elite', monospace;
    font-size: 3rem;
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-weight: 700;
}

.slogan {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin: 0;
    font-weight: 400;
}

main {
    padding: 0 1rem; /* Removed top/bottom padding to use section margins */
    max-width: 1200px;
    margin: 0 auto;
}

/* Neon Questions Section */
.neon-questions-section {
    background-color: #1a1a1a;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 0 20px rgba(255, 0, 255, 0.3); /* Added a subtle outer glow */
    text-align: center;
}

.neon-questions-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.neon-questions-section li {
    font-family: 'Special Elite', monospace;
    font-size: 1.8rem;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow:
        0 0 5px #ff00ff,
        0 0 10px #ff00ff,
        0 0 20px #ff00ff,
        0 0 40px #ff00ff,
        0 0 70px #ff00ff;
}

.neon-questions-section li:last-child {
    margin-bottom: 0;
}

.section {
    margin: 2.5rem 0; /* Consistent vertical spacing for all sections */
}

.section:first-child {
    margin-top: 2rem;
}

.section:last-child {
    margin-bottom: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.product-card h3 {
    font-family: 'Special Elite', monospace;
    margin: 0.5rem 0;
    font-size: 1.25rem;
    color: #34495e;
}

.product-card .price {
    font-size: 1.1rem;
    color: #16a085;
    margin: 0.5rem 0 0 0;
}

.definitions-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 2rem;
}

.definitions-section h2 {
    font-family: 'Special Elite', monospace;
    text-align: center;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.definitions-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.definitions-section li {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.definitions-section li:last-child {
    border-bottom: none;
}

.definitions-section strong {
    font-weight: bold;
    color: #34495e;
    margin-right: 0.5em;
}

/* Debate Section Styles */
.debate-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 2rem 2rem 2rem 4rem;
    position: relative;
    background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 1.6rem, #e0e0e0 1.6rem, #e0e0e0 calc(1.6rem + 1px));
}

.debate-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2.5rem;
    bottom: 0;
    width: 2px;
    background-color: rgba(255, 105, 125, 0.7);
}

.debate-section h2, .debate-section h3, .debate-section p, .debate-section li {
    font-family: 'Special Elite', monospace;
    line-height: 1.6rem;
}

.debate-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.debate-round {
    margin-bottom: 2rem;
}

.debate-round:last-child {
    margin-bottom: 0;
}

.debate-round h3 {
    color: #34495e;
    font-size: 1.5rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.debate-round .topic {
    font-style: italic;
    color: #7f8c8d;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.debate-section ul {
    list-style-type: disc;
    padding-left: 20px;
}

.debate-section li {
    margin-bottom: 1.2rem;
    color: #333;
}

.debate-section .choices {
    list-style-type: circle;
    padding-left: 30px;
    margin-top: 0.8rem;
}

.debate-section .choices li {
    margin-bottom: 0.8rem;
}

/* Slogan Completion Section Styles */
.slogan-completion-section {
    padding-bottom: 2rem;
}

.slogan-completion-list {
    list-style-position: inside;
    padding-left: 0;
    margin-left: 0;
}

.slogan-completion-list li {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #333;
    line-height: 2rem;
}

.slogan-input {
    font-family: 'Special Elite', monospace;
    font-size: 1.1rem;
    border: none;
    border-bottom: 1px dashed #555;
    background-color: transparent;
    width: 150px;
    text-align: center;
    color: #16a085;
    margin: 0 0.25em;
    padding-bottom: 2px;
}

.slogan-input:focus {
    outline: none;
    border-bottom: 2px solid #27ae60;
}

#create-slogans-btn, #try-again-btn {
    font-family: 'Special Elite', monospace;
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1.5rem;
    transition: background-color 0.3s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#create-slogans-btn:hover, #try-again-btn:hover {
    background-color: #34495e;
}

#completed-slogans-display h3 {
    text-align: center;
    color: #34495e;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

#completed-slogans-list {
    list-style: none;
    padding: 0;
}

#completed-slogans-list li {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    text-align: center;
}

.user-word {
    font-weight: bold;
    color: #16a085;
    display: inline-block;
    padding: 0 4px;
    border-bottom: 1px solid #16a085;
}

/* Custom T-Shirt Creator Section */
.custom-slogan-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: center;
}

.custom-slogan-section h2 {
    font-family: 'Special Elite', monospace;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.custom-slogan-section p {
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.tshirt-creator {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.tshirt-display {
    position: relative;
    width: 300px;
    max-width: 100%;
}

.tshirt-display img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

#custom-tshirt-text {
    position: absolute;
    top: 25%;
    left: 10%;
    right: 10%;
    font-family: 'Special Elite', monospace;
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: bold;
    word-wrap: break-word;
    text-align: center;
    padding: 0.5rem;
    line-height: 1.2;
}

.tshirt-controls {
    flex-basis: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tshirt-controls textarea {
    font-family: 'Special Elite', monospace;
    font-size: 1.1rem;
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    resize: vertical;
}

.tshirt-controls textarea:focus {
    outline: none;
    border-color: #16a085;
    box-shadow: 0 0 5px rgba(22, 160, 133, 0.5);
}

.tshirt-controls button {
    font-family: 'Special Elite', monospace;
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.tshirt-controls button:hover {
    background-color: #d35400;
}

/* Matching Game Styles */
.matching-game {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: center;
}

.matching-game h2 {
    font-family: 'Special Elite', monospace;
    color: #2c3e50;
    margin-top: 0;
}

.game-area {
    display: flex;
    justify-content: space-between;
    text-align: left;
    gap: 2rem;
    margin-top: 1.5rem;
}

.slogans-column, .categories-column {
    flex: 1;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #eee;
}

.slogans-column h3, .categories-column h3 {
    font-family: 'Special Elite', monospace;
    color: #34495e;
    text-align: center;
    margin-top: 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.75rem;
}

#slogans-list, #categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    min-height: 50px;
}

.slogan-item {
    background-color: #ecf0f1;
    color: #2c3e50;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    cursor: grab;
    transition: background-color 0.2s;
    border: 1px solid #bdc3c7;
}

.slogan-item.dragging {
    opacity: 0.5;
    background-color: #bdc3c7;
}

.category-dropzone {
    padding: 1rem;
    margin-bottom: 0.5rem;
    border: 2px dashed #95a5a6;
    border-radius: 4px;
    min-height: 60px; /* Ensure dropzone is tall enough */
    transition: background-color 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Space between dropped items */
}

.category-dropzone.over {
    background-color: #e8f6f3;
    border-color: #16a085;
}

.category-dropzone p {
    margin: 0;
    font-weight: bold;
    color: #34495e;
}

#check-answers-btn {
    font-family: 'Special Elite', monospace;
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1.5rem;
    transition: background-color 0.3s;
}

#check-answers-btn:hover {
    background-color: #2ecc71;
}

#game-feedback {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.feedback-correct {
    color: #27ae60;
}

.feedback-incorrect {
    color: #c0392b;
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: 2rem;
}