
.counter-container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
.counter-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

.counter-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

.about-container::before,
body.about-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

.counter-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.counter-wrapper {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
}

.counter-display {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 
        0 0 20px rgba(42, 82, 152, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}


.counter-display::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 82, 152, 0.3) 0%, transparent 70%);
    z-index: 1;
    animation: pulse 2s infinite;
}

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


#counterValue {
    font-size: 4rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}


.counter-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3a6ea5 0%, #2f5d9c 100%);
    border: none;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.2);
    z-index: 3;
}

.counter-button:hover {
    background: linear-gradient(135deg, #4a7eb5 0%, #3f6db8 100%);
    transform: scale(1.05);
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.4),
        inset 0 2px 5px rgba(255, 255, 255, 0.2);
}

.counter-button:active {
    transform: scale(0.95);
    box-shadow: 
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.1);
}

.decrement {
    left: 30px;
}

.increment {
    right: 30px;
}


.reset-button {
    margin: 0 auto;
    background: linear-gradient(135deg, #1e90ff 0%, #1976d2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 10px rgba(30, 144, 255, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.1);
}

.reset-button:hover {
    background: linear-gradient(135deg, #4169e1 0%, #0056b3 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 15px rgba(30, 144, 255, 0.4),
        inset 0 2px 5px rgba(255, 255, 255, 0.1);
}

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


@keyframes valueChange {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.value-change {
    animation: valueChange 0.3s ease;
}


@media (max-width: 480px) {
    .counter-container {
        padding: 20px;
        margin: 10px;
    }
    
    .counter-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .counter-display {
        width: 160px;
        height: 160px;
    }
    
    .counter-display::before {
        width: 180px;
        height: 180px;
    }
    
    #counterValue {
        font-size: 3rem;
    }
    
    .counter-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .decrement {
        left: 20px;
    }
    
    .increment {
        right: 20px;
    }
}
.counter-info-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.info-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.info-section h2 {
    color: #2196f3;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-section h3 {
    color: #42a5f5;
    margin: 15px 0 10px;
    font-size: 1.3rem;
}

.info-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.uses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.use-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.use-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.use-card h3 {
    color: #42a5f5;
    margin-bottom: 10px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.feature-item h3 {
    color: #42a5f5;
    margin-bottom: 10px;
}

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

.instruction-step {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.instruction-step:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.step-number {
    background: #2196f3;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h3 {
    color: #42a5f5;
    margin-bottom: 10px;
}

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

.benefit-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.benefit-item h3 {
    color: #42a5f5;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .counter-info-container {
        padding: 0 15px;
    }
    
    .info-section {
        padding: 20px 15px;
    }
    
    .info-section h2 {
        font-size: 1.5rem;
    }
    
    .info-section h3 {
        font-size: 1.2rem;
    }
    
    .info-section p {
        font-size: 1rem;
    }
    
    .uses-grid,
    .features-list,
    .instructions-container,
    .benefits-container {
        grid-template-columns: 1fr;
    }
    
    .instruction-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
}