/* Gamer Profile Styles - Ego-boosting, attractive design for gamers */

.gamer-profile {
    background: #0d1117;
    min-height: 100vh;
    color: #ffffff;
}

/* Profile Hero Section */
.profile-hero {
    position: relative;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.profile-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 215, 0, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(228, 161, 1, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 107, 53, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 215, 0, 0.2), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: float 20s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(13, 17, 23, 0.8) 0%, rgba(13, 17, 23, 0.95) 100%);
}

.profile-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Profile Avatar with Frames */
.profile-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.profile-frame-border {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    padding: 8px;
    z-index: 1;
}

.profile-frame-glow {
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border-radius: 50%;
    z-index: 0;
    animation: pulse-glow 3s ease-in-out infinite;
}

.profile-avatar-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    background: #21262d;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Status Badges */
.status-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    z-index: 10;
}

.elite-badge {
    animation: elite-shine 2s ease-in-out infinite;
}

.bundle-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    z-index: 3;
}

.gold-bundle {
    background: linear-gradient(135deg, #e4a101 0%, #f7931e 100%);
    color: #ffffff;
}

.silver-bundle {
    background: linear-gradient(135deg, #c0c0c0 0%, #e5e5e5 100%);
    color: #1a1a2e;
}

.bronze-bundle {
    background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
    color: #ffffff;
}

/* Profile Frame Classes */
.profile-frame-elite .profile-frame-border {
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    background-size: 200% 200%;
    animation: elite-border 3s ease-in-out infinite;
}

.profile-frame-gold .profile-frame-border {
    background: linear-gradient(45deg, #e4a101, #f7931e);
}

.profile-frame-silver .profile-frame-border {
    background: linear-gradient(45deg, #c0c0c0, #e5e5e5);
}

.profile-frame-bronze .profile-frame-border {
    background: linear-gradient(45deg, #cd7f32, #b87333);
}

.profile-frame-basic .profile-frame-border {
    background: linear-gradient(45deg, #38444d, #4a5568);
}

/* Profile Info */
.profile-info-main {
    flex: 1;
}

.profile-name-section {
    margin-bottom: 30px;
}

.profile-display-name {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #ffffff 0%, #e4a101 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
}



.profile-username {
    font-size: 18px;
    color: #8899a6;
    margin: 0 0 4px 0;
}

.profile-title {
    font-size: 16px;
    color: #e4a101;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stats Row */
.profile-stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(228, 161, 1, 0.2);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 160px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(228, 161, 1, 0.1);
    border-color: rgba(228, 161, 1, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(228, 161, 1, 0.2);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e4a101 0%, #f7931e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: #8899a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Action Buttons */
.profile-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.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;
}

.btn:hover::before {
    left: 100%;
}

.btn-follow-primary {
    background: linear-gradient(135deg, #e4a101 0%, #f7931e 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(228, 161, 1, 0.3);
}

.btn-follow-primary:hover {
    background: linear-gradient(135deg, #f7931e 0%, #e55a2b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(228, 161, 1, 0.4);
}

.btn-following {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-following:hover,
.btn-unfollow-hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3) !important;
}

.btn-message {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-message:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-edit-profile {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-share {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Profile Content Section */
.profile-content {
    padding: 40px 0 80px;
    background: #0d1117;
}

.profile-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Profile Cards */
.profile-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.profile-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(228, 161, 1, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title i {
    color: #e4a101;
    font-size: 20px;
}

/* Progress Ring */
.progress-ring-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.progress-ring {
    position: relative;
}

.progress-ring-svg {
    transform: rotate(-90deg);
}

.progress-ring-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.progress-ring-circle {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease-in-out;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-percentage {
    font-size: 24px;
    font-weight: 800;
    color: #e4a101;
    display: block;
}

.progress-label {
    font-size: 12px;
    color: #8899a6;
    text-transform: uppercase;
}

/* Gaming Stats Grid */
.gaming-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gaming-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.gaming-stat:hover {
    background: rgba(228, 161, 1, 0.1);
    border-color: rgba(228, 161, 1, 0.3);
}

.gaming-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
}

.gaming-stat-icon.collections {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gaming-stat-icon.costumes {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gaming-stat-icon.weapons {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gaming-stat-icon.bundle-tier {
    background: linear-gradient(135deg, #ffd700 0%, #f7931e 100%);
}

/* Dynamic bundle tier colors */
.gaming-stat-icon.bundle-tier.gold {
    background: linear-gradient(135deg, #ffd700 0%, #f7931e 100%);
}

.gaming-stat-icon.bundle-tier.silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #e5e5e5 100%);
}

.gaming-stat-icon.bundle-tier.bronze {
    background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
}

.gaming-stat-icon.bundle-tier.basic {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
}

.gaming-stat-info {
    display: flex;
    flex-direction: column;
}

.gaming-stat-number {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.gaming-stat-label {
    font-size: 11px;
    color: #8899a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Member Info */
.member-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.member-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.member-detail:last-child {
    border-bottom: none;
}

.detail-label {
    color: #8899a6;
    font-size: 14px;
}

.detail-value {
    color: #ffffff;
    font-weight: 600;
}

.elite-text {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Activity Timeline */
.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ffffff;
}

.activity-icon.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.activity-icon.primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.activity-content {
    display: flex;
    flex-direction: column;
}

.activity-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}

.activity-date {
    color: #8899a6;
    font-size: 12px;
    margin-top: 2px;
}

/* Collections & Costumes Grid */
.card-header-with-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.view-all-link {
    color: #e4a101;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #f7931e;
}

.collections-grid,
.costumes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.collection-item,
.costume-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.collection-item:hover,
.costume-item:hover {
    background: rgba(228, 161, 1, 0.1);
    border-color: rgba(228, 161, 1, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(228, 161, 1, 0.2);
}

.collection-image,
.costume-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.collection-image img,
.costume-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collection-item:hover .collection-image img,
.costume-item:hover .costume-image img {
    transform: scale(1.1);
}

.collection-info,
.costume-info {
    padding: 12px;
}

.collection-name,
.costume-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    display: block;
    text-align: center;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 40px;
}

.empty-state-icon {
    font-size: 64px;
    color: #8899a6;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.empty-state-description {
    color: #8899a6;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes elite-shine {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes elite-border {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}



/* Responsive Design */
@media (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .profile-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .profile-stats-row {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .profile-hero {
        padding: 100px 0 60px;
    }
    
    .profile-display-name {
        font-size: 28px;
    }
    
    .profile-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-card {
        min-width: auto;
    }
    
    .gaming-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .collections-grid,
    .costumes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .profile-hero-content {
        padding: 0 15px;
    }
    
    .profile-avatar-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .profile-display-name {
        font-size: 24px;
    }
    
    .profile-stats-row {
        grid-template-columns: 1fr;
    }
    
    .profile-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
    }
}

/* SVG Gradient Definition */
svg defs {
    display: none;
}

/* Add gradient definition for progress ring */
.progress-ring-svg::before {
    content: '<defs><linearGradient id="progressGradient" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" style="stop-color:#e4a101;stop-opacity:1" /><stop offset="100%" style="stop-color:#f7931e;stop-opacity:1" /></linearGradient></defs>';
}