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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #333333;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(247, 147, 30, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(255, 107, 53, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.terms-card {
    background: #ffffff;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 0;
    width: 100%;
    max-width: 900px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 107, 53, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    padding: 2rem 2rem 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    background: rgba(255, 107, 53, 0.05);
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: glow 2s ease-in-out infinite alternate;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title i {
    margin-right: 1rem;
    color: #ff6b35;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.3));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.6));
    }
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(51, 51, 51, 0.8);
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-align: center;
}

.effective-date {
    font-size: 0.9rem;
    color: rgba(255, 107, 53, 0.8);
    font-weight: 400;
}

.content-scroll {
    max-height: 60vh;
    overflow-y: auto;
    padding: 0 2rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 107, 53, 0.3) rgba(0, 0, 0, 0.1);
}

.content-scroll::-webkit-scrollbar {
    width: 8px;
}

.content-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.content-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.content-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #e8821a 100%);
}

.terms-content {
    padding: 2rem 0;
}

.terms-section {
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
    text-align: center;
}

.terms-section:nth-child(1) { animation-delay: 0.1s; }
.terms-section:nth-child(2) { animation-delay: 0.2s; }
.terms-section:nth-child(3) { animation-delay: 0.3s; }
.terms-section:nth-child(4) { animation-delay: 0.4s; }
.terms-section:nth-child(5) { animation-delay: 0.5s; }
.terms-section:nth-child(6) { animation-delay: 0.6s; }
.terms-section:nth-child(7) { animation-delay: 0.7s; }
.terms-section:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terms-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ff6b35;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.terms-section h2 i {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.5));
}

.policy-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 10px;
    border-left: 3px solid #ff6b35;
    transition: all 0.3s ease;
}

.policy-item:hover {
    background: rgba(255, 107, 53, 0.08);
    transform: translateX(5px);
}

.policy-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5rem;
}

.policy-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(51, 51, 51, 0.9);
}

.terms-section > p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(51, 51, 51, 0.9);
    margin-bottom: 1rem;
}

strong {
    color: #ff6b35;
    font-weight: 600;
}

.agreement-section {
    padding: 2rem;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    background: rgba(255, 107, 53, 0.02);
}

.checkbox-container {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: rgba(51, 51, 51, 0.9);
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    color: #ff6b35;
}

.custom-checkbox {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 107, 53, 0.5);
    border-radius: 4px;
    margin-right: 1rem;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.05);
}

.custom-checkbox:checked + .checkmark {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: #ff6b35;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
}

.custom-checkbox:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-weight: bold;
    font-size: 12px;
}

.checkbox-text {
    user-select: none;
}

.enter-world-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.enter-world-btn:disabled {
    background: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.4);
    cursor: not-allowed;
    box-shadow: none;
}

.enter-world-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.enter-world-btn:not(:disabled):active {
    transform: translateY(0);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.enter-world-btn:not(:disabled):hover .btn-icon {
    transform: translateX(5px);
}

.enter-world-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.enter-world-btn:not(:disabled):hover::before {
    left: 100%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 1rem 0.5rem;
    }
    
    .terms-card {
        margin: 0;
        border-radius: 15px;
    }
    
    .header {
        padding: 1.5rem 1rem 1rem 1rem;
    }
    
    .title {
        font-size: 2rem;
        white-space: nowrap;
    }
    
    .content-scroll {
        padding: 0 1rem;
        max-height: 50vh;
    }
    
    .terms-content {
        padding: 1.5rem 0;
    }
    
    .agreement-section {
        padding: 1.5rem 1rem;
    }
    
    .terms-section h2 {
        font-size: 1.3rem;
    }
    
    .policy-item {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.5rem;
        white-space: nowrap;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .content-scroll {
        max-height: 45vh;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
    }
    
    .enter-world-btn {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }
}
