.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 100%;
}

p{
    line-height: 24px;
    font-size: 1.4rem;
}

h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.gototuner {
    font-size: 1.4rem;
    text-align: center;
    margin: 0px 0px 25px 0px;
}

.seo-intro {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    padding: 0 15px;
}

.seo-intro strong {
    color: #346cc0;
}

.tuner-display {
    background: #f0f4f8;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.note-display {
    font-size: 4em;
    font-weight: bold;
    color: #346cc0;
    margin-bottom: 10px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frequency-display {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 20px;
}

.pitch-indicator {
    position: relative;
    height: 60px;
    background: #e0e0e0;
    border-radius: 30px;
    margin: 20px 0;
    overflow: hidden;
}

.pitch-center {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #3aab6c;
    transform: translateX(-50%);
    z-index: 2;
}

.pitch-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #ff5722;
    border-radius: 50%;
    transition: left 0.1s ease-out;
    z-index: 3;
}

.pitch-marker.in-tune {
    background: #3aab6c;
}

.status-text {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 10px;
    height: 30px;
}

.status-text.flat {
    color: #ff5722;
}

.status-text.sharp {
    color: #ff5722;
}

.status-text.in-tune {
    color: #3aab6c;
}

.strings-guide {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.strings-guide.ukulele {
    grid-template-columns: repeat(4, 1fr);
}

.string-note {
    background: #f0f4f8;
    padding: 15px 10px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.string-note:hover {
    background: #e1e8f0;
    transform: translateY(-2px);
}

.string-note.active {
    background: #3aab6c;
    color: white;
}

.string-note.playing {
    background: #2196F3;
    color: white;
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.sound-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.8em;
    opacity: 0.5;
}

.string-note:hover .sound-icon {
    opacity: 1;
}

.string-number {
    font-size: 0.8em;
    color: #666;
    margin-bottom: 5px;
}

.string-note.active .string-number {
    color: rgba(255, 255, 255, 0.8);
}

.string-name {
    font-size: 1.5em;
    font-weight: bold;
}

.controls {
    text-align: center;
}

.start-button {
    background: #3aab6c;
    color: white;
    border: none;
    padding: 15px 40px;
    margin-bottom: 25px;
    font-size: 1.2em;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.start-button:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.start-button:active {
    transform: translateY(0);
}

.start-button.stop {
    background: #f44336;
}

.start-button.stop:hover {
    background: #da190b;
}

.instructions {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    color: #856404;
    text-align: left;
}

.instructions h3 {
    margin-bottom: 10px;
}

.instructions ul {
    margin-left: 20px;
}

.instructions li {
    margin-bottom: 5px;
}

.tuning-selector {
    text-align: center;
    margin-bottom: 20px;
}

.tuning-selector label {
    font-weight: bold;
    color: #346cc0;
    margin-right: 10px;
    font-size: 1.1em;
}

.tuning-selector select {
    padding: 10px 15px;
    font-size: 1em;
    border: 2px solid #346cc0;
    border-radius: 10px;
    background: white;
    color: #346cc0;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 250px;
}

.tuning-selector select:hover {
    background: #f0f4f8;
}

.tuning-selector select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.2);
}

.faq-section {
    margin-top: 40px;
    padding: 25px;
    background: #f0f4f8;
    border-radius: 15px;
}

.faq-section h2 {
    color: #346cc0;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.8em;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.faq-answer {
    color: #666;
    line-height: 24px;
    padding-left: 20px;
}

.knowledge-item {
    margin-bottom: 25px;
}

.rightpadding {
    padding: 0px 30px 30px 30px;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }

    .side-content{
        margin-top: 25px;
    }

    .rightpadding {
        padding: 30px;
    }

    .nomargintop {
        margin-top: 0px;
    }

    .note-display {
        font-size: 3em;
        height: 80px;
    }

    .strings-guide {
        grid-template-columns: repeat(3, 1fr);
    }

    .container {
        padding: 20px;
    }

    .start-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }

    .tuning-selector select {
        min-width: 200px;
        font-size: 0.9em;
    }

    .faq-section h2 {
        font-size: 1.5em;
    }
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    display: none;
}

@media (min-width: 1024px) {
    .tuner-wrapper {
        display: flex;
        gap: 40px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .container {
        flex: 1;
        max-width: 500px;
    }
    
    .side-content {
        flex: 1;
        max-width: 600px;
    }
}

@media (min-width: 600px) {
    .tuner-wrapper {
        padding: 15px;
    }

    .nopadding {
        padding: 0px;
    }

}