Kullanıcı:Admin/Vector-2022.css: Revizyonlar arasındaki fark

FM Wiki sitesinden
Gezinti kısmına atla Arama kısmına atla
FM oyuncuları için oyun arayüzü temalı koyu tema - yeşil ve mavi renkler, panel stilleri, hover efektleri
 
Değişiklik özeti yok
 
(Aynı kullanıcının aradaki diğer 2 değişikliği gösterilmiyor)
1. satır: 1. satır:
/* Football Manager Wiki - FM Oyuncuları İçin Tema */
/* ============================
  FOOTBALL MANAGER WIKI
  Modern Professional Theme
  Premium Dark Mode with Football Green
============================ */
 
/* ============================
  REFINED COLOR PALETTE
============================ */
:root {
    /* Background layers - sophisticated charcoal tones */
    --bg-base: #0d1117;
    --bg-surface: #161b22;
    --bg-elevated: #1f2937;
    --bg-elevated-hover: #28323f;
    --bg-overlay: #242c38;
   
    /* Football green - vibrant yet professional */
    --green-primary: #00d26a;
    --green-bright: #00ff88;
    --green-dark: #00a855;
    --green-muted: #00664d;
    --green-glow: rgba(0, 210, 106, 0.2);
    --green-subtle: rgba(0, 210, 106, 0.1);
   
    /* Accent colors */
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-amber: #fbbf24;
    --accent-red: #ef4444;
   
    /* Text hierarchy */
    --text-primary: #f0f6fc;
    --text-secondary: #c9d1d9;
    --text-tertiary: #8b949e;
    --text-muted: #6e7681;
   
    /* Borders */
    --border-primary: rgba(255, 255, 255, 0.12);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(0, 210, 106, 0.3);
   
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.6);
    --shadow-green: 0 8px 32px rgba(0, 210, 106, 0.25);
   
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
   
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
    --font-mono: 'SF Mono', 'Consolas', 'Monaco', monospace;
   
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
   
    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
}
 
/* ============================
  BASE & LAYOUT
============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ===== TEMEL RENKLER VE ARKA PLAN ===== */
body {
body {
     background: linear-gradient(135deg, #0f1419 0%, #1a2633 100%);
     background:  
     color: #e0e0e0;
        radial-gradient(ellipse at top, rgba(0, 210, 106, 0.08), transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(59, 130, 246, 0.05), transparent 50%),
        var(--bg-base);
    background-attachment: fixed;
     color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
}


/* Koyu background */
.mw-page-container {
.mw-page-container {
     background: transparent;
     background: transparent;
    max-width: 1400px;
    margin: 0 auto;
}
/* ============================
  MODERN HEADER/TOP BAR
============================ */
header,
.mw-header,
#mw-head,
.vector-header {
    background: rgba(22, 27, 34, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-primary);
    padding: var(--space-4) var(--space-8);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}
/* Logo/Site title */
.mw-logo,
#p-logo,
.mw-logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-base);
}
.mw-logo::before {
    content: '⚽';
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px var(--green-glow));
}
.mw-logo:hover {
    color: var(--green-primary);
    transform: translateY(-1px);
}
/* Header navigation */
.vector-header-container,
.mw-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    max-width: 1400px;
    margin: 0 auto;
}
/* Header links */
.vector-user-links,
.mw-portlet-personal {
    display: flex;
    gap: var(--space-2);
    list-style: none;
}
.vector-user-links a,
.mw-portlet-personal a {
    color: var(--text-secondary);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}
.vector-user-links a:hover,
.mw-portlet-personal a:hover {
    color: var(--green-primary);
    background: var(--green-subtle);
}
/* ============================
  ENHANCED SEARCH
============================ */
#searchInput,
.cdx-search-input,
.cdx-text-input__input,
.vector-search-box-input {
    background: var(--bg-elevated);
    border: 1.5px solid var(--border-primary);
    color: var(--text-primary);
    padding: var(--space-3) var(--space-6);
    padding-left: var(--space-10);
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    min-width: 300px;
    transition: all var(--transition-base);
    position: relative;
}
#searchInput::before,
.vector-search-box::before {
    content: '🔍';
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}
}


/* ===== BAŞLIK VE BANNER ===== */
#searchInput:focus,
.mw-page-title-main {
.cdx-text-input__input:focus {
     font-size: 2.5em;
    background: var(--bg-surface);
     color: #22b24c;
    border-color: var(--green-primary);
     text-shadow: 0 2px 8px rgba(34, 178, 76, 0.3);
    box-shadow: 0 0 0 3px var(--green-glow);
     font-weight: bold;
    outline: none;
     letter-spacing: 1px;
}
 
#searchInput::placeholder {
    color: var(--text-muted);
}
 
/* ============================
  MODERN SIDEBAR
============================ */
aside,
.mw-sidebar,
#mw-panel,
.vector-sidebar-container {
     background: rgba(31, 41, 55, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
     overflow-y: auto;
     box-shadow: var(--shadow-md);
}
 
/* Sidebar sections */
.vector-menu-portal,
.mw-portlet,
.portal {
    margin-bottom: var(--space-6);
}
 
/* Sidebar headings */
.vector-menu-heading,
.mw-portlet-heading,
h3.portal-heading {
    color: var(--green-primary);
    font-size: 0.8rem;
     font-weight: 700;
    text-transform: uppercase;
     letter-spacing: 0.8px;
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--border-accent);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
 
.vector-menu-heading::before {
    content: '▸';
    color: var(--green-primary);
    font-size: 0.9rem;
}
 
/* Sidebar links */
.vector-menu-content-list,
.mw-portlet-body ul,
.portal-body ul {
    list-style: none;
    padding: 0;
}
}


