* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 900px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    animation: fadeIn 0.5s ease-in;
    position: relative;
}

.phone-link {
    position: fixed;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 100;
    border: none;
}

.phone-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.phone-link:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .phone-link {
        top: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .phone-link {
        top: 10px;
        right: 10px;
        padding: 8px 14px;
        font-size: 13px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2.5em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.carousel-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
    aspect-ratio: 4 / 3;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.carousel-item.active {
    opacity: 1;
    z-index: 10;
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: zoomIn 0.5s ease-in-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 20;
    font-weight: bold;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 12px;
}

.carousel-btn.next {
    right: 12px;
}

.carousel-counter {
    text-align: center;
    margin-top: 12px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: #bbb;
    transform: scale(1.15);
}

.dot.active {
    background: #667eea;
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .carousel {
        aspect-ratio: 16 / 9;
    }

    .carousel-btn {
        padding: 8px 12px;
        font-size: 18px;
    }

    .carousel-btn.prev {
        left: 8px;
    }

    .carousel-btn.next {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 16px;
    }

    h1 {
        font-size: 1.4em;
        margin-bottom: 16px;
    }

    .carousel-btn {
        padding: 6px 10px;
        font-size: 16px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 28px;
    }
}
