/* General styles for larger screens */
.content {
    width: 1400px;
    margin: auto;
    padding: 20px;
    margin-top: 20px;
    box-sizing: border-box;
}

body{
    font-family: 'Roboto Bold 700', sans-serif;
}
.player-content {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
}
.resume {

    margin-top: 10px;
}



.image-container {
    aspect-ratio: 3/4;
    max-width: 100%;
    max-height: 600px;
    position: relative;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom: 10px solid #E0A75E;
    cursor: pointer;
}

.grid-item:hover {
    filter: opacity(0.9);
    transform: scale(1.04);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
    padding: 20px;
    margin-bottom: 20px;
    grid-auto-flow: dense;
    box-sizing: border-box;
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    border-bottom: 10px solid #E0A75E;
}

.details-column {
    flex: 1.6;
    display: flex;
    margin-left: 30px;
    flex-direction: column;
    gap: 20px;
    align-self: flex-start;
}

.details p {
    color: #444444;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.details p i {
    margin-right: 10px;
}

.icon-gradient {
    display: inline-block;
    background: linear-gradient(45deg, #E0A75E, #973131);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5em;
}

h4 {
    color: #973131;
    text-align: center;
    font-size: 60px;
}

h3 {
    color: #973131;
    text-align: left;
    font-size: 30px;
}

.highlight {
    color: #E0A75E;
}

.tournaments-achievements-column {
    flex: 1.6;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.tournaments-achievements-column h3 {
    margin-top: 0;
}

.tournaments-list,
.achievements-list {
    list-style-type: none;
    padding: 0;
}

.tournaments-list li,
.achievements-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.tournaments-list li i,
.achievements-list li i {
    margin-right: 10px;
}

.tournaments-list li .icon-gradient i,
.achievements-list li .icon-gradient i {
    color: #973131;
    background: linear-gradient(45deg, #E0A75E, #973131);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    color: #973131;
    text-align: left;
    font-size: 60px;
}

.thumbnail {
    width: 150px;
    cursor: pointer;
}

.album {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 50px;
}

/* ===== MODAL STYLES (haber mantığıyla) ===== */
#myModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mySlides {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.mySlides img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    border: 4px solid white;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.close:hover {
    color: #ff5f5f;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    user-select: none;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Responsive styles */
@media screen and (max-width: 1024px) {
    .content {
        width: 90vw;
        height: auto;
        padding: 10px;
    }

    .player-content {
        flex-direction: column;
        align-items: center;
    }

    h2 {
        font-size: 48px;
    }
}

@media screen and (max-width: 768px) {
    .content {
        width: 95vw;
        padding: 10px;
    }

    .player-content {
        flex-direction: column;
        align-items: center;
    }

    h2 {
        font-size: 36px;
    }
}

@media screen and (max-width: 480px) {
    .content {
        width: 100%;
        padding: 5px;
    }

    .player-content {
        flex-direction: column;
        align-items: center;
    }

    h2 {
        font-size: 24px;
    }
}