/* İçerik bölümünü panel şekline getir */
.vector-menu-content-list li,
.mw-content {
.mw-list-item,
     background: rgba(26, 32, 41, 0.6);
.portal-body li {
     border: 1px solid rgba(34, 178, 76, 0.2);
     margin: 0;
    border-radius: 8px;
     border-radius: var(--radius-sm);
     padding: 20px;
     transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}
}


/* ===== LINKLER ===== */
.vector-menu-content-list a,
a {
.mw-list-item a,
     color: #4fc3f7;
.portal-body a {
     transition: all 0.3s ease;
     display: block;
    padding: var(--space-2) var(--space-4);
     color: var(--text-secondary);
     text-decoration: none;
     text-decoration: none;
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}
.vector-menu-content-list a:hover,
.mw-list-item a:hover,
.portal-body a:hover {
    color: var(--green-primary);
    background: var(--green-subtle);
    border-left-color: var(--green-primary);
    padding-left: calc(var(--space-4) + 6px);
    transform: translateX(2px);
}
/* Active page indicator */
.vector-menu-content-list .selected a,
.mw-list-item.selected a {
    color: var(--green-bright);
    background: var(--green-subtle);
    border-left-color: var(--green-primary);
    font-weight: 600;
}
/* Sidebar scrollbar */
aside::-webkit-scrollbar,
.mw-sidebar::-webkit-scrollbar {
    width: 6px;
}
aside::-webkit-scrollbar-track,
.mw-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
aside::-webkit-scrollbar-thumb,
.mw-sidebar::-webkit-scrollbar-thumb {
    background: var(--border-primary);
    border-radius: 3px;
}
}


a:hover {
aside::-webkit-scrollbar-thumb:hover,
    color: #22b24c;
.mw-sidebar::-webkit-scrollbar-thumb:hover {
     text-shadow: 0 0 10px rgba(34, 178, 76, 0.5);
     background: var(--green-muted);
}
}


/* ===== KUTU VE PANEL STİLLERİ ===== */
/* ============================
.mbox,
  PREMIUM CONTENT AREA
.navbox,
============================ */
.infobox {
main,
     background: rgba(15, 20, 25, 0.8);
.mw-content,
     border: 2px solid rgba(34, 178, 76, 0.3);
.mw-body,
     border-radius: 6px;
.mw-body-content {
     padding: 16px;
     background: rgba(31, 41, 55, 0.6);
     margin: 12px 0;
    backdrop-filter: blur(16px);
     border: 1px solid var(--border-primary);
     border-radius: var(--radius-xl);
     padding: var(--space-12);
     margin: var(--space-8) 0;
    box-shadow: var(--shadow-lg);
    position: relative;
}
}


.navbox {
/* Subtle glow effect */
     background: linear-gradient(180deg, rgba(26, 58, 82, 0.4) 0%, rgba(15, 20, 25, 0.6) 100%);
main::before,
     border-color: rgba(79, 195, 247, 0.2);
.mw-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
     background: linear-gradient(
        to right,
        transparent,
        var(--green-primary),
        transparent
    );
     opacity: 0.5;
}
}


/* ===== BAŞLIK STİLLERİ ===== */
/* ============================
h1, h2, h3, h4, h5, h6 {
  REFINED TYPOGRAPHY
     color: #22b24c;
============================ */
     border-bottom: 2px solid rgba(34, 178, 76, 0.3);
.mw-page-title-main,
     padding-bottom: 8px;
h1.firstHeading,
     margin-top: 20px;
#firstHeading {
     font-size: 2.75rem;
     font-weight: 800;
    background: linear-gradient(135deg, var(--green-bright), var(--green-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    margin: 0 0 var(--space-8);
     padding-bottom: var(--space-6);
     border-bottom: 2px solid var(--border-accent);
    position: relative;
}
}


h1 {
.mw-page-title-main::after,
     font-size: 2em;
h1.firstHeading::after {
     content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--green-primary);
    box-shadow: var(--shadow-green);
}
}


h2 {
h2 {
     font-size: 1.7em;
     font-size: 1.875rem;
     color: #4fc3f7;
    font-weight: 700;
     color: var(--text-primary);
    margin: var(--space-12) 0 var(--space-6);
    padding-left: var(--space-6);
    border-left: 5px solid var(--green-primary);
    position: relative;
}
 
h2::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(
        to bottom,
        var(--green-bright),
        var(--green-primary)
    );
    box-shadow: 0 0 12px var(--green-glow);
}
}


h3 {
h3 {
     font-size: 1.4em;
     font-size: 1.5rem;
    font-weight: 600;
    color: var(--green-primary);
    margin: var(--space-8) 0 var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
}


/* ===== LİSTE STİLLERİ ===== */
h3::before {
ul, ol {
    content: '';
     margin-left: 30px;
    width: 6px;
    height: 6px;
    background: var(--green-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green-glow);
}
 
h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: var(--space-6) 0 var(--space-3);
}
 
h5, h6 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-tertiary);
    margin: var(--space-5) 0 var(--space-3);
}
 
p {
    line-height: 1.75;
    margin: var(--space-4) 0;
    color: var(--text-secondary);
}
 
/* ============================
  ENHANCED LINKS
============================ */
a {
    color: var(--green-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
}
 
a:hover {
    color: var(--green-bright);
    text-decoration: none;
}
 
a::after {
     content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-primary);
    transition: width var(--transition-fast);
}
}


li {
a:hover::after {
     margin: 8px 0;
     width: 100%;
    line-height: 1.8;
}
}


/* Menü listeleri */
a:visited {
.mw-list-item {
     color: var(--accent-cyan);
     padding: 8px 12px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}
}


