@font-face {
  font-family: "Gotham Book";
  src: url("fonts/Gotham-Book.woff2") format("woff2"),
    url("fonts/Gotham-Book.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Gotham Bold";
  src: url("fonts/Gotham-Bold.woff2") format("woff2"),
    url("fonts/Gotham-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Gotham Book Italic";
  src: url("fonts/GothamBook-Italic.woff2") format("woff2"),
    url("fonts/GothamBook-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Gotham Medium";
  src: url("fonts/Gotham-Medium.woff2") format("woff2"),
    url("fonts/Gotham-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Gotham Light";
  src: url("fonts/Gotham-Light.woff2") format("woff2"),
    url("fonts/Gotham-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

.calculator-container {
    position: relative;
    width: 100%;
    margin: 60px auto;
    padding: 80px 20px;
    overflow: hidden;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.calculator-container p.maximum {
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
}

@keyframes float-left {
    0%, 100% {
        transform: translateY(12px) rotate(2deg);
    }
    50% {
        transform: translateY(-28px) rotate(-3deg);
    }
}

@keyframes float-right {
    0%, 100% {
        transform: translateY(-28px) rotate(-3deg);
    }
    50% {
        transform: translateY(12px) rotate(2deg);
    }
}

.calculator-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    z-index: 2;
    margin: 0 auto;
    box-sizing: border-box;
}

.calculator-banner {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #1e0013;
    font-family: "Gotham Bold", sans-serif;
    font-size: 20px;
    padding: 12px 36px;
    border-radius: 0px;
    white-space: nowrap;
    z-index: 3;
    letter-spacing: 0.5px;
}

.calculator-card {
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #a28aaf;
    border-radius: 0px;
    padding: 60px 40px 40px 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.calculator-title {
    color: #FFFFFF;
    font-family: "Gotham Bold", sans-serif;
    font-size: 24px;
    margin-bottom: 6px;
}

.calculator-subtitle {
    color: #FFFFFF;
    font-family: "Gotham Book", sans-serif;
    font-size: 14px;
    margin-bottom: 24px;
}

.calculator-input-wrapper {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.calculator-input {
    width: 100%;
    padding: 14px 20px;
    border: 1.5px solid #fff;
    background: transparent;
    color: #fff;
    font-family: "Gotham Bold", sans-serif;
    font-size: 18px;
    border-radius: 0px;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-input:focus {
    outline: none;
    border-color: #fff;
    color: #1e0013;
    background: #fff;
    box-shadow: 0 0 12px rgba(77, 20, 74, 0.18);
}

.calculator-input::-webkit-outer-spin-button,
.calculator-input::-webkit-inner-spin-button {
    -webkit-appearance: inherit;
    opacity: 0.7;
    cursor: pointer;
    padding: 4px;
}

.calculator-btn {
    border: 2px solid #4d144a;
    background: rgba(77, 20, 74, 0.04);
    color: #4d144a;
    font-family: "Gotham Bold", sans-serif;
    font-size: 14px;
    padding: 12px 32px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calculator-btn:hover {
    background: #4d144a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(77, 20, 74, 0.22);
}

.calculator-result-box {
    background: #e1251b;
    border-radius: 0px;
    padding: 24px 20px;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-result-box.pulse {
    animation: pulse-glow 0.5s ease-in-out;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 12px 30px rgba(77, 20, 74, 0.32);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(122, 18, 107, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 12px 30px rgba(77, 20, 74, 0.32);
    }
}

.result-label {
    font-family: "Gotham Bold", sans-serif;
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.result-value {
    font-family: "Gotham Bold", sans-serif;
    font-size: 40px;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 1200px) {
    .player-left {
        left: 10px;
    }
    .player-right {
        right: 10px;
    }
    .player-img {
        max-height: 360px;
    }
}

@media screen and (max-width: 992px) {
    .player-img {
        display: none;
    }
    .calculator-container {
        padding: 60px 20px;
        margin: 40px auto;
    }
}

@media screen and (max-width: 576px) {
    .calculator-card {
        padding: 50px 20px 30px 20px;
        border-radius: 0px;
    }
    .calculator-banner {
        font-size: 17px;
        padding: 10px 28px;
    }
    .calculator-title {
        font-size: 20px;
    }
    .result-value {
        font-size: 34px;
    }
}