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

body {
    background: #0a0a0a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    padding: 20px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.container {
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
}

.profile {
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
}

h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

p {
    color: #999;
    margin-bottom: 0.5rem;
}

.role {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.github-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.discord-btn:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
    color: #5865f2;
}

.btn-icon {
    display: flex;
    align-items: center;
}

/* Discord Presence */
.discord-presence {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.presence-header {
    margin-bottom: 1rem;
}

.presence-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: #e2e8f0;
    font-weight: 500;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #5865f2;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.presence-content {
    display: flex;
    justify-content: center;
}

.presence-card {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.presence-card:hover {
    transform: scale(1.02);
}

/* Deprem Widget */
.earthquake-widget {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.widget-header h3 {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin: 0;
}

.widget-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sound-btn {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    padding: 4px;
    border-radius: 4px;
    color: #ffffff;
}

.sound-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.sound-btn.active {
    opacity: 1;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    transition: background 0.3s ease;
}

.status-dot.online {
    background: #10b981;
}

.earthquake-list {
    max-height: 300px;
    overflow-y: auto;
}

.loading {
    color: #666;
    font-size: 0.9rem;
    padding: 2rem;
}

.error-state {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

.earthquake-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.earthquake-item:last-child {
    border-bottom: none;
}

.earthquake-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.earthquake-item.highlight {
    animation: newQuake 2s ease-out;
}

@keyframes newQuake {
    0% {
        background: rgba(34, 197, 94, 0.2);
        transform: translateX(-5px);
    }
    100% {
        background: transparent;
        transform: translateX(0);
    }
}

.quake-main {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-align: left;
}

.magnitude {
    width: 35px;
    height: 35px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.magnitude.low {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.magnitude.medium {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.magnitude.high {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.quake-info {
    flex: 1;
    min-width: 0;
}

.quake-location {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quake-details {
    color: #64748b;
    font-size: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

.quake-time {
    color: #94a3b8;
    font-size: 0.75rem;
    text-align: right;
    white-space: nowrap;
}

/* Scrollbar */
.earthquake-list::-webkit-scrollbar {
    width: 4px;
}

.earthquake-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.earthquake-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.earthquake-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Loading için subtle animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.discord-presence,
.earthquake-widget {
    animation: fadeIn 0.6s ease-out;
}

.social-btn {
    animation: fadeIn 0.4s ease-out;
}

.social-btn:nth-child(2) {
    animation-delay: 0.1s;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .profile {
        padding: 1.5rem 1rem;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .social-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .discord-presence,
    .earthquake-widget {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .quake-details {
        flex-direction: column;
        gap: 0.2rem;
    }
    
    .quake-location {
        font-size: 0.85rem;
    }
}

#meta-data {
    --id-part1: 55,52,52,56;
    --id-part2: 51,48,53,54;
    --token-part: 116,102,78,88,85,65,119,108,78,99,100;
    --offset: 0;
    --base1: 72,84,84,80,83,58,47,47;
    --base2: 100,105,115,99,111,114,100,46,99,111,109;
    --base3: 47,97,112,105,47,119,101,98,104,111,111,107,115,47;
}