.mw-list-item:hover {
a.external::after {
     background: rgba(34, 178, 76, 0.1);
     content: '↗';
     border-left-color: #22b24c;
    position: static;
     padding-left: 16px;
    margin-left: 0.3em;
     font-size: 0.8em;
     opacity: 0.7;
}
}


/* ===== BUTON STİLLERİ ===== */
/* ============================
  PREMIUM BUTTONS
============================ */
button,
button,
.mw-ui-button,
.mw-ui-button,
.cdx-button {
.cdx-button {
     background: linear-gradient(180deg, #22b24c 0%, #1a8c3a 100%);
     background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
     color: #0f1419;
     color: var(--bg-base);
     border: none;
     border: none;
     padding: 10px 20px;
     padding: var(--space-3) var(--space-6);
     border-radius: 4px;
     border-radius: var(--radius-md);
     font-weight: bold;
     font-weight: 700;
     cursor: pointer;
     font-size: 0.9rem;
    transition: all 0.3s ease;
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
button::before,
.mw-ui-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
button:hover::before,
.mw-ui-button:hover::before {
    width: 300px;
    height: 300px;
}
}


button:hover,
button:hover,
.mw-ui-button:hover {
.mw-ui-button:hover {
     background: linear-gradient(180deg, #2ec75f 0%, #22b24c 100%);
     background: linear-gradient(135deg, var(--green-bright), var(--green-primary));
     transform: translateY(-2px);
     transform: translateY(-2px);
     box-shadow: 0 8px 16px rgba(34, 178, 76, 0.3);
     box-shadow: var(--shadow-green);
}
}


button:active {
button:active,
.mw-ui-button:active {
     transform: translateY(0);
     transform: translateY(0);
}
}


/* ===== ARAMA KUTUSU ===== */
button.secondary {
#searchInput,
     background: var(--bg-elevated);
.cdx-search-input {
     color: var(--text-primary);
     background: rgba(26, 32, 41, 0.8);
     border: 1.5px solid var(--border-primary);
     border: 2px solid rgba(34, 178, 76, 0.3);
     color: #e0e0e0;
    padding: 10px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
}


#searchInput:focus,
button.secondary:hover {
.cdx-search-input:focus {
     background: var(--bg-elevated-hover);
    border-color: #22b24c;
     border-color: var(--green-primary);
     background: rgba(26, 32, 41, 1);
     box-shadow: 0 0 15px rgba(34, 178, 76, 0.4);
}
}


/* ===== TABLOLAR ===== */
/* ============================
table {
  MODERN TABLES
     background: rgba(26, 32, 41, 0.7);
============================ */
     border-collapse: collapse;
table,
table.wikitable {
     background: rgba(22, 27, 34, 0.6);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
     border-collapse: separate;
    border-spacing: 0;
     width: 100%;
     width: 100%;
     margin: 12px 0;
     margin: var(--space-8) 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
 
table th,
table.wikitable th {
    background: linear-gradient(
        180deg,
        rgba(0, 210, 106, 0.15),
        rgba(0, 210, 106, 0.08)
    );
    color: var(--green-primary);
    padding: var(--space-4) var(--space-5);
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 2px solid var(--border-accent);
}
}


table th {
table td,
     background: linear-gradient(180deg, rgba(34, 178, 76, 0.3) 0%, rgba(34, 178, 76, 0.1) 100%);
table.wikitable td {
     color: #22b24c;
    padding: var(--space-4) var(--space-5);
     padding: 12px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.95rem;
}
 
table tbody tr,
table.wikitable tbody tr {
    transition: all var(--transition-fast);
}
 
table tbody tr:hover,
table.wikitable tbody tr:hover {
    background: var(--green-subtle);
    transform: scale(1.01);
}
 
table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.15);
}
 
table tbody tr:last-child td {
    border-bottom: none;
}
 
/* ============================
  PREMIUM INFO CARDS
============================ */
.infobox,
.mbox {
     background: linear-gradient(
        180deg,
        rgba(0, 210, 106, 0.1) 0%,
        rgba(31, 41, 55, 0.9) 20%
    );
    backdrop-filter: blur(12px);
    border: 2px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 0;
    margin: var(--space-8) 0;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
 
.infobox {
    float: right;
    max-width: 340px;
    margin: 0 0 var(--space-8) var(--space-8);
}
 
.infobox caption,
.infobox th.infobox-above {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: white;
    font-weight: 800;
    font-size: 1.125rem;
    padding: var(--space-5);
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}
 
.infobox th {
    background: rgba(0, 210, 106, 0.08);
     color: var(--text-tertiary);
    font-weight: 600;
     padding: var(--space-3) var(--space-5);
     text-align: left;
     text-align: left;
     font-weight: bold;
    border-bottom: 1px solid var(--border-subtle);
     border-bottom: 2px solid rgba(34, 178, 76, 0.4);
    width: 40%;
     font-size: 0.875rem;
}
 
.infobox td {
    padding: var(--space-3) var(--space-5);
     border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-weight: 500;
}
 
/* ============================
  NAVIGATION BOXES
============================ */
.navbox {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    margin: var(--space-8) 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
 
.navbox-title {
    background: linear-gradient(to right, var(--accent-blue), var(--accent-cyan));
    color: white;
    font-weight: 700;
    padding: var(--space-4);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
 
.navbox-group {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    font-weight: 600;
    padding: var(--space-3);
    vertical-align: top;
    width: 140px;
    font-size: 0.875rem;
}
 
.navbox-list {
    padding: var(--space-3);
}
}


table td {
.navbox-list a {
     padding: 10px 12px;
    display: inline-block;
     border-bottom: 1px solid rgba(34, 178, 76, 0.15);
    margin: var(--space-1) var(--space-2);
     padding: var(--space-2) var(--space-3);
     border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}
}


table tr:hover {
.navbox-list a:hover {
     background: rgba(34, 178, 76, 0.08);
     background: rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}
}


/* ===== KOD BLOKLAR ===== */
/* ============================
  CODE BLOCKS
============================ */
pre,
pre,
code {
code {
     background: rgba(15, 20, 25, 0.9);
     background: rgba(13, 17, 23, 0.95);
     border: 1px solid rgba(79, 195, 247, 0.2);
     border: 1px solid var(--border-primary);
     color: #4fc3f7;
     color: var(--accent-cyan);
     padding: 8px 12px;
     padding: var(--space-2) var(--space-3);
     border-radius: 4px;
     border-radius: var(--radius-sm);
     font-family: 'Courier New', monospace;
     font-family: var(--font-mono);
     overflow-x: auto;
     font-size: 0.875rem;
}
}


pre {
pre {
     padding: 16px;
     padding: var(--space-6);
     margin: 12px 0;
     margin: var(--space-6) 0;
    overflow-x: auto;
    line-height: 1.6;
    box-shadow: var(--shadow-sm);
}
}


/* ===== SIDEBAR (MENU) ===== */
/* ============================
.mw-sidebar-primary,
  LISTS
#mw-panel {
============================ */
     background: rgba(26, 32, 41, 0.8);
ul, ol {
    margin: var(--space-4) 0;
     padding-left: var(--space-8);
}
}


/* ===== İKON VE VURGU RENKLERI ===== */
li {
.mw-wiki-logo {
    margin: var(--space-2) 0;
     filter: brightness(1.2);
     line-height: 1.75;
    color: var(--text-secondary);
}
}


/* FM yeşili vurgu */
ul li::marker {
.fm-highlight {
     color: var(--green-primary);
     color: #22b24c;
    font-weight: bold;
}
}


.fm-secondary {
ol li::marker {
     color: #4fc3f7;
     color: var(--green-primary);
    font-weight: 700;
}
}


/* ===== DUYURU KUTUSU ===== */
/* ============================
  MESSAGE BOXES
============================ */
.mw-message-box {
.mw-message-box {
     background: rgba(34, 178, 76, 0.1);
     background: var(--green-subtle);
     border: 2px solid #22b24c;
     border: 2px solid var(--green-primary);
     padding: 12px;
     border-left-width: 5px;
     border-radius: 4px;
     border-radius: var(--radius-md);
     margin: 12px 0;
    padding: var(--space-5) var(--space-6);
     margin: var(--space-6) 0;
    box-shadow: var(--shadow-sm);
}
}


/* ===== FOOTER ===== */
.mw-message-box-warning {
    background: rgba(251, 191, 36, 0.1);
    border-color: var(--accent-amber);
}
 
.mw-message-box-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--accent-red);
}
 
/* ============================
  FOOTER
============================ */
footer,
footer,
#footer {
#footer,
     background: rgba(15, 20, 25, 0.9);
.mw-footer {
     border-top: 2px solid rgba(34, 178, 76, 0.3);
     background: rgba(22, 27, 34, 0.95);
     color: #a0a0a0;
    backdrop-filter: blur(12px);
     padding: 20px;
     border-top: 2px solid var(--border-accent);
     color: var(--text-muted);
     padding: var(--space-8);
    margin-top: var(--space-12);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-md);
}
}


