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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #e91b79;
}

.nav-links {
    margin-right: auto;
    margin-left: 40px;
    display: flex;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #e91b79;
}

.nav-link.active {
    color: #e91b79;
}

.right-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #666;
    font-size: 20px;
    transition: color 0.2s;
}

.social-icon:hover {
    color: #e91b79;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.btn-outline, .btn-main {
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid #e91b79;
    color: #e91b79;
}

.btn-outline.active {
    background: rgba(233, 27, 121, 0.1);
}

.btn-main {
    background: #e91b79;
    border: none;
    color: #fff;
}

.btn-main.active {
    background: #d01a6c;
}

.signup-container {
    max-width: 600px;
    margin: 120px auto 50px;
    padding: 20px;
}

.signup-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 40px;
}

.signup-card h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.signup-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.signup-option {
    padding: 10px 20px;
    border: none;
    background: #f0f0f0;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.signup-option i {
    margin-right: 5px;
}

.signup-option.active {
    background: #e91b79;
    color: #fff;
}

.signup-form {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e91b79;
}

.form-group input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.location-input input[readonly] {
    background-color: #f8f8f8;
    cursor: default;
    padding-right: 90px;
}

.password-input,
.wallet-input,
.location-input {
    position: relative;
}

.toggle-password,
.toggle-confirm-password,
.connect-wallet,
.detect-location {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s;
    z-index: 10;
}

.connect-wallet,
.detect-location {
    background: #f0f0f0;
}

.connect-wallet:hover,
.detect-location:hover {
    background: #e0e0e0;
    color: #e91b79;
}

.connect-wallet i,
.detect-location i {
    margin-right: 4px;
}

.detect-location {
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 6px 12px;
    right: 5px;
    font-size: 13px;
    white-space: nowrap;
}

.detect-location:hover {
    background: #e0e0e0;
    color: #e91b79;
    border-color: #e91b79;
}

.radio-options,
.checkbox-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.radio-option:hover,
.checkbox-option:hover {
    border-color: #e91b79;
    background: #fff5f9;
}

.radio-option input,
.checkbox-option input {
    cursor: pointer;
}

.radio-option span,
.checkbox-option span {
    font-size: 14px;
    color: #666;
}

.image-upload {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.image-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.image-preview img.active {
    display: block;
}

.image-preview i {
    font-size: 64px;
    color: #ddd;
}

.image-preview i.hidden {
    display: none;
}

.upload-controls {
    display: flex;
    gap: 10px;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #f0f0f0;
    border: none;
    border-radius: 6px;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.upload-btn:hover {
    background: #e0e0e0;
    color: #e91b79;
}

.upload-btn input[type="file"] {
    display: none;
}

.upload-btn i {
    font-size: 16px;
}

.gender-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.gender-option {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.gender-option input {
    cursor: pointer;
}

.gender-option span {
    font-size: 14px;
    color: #666;
}

.terms {
    margin-top: 30px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 14px;
    color: #666;
}

.checkbox-label a {
    color: #e91b79;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.btn-signup {
    width: 100%;
    padding: 12px;
    background: #e91b79;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 20px;
}

.btn-signup:hover {
    background: #d01a6c;
}

.wallet-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.wallet-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.wallet-option:hover {
    border-color: #e91b79;
    box-shadow: 0 2px 8px rgba(233, 27, 121, 0.1);
}

.wallet-option img {
    width: 40px;
    height: 40px;
}

.wallet-option span {
    font-size: 14px;
    font-weight: 500;
}

.wallet-note {
    font-size: 13px;
    color: #777;
    text-align: center;
    margin: 20px 0;
}

.wallet-note a {
    color: #e91b79;
    text-decoration: none;
}

.wallet-note a:hover {
    text-decoration: underline;
}

.wallet-benefits {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.wallet-benefits h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.wallet-benefits ul {
    list-style: none;
}

.wallet-benefits li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wallet-benefits li i {
    color: #e91b79;
}

.login-link {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.login-link a {
    color: #e91b79;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav-links, .right-nav {
        display: none !important;
    }
    .navbar {
        padding: 1rem;
        justify-content: space-between;
    }
    
    .mobile-menu-icon {
        display: block !important;
    }
    
    .signup-container {
        margin-top: 50px;
    }
    
    .signup-card {
        padding: 30px 20px;
    }
    
    .signup-options {
        flex-direction: column;
    }
    
    .gender-options {
        flex-direction: column;
    }
    
    .checkbox-options {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .radio-options {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .wallet-input {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 50px;
    }
    
    .wallet-input input {
        margin-bottom: 10px;
    }
    
    .location-input {
        flex-direction: column;
        align-items: stretch;
    }
    
    .location-input input {
        margin-bottom: 10px;
    }
    
    .detect-location {
        width: 100%;
    }
    
    .connect-wallet {
        width:96%;
        margin: 43px 0;
    }
    
    .image-upload {
        flex-direction: column;
    }
    
    .upload-controls {
        width: 100%;
        margin-top: 15px;
    }
}

.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-message {
    color: white;
    font-size: 20px;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    max-width: 80%;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

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

.loading-message {
    color: white;
    font-size: 20px;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    max-width: 80%;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e91b79;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

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

.mobile-menu-icon {
    display: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    z-index: 2000;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-close {
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.mobile-nav-links .nav-link {
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-social-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.mobile-social-icons .social-icon {
    font-size: 24px;
}

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-buttons .btn-outline,
.mobile-nav-buttons .btn-main {
    text-align: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
}

.overlay.active {
    display: block;
} 
