* { margin: 0; padding: 0; box-sizing: border-box; }

body { background-color: #fcfcfc; color: #171718; font-family: 'Arial Black', 'Impact', 'Montserrat', sans-serif; font-weight: 900; min-height: 100vh; overflow-x: hidden; display: flex; flex-direction: column; }

.svg-icon { display: inline-block; background-color: currentColor; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }

.icon-menu { width: 24px; height: 24px; -webkit-mask-image: url('icons/menu.svg'); mask-image: url('icons/menu.svg'); }
.icon-search { width: 24px; height: 24px; -webkit-mask-image: url('icons/magnify.svg'); mask-image: url('icons/magnify.svg'); }
.icon-arrow-up { width: 30px; height: 30px; -webkit-mask-image: url('icons/arrow-up-drop-circle.svg'); mask-image: url('icons/arrow-up-drop-circle.svg'); }
.icon-social { width: 24px; height: 24px; }
.icon-x { -webkit-mask-image: url('icons/x.svg'); mask-image: url('icons/x.svg'); }
.icon-ig { -webkit-mask-image: url('icons/instagram.svg'); mask-image: url('icons/instagram.svg'); }
.icon-email { -webkit-mask-image: url('icons/email-outline.svg'); mask-image: url('icons/email-outline.svg'); }
.icon-soccer-field { width: 24px; height: 24px; -webkit-mask-image: url('icons/soccer-field.svg'); mask-image: url('icons/soccer-field.svg'); }
.icon-check { width: 24px; height: 24px; -webkit-mask-image: url('icons/check-decagram-outline.svg'); mask-image: url('icons/check-decagram-outline.svg'); }
.icon-close { width: 24px; height: 24px; -webkit-mask-image: url('icons/close-circle-outline.svg'); mask-image: url('icons/close-circle-outline.svg'); }
.icon-soccer { width: 24px; height: 24px; -webkit-mask-image: url('icons/soccer.svg'); mask-image: url('icons/soccer.svg'); }
.icon-arrow-up-box { width: 30px; height: 30px; -webkit-mask-image: url('icons/arrow-up-box.svg'); mask-image: url('icons/arrow-up-box.svg'); }
.icon-minus-box { width: 30px; height: 30px; -webkit-mask-image: url('icons/minus-box.svg'); mask-image: url('icons/minus-box.svg'); }
.icon-arrow-down-box { width: 30px; height: 30px; -webkit-mask-image: url('icons/arrow-down-box.svg'); mask-image: url('icons/arrow-down-box.svg'); }
.icon-equal-box { width: 30px; height: 30px; -webkit-mask-image: url('icons/equal-box.svg'); mask-image: url('icons/equal-box.svg'); }
.icon-airplane { width: 24px; height: 24px; -webkit-mask-image: url('icons/airplane.svg'); mask-image: url('icons/airplane.svg'); }
.icon-home { width: 24px; height: 24px; -webkit-mask-image: url('icons/home.svg'); mask-image: url('icons/home.svg'); }
.icon-hand-clap { width: 24px; height: 24px; -webkit-mask-image: url('icons/hand-clap.svg'); mask-image: url('icons/hand-clap.svg'); }
.icon-penalty { width: 24px; height: 24px; -webkit-mask-image: url('icons/alpha-p-circle-outline.svg'); mask-image: url('icons/alpha-p-circle-outline.svg'); }
.icon-clock { width: 24px; height: 24px; -webkit-mask-image: url('icons/clock-outline.svg'); mask-image: url('icons/clock-outline.svg'); }
.icon-medal { width: 24px; height: 24px; -webkit-mask-image: url('icons/medal.svg'); mask-image: url('icons/medal.svg'); }
.icon-shield-check { width: 24px; height: 24px; -webkit-mask-image: url('icons/shield-check.svg'); mask-image: url('icons/shield-check.svg'); }
.icon-star-shooting { width: 24px; height: 24px; -webkit-mask-image: url('icons/star-shooting-outline.svg'); mask-image: url('icons/star-shooting-outline.svg'); }
.icon-pan-down { width: 24px; height: 24px; -webkit-mask-image: url('icons/pan-down.svg'); mask-image: url('icons/pan-down.svg'); }
.icon-pan-up { width: 24px; height: 24px; -webkit-mask-image: url('icons/pan-up.svg'); mask-image: url('icons/pan-up.svg'); }
.icon-arrow-top-right { width: 24px; height: 24px; -webkit-mask-image: url('icons/arrow-top-right-thick.svg'); mask-image: url('icons/arrow-top-right-thick.svg'); }

.flag-img { width: 24px; height: 16px; object-fit: cover; margin-right: 10px; border: 1px solid #171718; border-radius: 2px; }

.navbar { background-color: #171718; display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; position: sticky; top: 0; z-index: 1000; border-bottom: 5px solid #348d8b; transition: transform 0.3s ease-in-out; }
.nav-side { flex: 1; display: flex; align-items: center; }
.nav-center { color: #fcfcfc; font-size: 1.5rem; letter-spacing: 2px; text-align: center; transition: color 0.2s; }
.nav-center:hover { color: #e33046; }

button { font-family: 'Arial Black', sans-serif; font-weight: 900; cursor: pointer; border: none; }

.hamburger-btn { display: flex; justify-content: center; align-items: center; background-color: #348d8b; color: #fcfcfc; padding: 8px 12px; border: 2px solid #fcfcfc; transition: background-color 0.2s; }
.hamburger-btn:hover { background-color: #e33046; }

.dropdown-menu { position: fixed; top: 68px; left: -350px; width: 300px; height: calc(100vh - 68px); background-color: #171718; border-right: 5px solid #348d8b; transition: left 0.3s ease-in-out; z-index: 999; display: flex; flex-direction: column; padding: 20px 0; }
.dropdown-menu.active { left: 0; }
.dropdown-menu a { color: #fcfcfc; text-decoration: none; padding: 20px 30px; font-size: 1.2rem; border-bottom: 1px solid #348d8b; transition: background-color 0.2s, color 0.2s; }
.dropdown-menu a:hover { background-color: #e33046; color: #171718; }

.main-header { text-align: center; padding: 40px 20px; }
.main-header h1 { font-size: 5rem; color: #203837; text-transform: uppercase; letter-spacing: -2px; line-height: 1; }

.view-section { display: none; flex: 1; }
.view-section.active { display: block; }

.search-section { max-width: 1200px; margin: 0 auto 40px auto; padding: 0 20px; }
.search-container { display: flex; width: 100%; border: 4px solid #171718; }
.search-container input { flex: 1; background-color: #fcfcfc; border: none; padding: 15px; font-family: 'Arial Black', sans-serif; font-size: 1.1rem; color: #171718; outline: none; }
.search-container button { display: flex; justify-content: center; align-items: center; background-color: #e33046; color: #fcfcfc; padding: 0 25px; transition: background-color 0.2s; }
.search-container button:hover { background-color: #348d8b; }

.layout-container { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px 20px; }
.recent-posts h2 { font-size: 2.2rem; color: #203837; margin-bottom: 30px; border-left: 8px solid #e33046; padding-left: 15px; }

.posts-list { display: flex; flex-direction: column; gap: 30px; }
.post-card { display: flex; background-color: #fcfcfc; border: 4px solid #171718; min-height: 200px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; }
.post-card:hover { transform: translateY(-5px); box-shadow: 8px 8px 0px #348d8b; }

.card-img-container { width: 300px; background-color: #171718; border-right: 4px solid #171718; position: relative; }
.card-img-container img { width: 100%; height: 100%; object-fit: cover; }
.pin-label { position: absolute; top: 10px; left: 10px; background-color: #171718; color: #fcfcfc; padding: 5px 10px; font-size: 0.8rem; font-family: 'Arial Black', sans-serif; display: flex; align-items: center; gap: 5px; border: 2px solid #e33046; z-index: 10; }

.card-main-content { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.card-title { font-size: 2rem; color: #203837; margin-bottom: 15px; line-height: 1.1; }
.card-desc { font-family: sans-serif; font-weight: normal; font-size: 1.1rem; line-height: 1.5; color: #171718; }

.card-side-info { width: 250px; background-color: #171718; border-left: 4px solid #171718; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px; }
.card-id { font-size: 3.5rem; color: #e33046; line-height: 1; margin-bottom: 20px; text-align: center; }
.card-date-block { display: flex; align-items: center; width: 100%; margin-bottom: 8px; justify-content: flex-start; }
.card-date { color: #fcfcfc; font-size: 0.85rem; letter-spacing: 1px; }

.post-layout-container { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px 20px; }
.post-header-full { margin-bottom: 40px; position: relative; }
.post-header-info { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; background-color: #171718; padding: 10px 20px; border: 4px solid #171718; }

#single-post-id { font-size: 3rem; color: #e33046; line-height: 1; }
#single-post-date { font-size: 1rem; color: #fcfcfc; border-left: 4px solid #fcfcfc; padding-left: 15px; display: flex; gap: 20px; align-items: center; }
#single-post-date span { display: flex; align-items: center; }
#single-post-title { font-size: 3.5rem; color: #203837; margin-bottom: 30px; line-height: 1.1; text-transform: uppercase; }

.single-post-image { width: 100%; height: auto; background-color: transparent; position: relative; margin-bottom: 0; display: block; }
.single-post-image img { width: 100%; height: 500px; object-fit: cover; display: block; background-color: #171718; border: 6px solid #e33046; margin-bottom: 0 !important; }
.single-post-image .no-media { width: 100%; height: 500px; display: flex; align-items: center; justify-content: center; color: #e33046; font-size: 2rem; letter-spacing: 2px; background-color: #171718; border: 6px solid #e33046; }

.body-image-wrapper { width: 100%; margin-bottom: 0; display: block; }
.body-image-wrapper img { margin-bottom: 0 !important; width: 100%; border: 4px solid #171718; display: block; }
.image-credit { font-family: Arial, sans-serif !important; font-weight: normal !important; font-size: 16px !important; color: #71717a !important; text-align: right !important; margin-top: 2px !important; margin-bottom: 40px !important; line-height: 1.2 !important; text-transform: none !important; letter-spacing: normal !important; display: block !important; }

.post-body-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: start; }
.single-post-body { font-family: sans-serif; font-weight: normal; font-size: 1.2rem; line-height: 1.8; color: #171718; }
.single-post-body p { margin-top: 0; margin-bottom: 20px; }
.single-post-body h3 { color: #348d8b; font-size: 1.8rem; margin-top: 40px; margin-bottom: 20px; text-transform: uppercase; border-left: 8px solid #171718; padding-left: 15px; font-family: 'Arial Black', sans-serif; font-weight: 900; }

.page-body { font-family: sans-serif; font-weight: normal; font-size: 1.2rem; line-height: 1.8; color: #171718; white-space: pre-wrap; }
.page-layout-container { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px 20px; }
#page-title { font-size: 4rem; color: #203837; margin-bottom: 40px; text-transform: uppercase; border-bottom: 8px solid #171718; padding-bottom: 10px; }

.dashboard-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.dash-panel { background-color: #fcfcfc; border: 4px solid #171718; padding: 20px; box-shadow: 6px 6px 0px #348d8b; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 100%; }

.grid-span-6 { grid-column: span 6; }
.grid-span-4 { grid-column: span 4; }
.grid-span-3 { grid-column: span 3; }
.grid-span-2 { grid-column: span 2; }
.grid-span-1 { grid-column: span 1; }

.dash-header-panel { flex-direction: row; justify-content: flex-start; gap: 30px; text-align: left; }
.dash-logo img { width: 120px; height: 120px; object-fit: contain; }
.dash-title h1 { font-size: 3rem; color: #203837; text-transform: uppercase; letter-spacing: -1px; line-height: 1; margin: 0;}

.pos-panel { border-color: #e33046; box-shadow: 6px 6px 0px #e33046; }
.pos-value-container { display: flex; align-items: center; justify-content: center; margin-top: 5px; }
.stat-card-title { font-family: sans-serif; font-size: 1.1rem; color: #171718; font-weight: bold; text-transform: uppercase; }
.stat-card-value { font-size: 3.5rem; color: #203837; line-height: 1; margin-top: 10px; display: flex; align-items: center; justify-content: center; }
.color-green { color: #348d8b; }
.color-red { color: #e33046; }

.form-section { flex-direction: row; justify-content: space-between; border-color: #e33046; box-shadow: 6px 6px 0px #e33046; }
.form-section h3 { font-size: 1.8rem; color: #203837; text-transform: uppercase;}
.form-boxes-container { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center;}
.form-box { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; color: #fcfcfc; font-size: 1.5rem; cursor: pointer; border: 3px solid #171718; }
.bg-green { background-color: #348d8b; }
.bg-red { background-color: #e33046; }
.bg-dark { background-color: #171718; }

.match-panel { justify-content: flex-start; position: relative; }
.match-label { background-color: #171718; color: #fcfcfc; padding: 5px 20px; font-size: 1rem; margin-bottom: 20px; letter-spacing: 1px; width: 100%;}
.match-competicion { font-size: 1rem; color: #171718; text-transform: uppercase; margin-bottom: 10px; font-family: sans-serif; font-weight: bold; text-align: center; }
.match-logo { width: 120px; height: 120px; margin-bottom: 20px; }
.match-logo img { width: 100%; height: 100%; object-fit: contain; }
.match-no-logo { width: 100%; height: 100%; background-color: #171718; color: #e33046; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; text-align: center; }
.match-rival { font-size: 1.8rem; color: #203837; margin-bottom: 10px; line-height: 1.2;}
.match-score { font-size: 3.5rem; color: #e33046; font-weight: 900; margin-bottom: 15px; line-height: 1; }
.match-corner-icons { position: absolute; top: 55px; right: 20px; display: flex; flex-direction: row; align-items: center; gap: 8px; }

.sidebar-block { background-color: #171718; border: 4px solid #e33046; padding: 15px; }
.sidebar-block h3 { color: #fcfcfc; font-size: 1.5rem; margin-bottom: 15px; text-align: center; border-bottom: 2px solid #348d8b; padding-bottom: 10px; }
.year-btn { width: 100%; background-color: #348d8b; color: #fcfcfc; padding: 12px; font-size: 1.1rem; text-align: left; margin-bottom: 5px; transition: background-color 0.2s; display: flex; justify-content: space-between; }
.year-btn:hover { background-color: #e33046; }
.history-content { display: none; background-color: #fcfcfc; padding: 10px; margin-bottom: 10px; border: 2px solid #171718;}
.history-content.active { display: block; }
.history-item { display: block; text-decoration: none; color: #171718; padding: 8px; border-bottom: 2px solid #171718; font-family: sans-serif; font-weight: bold; font-size: 0.9rem; transition: background-color 0.2s, color 0.2s; }
.history-item:hover { background-color: #e33046; color: #fcfcfc; }
.history-item span { color: #e33046; font-family: 'Arial Black', sans-serif; margin-right: 5px; }
.history-item:hover span { color: #fcfcfc; }

.player-panel { position: relative; padding: 20px; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fcfcfc; transition: .25s; overflow: hidden; }
.player-panel:hover { transform: translateY(-5px); box-shadow: 8px 8px 0 #e33046; }
.player-section-subtitle { font-size: 1rem; letter-spacing: 1px; background: #171718; color: #fcfcfc; padding: 6px 15px; display: block; width: 100%; text-align: left; margin-top: 0; margin-bottom: 15px; text-transform: uppercase; box-sizing: border-box; }
.player-badges-container { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; width: 100%; margin-bottom: -10px; }
.player-badge-row { display: flex; align-items: center; justify-content: flex-start; gap: 8px; font-family: 'Arial Black', sans-serif; font-weight: 900; font-size: 1rem; line-height: 1; }
.shirt-icon { width: 18px; height: 18px; background-color: #e33046; -webkit-mask-image: url('icons/tshirt-crew.svg'); mask-image: url('icons/tshirt-crew.svg'); }
.shirt-number { color: #171718; }
.motm-icon { width: 18px; height: 18px; color: #b8860b; }
.motm-number { color: #171718; }
.player-photo { width: 250px; height: 250px; margin: 0 0 10px 0; align-self: center; }
.player-photo img { width: 100%; height: 100%; object-fit: contain; }
.player-name-container { display: flex; align-items: center; justify-content: center; align-self: center; gap: 8px; margin-bottom: 15px; flex-wrap: wrap; }
.player-flag { width: 24px; height: 16px; object-fit: cover; border: 2px solid #171718; border-radius: 2px; }
.player-name { font-size: 1.4rem; text-transform: uppercase; line-height: 1.2; font-family: 'Arial Black', sans-serif; }
.player-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(65px, 1fr)); gap: 10px; width: 100%; margin-top: 10px; }
.player-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #171718; border: 2px solid #348d8b; padding: 10px; min-height: 75px; transition: .25s; }
.player-stat:hover { transform: scale(1.05); border-color: #e33046; }
.player-stat .svg-icon { width: 24px; height: 24px; color: #fcfcfc; }
.player-green { color: #348d8b !important; }
.player-red { color: #e33046 !important; }
.player-white { color: #fcfcfc !important; }
.stat-cyclable { cursor: pointer; user-select: none; }
.player-stat-val { font-size: 1rem; color: #fff; margin-top: 6px; font-family: 'Arial Black', sans-serif; }
.player-section-title { margin-top: 50px; margin-bottom: 20px; font-size: 2rem; color: #203837; border-left: 8px solid #e33046; padding-left: 15px; grid-column: 1 / -1; text-transform: uppercase; text-align: left; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; padding: 20px 0; }
.gallery-card { display: flex; flex-direction: column; background-color: #fcfcfc; border: 4px solid #171718; transition: transform 0.2s, box-shadow 0.2s; }
.gallery-card:hover { transform: translateY(-5px); box-shadow: 8px 8px 0px #e33046; }
.gallery-img-container { position: relative; width: 100%; height: 200px; background-color: #171718; overflow: hidden; border-bottom: 4px solid #171718; }
.gallery-img-container img { width: 100%; height: 100%; object-fit: cover; }
.gallery-btn { position: absolute; bottom: 10px; right: 10px; background-color: #171718; color: #fcfcfc; padding: 8px 12px; text-decoration: none; font-size: 0.8rem; display: flex; align-items: center; gap: 5px; border: 2px solid #fcfcfc; transition: background-color 0.15s, transform 0.1s; }
.gallery-btn:hover { background-color: #348d8b; transform: scale(1.03); }
.gallery-content { display: flex; flex-direction: column; padding: 15px; gap: 10px; flex: 1; }
.gallery-card-title { font-size: 1.3rem; color: #171718; line-height: 1.2; margin: 0; font-weight: 900; text-transform: uppercase; }
.gallery-site-name { font-family: sans-serif; font-weight: bold; font-size: 0.95rem; color: #71717a; }
.gallery-badge-container { display: flex; margin-top: auto; }
.badge-interview { background-color: #171718; color: #b8860b; border: 2px solid #b8860b; padding: 4px 10px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; display: inline-block; }
.badge-default { background-color: #348d8b; color: #fcfcfc; padding: 6px 12px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; display: inline-block; }
.no-media { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fcfcfc; font-size: 1rem; }

.main-footer { background-color: #171718; color: #fcfcfc; display: flex; flex-direction: column; align-items: flex-end; text-align: right; padding: 30px 40px; border-top: 5px solid #348d8b; margin-top: auto; gap: 15px; }
.footer-brand { font-size: 1.5rem; font-family: 'Arial Black', sans-serif; font-weight: 900; color: #fcfcfc; text-decoration: none; letter-spacing: 2px; transition: color 0.2s; }
.footer-brand:hover { color: #e33046; }
.footer-author { font-family: sans-serif; font-size: 0.8rem; color: #71717a; font-weight: normal; margin: 0 0 5px 0; }
.footer-social-wrapper { display: flex; justify-content: flex-end; gap: 15px; margin-bottom: 5px; }
.social-btn { display: flex; justify-content: center; align-items: center; width: 45px; height: 45px; background-color: #171718; color: #fcfcfc; text-decoration: none; border: 2px solid #348d8b; transition: background-color 0.2s, color 0.2s, transform 0.2s; }
.social-btn:hover { background-color: #e33046; border-color: #e33046; color: #171718; transform: translateY(-3px); }
.terms-trigger-btn { background: transparent; border: 2px solid #348d8b; color: #fcfcfc; padding: 10px 20px; font-size: 0.85rem; text-transform: uppercase; cursor: pointer; transition: background-color 0.2s, color 0.2s, transform 0.1s; }
.terms-trigger-btn:hover { background-color: #348d8b; color: #171718; transform: scale(1.02); }

.terms-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); display: none; justify-content: center; align-items: center; z-index: 2500; padding: 20px; }
.terms-overlay.active { display: flex; }
.terms-popup { background: #fcfcfc; border: 4px solid #171718; width: 100%; max-width: 800px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 8px 8px 0px #348d8b; }
.terms-header { background: #171718; color: #fcfcfc; padding: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 1.5rem; letter-spacing: 1px; }
.terms-close { background: none; border: none; color: #e33046; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.terms-close .svg-icon { width: 30px; height: 30px; }
.terms-body { padding: 30px; overflow-y: auto; font-family: sans-serif; font-weight: normal; font-size: 1.1rem; color: #171718; line-height: 1.6; text-align: left; }
.terms-body::-webkit-scrollbar { width: 10px; }
.terms-body::-webkit-scrollbar-track { background: #fcfcfc; border-left: 2px solid #171718; }
.terms-body::-webkit-scrollbar-thumb { background: #348d8b; border: 2px solid #171718; }
.terms-body h3 { font-family: 'Arial Black', sans-serif; font-weight: 900; font-size: 1.4rem; color: #203837; margin: 35px 0 15px 0; text-transform: uppercase; border-left: 6px solid #e33046; padding-left: 15px; }
.terms-body h3:first-child { margin-top: 0; }
.terms-body p { margin-bottom: 15px; }
.terms-body ul { padding-left: 25px; margin-bottom: 20px; }
.terms-body li { margin-bottom: 8px; }
.terms-body a { color: #e33046; text-decoration: none; font-weight: bold; transition: color 0.2s; }
.terms-body a:hover { color: #348d8b; text-decoration: underline; }
.terms-body .update-date { font-size: 0.9rem; color: #71717a; margin-bottom: 30px; font-weight: bold; text-align: right; font-family: 'Arial Black', sans-serif; text-transform: uppercase; border-bottom: 4px solid #171718; padding-bottom: 10px; }

.scroll-to-top { position: fixed; bottom: 25px; left: 25px; width: 60px; height: 60px; background-color: #348d8b; color: #fcfcfc; border: 3px solid #171718; border-radius: 50%; cursor: pointer; display: flex; justify-content: center; align-items: center; z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s, background-color 0.2s, transform 0.2s; box-shadow: 4px 4px 0px #171718; }
.scroll-to-top.show { opacity: 1; visibility: visible; }
.scroll-to-top:hover { background-color: #e33046; transform: translateY(-5px); }

.mini-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); display: none; justify-content: center; align-items: center; z-index: 2000; }
.mini-overlay.active { display: flex; }
.mini-popup { background: #fcfcfc; border: 4px solid #171718; padding: 30px; width: 90%; max-width: 400px; text-align: center; position: relative; box-shadow: 8px 8px 0px #e33046; }
.mini-popup-header { border-bottom: 4px solid #171718; padding-bottom: 15px; margin-bottom: 20px; font-size: 1.2rem; color: #171718; display: flex; justify-content: space-between; align-items: center; }
.mini-popup-close { background: none; border: none; font-size: 1.5rem; color: #e33046; cursor: pointer; font-family: 'Arial Black', sans-serif; font-weight: 900; }

@media (min-width:1400px){
    .layout-container, .post-layout-container{ max-width:1400px; }
    .card-img-container{ width:350px; }
    .card-title{ font-size:2.3rem; }
    .single-post-image img{ height:650px; }
    .post-body-layout{ grid-template-columns:1fr 320px; }
}

@media (max-width:1100px){
    .card-img-container{ width:240px; }
    .card-side-info{ width:220px; padding:15px; }
    .card-id{ font-size:2.8rem; }
    .card-title{ font-size:1.7rem; }
    #single-post-title{ font-size:3rem; }
    .single-post-image img{ height:400px; }
}

@media (max-width:900px){
    .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-span-6, .grid-span-4, .grid-span-3 { grid-column: span 2; }
    .grid-span-2 { grid-column: span 1; }
    .form-section { flex-direction: column; gap: 20px; }
    .post-body-layout { grid-template-columns: 1fr; }
    .sidebar-block { position: static; }
    .post-card { flex-direction: column; }
    .card-img-container { width: 100%; height: 250px; border-right: none; border-bottom: 4px solid #171718; }
    .card-side-info { width: 100%; border-left: none; border-top: 4px solid #171718; flex-direction: column; align-items: flex-start; justify-content: center; padding: 15px; }
    .card-id { margin-bottom: 10px; font-size: 2.5rem; text-align: left; width: 100%; display: block; }
    .card-date-block { justify-content: flex-start; width: 100%; }
    .single-post-image img { height: 300px; }
    #single-post-title { font-size: 2.5rem; }
    #single-post-date { flex-direction: column; align-items: flex-start; gap: 5px; border-left: none; padding-left: 0; }
    .main-footer { align-items: center; text-align: center; padding: 30px 20px; }
    .footer-social-wrapper { justify-content: center; }
    .terms-header { font-size: 1.2rem; padding: 15px; }
    .terms-body { padding: 20px; font-size: 1rem; }
    .terms-body h3 { font-size: 1.2rem; }
}

@media (max-width:600px){
    .dashboard-grid { grid-template-columns: 1fr; }
    .grid-span-6, .grid-span-4, .grid-span-3, .grid-span-2 { grid-column: span 1; }
    .dash-header-panel { flex-direction: column; text-align: center; }
    .navbar { padding: 12px 15px; }
    .nav-center { font-size: 1rem; }
    .hamburger-btn { padding: 8px 12px; }
    .dropdown-menu { width: 100%; left: -100%; }
    .search-container { flex-direction: row; }
    .search-container input { flex: 1; width: auto; font-size: .9rem; padding: 15px; }
    .search-container button { width: 60px; padding: 0; display: flex; align-items: center; justify-content: center; }
    .recent-posts h2 { font-size: 1.5rem; }
    .card-main-content { padding: 15px; }
    .card-title { font-size: 1.3rem; }
    .card-desc { font-size: .95rem; }
    .card-date { font-size: .75rem; }
    .scroll-to-top { width: 45px; height: 45px; left: 15px; bottom: 15px; }
    .dash-title h1 { font-size: 2.2rem; }
    .player-photo { width: 240px; height: 240px; }
}

@media (max-width:380px){
    .card-title{ font-size:1.1rem; }
    .card-id{ font-size:1.5rem; }
    .player-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.icon-share-all { width: 24px; height: 24px; -webkit-mask-image: url('icons/share-all.svg'); mask-image: url('icons/share-all.svg'); }

.share-button-container {
    display: flex;
    justify-content: flex-start;
    margin: 30px 0;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #171718;
    color: #fcfcfc;
    border: 2px solid #e33046;
    padding: 12px 24px;
    font-family: 'Arial Black', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn .svg-icon {
    width: 20px;
    height: 20px;
    background-color: #e33046;
    transition: background-color 0.2s ease;
}

.share-btn:hover .svg-icon {
    background-color: #171718;
}

.share-btn:hover {
    background-color: #e33046;
    color: #171718;
}