/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #4f81bd;
}

/* Layout */
.main-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    border-left: 1px solid #b7a688;
    border-right: 1px solid #b7a688;
    border-bottom: 1px solid #b7a688;
}

.banner img {
    display: block;
    width: 100%;
}

.content {
    padding: 20px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 12px;
    margin-bottom: 15px;
    color: #666;
}

.breadcrumb a {
    color: #4f81bd;
}

/* Page title */
.page-title {
    margin-bottom: 30px;
}

.page-title h1 {
    color: #4f81bd;
    font-size: 25px;
    font-weight: bold;
    line-height: 1.3;
}

/* Sports list */
.sports-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sport-item {
    display: flex;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.sport-icon {
    flex: 0 0 100px;
    margin-right: 20px;
}

.sport-icon img {
    width: 100px;
    height: 100px;
    border-radius: 10%;
    object-fit: cover;
}

.sport-details {
    flex: 1;
}

.sport-name {
    margin-bottom: 15px;
}

.sport-name a {
    font-size: 20px;
    font-weight: bold;
    color: #4f81bd;
}

.sport-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.action-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #4f81bd;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.action-button:hover {
    background-color: #3a6491;
    transform: translateY(-2px);
}

.no-sports {
    text-align: center;
    padding: 30px;
    font-size: 16px;
    color: #666;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .main-container {
        width: 100%;
        border: none;
    }
    
    .content {
        padding: 15px;
    }
    
    .sport-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 25px;
        margin-bottom: 25px;
    }
    
    /* Make image take full width of the screen */
    .sport-icon {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
        flex: 0 0 auto;
    }
    
    .sport-icon img {
        width: 100%;
        height: auto;
        max-height: 300px;
        border-radius: 8px;
        object-fit: contain;
    }
    
    .sport-actions {
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }
    
    .action-button {
        flex: 0 1 auto;
        min-width: 110px;
        margin: 5px;
        text-align: center;
    }
    
    .page-title h1 {
        font-size: 20px;
        text-align: center;
    }
    
    .breadcrumb {
        text-align: center;
    }
    
    .sport-name {
        width: 100%;
        text-align: center;
    }
}

/* Small mobile screens */
@media screen and (max-width: 480px) {
    .sport-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .action-button {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 100px;
    }
    
    /* Ensure image still takes full width */
    .sport-icon img {
        max-height: 250px;
    }
}

/* Very small screens */
@media screen and (max-width: 360px) {
    .sport-actions {
        gap: 5px;
    }
    
    .action-button {
        min-width: 90px;
        padding: 7px 10px;
        font-size: 12px;
    }
    
    .sport-icon img {
        max-height: 200px;
    }
}

/* Animation for sport items */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sport-item {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Apply staggered animation to sport items */
.sport-item:nth-child(1) { animation-delay: 0.1s; }
.sport-item:nth-child(2) { animation-delay: 0.2s; }
.sport-item:nth-child(3) { animation-delay: 0.3s; }
.sport-item:nth-child(4) { animation-delay: 0.4s; }
.sport-item:nth-child(5) { animation-delay: 0.5s; }
.sport-item:nth-child(6) { animation-delay: 0.6s; }
.sport-item:nth-child(7) { animation-delay: 0.7s; }
.sport-item:nth-child(8) { animation-delay: 0.8s; }
.sport-item:nth-child(9) { animation-delay: 0.9s; }
.sport-item:nth-child(10) { animation-delay: 1s; }