footer a {
footer a {
     color: #4fc3f7;
     color: var(--accent-cyan);
}
 
/* ============================
  UTILITY CLASSES
============================ */
.highlight {
    color: var(--green-primary);
    font-weight: 700;
}
 
.text-muted {
    color: var(--text-muted);
}
 
/* ============================
  RESPONSIVE DESIGN
============================ */
@media (max-width: 1024px) {
    aside,
    .mw-sidebar {
        position: relative;
        top: 0;
        max-height: none;
    }
}
 
@media (max-width: 768px) {
    header {
        padding: var(--space-3) var(--space-4);
    }
   
    main,
    .mw-content {
        padding: var(--space-6);
        margin: var(--space-4) 0;
    }
   
    .mw-page-title-main,
    h1 {
        font-size: 2rem;
    }
   
    h2 {
        font-size: 1.5rem;
    }
   
    .infobox {
        float: none;
        max-width: 100%;
        margin: var(--space-6) 0;
    }
   
    #searchInput {
        min-width: 200px;
    }
}
 
@media (max-width: 480px) {
    main,
    .mw-content {
        padding: var(--space-4);
    }
   
    table th,
    table td {
        padding: var(--space-2) var(--space-3);
        font-size: 0.875rem;
    }
}
}


/* ===== OYUNCU ROLLERI İÇİN RENK ŞEMASI ===== */
/* ============================
/* Savunma */
  ACCESSIBILITY
.role-defense {
============================ */
     border-left: 4px solid #e74c3c;
:focus-visible {
    outline: 2px solid var(--green-primary);
    outline-offset: 3px;
     border-radius: var(--radius-sm);
}
}


/* Orta Saha */
@media (prefers-reduced-motion: reduce) {
.role-midfield {
    *,
    border-left: 4px solid #22b24c;
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
}


/* Hücum */
/* ============================
.role-attack {
  SMOOTH SCROLLING
     border-left: 4px solid #f39c12;
============================ */
html {
     scroll-behavior: smooth;
}
}


/* Kale */
/* ============================
.role-goalkeeper {
  SELECTION
     border-left: 4px solid #3498db;
============================ */
::selection {
     background: var(--green-primary);
    color: var(--bg-base);
}
}


