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

html, body {
    min-height: 100vh;
    height: auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Kontener na slideshow */
.slideshow {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 0;
    list-style: none;
}

.slideshow:after {
    content: '';
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.slideshow li {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slideshow li span {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: imageAnimation 30s linear infinite;
}

.slideshow li:nth-child(1) span {
    background-image: url('/img/bg1.jpg');
    animation-delay: 0s;
}

.slideshow li:nth-child(2) span {
    background-image: url('/img/bg2.jpg');
    animation-delay: 10s;
}

.slideshow li:nth-child(3) span {
    background-image: url('/img/bg3.jpg');
    animation-delay: 20s;
}

@keyframes imageAnimation {
    0% {
        opacity: 0;
        animation-timing-function: ease-in;
    }
    3% {
        opacity: 1;
        animation-timing-function: ease-out;
    }
    33% {
        opacity: 1;
    }
    36% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.content {
    position: relative;
    z-index: 2;
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    color: white;
    padding: 40px 20px 20px;
}

.logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.description {
    max-width: 600px;
    margin-bottom: 30px;
}

.description h1 {
    font-size: 40px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.description p {
    font-size: 18px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

/* Przyciski górnego menu */
.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 700px;
    margin-bottom: 50px;
}

.btn-custom {
    padding: 12px 35px;
    font-size: 16px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(10px);
    flex: 1 1 calc(33% - 15px);
    max-width: 180px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-custom-primary {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.btn-custom-primary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-custom-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-custom-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Album / Sekcje */
.album {
    position: relative;
    z-index: 2;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 50px 0;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(15px);
}

.album .card {
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card .row {
    height: 100%;
}

.card .row .col-md-6,
.card .row .col-md-8,
.card .row .col-md-4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card .row img {
    min-height: 200px;
}

.card {
    padding: 10px;
}

.priceTitle {
    font-size: 30px;
    padding: 30px;
}

/* Disclaimer */
.disclaimer {
    max-width: 700px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
    color: #fff;
}

.disclaimer p {
    margin-bottom: 10px;
    font-size: 14px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.disclaimer p:last-child {
    margin-bottom: 0;
}

/* Kalkulator */
.calculator-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #333;
}

.calculator-container h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #5b97fe;
    box-shadow: 0 0 0 3px rgba(91, 151, 254, 0.1);
}

/* Fursuit cards */
.fursuit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.fursuit-option {
    position: relative;
}

.fursuit-option input[type="radio"] {
    display: none;
}

.fursuit-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    font-weight: 500;
    overflow: hidden;
}

.fursuit-icon {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.fursuit-option input[type="radio"]:checked + .fursuit-label {
    background: #5b97fe;
    color: white;
    border-color: #5b97fe;
    box-shadow: 0 0 0 3px rgba(91, 151, 254, 0.2);
}

.fursuit-name {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.fursuit-price {
    font-size: 14px;
    font-weight: bold;
}

small {
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 6px;
}

/* Checkboxy */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #5b97fe;
}

.checkbox-item label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
}

/* Wynik */
.result-section {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
    border: 2px solid #e0e0e0;
    text-align: center;
}

.result-section h3 {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-price {
    font-size: 48px;
    font-weight: bold;
    color: #5b97fe;
    margin-bottom: 15px;
}

.price-breakdown {
    display: none !important;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    color: #666;
}

.breakdown-item.total {
    font-weight: bold;
    color: #333;
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
    margin-top: 10px;
    font-size: 16px;
}

.breakdown-item.total span:last-child {
    color: #5b97fe;
}

/* Notka pod ceną */
.price-note {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    font-size: 12px;
    color: #999;
}

/* Przyciski formularza */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    flex: 1;
    padding: 14px 30px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: #5b97fe;
    color: white;
}

.btn-primary:hover {
    background: #4b80d6;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(91, 151, 254, 0.3);
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 2px solid #e0e0e0;
}

.btn-secondary:hover {
    background: #efefef;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Notification */
.notification {
    background: #5b97fe;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    display: none;
    animation: slideIn 0.3s ease;
}

.notification.show {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* domyślnie ukryta sekcja z ogonem */
#tailSizeGroup {
    display: none;
}

/* Responsywność */
@media (max-width: 768px) {
    .content {
        padding-top: 40px;
    }

    .album {
        padding: 20px 0;
    }

    .description h1 {
        font-size: 32px;
    }

    .description p {
        font-size: 16px;
    }

    .btn-custom {
        flex: 1 1 calc(50% - 20px);
        max-width: none;
        padding: 8px 20px;
        font-size: 14px;
    }

    .calculator-container {
        padding: 25px;
        max-width: 100%;
    }

    .calculator-container h2 {
        font-size: 24px;
    }

    .button-group {
        flex-direction: column;
    }

    .result-price {
        font-size: 36px;
    }
}
