 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-display: swap;
        }
        
        body {
            background-color: #f9f5e9;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* ----- СТИЛИ ШАПКИ (header) ----- */
        header {
            background: linear-gradient(to right, #2c1810, #5d4037);
            color: #fff;
            padding: 20px 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .logo i {
            font-size: 2.5rem;
            color: #ff9800;
        }
        
        .logo h1 {
            font-size: 1.8rem;
            font-weight: 700;
        }
        
        .logo span {
            color: #ff9800;
        }
        
        nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
        }
        
        nav a {
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            font-size: 1.1rem;
            cursor: pointer;
        }
        
        nav a:hover {
            color: #ff9800;
        }
        
        /* ----- БЛОК ТЮНЕРА (карточка) ----- */
        .tuner-container {
            max-width: 750px;
            margin: 60px auto;
            background: #ffffff;
            border-radius: 32px;
            box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
            padding: 30px 28px 40px;
            transition: all 0.3s;
        }
        
        .tuner-container h1 {
            text-align: center;
            font-size: 2rem;
            color: #5d4037;
            margin-bottom: 6px;
        }
        
        .sub {
            display: inline-block;
            font-size: 0.9rem;
            color: #ff9800;
            border-bottom: 2px solid #ff9800;
            padding-bottom: 4px;
            margin-bottom: 20px;
        }
        
        .note-section {
            background: #f9f5e9;
            border-radius: 48px;
            padding: 20px 16px;
            margin-bottom: 30px;
            text-align: center;
            box-shadow: inset 0 1px 4px rgba(0,0,0,0.02), 0 8px 20px rgba(0,0,0,0.05);
            border: 1px solid #f0e5d8;
        }
        
        .current-note {
            font-size: 5rem;
            font-weight: 800;
            font-family: monospace;
            letter-spacing: 6px;
            color: #5d4037;
            text-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        
        .frequency-box {
            font-size: 1.3rem;
            font-family: monospace;
            background: white;
            display: inline-block;
            padding: 6px 20px;
            border-radius: 60px;
            color: #ff9800;
            font-weight: 600;
            margin-top: 12px;
            box-shadow: 0 1px 4px rgba(0,0,0,0.05);
        }
        
        .cents-indicator {
            margin: 25px 0 20px;
        }
        
        .cents-value {
            text-align: center;
            font-size: 2rem;
            font-weight: 700;
            font-family: monospace;
            margin-bottom: 12px;
            color: #2c1810;
        }
        
        .tune-meter {
            background: #e8e0d3;
            border-radius: 40px;
            height: 20px;
            overflow: hidden;
            position: relative;
            box-shadow: inset 0 1px 4px rgba(0,0,0,0.1);
        }
        
        .meter-fill {
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, #ff5722, #ff9800, #8bc34a);
            transition: transform 0.02s linear;
            transform: translateX(0%);
            border-radius: 40px;
        }
        
        .center-marker {
            position: absolute;
            left: 50%;
            top: 0;
            width: 3px;
            height: 100%;
            background: #5d4037;
            box-shadow: 0 0 5px rgba(0,0,0,0.3);
            transform: translateX(-50%);
            pointer-events: none;
        }
        
        .meter-labels {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            margin-top: 8px;
            color: #8b7355;
            font-weight: 500;
        }
        
        .cents-badge {
            background: #f9f5e9;
            display: inline-block;
            padding: 6px 20px;
            border-radius: 40px;
            font-size: 0.9rem;
            margin-top: 15px;
            font-weight: 500;
            color: #5d4037;
            border: 1px solid #f0e0cf;
        }
        
        .status {
            margin: 25px 0 20px;
            text-align: center;
            background: #f9f5e9;
            border-radius: 60px;
            padding: 12px 16px;
            font-size: 0.95rem;
            font-weight: 500;
            color: #5d4037;
        }
        
        .btn-group {
            display: flex;
            gap: 18px;
            justify-content: center;
            margin: 20px 0 15px;
        }
        
        button {
            background-color: #ff9800;
            color: #fff;
            border: none;
            padding: 12px 32px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 12px rgba(255, 152, 0, 0.2);
            font-family: inherit;
        }
        
        button:hover {
            background-color: #ff5722;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(255, 87, 34, 0.3);
        }
        
        button:active {
            transform: translateY(1px);
        }
        
        .btn-danger {
            background-color: #8d6e63;
            box-shadow: none;
        }
        
        .btn-danger:hover {
            background-color: #5d4037;
        }
        
        .note-ref {
            font-size: 0.75rem;
            text-align: center;
            margin-top: 28px;
            padding: 10px;
            background: #f9f5e9;
            border-radius: 36px;
            color: #8b7355;
        }
        
        .footnote {
            font-size: 0.7rem;
            text-align: center;
            margin-top: 20px;
            color: #aaa;
        }
        
        .loader {
            display: inline-block;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: #ff9800;
            box-shadow: 0 0 6px #ff9800;
            margin-right: 6px;
            animation: pulse 1.2s infinite;
        }
        
        @keyframes pulse {
            0% { opacity: 0.3; transform: scale(0.8);}
            100% { opacity: 1; transform: scale(1.2);}
        }
        
        /* ----- СТИЛИ ФУТЕРА (как на putgitarista.ru) ----- */
        footer {
            background-color: #2c1810;
            color: #fff;
            padding: 60px 0 30px;
            margin-top: 40px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-column h3 {
            color: #ff9800;
            margin-bottom: 25px;
            font-size: 1.5rem;
        }
        
        .footer-column p {
            color: #ddd;
            line-height: 1.6;
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column ul li {
            margin-bottom: 15px;
        }
        
        .footer-column a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-column a:hover {
            color: #ff9800;
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: #5d4037;
            border-radius: 50%;
            color: #fff;
            text-decoration: none;
            transition: background-color 0.3s;
        }
        
        .social-icons a:hover {
            background-color: #ff9800;
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #5d4037;
            color: #aaa;
            font-size: 0.9rem;
        }
        
        /* Адаптивность */
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 20px;
            }
            nav ul {
                gap: 15px;
                flex-wrap: wrap;
                justify-content: center;
            }
            .tuner-container {
                margin: 30px 20px;
                padding: 20px;
            }
            .current-note {
                font-size: 3.5rem;
            }
            .btn-group {
                flex-wrap: wrap;
            }
            button {
                padding: 8px 22px;
                font-size: 0.9rem;
            }
        }


        .cta-button {
    display: inline-block;
    background-color: #ff9800;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    cursor: pointer;
    border: none;
}
        
.cta-button:hover {
    background-color: #ff5722;
    transform: translateY(-3px);
 