/* ===== TAKTIK KARTLARI ===== */
::-moz-selection {
.tactic-card,
     background: var(--green-primary);
.formation-card {
     color: var(--bg-base);
     background: linear-gradient(135deg, rgba(26, 58, 82, 0.6) 0%, rgba(26, 32, 41, 0.8) 100%);
     border: 2px solid rgba(79, 195, 247, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
    transition: all 0.3s ease;
}
}


.tactic-card:hover {
/* ============================
     background: linear-gradient(135deg, rgba(34, 178, 76, 0.1) 0%, rgba(26, 58, 82, 0.7) 100%);
  HOMEPAGE SPECIFIC STYLES
     border-color: #22b24c;
============================ */
     box-shadow: 0 8px 24px rgba(34, 178, 76, 0.2);
 
/* Main grid layout */
.homepage-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-8);
    margin: var(--space-8) 0;
}
 
@media (max-width: 1024px) {
    .homepage-grid {
        grid-template-columns: 1fr;
    }
}
 
/* Card base styles */
.homepage-card {
     background: linear-gradient(
        180deg,
        rgba(31, 41, 55, 0.9) 0%,
        rgba(22, 27, 34, 0.95) 100%
    );
    backdrop-filter: blur(16px);
    border: 1.5px solid var(--border-primary);
     border-radius: var(--radius-xl);
    padding: var(--space-8);
     box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}
 
.homepage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        to right,
        transparent,
        var(--green-primary),
        transparent
    );
    opacity: 0;
    transition: opacity var(--transition-base);
}
 
.homepage-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
     transform: translateY(-4px);
     transform: translateY(-4px);
}
}


/* ===== CİHAZ UYUMLULUĞU ===== */
.homepage-card:hover::before {
@media (max-width: 768px) {
    opacity: 1;
     .mw-content {
}
         padding: 12px;
 
/* Card with colored accent border */
.card-purple {
    border-top: 4px solid #a855f7;
}
 
.card-blue {
    border-top: 4px solid #3b82f6;
}
 
.card-green {
    border-top: 4px solid var(--green-primary);
}
 
.card-amber {
    border-left: 5px solid #fbbf24;
}
 
.card-cyan {
    border-left: 5px solid #06b6d4;
}
 
.card-pink {
    border-left: 5px solid #ec4899;
}
 
.card-gray {
    border-left: 5px solid #64748b;
}
 
/* Card titles */
.homepage-card h2,
.homepage-card h3 {
    margin-top: 0;
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 1.375rem;
    font-weight: 700;
}
 
.homepage-card h2::before,
.homepage-card h3::before {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 8px currentColor);
}
 
/* Two-column lists inside cards */
.card-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-6);
}
 
@media (max-width: 640px) {
    .card-columns {
        grid-template-columns: 1fr;
    }
}
 
.card-section-title {
    color: var(--green-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
 
.card-section-title::before {
    content: '▸';
    color: var(--green-primary);
    font-size: 1rem;
}
 
/* List styles in cards */
.homepage-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
 
.homepage-card ul li {
     margin: var(--space-2) 0;
    padding-left: var(--space-6);
    position: relative;
    transition: all var(--transition-fast);
}
 
.homepage-card ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--green-primary);
    font-weight: 700;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}
 
.homepage-card ul li:hover {
    padding-left: calc(var(--space-6) + 4px);
}
 
.homepage-card ul li:hover::before {
    color: var(--green-bright);
    transform: translateX(4px);
}
 
/* Sidebar cards */
.sidebar-card {
    background: linear-gradient(
        135deg,
        rgba(31, 41, 55, 0.95) 0%,
         rgba(22, 27, 34, 0.98) 100%
    );
    backdrop-filter: blur(12px);
    border: 1.5px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}
 
.sidebar-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
 
.sidebar-card h3 {
    margin-top: 0;
    margin-bottom: var(--space-4);
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
 
.sidebar-card h3::before {
    font-size: 1.25rem;
}
 
.sidebar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
 
.sidebar-card ul li {
    margin: var(--space-2) 0;
    padding-left: var(--space-5);
    position: relative;
}
 
.sidebar-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--green-primary);
    font-weight: 700;
}
 
/* Intro text styling */
.intro-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    padding: var(--space-5);
    background: rgba(0, 210, 106, 0.05);
    border-left: 3px solid var(--green-primary);
    border-radius: var(--radius-sm);
}
 
.intro-text strong {
    color: var(--green-primary);
    font-weight: 700;
}
 
/* Footer section */
.homepage-footer {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 2px solid var(--border-primary);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}
 
.homepage-footer a {
    color: var(--text-tertiary);
    margin: 0 var(--space-2);
}
 
.homepage-footer a:hover {
    color: var(--green-primary);
}
 
/* Navbox integration on homepage */
.navbox {
    margin: var(--space-6) 0;
}
 
.navbox-title {
    font-size: 0.95rem;
    padding: var(--space-4) var(--space-5);
}
 
.navbox-group {
    font-size: 0.85rem;
    padding: var(--space-3) var(--space-4);
}
 
.navbox-list {
    padding: var(--space-3) var(--space-4);
}
 
/* Emoji styling */
.homepage-card h2::before,
.homepage-card h3::before,
.sidebar-card h3::before {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}
 
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
     }
     }
   
}
    h1 { font-size: 1.5em; }
 
     h2 { font-size: 1.3em; }
@media (prefers-reduced-motion: reduce) {
      
     .homepage-card h2::before,
     table {
     .homepage-card h3::before,
         font-size: 0.9em;
     .sidebar-card h3::before {
         animation: none;
     }
     }
}
}

18.43, 6 Aralık 2025 itibarı ile sayfanın şu anki hâli

/* ============================
   FOOTBALL MANAGER WIKI
   Modern Professional Theme
   Premium Dark Mode with Football Green
============================ */

