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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f7f2;
    color: #5a4b3c;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(249, 247, 242, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #a0855b;
    cursor: pointer;
    transition: color 0.3s ease;
}

.logo h1:hover {
    color: #c8a87d;
}

.language-switch {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.language-switch span {
    font-size: 16px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.language-switch .active {
    background: linear-gradient(135deg, #c8a87d, #a0855b);
    color: #f8f4e8;
}

.intro-section {
    padding: 120px 0 15px;
    text-align: center;
}

.main-title {
    font-size: 36px;
    font-weight: 700;
    color: #a0855b;
    margin-bottom: 20px;
    line-height: 1.3;
}

.subtitle {
    font-size: 20px;
    color: #8b7d6b;
    margin-bottom: 30px;
    font-weight: 500;
}

.intro-text {
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
    text-indent: 2em;
}

.domains-section {
    padding: 0px 0;
}

.domain-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    margin-bottom: 30px;
    gap: 20px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f9f7f2, #f0e8d8);
    border: 1px solid #e0d8c8;
    border-radius: 30px;
    color: #a0855b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
      background: linear-gradient(135deg, #c8a87d, #a0855b);
    color: #f8f4e8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(199, 168, 125, 0.3);
}

.domain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 3px;
}

.domain-card {
    aspect-ratio: 1.618;
    background: linear-gradient(135deg, #f9f7f2, #f0e8d8);
    border: 1px solid #e0d8c8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(199, 168, 125, 0.3);
    background: linear-gradient(135deg, #c8a87d, #a0855b);
}

.domain-card:hover .domain-name {
    color: #f8f4e8;
}

.domain-name {
    font-size: 16px;
    font-weight: 600;
    color: #a0855b;
    transition: color 0.3s ease;
    text-align: center;
    word-break: break-all;
    padding: 10px;
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 21px;
    margin-bottom: 45px;
}

.load-more-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #f9f7f2, #f0e8d8);
    border: 1px solid #e0d8c8;
    border-radius: 30px;
    color: #a0855b;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #c8a87d, #a0855b);
    color: #f8f4e8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(199, 168, 125, 0.3);
}

.terms-section {
    padding: 80px 0;
    background-color: #f0e8d8;
}

.terms-content {
    max-width: 1000px;
    margin: 0 auto;
}

.flow-title, .platforms-title {
    font-size: 24px;
    font-weight: 700;
    color: #a0855b;
    margin-bottom: 30px;
    text-align: center;
}

.flow-steps {
    list-style: none;
    counter-reset: step-counter;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.flow-steps li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 600;
    color: #5a4b3c;
}

.flow-steps li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #c8a87d, #a0855b);
    color: #f8f4e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step-note {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #8b7d6b;
    margin-top: 5px;
}

.platform-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.platform-name {
    padding: 10px 20px;
    background: linear-gradient(135deg, #f9f7f2, #f0e8d8);
    border: 1px solid #e0d8c8;
    border-radius: 30px;
    color: #a0855b;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.platform-name:hover {
    background: linear-gradient(135deg, #c8a87d, #a0855b);
    color: #f8f4e8;
    transform: translateY(-2px);
}

.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #8b7d6b, #6d5f4e);
    color: #f8f4e8;
}

.contact-text {
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: justify;
    text-indent: 2em;
}

.contact-slogan {
    font-size: 20px;
    font-style: italic;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-question {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #f8f4e8;
    color: #a0855b;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
}

.contact-btn:hover {
    background-color: #f9f7f2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-note {
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

.footer {
    padding: 30px 0;
    background: linear-gradient(135deg, #8b7d6b, #6d5f4e);
    color: #f8f4e8;
    border-top: 1px solid rgba(248, 244, 232, 0.1);
}

.copyright {
    text-align: center;
    font-size: 14px;
    margin: 0;
}

.lucky-skin {
    position: fixed;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
    background: rgba(253, 251, 247, 0.95);
    z-index: 1500;
    display: flex;
    align-items: center;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
}

.lucky-skin.active {
    opacity: 1;
    visibility: visible;
}

.skin-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background: linear-gradient(135deg, #d8c9b1, #c8a87d);
    color: #f8f4e8;
    font-size: 30px;
}

.lucky-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(40, 35, 30, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1800;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.lucky-loading.active {
    opacity: 1;
    visibility: visible;
}

.loading-circle {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(248, 244, 232, 0.3);
    border-top: 4px solid #f8f4e8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(248, 244, 232, 0.2);
}

.loading-text {
    color: #f8f4e8;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.lucky-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(40, 35, 30, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lucky-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fdfbf7;
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lucky-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #a0855b;
    margin: 0;
    text-align: center;
}

.close-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    color: #a0855b;
    font-weight: bold;
    cursor: pointer;
    margin: 0;
    text-align: center;
    border: none;
    background: none;
}

.modal-body {
    margin-bottom: 30px;
}

.modal-text {
    font-size: 16px;
    line-height: 1.8;
    color: #6d5f4e;
    margin: 0;
    text-indent: 2em;
    text-align: justify;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.modal-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-btn {
    background: linear-gradient(135deg, #f9f7f2, #f0e8d8);
    color: #a0855b;
}

.retry-btn:hover {
    background: linear-gradient(135deg, #e0d8c8, #d0c0a8);
    transform: translateY(-2px);
}

.detail-btn {
    background: linear-gradient(135deg, #c8a87d, #a0855b);
    color: #f8f4e8;
    box-shadow: 0 4px 15px rgba(199, 168, 125, 0.3);
}

.detail-btn:hover {
    background: linear-gradient(135deg, #b8986d, #90754b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 168, 125, 0.4);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@media (max-width: 768px) {
    .header-content {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .domain-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .domain-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .domain-name {
        font-size: 14px;
    }
    
    .flow-steps li {
        padding-left: 50px;
        font-size: 16px;
    }
    
    .flow-steps li::before {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .platform-list {
        gap: 10px;
    }
    
    .platform-name {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 0;
    }
    
    .intro-section {
        padding: 100px 0 15px;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .intro-text {
        font-size: 14px;
    }
    
    .domain-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .action-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .flow-steps li {
        padding-left: 45px;
        font-size: 14px;
    }
    
    .flow-steps li::before {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .step-note {
        font-size: 12px;
    }
    
    .contact-slogan {
        font-size: 18px;
    }
    
    .contact-question {
        font-size: 20px;
    }
    
    .contact-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .copyright {
        font-size: 12px;
    }
}