* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
}
body {
    background-color: #0b0b0b;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.site-content {
    flex: 1;
    width: 100%;
}
.main-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    width: 100%;
}
header {
    background-color: rgba(18, 18, 18, 0.95);
    border-bottom: 2px solid #8a2be2;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.2);
    width: 100%;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    width: 100%;
}

.logo-brand {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
}

.logo-brand span {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu li a {
    color: #aaaaaa;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding-bottom: 5px;
}

.nav-menu li a:hover, .nav-menu li a.active {
    color: #ffd700;
    border-bottom: 2px solid #ffd700;
}

.hero-banner {
    background: linear-gradient(135deg, rgba(11,11,11,0.9) 30%, rgba(138,43,226,0.3) 100%), url('https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=1200') no-repeat center center/cover;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 4px solid #ffd700;
    width: 100%;
    padding: 20px;
}

.hero-banner h2 {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 10px;
}

.hero-banner p {
    font-size: 14px;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    border-left: 5px solid #8a2be2;
    padding-left: 15px;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #ffffff;
}

.team-selection-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    width: 100%;
}

.team-selection-card {
    position: relative;
    width: 260px;
    height: 260px;
    background-color: #121212;
    border: 2px solid #222222;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.team-logo-fallback {
    font-size: 85px;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.team-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #1a0033 70%, rgba(138, 43, 226, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.35s ease-in-out;
    padding: 20px;
    text-align: center;
}

.team-selection-card:hover {
    border-color: #8a2be2;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.4);
}

.team-selection-card:hover .team-popup-overlay {
    opacity: 1;
    transform: translateY(0);
}

.popup-text-content h4 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.popup-text-content p {
    font-size: 11px;
    color: #ffd700;
    text-transform: uppercase;
}

.btn-back-selection {
    margin-top: 15px;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffd700;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-back-selection:hover {
    background-color: #ffd700;
    color: #111;
}

.roster-grid {
    display: block !important; 
    width: 100%;
}

.player-card {
    background-color: #121212;
    border: 1px solid #222222;
    border-radius: 12px;
    display: inline-block !important;
    vertical-align: top;
    width: 300px !important;   
    height: auto !important;   
    margin: 15px !important;   
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    text-align: left; 
}

.player-card:hover {
    transform: translateY(-8px);
    border-color: #8a2be2;
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.4);
}

.player-img-placeholder {
    width: 300px !important;   
    height: 300px !important; 
    background: linear-gradient(to bottom, #1f1f1f, #1a0033);
    position: relative;
    overflow: hidden;
    display: block !important;
}

.player-actual-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; 
    top: 0;
    left: 0;
    z-index: 1;
}

.card-bg-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    font-size: 70px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
}

.card-corner-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #8a2be2;
    color: #ffd700;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.6);
}

.player-info {
    padding: 20px;
    text-align: center;
    background-color: #121212;
    border-top: 1px solid #222;
    width: 100%;
}

.player-role {
    font-size: 11px;
    font-weight: 700;
    color: #8a2be2;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.player-nickname {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.player-realname {
    font-size: 13px;
    color: #777777;
    margin-bottom: 12px;
}

.player-meta {
    font-size: 11px;
    color: #ffd700;
    background-color: rgba(255, 215, 0, 0.1);
    padding: 5px 12px;
    border-radius: 4px;
    display: inline-block;
}

.achievement-section {
    margin-top: 70px;
    padding-top: 30px;
    border-top: 1px solid #222;
    width: 100%;
    text-align: left;
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.achievement-item {
    display: flex;
    align-items: center;
    background-color: #121212;
    border-left: 4px solid #ffd700;
    padding: 20px 25px;
    border-radius: 0 8px 8px 0;
}

.ach-year {
    font-size: 18px;
    font-weight: 800;
    color: #8a2be2;
    min-width: 60px;
}

.ach-divider {
    width: 2px;
    height: 25px;
    background-color: #333;
    margin: 0 20px;
}

.ach-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.box-panel {
    background-color: #121212;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
    width: 100%;
    overflow-x: auto;
}

.content-admin {
    max-width: 800px;
    margin: 40px auto;
    background-color: #121212;
    border: 1px solid #222;
    padding: 30px;
    border-radius: 8px;
    text-align: left;
}

.content-admin h2 {
    color: #ffd700;
    margin-bottom: 25px;
    text-transform: uppercase;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #222;
    color: #ffffff;
}

th {
    background-color: #1a0033;
    color: #ffd700;
}

.btn, input[type="submit"] {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    text-align: center;
}

input[type="submit"] {
    background-color: #8a2be2;
    color: #ffd700;
    width: 100%;
}

input[type="text"], input[type="password"], select, input[type="file"] {
    width: 100%;
    padding: 12px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    margin-top: 6px;
}

footer {
    background-color: #050505;
    color: #666666;
    text-align: center;
    padding: 25px;
    width: 100%;
    border-top: 1px solid #111;
    margin-top: auto;
}

table td div .btn {
    margin: 0 !important;
    width: 100%;
    text-align: center;
    letter-spacing: 0.5px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.2s ease-in-out;
}

table td div .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

table tbody tr td {
    vertical-align: middle !important;
}
table td div .btn {
    margin: 0 !important;
    width: 100%;
    text-align: center;
    letter-spacing: 0.5px;
    border-radius: 6px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: all 0.2s ease-in-out;
    display: inline-block;
    font-weight: 700;
}

table td div .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(138, 43, 226, 0.4);
}

table tbody tr td {
    vertical-align: middle !important;
}