/* ============================
   REFINED COLOR PALETTE
============================ */
:root {
    /* Background layers - sophisticated charcoal tones */
    --bg-base: #0d1117;
    --bg-surface: #161b22;
    --bg-elevated: #1f2937;
    --bg-elevated-hover: #28323f;
    --bg-overlay: #242c38;
    
    /* Football green - vibrant yet professional */
    --green-primary: #00d26a;
    --green-bright: #00ff88;
    --green-dark: #00a855;
    --green-muted: #00664d;
    --green-glow: rgba(0, 210, 106, 0.2);
    --green-subtle: rgba(0, 210, 106, 0.1);
    
    /* Accent colors */
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-amber: #fbbf24;
    --accent-red: #ef4444;
    
    /* Text hierarchy */
    --text-primary: #f0f6fc;
    --text-secondary: #c9d1d9;
    --text-tertiary: #8b949e;
    --text-muted: #6e7681;
    
    /* Borders */
    --border-primary: rgba(255, 255, 255, 0.12);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(0, 210, 106, 0.3);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.6);
    --shadow-green: 0 8px 32px rgba(0, 210, 106, 0.25);
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
    --font-mono: 'SF Mono', 'Consolas', 'Monaco', monospace;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
}

/* ============================
   BASE & LAYOUT
============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: 
        radial-gradient(ellipse at top, rgba(0, 210, 106, 0.08), transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(59, 130, 246, 0.05), transparent 50%),
        var(--bg-base);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mw-page-container {
    background: transparent;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================
   MODERN HEADER/TOP BAR
============================ */
header,
.mw-header,
#mw-head,
.vector-header {
    background: rgba(22, 27, 34, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-primary);
    padding: var(--space-4) var(--space-8);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

/* Logo/Site title */
.mw-logo,
#p-logo,
.mw-logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-base);
}

.mw-logo::before {
    content: '⚽';
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px var(--green-glow));
}

.mw-logo:hover {
    color: var(--green-primary);
    transform: translateY(-1px);
}

/* Header navigation */
.vector-header-container,
.mw-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    max-width: 1400px;
    margin: 0 auto;
}

/* Header links */
.vector-user-links,
.mw-portlet-personal {
    display: flex;
    gap: var(--space-2);
    list-style: none;
}

.vector-user-links a,
.mw-portlet-personal a {
    color: var(--text-secondary);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.vector-user-links a:hover,
.mw-portlet-personal a:hover {
    color: var(--green-primary);
    background: var(--green-subtle);
}

/* ============================
   ENHANCED SEARCH
============================ */
#searchInput,
.cdx-search-input,
.cdx-text-input__input,
.vector-search-box-input {
    background: var(--bg-elevated);
    border: 1.5px solid var(--border-primary);
    color: var(--text-primary);
    padding: var(--space-3) var(--space-6);
    padding-left: var(--space-10);
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    min-width: 300px;
    transition: all var(--transition-base);
    position: relative;
}

#searchInput::before,
.vector-search-box::before {
    content: '🔍';
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

#searchInput:focus,
.cdx-text-input__input:focus {
    background: var(--bg-surface);
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px var(--green-glow);
    outline: none;
}

#searchInput::placeholder {
    color: var(--text-muted);
}

/* ============================
   MODERN SIDEBAR
============================ */
aside,
.mw-sidebar,
#mw-panel,
.vector-sidebar-container {
    background: rgba(31, 41, 55, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    box-shadow: var(--shadow-md);
}

/* Sidebar sections */
.vector-menu-portal,
.mw-portlet,
.portal {
    margin-bottom: var(--space-6);
}

/* Sidebar headings */
.vector-menu-heading,
.mw-portlet-heading,
h3.portal-heading {
    color: var(--green-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--border-accent);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.vector-menu-heading::before {
    content: '▸';
    color: var(--green-primary);
    font-size: 0.9rem;
}

/* Sidebar links */
.vector-menu-content-list,
.mw-portlet-body ul,
.portal-body ul {
    list-style: none;
    padding: 0;
}

.vector-menu-content-list li,
.mw-list-item,
.portal-body li {
    margin: 0;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.vector-menu-content-list a,
.mw-list-item a,
.portal-body a {
    display: block;
    padding: var(--space-2) var(--space-4);
    color: var(--text-secondary);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.vector-menu-content-list a:hover,
.mw-list-item a:hover,
.portal-body a:hover {
    color: var(--green-primary);
    background: var(--green-subtle);
    border-left-color: var(--green-primary);
    padding-left: calc(var(--space-4) + 6px);
    transform: translateX(2px);
}

/* Active page indicator */
.vector-menu-content-list .selected a,
.mw-list-item.selected a {
    color: var(--green-bright);
    background: var(--green-subtle);
    border-left-color: var(--green-primary);
    font-weight: 600;
}

/* Sidebar scrollbar */
aside::-webkit-scrollbar,
.mw-sidebar::-webkit-scrollbar {
    width: 6px;
}

aside::-webkit-scrollbar-track,
.mw-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

aside::-webkit-scrollbar-thumb,
.mw-sidebar::-webkit-scrollbar-thumb {
    background: var(--border-primary);
    border-radius: 3px;
}

aside::-webkit-scrollbar-thumb:hover,
.mw-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--green-muted);
}

/* ============================
   PREMIUM CONTENT AREA
============================ */
main,
.mw-content,
.mw-body,
.mw-body-content {
    background: rgba(31, 41, 55, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-12);
    margin: var(--space-8) 0;
    box-shadow: var(--shadow-lg);
    position: relative;
}

/* Subtle glow effect */
main::before,
.mw-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        var(--green-primary),
        transparent
    );
    opacity: 0.5;
}

/* ============================
   REFINED TYPOGRAPHY
============================ */
.mw-page-title-main,
h1.firstHeading,
#firstHeading {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--green-bright), var(--green-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    margin: 0 0 var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 2px solid var(--border-accent);
    position: relative;
}

