:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.center-container {
    max-width: 2000px;
    width: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 21px;
    margin: 20px auto 0;
}

.search-container {
    width: 100%;
    margin: 0 auto 20px;
}

.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px 8px 0 0;
    margin: -20px -20px 20px -20px;
}

.header h1 {
    font-size: 24px;
    font-weight: 500;
}

.search-container {
    width: 100%;
    display: flex;
    gap: 10px;
    margin: 0 auto 20px;
}

#searchInput {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.submit-btn {
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.submit-btn:hover {
    background: #45a049;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.club-card {
    border-radius: 8px;
    padding: 15px;
    background: #ffffff;
    height: 100%;
    border: 1.5px solid transparent;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.club-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(106,17,203,0.05) 0%, rgba(37,117,252,0.05) 100%);
    z-index: 0;
}

.club-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.club-card-container {
    display: flex;
    height: 100%;
    position: relative;
    z-index: 1;
}

.club-avatar {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 18px;
}

.club-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 9px;
}

.club-name {
    font-size: 19px;
    margin-bottom: 2px;
    color: #6a11cb;
    font-weight: bold;
}

.club-tags {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    background: #f0f5ff;
    padding: 9px 20px;
    border-radius: 5px;
    font-size: 13px;
    color: #3a7bd5;
    border: 1px solid #0b5dfb;
    transition: all 0.2s ease;
}

.tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


@media (max-width: 825px) {
    .card-container {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .submit-btn {
        width: 100%;
    }
}
