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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 50%, #0d0d0d 100%);
    min-height: 100vh;
    color: #d0d0d0;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(60, 60, 70, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(50, 50, 60, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(40, 40, 50, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.crow-background {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    filter: blur(2px);
}

.crow-background img {
    width: 100%;
    height: 100%;
    fill: #2a2a2a;
}

.container {
    max-width: 1400px;
    width: 90vw;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    padding: 100px 20px 60px;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.crown-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #e8e8e8;
    margin-bottom: 10px;
    letter-spacing: clamp(3px, 1vw, 8px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #888888;
    margin-bottom: 30px;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9a9a9a;
}

.flag {
    width: 22px;
    height: 15px;
    background: linear-gradient(to bottom, #00458f 0%, #00458f 50%, #fff 50%, #fff 100%);
    border-radius: 2px;
}

.steam-link {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 35px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #3a3a3a;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    font-family: 'Georgia', serif;
}

.steam-link:hover {
    background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 80px 20px;
    flex-wrap: wrap;
}

.avatar-wrapper {
    position: relative;
    width: clamp(150px, 25vw, 220px);
    height: clamp(150px, 25vw, 220px);
}

.avatar-rim {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid;
    border-image: linear-gradient(135deg, #4a4a4a, #2a2a2a, #4a4a4a) 1;
    border-radius: 50%;
    animation: rim-glow 3s ease-in-out infinite;
}

@keyframes rim-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(60, 60, 60, 0.3); }
    50% { box-shadow: 0 0 30px rgba(70, 70, 70, 0.4); }
}

.avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: bold;
    color: #c0c0c0;
    border: 2px solid #3a3a3a;
}

.level-container {
    text-align: center;
}

.level-number {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #c0c0c0, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.level-label {
    font-size: 1.1rem;
    color: #6a6a6a;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 10px;
}

.stats-section {
    padding: clamp(40px, 8vw, 80px) 0;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: #e0e0e0;
    text-align: center;
    margin-bottom: clamp(30px, 6vw, 50px);
    letter-spacing: clamp(3px, 1vw, 6px);
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '◆';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #4a4a4a;
    font-size: 1rem;
}

.section-title::before {
    left: calc(50% - 80px);
}

.section-title::after {
    right: calc(50% - 80px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(15px, 3vw, 30px);
    justify-content: center;
    justify-items: center;
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

.stat-card {
    background: linear-gradient(135deg, rgba(35, 35, 35, 0.9), rgba(25, 25, 25, 0.8));
    border-radius: 12px;
    padding: clamp(25px, 4vw, 35px) clamp(15px, 3vw, 25px);
    text-align: center;
    border: 1px solid #3a3a3a;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: clamp(140px, 20vw, 180px);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: #4a4a4a;
}

.stat-icon {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 15px;
    opacity: 0.8;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #c0c0c0;
    margin-bottom: 8px;
}

.stat-label {
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    color: #6a6a6a;
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.3vw, 2px);
}

.games-section {
    padding: clamp(40px, 8vw, 80px) 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(15px, 3vw, 30px);
    justify-content: center;
    justify-items: center;
}

@media (max-width: 600px) {
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

.game-card {
    background: linear-gradient(135deg, rgba(35, 35, 35, 0.9), rgba(25, 25, 25, 0.8));
    border-radius: 12px;
    padding: clamp(30px, 5vw, 40px) clamp(20px, 4vw, 30px);
    border: 1px solid #3a3a3a;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    min-width: clamp(220px, 30vw, 280px);
    width: 100%;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4a4a4a, transparent);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: #4a4a4a;
}

.game-icon {
    width: clamp(50px, 8vw, 70px);
    height: clamp(50px, 8vw, 70px);
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
    border: 1px solid #4a4a4a;
}

.game-title {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: #e0e0e0;
    margin-bottom: 12px;
    font-weight: 600;
}

.game-desc {
    color: #888888;
    line-height: 1.6;
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    margin-bottom: 15px;
}

.game-badge {
    font-size: 0.9rem;
    color: #9a9a9a;
    font-style: italic;
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #3a3a3a;
}

.achievements-section {
    padding: clamp(40px, 8vw, 80px) 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: clamp(15px, 3vw, 25px);
    justify-content: center;
    justify-items: center;
}

@media (max-width: 600px) {
    .achievements-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

.achievement-card {
    background: linear-gradient(135deg, rgba(35, 35, 35, 0.95), rgba(25, 25, 25, 0.85));
    border-radius: 12px;
    padding: clamp(25px, 4vw, 35px) clamp(15px, 3vw, 25px);
    text-align: center;
    border: 1px solid #3a3a3a;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: clamp(160px, 25vw, 200px);
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: #4a4a4a;
}

.achievement-icon {
    width: clamp(60px, 10vw, 80px);
    height: clamp(60px, 10vw, 80px);
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    border: 1px solid #4a4a4a;
}

.achievement-name {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.achievement-percent {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 700;
    color: #ffffff;
    padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 20px);
    background: rgba(20, 20, 20, 0.9);
    border-radius: 8px;
    display: inline-block;
    border: 2px solid #4a4a4a;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

footer {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
    margin-top: 80px;
}

.footer-content {
    max-width: 500px;
    margin: 0 auto;
}

.feather-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    opacity: 0.6;
}

.footer-text {
    color: #888888;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
}

.footer-link {
    color: #888888;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #c0c0c0;
}

.feather {
    position: fixed;
    width: 20px;
    height: 30px;
    pointer-events: none;
    opacity: 0.4;
    animation: feather-float-fall 20s linear infinite;
    z-index: 0;
}

@keyframes feather-float-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95vw;
        padding: 0 15px;
    }
    
    .avatar-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .avatar {
        font-size: 2rem;
    }
    
    .hero {
        flex-direction: column;
        gap: 30px;
        padding: 40px 10px;
    }
    
    .section-title::before,
    .section-title::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        width: 98vw;
        padding: 0 10px;
    }
    
    .subtitle {
        flex-direction: column;
        gap: 8px;
    }
}