/* ==========================================
   Check Page Styles
========================================== */

.check-section {
    min-height: 100vh;
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    position: relative;
}

.check-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

.check-container {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.check-header {
    text-align: center;
    margin-bottom: 50px;
}

.check-title {
    font-family: var(--font-accent);
    font-size: 32px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.check-description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.check-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.check-note i {
    font-size: 14px;
}

/* Attribute Select */
.attribute-select {
    margin-bottom: 35px;
    padding: 25px;
    background: var(--gray-light);
    border-radius: 12px;
}

.attribute-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 15px;
}

.attribute-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.attribute-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.attribute-option:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
}

.attribute-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--gold);
}

.attribute-option input[type="radio"]:checked {
    accent-color: var(--gold);
}

.attribute-option:has(input:checked) {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
}

.attribute-option span {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

/* Checklist Styles */
.checklist {
    margin-bottom: 40px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    padding: 20px 25px;
    margin-bottom: 15px;
    background: var(--gray-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.checklist-item:hover {
    background: #f0f4f8;
    transform: translateX(5px);
}

.checklist-item.checked {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
}

.check-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--navy-light);
    border-radius: 6px;
    margin-right: 15px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    background: var(--white);
}

.check-input:checked ~ .checkmark {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-color: var(--gold);
}

.check-input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid var(--navy-dark);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.check-text {
    font-size: 16px;
    color: var(--navy-dark);
    line-height: 1.6;
    font-weight: 500;
}

/* Check Button */
.btn-check {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
    color: var(--gold);
    padding: 20px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(10, 22, 40, 0.3);
}

.btn-check:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(10, 22, 40, 0.4);
}

.btn-check i {
    font-size: 20px;
}

/* Result Section */
.result-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--gray-medium);
    animation: fadeInUp 0.6s ease;
}

/* 紹介コードセクション */
.referral-code-section {
    margin: 40px 0 30px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(244, 208, 63, 0.05) 100%);
    border: 2px solid var(--gold);
    border-radius: 20px;
    animation: fadeInUp 0.6s ease;
}

.referral-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 15px;
    text-align: center;
}

.referral-code-box {
    background: white;
    border: 3px dashed var(--gold);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: center;
}

.referral-code-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(212, 175, 55, 0.2);
}

.btn-copy-code {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy-dark);
    padding: 18px 30px;
    border: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    margin-bottom: 15px;
    white-space: nowrap;
}

.btn-copy-code:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.btn-copy-code i {
    font-size: 18px;
}

.referral-note {
    font-size: 14px;
    color: var(--text-gray);
    text-align: center;
    margin-top: 10px;
}

/* LINE Section */
.line-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    padding: 80px 0;
    margin-top: 60px;
}

.line-container {
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.line-content {
    text-align: center;
}

.result-content {
    text-align: center;
}

.result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 36px;
}

.result-icon.success {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-dark);
}

.result-icon.info {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
    color: var(--gold);
}

.result-title {
    font-family: var(--font-accent);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 20px;
}

.result-description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 35px;
}

.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-dark);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-line:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.btn-line i {
    font-size: 24px;
}

.btn-line.secondary {
    background: var(--gray-medium);
    color: var(--navy-dark);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.btn-line.secondary:hover {
    background: var(--gray-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Header adjustment for check page */
.check-section ~ .header .logo a {
    color: var(--gold);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .check-section {
        padding: 120px 0 80px;
    }

    .check-container {
        padding: 40px 30px;
        border-radius: 15px;
    }

    .check-title {
        font-size: 26px;
    }

    .check-description {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .check-note {
        font-size: 13px;
        padding: 6px 16px;
    }
    
    .attribute-select {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .attribute-label {
        font-size: 15px;
    }
    
    .attribute-option {
        padding: 12px 16px;
    }
    
    .attribute-option span {
        font-size: 14px;
    }

    .checklist-item {
        padding: 18px 20px;
    }

    .check-text {
        font-size: 15px;
    }

    .btn-check {
        padding: 18px 35px;
        font-size: 16px;
    }

    .result-title {
        font-size: 24px;
    }

    .btn-line {
        padding: 16px 40px;
        font-size: 16px;
    }
}

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

    .check-title {
        font-size: 22px;
    }

    .check-description {
        font-size: 14px;
    }
    
    .check-note {
        font-size: 12px;
        padding: 5px 14px;
    }

    .checklist-item {
        padding: 16px 18px;
    }

    .checkmark {
        width: 20px;
        height: 20px;
    }

    .check-input:checked ~ .checkmark::after {
        left: 6px;
        top: 2px;
        width: 5px;
        height: 10px;
        border-width: 0 2px 2px 0;
    }

    .check-text {
        font-size: 14px;
    }

    .result-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }

    .result-title {
        font-size: 20px;
    }

    /* 紹介コードセクション - スマホ用 */
    .referral-code-section {
        padding: 25px 20px;
        margin: 30px 0 20px;
    }
    
    .referral-label {
        font-size: 14px;
    }
    
    .referral-code-box {
        padding: 20px 15px;
    }
    
    .referral-code-text {
        font-size: 24px;
        letter-spacing: 2px;
    }
    
    .btn-copy-code {
        padding: 16px 24px;
        font-size: 15px;
        gap: 8px;
    }
    
    .btn-copy-code i {
        font-size: 16px;
    }
    
    .referral-note {
        font-size: 12px;
    }

    .result-description {
        font-size: 14px;
    }
}