* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

/* Screen Management */
.screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    transition: opacity 0.3s ease;
}

/* Welcome Screen Styles */
#welcomeScreen {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.welcome-container {
    text-align: center;
    max-width: 400px;
    width: 90%;
    padding: 40px 20px;
}

.logo-section {
    margin-bottom: 60px;
}

.main-logo {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00ff88, #ffd700, #ff6b6b);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.main-logo.small {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin-bottom: 20px;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.login-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;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn.primary {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
}

.login-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 255, 136, 0.4);
}

.login-btn.telegram {
    background: linear-gradient(45deg, #0088cc, #0066aa);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

.login-btn.telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 136, 204, 0.4);
}

.btn-icon {
    font-size: 1.3rem;
}

.welcome-footer {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Login/Register Screen */
#loginScreen {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.auth-container {
    max-width: 450px;
    width: 90%;
    padding: 40px 30px;
    background: rgba(30, 30, 50, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(0, 255, 136, 0.3);
    transform: translateX(-3px);
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 5px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-input {
    padding: 15px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease;
}

.auth-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.auth-input:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

.auth-btn {
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.auth-hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: -10px;
}

/* Main App Styles */
#mainApp {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: rgba(30, 30, 50, 0.8);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

header h1 {
    font-size: 2rem;
    font-weight: bold;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

#username {
    font-weight: bold;
    font-size: 1.1rem;
}

#balance {
    color: #ffd700;
    font-weight: bold;
}

.mining-section {
    background: rgba(30, 30, 50, 0.8);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mining-display {
    margin-bottom: 30px;
}

.mining-rate {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #00ff88;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00cc6a);
    width: 0%;
    transition: width 0.3s ease;
}

.mining-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: white;
}

.mining-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.mining-btn.stop {
    background: linear-gradient(45deg, #ff4757, #ff3742);
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(30, 30, 50, 0.8);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card h3 {
    margin-bottom: 10px;
    color: #ccc;
}

.stat-card span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
}

.leaderboard-section {
    background: rgba(30, 30, 50, 0.8);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.leaderboard {
    max-height: 300px;
    overflow-y: auto;
}

.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: transform 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.leaderboard-item:hover {
    transform: translateX(5px);
    background: rgba(0, 0, 0, 0.4);
}

.leaderboard-item.current-user {
    background: rgba(0, 255, 136, 0.15);
    border: 2px solid #00ff88;
}

.rank {
    font-weight: bold;
    font-size: 1.2rem;
    min-width: 40px;
}

.rank.gold { color: #ffd700; }
.rank.silver { color: #c0c0c0; }
.rank.bronze { color: #cd7f32; }

.loading {
    text-align: center;
    color: #ccc;
    font-style: italic;
}

.login-modal {
    display: none;
}

.modal-content {
    display: none;
}

.modal-header {
    display: none;
}

.close-btn {
    display: none;
}

.login-form {
    display: none;
}

.form-tabs {
    display: none;
}

.tab-btn {
    display: none;
}

.form-content {
    display: none;
}

.form-btn {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-logo {
        font-size: 3rem;
    }
    
    .main-logo.small {
        font-size: 2rem;
    }
    
    .welcome-container {
        padding: 30px 15px;
    }
    
    .auth-container {
        padding: 30px 20px;
    }
    
    .login-btn {
        padding: 16px 25px;
        font-size: 1rem;
    }
    
    .container {
        padding: 10px;
    }
    
    header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .mining-rate {
        font-size: 2rem;
    }
    
    .mining-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-logo {
        font-size: 2.5rem;
    }
    
    .main-logo.small {
        font-size: 1.8rem;
    }
    
    .mining-section {
        padding: 20px;
    }
    
    .leaderboard-section {
        padding: 20px;
    }
    
    .leaderboard-item {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .auth-input {
        padding: 12px;
    }
    
    .auth-btn {
        padding: 12px;
    }
}
/* Auth Switch Links */
.auth-switch {
    text-align: center;
    margin-top: 20px;
}

.auth-switch p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.auth-switch a {
    color: #00ff88;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Logout Section */
.logout-section {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-btn {
    padding: 10px 30px;
    background: rgba(255, 77, 87, 0.2);
    border: 1px solid rgba(255, 77, 87, 0.3);
    color: #ff4d57;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255, 77, 87, 0.3);
    transform: translateY(-2px);
}

/* Screen Classes */
.screen {
    width: 100%;
    min-height: 100vh;
}

.welcome-screen {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-screen, .register-screen {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-app {
    display: block;
}

/* Mobile Mining Section Optimization */
@media (max-width: 768px) {
    .mining-section {
        padding: 25px 20px;
        margin-bottom: 25px;
    }
    
    .mining-rate {
        font-size: 2.2rem;
        margin-bottom: 18px;
    }
    
    .progress-bar {
        height: 18px;
        margin-bottom: 18px;
    }
    
    .mining-btn {
        padding: 14px 35px;
        font-size: 1.1rem;
        border-radius: 20px;
    }
    
    .stats-section {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .stat-card {
        padding: 18px 15px;
    }
    
    .stat-card h3 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .stat-card span {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .mining-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .mining-rate {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .progress-bar {
        height: 16px;
        margin-bottom: 15px;
    }
    
    .mining-btn {
        padding: 12px 30px;
        font-size: 1rem;
        border-radius: 18px;
        width: 100%;
        max-width: 200px;
    }
    
    .stats-section {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .stat-card {
        padding: 15px 12px;
    }
    
    .stat-card h3 {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .stat-card span {
        font-size: 1.2rem;
    }
    
    .leaderboard-section {
        padding: 20px 15px;
    }
    
    .leaderboard-section h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 360px) {
    .mining-section {
        padding: 18px 12px;
    }
    
    .mining-rate {
        font-size: 1.8rem;
    }
    
    .progress-bar {
        height: 14px;
    }
    
    .mining-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
        border-radius: 16px;
    }
    
    .stat-card {
        padding: 12px 10px;
    }
    
    .stat-card h3 {
        font-size: 0.8rem;
    }
    
    .stat-card span {
        font-size: 1.1rem;
    }
}

/* Touch Optimization */
@media (hover: none) and (pointer: coarse) {
    .mining-btn {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .logout-btn {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .login-btn {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .auth-btn {
        min-height: 48px;
        touch-action: manipulation;
    }
}
/* Bottom Menu İçerikleri için CSS */
.team-section, .wallet-section, .profile-section {
    background: rgba(30, 30, 50, 0.8);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-section h2, .wallet-section h2, .profile-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: white;
}

@media (max-width: 768px) {
    .team-section, .wallet-section, .profile-section {
        padding: 25px;
        margin-bottom: 35px;
    }
    
    .team-section h2, .wallet-section h2, .profile-section h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .team-section, .wallet-section, .profile-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .team-section h2, .wallet-section h2, .profile-section h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.team-invite {
    text-align: center;
    padding: 20px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.team-invite h3 {
    margin-bottom: 10px;
    color: #00ff88;
}

.team-invite p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.invite-btn {
    padding: 12px 30px;
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.invite-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.wallet-balance {
    margin-bottom: 30px;
}

.balance-card {
    background: rgba(255, 107, 53, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.balance-card h3 {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff6b35;
    text-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.wallet-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.wallet-btn {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-avatar svg {
    width: 40px;
    height: 40px;
    color: white;
}

.profile-details h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: white;
}

.profile-details p {
    color: rgba(255, 255, 255, 0.7);
}

.profile-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.profile-btn {
    padding: 15px 20px;
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 10px;
    color: #00ff88;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-btn:hover {
    background: rgba(0, 255, 136, 0.3);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .team-section, .wallet-section, .profile-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .team-section h2, .wallet-section h2, .profile-section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .balance-amount {
        font-size: 2rem;
    }
    
    .profile-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .profile-avatar {
        width: 60px;
        height: 60px;
    }
    
    .profile-avatar svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .team-section, .wallet-section, .profile-section {
        padding: 15px;
    }
    
    .balance-card {
        padding: 20px;
    }
    
    .balance-amount {
        font-size: 1.8rem;
    }
    
    .wallet-actions, .profile-actions {
        grid-template-columns: 1fr;
    }
    
    .team-stats {
        grid-template-columns: 1fr;
    }
}
/* Home Welcome Section */
.home-welcome {
    background: rgba(30, 30, 50, 0.8);
    padding: 40px 30px;
    border-radius: 15px;
    margin: 100px 0 40px 0;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-welcome h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
}

.home-welcome p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

@media (max-width: 768px) {
    .home-welcome {
        padding: 30px 20px;
        margin: 80px 0 30px 0;
    }
    
    .home-welcome h2 {
        font-size: 1.7rem;
    }
    
    .home-welcome p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .home-welcome {
        padding: 25px 15px;
        margin: 70px 0 30px 0;
    }
    
    .home-welcome h2 {
        font-size: 1.5rem;
    }
    
    .home-welcome p {
        font-size: 0.9rem;
    }
}
/* Genel sayfa içerikleri için header boşluğu */
.team-section, .wallet-section, .profile-section, .profile-page-content {
    margin-top: 40px;
}

.team-section:first-child, .wallet-section:first-child, .profile-section:first-child, .profile-page-content:first-child {
    margin-top: 50px;
}

/* Ana container için ek boşluk */
.main-app .container {
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .main-app .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .team-section, .wallet-section, .profile-section, .profile-page-content {
        margin-top: 30px;
    }
    
    .team-section:first-child, .wallet-section:first-child, .profile-section:first-child, .profile-page-content:first-child {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .main-app .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .team-section, .wallet-section, .profile-section, .profile-page-content {
        margin-top: 25px;
    }
    
    .team-section:first-child, .wallet-section:first-child, .profile-section:first-child, .profile-page-content:first-child {
        margin-top: 35px;
    }
}
/* Profile Page Content - Normal Sayfa Olarak */
.profile-page-content {
    width: 100%;
    max-width: 500px;
    margin: 40px auto 50px auto;
    padding: 0;
}

@media (max-width: 768px) {
    .profile-page-content {
        margin: 35px auto 45px auto;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .profile-page-content {
        margin: 30px auto 40px auto;
        padding: 0 5px;
    }
}

/* Profile Info Section */
.profile-info-section {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
    padding: 40px 24px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar-large {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.avatar-ring {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #00ff88 0%, #ff6b35 100%);
    border-radius: 50%;
    padding: 4px;
    animation: avatarGlow 3s ease-in-out infinite;
}

@keyframes avatarGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 107, 53, 0.4); }
}

.avatar-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(22, 33, 62, 0.98) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.avatar-inner svg {
    width: 50px;
    height: 50px;
}

.edit-avatar-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.edit-avatar-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 255, 136, 0.4);
}

.edit-avatar-btn svg {
    width: 16px;
    height: 16px;
}

.profile-details .username {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
}

.profile-details .user-id {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 4px 0;
    font-family: monospace;
}

.profile-details .join-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Profile Stats */
.profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.profile-stats .stat-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.profile-stats .stat-card:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.4);
}

.profile-stats .stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px auto;
    color: #00ff88;
}

.profile-stats .stat-icon svg {
    width: 100%;
    height: 100%;
}

.profile-stats .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.profile-stats .stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Profile Menu */
.profile-menu {
    margin-bottom: 32px;
}

.profile-menu .menu-section {
    margin-bottom: 32px;
}

.profile-menu .menu-section h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-menu .menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-menu .menu-item:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.profile-menu .menu-icon {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.profile-menu .menu-icon svg {
    width: 100%;
    height: 100%;
}

.profile-menu .menu-content {
    flex: 1;
    min-width: 0;
}

.profile-menu .menu-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
}

.profile-menu .menu-subtitle {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.profile-menu .menu-arrow {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.profile-menu .menu-arrow svg {
    width: 100%;
    height: 100%;
}

/* Logout Button */
.logout-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.logout-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 77, 87, 0.2);
    border: 1px solid rgba(255, 77, 87, 0.3);
    border-radius: 12px;
    color: #ff4d57;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-button:hover {
    background: rgba(255, 77, 87, 0.3);
    transform: translateY(-2px);
}

.logout-button svg {
    width: 20px;
    height: 20px;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .profile-page-content {
        padding: 0 10px;
    }
    
    .profile-info-section {
        padding: 30px 20px;
    }
    
    .avatar-ring {
        width: 100px;
        height: 100px;
    }
    
    .avatar-inner svg {
        width: 40px;
        height: 40px;
    }
    
    .profile-details .username {
        font-size: 1.5rem;
    }
    
    .profile-stats {
        gap: 12px;
    }
    
    .profile-stats .stat-card {
        padding: 16px;
    }
    
    .profile-menu .menu-item {
        padding: 14px;
    }
}

@media (max-width: 360px) {
    .profile-stats {
        grid-template-columns: 1fr;
    }
    
    .profile-stats .stat-card {
        padding: 12px;
    }
    
    .profile-menu .menu-item {
        padding: 12px;
        gap: 12px;
    }
}
/* Team Page Content Wrapper */
.team-page-content {
    width: 100%;
    max-width: 500px;
    margin: 30px auto 40px auto;
    padding: 0;
}

/* Wallet Page Content Wrapper */
.wallet-page-content {
    width: 100%;
    max-width: 500px;
    margin: 30px auto 40px auto;
    padding: 0;
}

/* Mobile responsive için wrapper'lar */
@media (max-width: 768px) {
    .team-page-content, .wallet-page-content {
        margin: 25px auto 35px auto;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .team-page-content, .wallet-page-content {
        margin: 20px auto 30px auto;
        padding: 0 5px;
    }
}