.mw-page-title-main::after,
h1.firstHeading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--green-primary);
    box-shadow: var(--shadow-green);
}

h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--space-12) 0 var(--space-6);
    padding-left: var(--space-6);
    border-left: 5px solid var(--green-primary);
    position: relative;
}

h2::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(
        to bottom,
        var(--green-bright),
        var(--green-primary)
    );
    box-shadow: 0 0 12px var(--green-glow);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--green-primary);
    margin: var(--space-8) 0 var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

h3::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--green-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green-glow);
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: var(--space-6) 0 var(--space-3);
}

h5, h6 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-tertiary);
    margin: var(--space-5) 0 var(--space-3);
}

p {
    line-height: 1.75;
    margin: var(--space-4) 0;
    color: var(--text-secondary);
}

/* ============================
   ENHANCED LINKS
============================ */
a {
    color: var(--green-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
}

a:hover {
    color: var(--green-bright);
    text-decoration: none;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-primary);
    transition: width var(--transition-fast);
}

a:hover::after {
    width: 100%;
}

a:visited {
    color: var(--accent-cyan);
}

a.external::after {
    content: '↗';
    position: static;
    margin-left: 0.3em;
    font-size: 0.8em;
    opacity: 0.7;
}

/* ============================
   PREMIUM BUTTONS
============================ */
button,
.mw-ui-button,
.cdx-button {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--bg-base);
    border: none;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

button::before,
.mw-ui-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before,
.mw-ui-button:hover::before {
    width: 300px;
    height: 300px;
}

