* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #2d2d2d;
}

.container {
    flex: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px;
    width: 100%;
    display: flex;
    gap: 120px;
    align-items: center;
    justify-content: center;
}

.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header {
    margin-bottom: 100px;
}

.logo-container {
    margin-bottom: 30px;
}

.logo-img {
    max-width: 200px;
    height: auto;
    display: block;
}

.header h1 {
    color: #1a1a1a;
    font-size: 48px;
    font-weight: 200;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.header-subtitle {
    color: #6a6a6a;
    font-size: 16px;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 1px;
}

.header-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 2px;
}

.header-links a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.25s ease;
    padding: 12px 0;
    position: relative;
    display: inline-block;
}

.header-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a1a1a;
    transition: width 0.25s ease;
}

.header-links a:hover {
    color: #1a1a1a;
}

.header-links a:hover::after {
    width: 100%;
}

.header-links .link-desc {
    display: block;
    font-size: 14px;
    color: #9a9a9a;
    font-weight: 300;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.friend-links {
    text-align: left;
}

.friend-links-title {
    font-size: 13px;
    color: #c0c0c0;
    margin-bottom: 24px;
    letter-spacing: 3px;
    font-weight: 300;
    text-transform: uppercase;
}

.friend-links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.friend-links-container a {
    color: #6a6a6a;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease;
    padding: 10px 0;
    border-bottom: 1px solid transparent;
}

.friend-links-container a:hover {
    color: #1a1a1a;
    border-bottom-color: #e0e0e0;
}

.friend-links-container .link-desc {
    display: block;
    font-size: 13px;
    color: #9a9a9a;
    font-weight: 300;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.contact-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e8e8e8;
}

.contact-title {
    font-size: 13px;
    color: #c0c0c0;
    margin-bottom: 20px;
    letter-spacing: 3px;
    font-weight: 300;
    text-transform: uppercase;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6a6a6a;
    font-size: 15px;
}

.contact-label {
    color: #8a8a8a;
    font-size: 14px;
    font-weight: 300;
}

.contact-number {
    color: #4a4a4a;
    font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", monospace;
    font-size: 16px;
    letter-spacing: 1px;
}

.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode-section {
    background: #ffffff;
    padding: 50px 40px;
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.qrcode-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.qrcode-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 2px;
}

.qrcode-label {
    margin-top: 24px;
    font-size: 15px;
    color: #5a5a5a;
    font-weight: 400;
    letter-spacing: 1px;
}

.qrcode-desc {
    margin-top: 8px;
    font-size: 13px;
    color: #9a9a9a;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
}

.footer p {
    font-size: 13px;
    color: #a0a0a0;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-banner-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.top-banner-text {
    flex: 1;
}

.top-banner-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
}

.top-banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

body.has-banner {
    padding-top: 48px;
}

.notification-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification {
    background: #ffffff;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    max-width: 350px;
    animation: slideIn 0.3s ease;
    position: relative;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification.info {
    border-left: 4px solid #667eea;
}

.notification.success {
    border-left: 4px solid #51cf66;
}

.notification.warning {
    border-left: 4px solid #ffd43b;
}

.notification.error {
    border-left: 4px solid #ff6b6b;
}

.notification-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 13px;
    color: #6a6a6a;
    line-height: 1.5;
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.notification-close:hover {
    color: #666;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 12px;
}

.modal-message {
    font-size: 15px;
    color: #6a6a6a;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 24px;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal-btn {
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.modal-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.modal-btn-secondary {
    background: #f0f0f0;
    color: #4a4a4a;
}

.modal-btn-secondary:hover {
    background: #e8e8e8;
}

.modal-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.modal-checkbox input {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.modal-checkbox label {
    font-size: 14px;
    color: #6a6a6a;
    cursor: pointer;
}

.modal-checkbox input,
.notification-close,
.modal-btn {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
    -webkit-touch-callout: auto;
}

@media (max-width: 900px) {
    .container {
        gap: 80px;
    }

    .footer-content {
        max-width: 100%;
    }

    .notification-container {
        right: 20px;
        left: 20px;
        bottom: 20px;
    }

    .notification {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 60px 20px;
        gap: 60px;
    }

    .logo-img {
        max-width: 160px;
    }

    .header h1 {
        font-size: 36px;
        margin-bottom: 15px;
        letter-spacing: 3px;
    }

    .header-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .header-links {
        gap: 18px;
    }

    .header-links a {
        font-size: 18px;
    }

    .header-links .link-desc {
        font-size: 13px;
    }

    .qrcode-section {
        padding: 40px 30px;
    }

    .qrcode-container {
        gap: 40px;
    }

    .qrcode-img {
        width: 180px;
        height: 180px;
    }

    .qrcode-label {
        font-size: 14px;
    }

    .qrcode-desc {
        font-size: 12px;
    }

    .friend-links-container {
        gap: 12px;
    }

    .friend-links-container .link-desc {
        font-size: 12px;
    }

    .contact-section {
        margin-top: 30px;
        padding-top: 24px;
    }

    .contact-item {
        font-size: 14px;
    }

    .contact-label {
        font-size: 13px;
    }

    .contact-number {
        font-size: 15px;
    }

    .footer p {
        font-size: 12px;
    }

    .footer-content {
        max-width: 100%;
    }

    .top-banner-text {
        font-size: 13px;
    }

    .notification {
        padding: 12px 16px;
    }

    .notification-title {
        font-size: 14px;
    }

    .notification-message {
        font-size: 12px;
    }

    .modal {
        padding: 30px 20px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-message {
        font-size: 14px;
    }

    .modal-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 50px 15px;
        gap: 50px;
    }

    .logo-img {
        max-width: 140px;
    }

    .header h1 {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .header-subtitle {
        font-size: 13px;
    }

    .header-links .link-desc {
        font-size: 12px;
    }

    .qrcode-section {
        padding: 35px 25px;
    }

    .qrcode-img {
        width: 160px;
        height: 160px;
    }

    .qrcode-label {
        font-size: 13px;
    }

    .qrcode-desc {
        font-size: 12px;
    }

    .friend-links-container .link-desc {
        font-size: 11px;
    }

    .contact-section {
        margin-top: 24px;
        padding-top: 20px;
    }

    .contact-item {
        font-size: 13px;
    }

    .contact-number {
        font-size: 14px;
    }
}
