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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.profile-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-text {
    text-align: left;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Main Content */
main {
    padding: 60px 0;
}

section {
    margin-bottom: 80px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2c3e50;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Featured Games */
.featured-games {
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 15px;
    border: 2px solid #667eea;
}

.featured-title {
    text-align: center;
    color: #667eea;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.other-works-title {
    margin-bottom: 30px;
    color: #555;
    font-size: 1.3rem;
}

.featured-card {
    border: 3px solid #667eea;
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.2);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.3);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.game-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-content {
    padding: 20px;
}

.game-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #2c3e50;
}

.game-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.game-details {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-weight: 600;
    color: #667eea;
    font-size: 0.85rem;
    min-width: 60px;
}

.detail-value {
    color: #555;
    font-size: 0.85rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.game-card .year {
    display: inline-block;
    padding: 5px 15px;
    background: #667eea;
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
}

.achievement-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.badge-award {
    background: linear-gradient(135deg, #f7b733 0%, #fc4a1a 100%);
    color: white;
}

.badge-popular {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

/* Game Links */
.game-links {
    display: flex;
    gap: 10px;
}

.btn {
    flex: 1;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-trailer {
    background: #ff4757;
    color: white;
}

.btn-trailer:hover {
    background: #ee3344;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 71, 87, 0.3);
}

.btn-play {
    background: #667eea;
    color: white;
}

.btn-play:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Achievements */
.achievements-list {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.achievement-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.achievement-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.achievement-year {
    font-weight: bold;
    color: #667eea;
    font-size: 1.1rem;
    min-width: 90px;
}

.achievement-text {
    color: #555;
    font-size: 1rem;
}

.achievement-link {
    padding: 8px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.achievement-link:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

footer p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        gap: 20px;
    }

    .profile-info {
        align-items: center;
    }

    .profile-text {
        text-align: center;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .social-links {
        justify-content: center;
    }

    header h1 {
        font-size: 2rem;
    }

    header .subtitle {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .achievement-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .achievement-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .achievement-year {
        min-width: auto;
    }

    .achievement-link {
        align-self: stretch;
        text-align: center;
    }
}
