* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #e6e6e6;
    color: #1a1a1a;
}

.signin-bonus-screen {
    max-width: 560px;
    margin: 0 auto;
    min-height: 100dvh;
    background: #e6e6e6;
}

.signin-header {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    min-height: 52px;
    padding: 0 12px;
}

.signin-back {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    color: #1b1b1b;
    font-size: 22px;
}

.signin-header h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    font-family: "Times New Roman", serif;
    letter-spacing: 0.2px;
}

.signin-hero {
    height: 318px;
    position: relative;
    background: linear-gradient(180deg, #07080b 0%, #0b0d12 100%);
    overflow: hidden;
}

.hero-decoration {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.hero-left {
    width: 210px;
    height: 210px;
    left: -72px;
    top: -26px;
}

.hero-right {
    width: 104px;
    height: 104px;
    right: 22px;
    bottom: 74px;
}

.hero-gift {
    position: absolute;
    width: 258px;
    height: 184px;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    border-radius: 26px;
    background: linear-gradient(155deg, #ff4f18 0%, #d72f2f 56%, #f77f1d 100%);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}

.hero-gift::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 96px;
    left: 50%;
    top: -66px;
    transform: translateX(-50%) rotate(-8deg);
    border-radius: 12px;
    background: linear-gradient(150deg, #fefefe 0%, #e8e6e8 100%);
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.25);
}

.hero-gift::after {
    content: "🎁";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 94px;
}

.bonus-highlight {
    margin: -28px 16px 0;
    background: #f7f7f7;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 6;
}

.highlight-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cf222a;
    background: #fbeaed;
    font-size: 30px;
}

.highlight-texts {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.highlight-amount {
    margin: 0 0 2px;
    color: #cf222a;
    font-size: 46px;
    font-weight: 700;
    font-family: "Times New Roman", serif;
    line-height: 1;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.highlight-note {
    margin: 0;
    color: #141414;
    font-size: 34px;
    line-height: 1.2;
    font-family: "Times New Roman", serif;
    word-break: break-word;
}

.rules-section {
    padding: 22px 22px 18px;
}

.rules-section h2 {
    margin: 0 0 14px;
    font-family: "Times New Roman", serif;
    font-size: 44px;
    font-weight: 700;
}

.rules-section ol {
    margin: 0;
    padding-left: 28px;
    color: #6d6d6d;
    font-family: "Times New Roman", serif;
    font-size: 23px;
    line-height: 1.5;
}

.rules-section li {
    margin-bottom: 16px;
}

.rules-contact {
    margin: 8px 0 0;
    color: #666;
    font-family: "Times New Roman", serif;
    font-size: 33px;
}

.progress-sheet {
    background: #f2f2f2;
    border-radius: 18px 18px 0 0;
    padding: 16px 14px 18px;
}

.progress-days {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.progress-day {
    text-align: center;
}

.progress-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    position: relative;
    background: linear-gradient(90deg, #080808 0 33%, #f5d21e 33% 66%, #d9182d 66% 100%);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.progress-icon::before {
    content: "?";
    color: #b51220;
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
}

.progress-label {
    display: block;
    color: #9d9d9d;
    font-family: "Times New Roman", serif;
    font-size: 19px;
}

.progress-day.done .progress-icon {
    background: #e1e1e1;
}

.progress-day.done .progress-icon::before {
    content: "✓";
    color: #fff;
    font-size: 22px;
}

.progress-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.summary-count {
    margin: 0;
    font-size: 52px;
    font-family: "Times New Roman", serif;
    font-weight: 700;
    color: #121212;
    line-height: 1;
}

.summary-count small {
    font-size: 50%;
    font-weight: 500;
}

.summary-note {
    margin: 2px 0 0;
    font-family: "Times New Roman", serif;
    font-size: 34px;
    color: #111;
}

.signin-btn {
    border: 0;
    border-radius: 999px;
    background: #d20d12;
    color: #fff;
    font-family: "Times New Roman", serif;
    font-size: 43px;
    font-weight: 700;
    min-width: 194px;
    padding: 14px 18px;
    cursor: pointer;
}

.signin-btn:disabled {
    background: #9c9c9c;
    cursor: not-allowed;
}

@media (max-width: 560px) {
    .signin-header h1 {
        font-size: clamp(30px, 8.2vw, 42px);
    }

    .highlight-amount {
        font-size: clamp(34px, 8.2vw, 48px);
    }

    .highlight-note {
        font-size: clamp(20px, 5.1vw, 36px);
    }

    .rules-section h2 {
        font-size: clamp(34px, 8vw, 46px);
    }

    .rules-section ol {
        font-size: clamp(19px, 4.6vw, 26px);
    }

    .rules-contact {
        font-size: clamp(24px, 5.6vw, 36px);
    }

    .summary-count {
        font-size: clamp(38px, 9vw, 56px);
    }

    .summary-note {
        font-size: clamp(24px, 5.6vw, 36px);
    }

    .signin-btn {
        min-width: clamp(150px, 40vw, 212px);
        font-size: clamp(28px, 7vw, 44px);
        padding: 12px 16px;
    }
}

@media (min-width: 561px) {
    .signin-bonus-screen {
        box-shadow: 0 8px 26px rgba(12, 12, 12, 0.14);
    }
}