.elementor-12273 .elementor-element.elementor-element-df887de{width:100%;max-width:100%;}.elementor-12273 .elementor-element.elementor-element-df887de > .elementor-widget-container{background-color:#CACA16;}body.elementor-page-12273:not(.elementor-motion-effects-element-type-background), body.elementor-page-12273 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#CEE60F;}/* Start custom CSS */* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Game Section */
.game-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.game-title {
    text-align: center;
    margin-bottom: 30px;
}

.game-title h1 {
    font-size: 2.5em;
    color: #d32f2f;
    margin-bottom: 10px;
}

.game-title p {
    color: #666;
    font-size: 1.2em;
}

/* Clock Container */
.clock-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 40px;
    cursor: pointer;
}

.clock {
    width: 100%;
    height: 100%;
    border: 8px solid #333;
    border-radius: 50%;
    position: relative;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Logo in center */
.clock-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: url('http://www.mandarinzone.com/wp-content/uploads/2015/01/logo@2x.png') no-repeat center;
    background-size: contain;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d32f2f;
    font-weight: bold;
    font-size: 0.8em;
    text-align: center;
}

/* Clock numbers */
.clock-number {
    position: absolute;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

/* Clock hands */
.hand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: bottom center;
    background: #333;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.hour-hand {
    width: 6px;
    height: 70px;
    margin-left: -3px;
    margin-top: -70px;
}

.minute-hand {
    width: 4px;
    height: 90px;
    margin-left: -2px;
    margin-top: -90px;
}

.center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #d32f2f;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
}

/* Display Area */
.display-area {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.chinese-time {
    font-size: 2.5em;
    color: #d32f2f;
    margin-bottom: 10px;
}

.pinyin {
    font-size: 1.5em;
    color: #666;
    margin-bottom: 5px;
}

.english {
    font-size: 1.2em;
    color: #999;
}

/* How to Play Section */
.how-to-play {
    background: #e3f2fd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    display: none;
}

.how-to-play.show {
    display: block;
}

.how-to-play h3 {
    color: #1976d2;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.how-to-play ul {
    list-style: none;
    padding: 0;
}

.how-to-play li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.how-to-play li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #1976d2;
    font-weight: bold;
}

.help-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #1976d2;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s;
}

.help-btn:hover {
    background: #1565c0;
    transform: translateY(-2px);
}

/* Vocabulary Display */
.vocabulary-display {
    background: #fff3e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    min-height: 80px;
    display: none;
}

.vocabulary-display.active {
    display: block;
}

.vocab-chinese {
    font-size: 2em;
    color: #ff6f00;
    margin-bottom: 5px;
}

.vocab-pinyin {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 5px;
}

.vocab-english {
    font-size: 1em;
    color: #999;
}

/* Control Buttons */
.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn {
    padding: 12px 24px;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #757575;
}

.btn-secondary:hover {
    background: #616161;
}

.btn-listening {
    background: #4caf50;
}

.btn-listening:hover {
    background: #388e3c;
}

/* Listening Mode */
.listening-mode {
    display: none;
    background: #e8f5e9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.listening-mode.active {
    display: block;
}

.listening-instruction {
    font-size: 1.2em;
    color: #2e7d32;
    margin-bottom: 15px;
}

.answer-feedback {
    font-size: 1.1em;
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
}

.answer-feedback.correct {
    background: #4caf50;
    color: white;
}

.answer-feedback.incorrect {
    background: #f44336;
    color: white;
}

/* Input Section */
.input-section {
    text-align: center;
    margin-bottom: 30px;
}

.time-input {
    padding: 10px 20px;
    font-size: 1.2em;
    border: 2px solid #ddd;
    border-radius: 8px;
    width: 150px;
    text-align: center;
    margin-right: 10px;
}

.time-input:focus {
    outline: none;
    border-color: #d32f2f;
}

/* Draggable hands indicator */
.drag-indicator {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #4caf50;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    opacity: 0;
    transition: opacity 0.3s;
}

.drag-indicator.show {
    opacity: 1;
}

/* Share Buttons */
.share-section {
    text-align: center;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 10px;
    margin-bottom: 40px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.share-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 0.9em;
    transition: opacity 0.3s;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-whatsapp { background: #25d366; }
.share-telegram { background: #0088cc; }
.share-copy { background: #666; }

.share-icon {
    display: none;
    font-weight: bold;
}

/* Article Section */
.article-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-section h2 {
    color: #d32f2f;
    margin-bottom: 20px;
    font-size: 2em;
}

.article-section h3 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.article-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.chinese-example {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #d32f2f;
}

.chinese-char {
    color: #d32f2f;
    font-size: 1.2em;
    font-weight: bold;
}

/* Contact Info */
.contact-info {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: center;
}

.contact-info h3 {
    color: #d32f2f;
    margin-bottom: 15px;
}

/* Responsive */
/* Tablet - 768px to 1024px */
@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }
    
    .game-section, .article-section {
        padding: 30px;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
    .clock-container {
        width: 250px;
        height: 250px;
    }
    
    .clock-logo {
        width: 60px;
        height: 60px;
    }
    
    .game-title h1 {
        font-size: 2em;
    }
    
    .chinese-time {
        font-size: 2em;
    }
    
    .pinyin {
        font-size: 1.2em;
    }
    
    .controls {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
    
    .help-btn {
        position: static;
        margin-bottom: 20px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .share-btn {
        font-size: 0.8em;
        padding: 8px 15px;
    }
    
    .input-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .time-input {
        width: 200px;
        margin-right: 0;
    }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    .game-section, .article-section {
        padding: 20px;
        border-radius: 15px;
    }
    
    .clock-container {
        width: 220px;
        height: 220px;
    }
    
    .clock-number {
        font-size: 1em;
    }
    
    .game-title h1 {
        font-size: 1.5em;
    }
    
    .game-title p {
        font-size: 1em;
    }
    
    .chinese-time {
        font-size: 1.8em;
    }
    
    .vocabulary-display {
        padding: 15px;
    }
    
    .vocab-chinese {
        font-size: 1.5em;
    }
    
    .btn {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    
    .article-section h2 {
        font-size: 1.5em;
    }
    
    .article-section h3 {
        font-size: 1.2em;
    }
    
    .share-buttons {
        gap: 5px;
    }
    
    .share-btn {
        font-size: 0.75em;
        padding: 6px 12px;
    }
    
    /* Show icons instead of text on very small screens */
    .share-text {
        display: none;
    }
    
    .share-icon {
        display: inline;
    }
}

/* Very Small Mobile - 360px and below */
@media (max-width: 360px) {
    .clock-container {
        width: 200px;
        height: 200px;
    }
    
    .clock {
        border-width: 6px;
    }
    
    .hour-hand {
        height: 60px;
        margin-top: -60px;
    }
    
    .minute-hand {
        height: 75px;
        margin-top: -75px;
    }
    
    .chinese-time {
        font-size: 1.5em;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .clock-container {
        width: 200px;
        height: 200px;
    }
    
    .controls {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn {
        width: auto;
        padding: 8px 16px;
        font-size: 0.85em;
    }
}/* End custom CSS */