* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #1a1a1a;
    min-height: 100vh;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 -20px 30px;
    padding: 20px;
    background: #000;
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

h1 {
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

a {
    color: yellow;
}

.made-by {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-left: 25px;
}

.search-container {
    position: relative;
    max-width: 400px;
    margin: 20px auto 0;
    width: 100%;
}

.search-box {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    background: rgba(40,40,40,0.9);
    color: #fff;
    outline: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.search-box::placeholder {
    color: rgba(255,255,255,0.6);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: rgba(255,255,255,0.7);
}

.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.back-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(-5px);
}

.heroes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.hero-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.hero-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.2);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.skins-panel {
    display: none;
}

.skins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.skin-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.skin-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
}

.skin-preview {
    width: 300px;
    height: 150px;
    border-radius: 12px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, #333, #555);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.skin-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.skin-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.skin-description {
    font-size: 14px;
    color: #ddd;
    margin-bottom: 20px;
}

.download-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border: none;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #45a049, #4CAF50);
}

.current-hero-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .header-left {
        flex-direction: column;
        gap: 10px;
    }

    h1 {
        font-size: 2rem;
    }

    .made-by {
        order: 1;
    }

    .search-container {
        margin: 0 auto;
    }

    .heroes-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .skins-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .back-btn {
        position: relative;
        margin-bottom: 20px;
        left: 0;
        top: 0;
    }
}

@media (max-width: 480px) {
    .heroes-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .hero-card {
        padding: 15px;
    }

    .hero-image {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .search-box {
        padding: 12px 45px 12px 15px;
        font-size: 14px;
    }
}