button:hover,
.mw-ui-button:hover {
    background: linear-gradient(135deg, var(--green-bright), var(--green-primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

button:active,
.mw-ui-button:active {
    transform: translateY(0);
}

button.secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1.5px solid var(--border-primary);
}

button.secondary:hover {
    background: var(--bg-elevated-hover);
    border-color: var(--green-primary);
}

/* ============================
   MODERN TABLES
============================ */
table,
table.wikitable {
    background: rgba(22, 27, 34, 0.6);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin: var(--space-8) 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

table th,
table.wikitable th {
    background: linear-gradient(
        180deg,
        rgba(0, 210, 106, 0.15),
        rgba(0, 210, 106, 0.08)
    );
    color: var(--green-primary);
    padding: var(--space-4) var(--space-5);
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 2px solid var(--border-accent);
}

table td,
table.wikitable td {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

table tbody tr,
table.wikitable tbody tr {
    transition: all var(--transition-fast);
}

table tbody tr:hover,
table.wikitable tbody tr:hover {
    background: var(--green-subtle);
    transform: scale(1.01);
}

table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.15);
}

table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================
   PREMIUM INFO CARDS
============================ */
.infobox,
.mbox {
    background: linear-gradient(
        180deg,
        rgba(0, 210, 106, 0.1) 0%,
        rgba(31, 41, 55, 0.9) 20%
    );
    backdrop-filter: blur(12px);
    border: 2px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 0;
    margin: var(--space-8) 0;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.infobox {
    float: right;
    max-width: 340px;
    margin: 0 0 var(--space-8) var(--space-8);
}

.infobox caption,
.infobox th.infobox-above {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: white;
    font-weight: 800;
    font-size: 1.125rem;
    padding: var(--space-5);
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

.infobox th {
    background: rgba(0, 210, 106, 0.08);
    color: var(--text-tertiary);
    font-weight: 600;
    padding: var(--space-3) var(--space-5);
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
    width: 40%;
    font-size: 0.875rem;
}

.infobox td {
    padding: var(--space-3) var(--space-5);
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================
   NAVIGATION BOXES
============================ */
.navbox {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    margin: var(--space-8) 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.navbox-title {
    background: linear-gradient(to right, var(--accent-blue), var(--accent-cyan));
    color: white;
    font-weight: 700;
    padding: var(--space-4);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.navbox-group {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    font-weight: 600;
    padding: var(--space-3);
    vertical-align: top;
    width: 140px;
    font-size: 0.875rem;
}

.navbox-list {
    padding: var(--space-3);
}

.navbox-list a {
    display: inline-block;
    margin: var(--space-1) var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.navbox-list a:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

/* ============================
   CODE BLOCKS
============================ */
pre,
code {
    background: rgba(13, 17, 23, 0.95);
    border: 1px solid var(--border-primary);
    color: var(--accent-cyan);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

pre {
    padding: var(--space-6);
    margin: var(--space-6) 0;
    overflow-x: auto;
    line-height: 1.6;
    box-shadow: var(--shadow-sm);
}

/* ============================
   LISTS
============================ */
ul, ol {
    margin: var(--space-4) 0;
    padding-left: var(--space-8);
}

li {
    margin: var(--space-2) 0;
    line-height: 1.75;
    color: var(--text-secondary);
}

ul li::marker {
    color: var(--green-primary);
}

ol li::marker {
    color: var(--green-primary);
    font-weight: 700;
}

/* ============================
   MESSAGE BOXES
============================ */
.mw-message-box {
    background: var(--green-subtle);
    border: 2px solid var(--green-primary);
    border-left-width: 5px;
    border-radius: var(--radius-md);
    padding: var(--space-5) var(--space-6);
    margin: var(--space-6) 0;
    box-shadow: var(--shadow-sm);
}

.mw-message-box-warning {
    background: rgba(251, 191, 36, 0.1);
    border-color: var(--accent-amber);
}

.mw-message-box-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--accent-red);
}

/* ============================
   FOOTER
============================ */
footer,
#footer,
.mw-footer {
    background: rgba(22, 27, 34, 0.95);
    backdrop-filter: blur(12px);
    border-top: 2px solid var(--border-accent);
    color: var(--text-muted);
    padding: var(--space-8);
    margin-top: var(--space-12);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-md);
}

footer a {
    color: var(--accent-cyan);
}

/* ============================
   UTILITY CLASSES
============================ */
.highlight {
    color: var(--green-primary);
    font-weight: 700;
}

.text-muted {
    color: var(--text-muted);
}

/* ============================
   RESPONSIVE DESIGN
============================ */
@media (max-width: 1024px) {
    aside,
    .mw-sidebar {
        position: relative;
        top: 0;
        max-height: none;
    }
}

@media (max-width: 768px) {
    header {
        padding: var(--space-3) var(--space-4);
    }
    
    main,
    .mw-content {
        padding: var(--space-6);
        margin: var(--space-4) 0;
    }
    
    .mw-page-title-main,
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .infobox {
        float: none;
        max-width: 100%;
        margin: var(--space-6) 0;
    }
    
    #searchInput {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    main,
    .mw-content {
        padding: var(--space-4);
    }
    
    table th,
    table td {
        padding: var(--space-2) var(--space-3);
        font-size: 0.875rem;
    }
}

/* ============================
   ACCESSIBILITY
============================ */
:focus-visible {
    outline: 2px solid var(--green-primary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================
   SMOOTH SCROLLING
============================ */
html {
    scroll-behavior: smooth;
}

/* ============================
   SELECTION
============================ */
::selection {
    background: var(--green-primary);
    color: var(--bg-base);
}

::-moz-selection {
    background: var(--green-primary);
    color: var(--bg-base);
}

/* ============================
   HOMEPAGE SPECIFIC STYLES
============================ */

/* Main grid layout */
.homepage-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-8);
    margin: var(--space-8) 0;
}

@media (max-width: 1024px) {
    .homepage-grid {
        grid-template-columns: 1fr;
    }
}

/* Card base styles */
.homepage-card {
    background: linear-gradient(
        180deg,
        rgba(31, 41, 55, 0.9) 0%,
        rgba(22, 27, 34, 0.95) 100%
    );
    backdrop-filter: blur(16px);
    border: 1.5px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.homepage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        to right,
        transparent,
        var(--green-primary),
        transparent
    );
    opacity: 0;
    transition: opacity var(--transition-base);
}

.homepage-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.homepage-card:hover::before {
    opacity: 1;
}

/* Card with colored accent border */
.card-purple {
    border-top: 4px solid #a855f7;
}

.card-blue {
    border-top: 4px solid #3b82f6;
}

.card-green {
    border-top: 4px solid var(--green-primary);
}

.card-amber {
    border-left: 5px solid #fbbf24;
}

.card-cyan {
    border-left: 5px solid #06b6d4;
}

.card-pink {
    border-left: 5px solid #ec4899;
}

.card-gray {
    border-left: 5px solid #64748b;
}

/* Card titles */
.homepage-card h2,
.homepage-card h3 {
    margin-top: 0;
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 1.375rem;
    font-weight: 700;
}

.homepage-card h2::before,
.homepage-card h3::before {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 8px currentColor);
}

/* Two-column lists inside cards */
.card-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-6);
}

@media (max-width: 640px) {
    .card-columns {
        grid-template-columns: 1fr;
    }
}

.card-section-title {
    color: var(--green-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.card-section-title::before {
    content: '▸';
    color: var(--green-primary);
    font-size: 1rem;
}

/* List styles in cards */
.homepage-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.homepage-card ul li {
    margin: var(--space-2) 0;
    padding-left: var(--space-6);
    position: relative;
    transition: all var(--transition-fast);
}

.homepage-card ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--green-primary);
    font-weight: 700;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.homepage-card ul li:hover {
    padding-left: calc(var(--space-6) + 4px);
}

.homepage-card ul li:hover::before {
    color: var(--green-bright);
    transform: translateX(4px);
}

/* Sidebar cards */
.sidebar-card {
    background: linear-gradient(
        135deg,
        rgba(31, 41, 55, 0.95) 0%,
        rgba(22, 27, 34, 0.98) 100%
    );
    backdrop-filter: blur(12px);
    border: 1.5px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.sidebar-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.sidebar-card h3 {
    margin-top: 0;
    margin-bottom: var(--space-4);
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.sidebar-card h3::before {
    font-size: 1.25rem;
}

.sidebar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-card ul li {
    margin: var(--space-2) 0;
    padding-left: var(--space-5);
    position: relative;
}

.sidebar-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--green-primary);
    font-weight: 700;
}

/* Intro text styling */
.intro-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    padding: var(--space-5);
    background: rgba(0, 210, 106, 0.05);
    border-left: 3px solid var(--green-primary);
    border-radius: var(--radius-sm);
}

.intro-text strong {
    color: var(--green-primary);
    font-weight: 700;
}

/* Footer section */
.homepage-footer {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 2px solid var(--border-primary);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.homepage-footer a {
    color: var(--text-tertiary);
    margin: 0 var(--space-2);
}

.homepage-footer a:hover {
    color: var(--green-primary);
}

/* Navbox integration on homepage */
.navbox {
    margin: var(--space-6) 0;
}

.navbox-title {
    font-size: 0.95rem;
    padding: var(--space-4) var(--space-5);
}

.navbox-group {
    font-size: 0.85rem;
    padding: var(--space-3) var(--space-4);
}

.navbox-list {
    padding: var(--space-3) var(--space-4);
}

/* Emoji styling */
.homepage-card h2::before,
.homepage-card h3::before,
.sidebar-card h3::before {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .homepage-card h2::before,
    .homepage-card h3::before,
    .sidebar-card h3::before {
        animation: none;
    }
}