input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000a26;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ---- TEXT ---- */
body, input, textarea, select, button {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
}

h1, h2, h3 {
    font-family: "Russo One", sans-serif;
    font-weight: 400;
}

input::placeholder, textarea::placeholder {
    font-family: "Roboto", sans-serif;
    color: #888;
}


.container {
    max-width: 1100px;
    width: 100%;
}

/* -------- ТЕКСТ СВЕРХУ -------- */
.hero {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 33px;
    color: white;
    font-size: 1.8em;
}

.hero-telegram {
    color: #1DA1F2;
    font-weight: bold;
    transform: translateY(9px);
}

.hero-icon {
    height: 1em;
    width: auto;
    transform: translateY(8px);
    margin-right: 2px;
}

/* Чтобы икона + надпись тг на одной строке */
.tg-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}


h1 {
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.2em;
}

/* -------- АНИМАЦИЯ -------- */
.hidden-anim {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: 0.8s ease;
}

.hero-subtitle span {
    opacity: 0;
    display: inline-block;
    transform: translateY(10px);
}

.word-show {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: 0.5s ease;
}

/* -------- ОСНОВНАЯ КАРТОЧКА -------- */
.card {
    background: #12172c;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.top-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 35px;
}

.bottom-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* --------  КУПИТЬ ЗВЕЗДЫ -------- */
.form-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-section-icon {
    height: 1.1em;
    width: auto;
    transform: translateY(3px);
}

.form-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.95rem;
    flex-grow: 1;
}

.form-section form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    outline: none;
    font-weight: 550;
    color: #12172c;
}

input[type="text"]::placeholder,
input[type="number"]::placeholder {
    color: #6f727a;
}

input[type="text"]:focus,
input[type="number"]:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(42, 171, 238, 0.1);
}




.buy-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    color: #ffffff;
}

.buy-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow:0 6px 20px rgba(42, 171, 238, 0.4);
}

.buy-button:active:not(:disabled) {
    transform: translateY(0);
}

.buy-button:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.form-section h3 {
    font-size: 2rem;
    color: #1DA1F2;
    margin-bottom: 15px;
    font-weight: 700;
}

/* -------- ЦЕНЫ -------- */
.pricing-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-section h3 {
    font-size: 2rem;
    color: #1DA1F2;
    margin-bottom: 15px;
    font-weight: 700;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    min-height: 56px;
}

.price-item:hover {
    background: #2AABEE;
    color: #cbd3f2;
    transform: translateX(4px);
    border-color: #2AABEE;
}

.price-stars {
    font-weight: 600;
    color: #333;
}

.price-amount {
    font-weight: 700;
    color: #000000;
    font-size: 1.1rem;
}

/* -------- ГИФКА -------- */
.gif-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gif-section h3 {
    font-size: 1.5rem;
    color: #1DA1F2;
    margin-bottom: 10px;
    font-weight: 700;
}

.gif-placeholder {
    flex-grow: 1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 200px;
}

.gif-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* -------- ПОМОЩЬ/ОПИСАНИЕ -------- */
.help-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.help-section h3 {
    font-size: 2rem;
    color: #1DA1F2;
    margin-bottom: 15px;
    font-weight: 700;
}

.help-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    width: 100%;
    font-size: 0.95rem;
}

.link-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.link-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #f5f5f5;
    border-radius: 12px;
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.link-button:hover {
    background: #2AABEE;
    color: #cbd3f2;
    transform: translateX(4px);
    border-color: #2AABEE;
}

.hidden {
    display: none !important;
}

.loader {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #cbd3f2;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* -------- АДАПТИВНОСТЬ -------- */
@media (max-width: 1024px) {

    .card {
        padding: 32px;
    }

    .top-section,
    .bottom-section {
        gap: 32px;
    }

    h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {

    .top-section,
    .bottom-section {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .card {
        padding: 26px;
        border-radius: 22px;
    }

    h1 {
        font-size: 2rem;
    }

    .hero {
        font-size: 1.5em;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .form-section h3,
    .pricing-section h3,
    .gif-section h3,
    .help-section h3 {
        font-size: 1.5rem;
    }

    .price-item {
        padding: 12px 16px;
    }
}


@media (max-width: 600px) {

    .card {
        padding: 22px;
        border-radius: 18px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .hero {
        font-size: 1.4em;
    }

    .help-description,
    .form-description {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    input[type="text"],
    input[type="number"] {
        font-size: 1rem;
        padding: 13px 15px;
    }

    .price-item {
        min-height: 48px;
    }

    .gif-placeholder {
        min-height: 160px;
    }
}


@media (max-width: 480px) {

    .card {
        padding: 18px;
        border-radius: 16px;
    }

    .hero {
        font-size: 1.3em;
    }

    h1 {
        font-size: 1.6rem;
    }

    input::placeholder {
        font-size: 0.95rem;
    }

    .price-item {
        padding: 10px 14px;
        min-height: 46px;
    }

    .link-button {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
}


@media (max-width: 360px) {

    .card {
        padding: 14px;
        border-radius: 14px;
    }

    h1 {
        font-size: 1.45rem;
    }

    .hero {
        font-size: 1.2em;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    input[type="text"],
    input[type="number"] {
        font-size: 1rem;
        padding: 12px;
    }

    .link-button {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .price-item {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
}


@media (max-width: 768px) and (min-height: 900px) {


    .gif-placeholder {
        min-height: 220px;
        max-height: 260px;
    }

    .gif-placeholder img {
        object-fit: contain;
    }

    .help-description,
    .form-description {
        font-size: 1.05rem;
        line-height: 1.55;
    }

    .form-section h3,
    .pricing-section h3,
    .gif-section h3,
    .help-section h3 {
        font-size: 1.7rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    .hero {
        font-size: 1.7em;
    }
}

/* ---- EOF ---- */