@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --bg-dark: #000000;
    --bg-card: #0a0a0a;
    --accent: #8900fa;
    --accent-hover: #8c00ff;
    --text-main: #ffffff;
    --text-muted: #888888;
    --nav-height: 110px;
}

/* Fixes the anchor scroll offset so the nav doesn't cut off headers */
html {
    scroll-padding-top: var(--nav-height); 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    transition: background 0.3s ease;
}

/* Server Status Top Bar */
.server-status-bar {
    background: #050505;
    color: #ddd;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.online {
    background-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.6);
}

.status-dot.offline {
    background-color: #f44336;
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.6);
}

.players-online {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.85rem;
}

/* Navigation Bar */
nav {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    padding: 0 2%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;	
}

.logo-tag {
    font-size: 0.7rem;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.logo:hover .logo-tag {
    opacity: 1;
    color: white;
}

.logo img {
    max-height: 90px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-btn, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); 
    cursor: pointer;
}

.nav-btn {
    background: var(--accent);
    color: white;
    padding: 14px 28px;
    font-size: 0.85rem;
    border: none;
    font-family: 'Inter', sans-serif;
}

.nav-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: white;
    padding: 14px 28px;
    backdrop-filter: blur(4px); 
    font-family: 'Inter', sans-serif;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(137, 0, 250, 0.1);
}

/* Hero Section */
#home {
    min-height: calc(100vh - var(--nav-height) - 40px);
    background: 
        linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 15%), 
        linear-gradient(to top, #000000 0%, rgba(0,0,0,0) 25%), 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('bg.jpg');
    background-size: cover;
    background-position: center center; 
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 40px 5%;
}

.hero-content {
    max-width: 850px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#home .section-tag {
    background: rgba(0, 0, 0, 0.5); 
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800; 
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.9), 0px 2px 4px rgba(0, 0, 0, 1);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ffffff; 
    margin-bottom: 40px;
    max-width: 700px;
    font-weight: 400;
    text-shadow: 0px 3px 10px rgba(0, 0, 0, 0.9); 
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* General Section Styling */
section {
    padding: 100px 5%;
    min-height: 60vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px; 
}

.section-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid #333;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Grid / Card Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1200px;
}

.card {
    background: linear-gradient(180deg, #111111 0%, #050505 100%);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    border-color: #444;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.card:hover::before {
    opacity: 1;
}

.card-date {
    display: block;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About Section Features */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-pill {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid #222;
    padding: 18px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    text-align: left;
}

.feature-pill:hover {
    border-color: var(--accent);
    background: rgba(137, 0, 250, 0.05);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.feature-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    flex-shrink: 0;
}

.feature-text {
    color: #dddddd;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Rules Section Layout */
.rules-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.rule-box {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid #222;
    border-left: 3px solid var(--accent);
    border-radius: 0 8px 8px 0;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.rule-box:hover {
    background: rgba(20, 20, 20, 0.9);
    transform: translateX(5px);
    border-color: #444;
    border-left-color: var(--accent-hover);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.rule-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(137, 0, 250, 0.3);
    line-height: 1;
    margin-top: -3px;
    transition: color 0.3s ease;
}

.rule-box:hover .rule-number {
    color: var(--accent);
    text-shadow: 0 0 15px rgba(137, 0, 250, 0.4);
}

.rule-content h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
}

.rule-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Donate Section Specifics */
.donate-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

.donate-instructions {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid #222;
    border-radius: 8px;
    padding: 35px;
    text-align: left;
    border-left: 3px solid var(--accent);
    transition: all 0.3s ease;
}

.donate-instructions h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #fff;
}

.donate-instructions p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.donate-instructions ol {
    margin-left: 20px;
    margin-bottom: 25px;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

.donate-instructions strong {
    color: #fff;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    width: 100%;
}

.tier-card {
    background: linear-gradient(180deg, #111111 0%, #050505 100%);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tier-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(137, 0, 250, 0.2);
}

.tier-name {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-price {
    font-size: 2.8rem;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1;
}

.tier-features {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
    flex-grow: 1;
}

.tier-features li {
    padding: 10px 0;
    border-bottom: 1px dashed #333;
    color: #ccc;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tier-features li:last-child {
    border-bottom: none;
}

.tier-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Play Now / Setup Steps Layout */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.step-card {
    background: linear-gradient(180deg, #111111 0%, #050505 100%);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    text-align: left;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: #333;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.step-number {
    background: var(--accent);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(137, 0, 250, 0.4);
    flex-shrink: 0;
}

.step-header h3 {
    font-size: 1.6rem;
    color: white;
}

/* Registration Form */
.register-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label:not(.checkbox-label) {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    background: #000;
    border: 1px solid #333;
    color: white;
    padding: 14px 18px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(137, 0, 250, 0.2);
}

/* Custom Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #ddd;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #333;
    border-radius: 5px;
    background: #000;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 15px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.checkbox-label a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.form-actions {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.form-message {
    font-size: 0.95rem;
    font-weight: 600;
    display: none;
}

/* Download Elements */
.download-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(15, 15, 15, 0.6);
    padding: 25px;
    border-radius: 8px;
    border: 1px dashed #333;
}

.dl-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dl-meta {
    font-family: monospace;
    color: #ccc;
    font-size: 0.9rem;
    background: #000;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #222;
    display: inline-block;
    word-break: break-all;
    transition: all 0.3s ease;
}

/* Instruction Elements */
.instructions-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.instructions-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.instructions-list li::before {
    content: '»';
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.15; 
    margin-top: 0;
}

.instructions-list a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.instructions-list a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* --- Rankings & Leaderboards --- */
.ranking-block {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 60px;
}

.ranking-block:last-child {
    margin-bottom: 0;
}

.ranking-block h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
}

/* Hall of Fame */
.hof-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    max-height: 380px;       
    overflow-y: auto;        
    padding-right: 15px;     
    padding-bottom: 10px;
}

.hof-card {
    position: relative;
    background-color: #111; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 25px;
    border-left: 3px solid var(--accent);
    height: 100%;
    overflow: hidden; 
    z-index: 1;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hof-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 10%, rgba(0, 0, 0, 0.5) 100%);
    z-index: -1;
    transition: background 0.3s ease;
}

.hof-card:hover {
    transform: translateY(-3px);
    border-color: #444;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

.hof-card:hover::before {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 10%, rgba(137, 0, 250, 0.3) 100%);
}

.hof-title {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hof-card .hof-title, 
.hof-card p {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8); 
}

/* Shared Tables (PvP & PvE) */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    background: linear-gradient(180deg, #111111 0%, #050505 100%);
    border: 1px solid #222;
    border-radius: 12px;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    white-space: nowrap;
}

.ranking-table th {
    background: rgba(137, 0, 250, 0.1);
    color: var(--accent);
    padding: 18px 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--accent);
}

.ranking-table th:first-child { border-top-left-radius: 11px; }
.ranking-table th:last-child { border-top-right-radius: 11px; }

.ranking-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #1a1a1a;
    color: #ddd;
    vertical-align: middle;
    font-weight: 500;
}

.ranking-table tr:last-child td {
    border-bottom: none;
}

.ranking-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.class-icon {
    width: 40px;
    height: 36px;
    object-fit: contain;
    display: block;
}

/* PvE Filters */
.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    background: rgba(15, 15, 15, 0.6);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #222;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    background: #000;
    color: #fff;
    border: 1px solid #333;
    padding: 12px;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
    cursor: pointer;
}

.filter-group select:focus {
    border-color: var(--accent);
}

/* --- Media Gallery Section --- */
.media-category {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 50px;
}

.media-category h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111;
    border: 1px solid #222;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.gallery-item .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(137, 0, 250, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover img {
    opacity: 0.4;
    transform: scale(1.05);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay span {
    color: white;
    font-weight: 600;
    border: 2px solid white;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Lightbox CSS --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--accent);
}

.media-split {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

.video-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #222;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

.ost-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 35px;
    height: 100%;
}

.ost-icon {
    margin-bottom: 20px;
    background: rgba(137, 0, 250, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: 1px solid rgba(137, 0, 250, 0.3);
}

.ost-card h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.ost-card p {
    margin-bottom: 25px;
}

.ost-details {
    list-style: none;
    margin-bottom: auto; 
    padding-bottom: 25px;
    width: 100%;
}

.ost-details li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: #ccc;
    font-size: 0.95rem;
    border-bottom: 1px dashed #333;
}

.ost-details li strong {
    color: white;
}

/* Subtle Background Glows */
.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(137, 0, 250, 0.08) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.content-z {
    z-index: 1;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer {
    text-align: center;
    padding: 40px;
    background: #050505;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Discord Section --- */
.discord-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    width: 100%;
    max-width: 950px;
    background: linear-gradient(180deg, #111111 0%, #050505 100%);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.discord-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(137, 0, 250, 0.1) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.discord-info {
    flex: 1;
    min-width: 300px;
    text-align: left;
    z-index: 1;
}

.discord-icon {
    width: 55px;
    height: 55px;
    background: rgba(137, 0, 250, 0.1);
    border: 1px solid rgba(137, 0, 250, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.discord-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

.discord-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1rem;
}

.discord-widget {
    flex-shrink: 0;
    z-index: 1;
}

.discord-widget iframe {
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    background-color: #111;
}

/* Responsive */
@media (max-width: 1250px) {
    nav { justify-content: space-between; }
    .nav-links { display: none; }
}
@media (max-width: 768px) {
    .server-status-bar { flex-wrap: wrap; text-align: center; justify-content: center; font-size: 0.75rem; gap: 15px; }
    .status-item { gap: 6px; }
    .hero-title { font-size: 3rem; }
    .hero-content { padding: 30px; }
    .feature-pill:hover, .rule-box:hover { transform: translateY(-3px); } 
    .rules-container { grid-template-columns: 1fr; }
    .register-form { grid-template-columns: 1fr; }
    .form-group.full-width, .form-actions { grid-column: 1; }
    .form-actions { flex-direction: column; align-items: flex-start; }
    .step-card { padding: 25px; }
    .filter-group { min-width: 100%; }
    .discord-wrapper {
        padding: 30px;
        text-align: center;
        gap: 35px;
    }
    .discord-info {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .discord-widget iframe {
        width: 100%;
        max-width: 350px;
    }
}

/* --- Modals Specific Styles --- */
.modal-content {
    background: linear-gradient(180deg, #111111 0%, #050505 100%);
    border: 1px solid #222;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    z-index: 2001;
    animation: zoomIn 0.3s ease;
}

/* ------------------------------------------------------------------
    🐄 EXTREME COW (MOO) MODE STYLES
------------------------------------------------------------------ */
body.cow-theme {
    background-color: #ffffff !important;
    background-image: 
        radial-gradient(circle at 10% 15%, #000 6%, transparent 6.5%),
        radial-gradient(circle at 14% 10%, #000 5%, transparent 5.5%),
        radial-gradient(circle at 17% 17%, #000 6%, transparent 6.5%),
        radial-gradient(circle at 65% 5%, #000 8%, transparent 8.5%),
        radial-gradient(circle at 72% 8%, #000 7%, transparent 7.5%),
        radial-gradient(circle at 85% 45%, #000 9%, transparent 9.5%),
        radial-gradient(circle at 80% 52%, #000 7%, transparent 7.5%),
        radial-gradient(circle at 91% 48%, #000 6%, transparent 6.5%),
        radial-gradient(circle at 25% 65%, #000 8%, transparent 8.5%),
        radial-gradient(circle at 32% 60%, #000 6%, transparent 6.5%),
        radial-gradient(circle at 30% 71%, #000 7%, transparent 7.5%),
        radial-gradient(circle at 65% 85%, #000 10%, transparent 10.5%),
        radial-gradient(circle at 73% 81%, #000 8%, transparent 8.5%),
        radial-gradient(circle at 58% 91%, #000 6%, transparent 6.5%),
        radial-gradient(circle at 8% 90%, #000 7%, transparent 7.5%),
        radial-gradient(circle at 14% 94%, #000 5%, transparent 5.5%) !important;
    background-size: 350px 350px !important;
    background-attachment: fixed !important;
}

body.cow-theme section, 
body.cow-theme .server-status-bar, 
body.cow-theme footer, 
body.cow-theme nav {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-color: #000 !important;
    color: #000 !important;
}

body.cow-theme header#home { border-bottom: 3px solid #000 !important; }
body.cow-theme .hero-title, 
body.cow-theme .hero-subtitle,
body.cow-theme header#home .section-tag {
    color: #fff !important; 
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.9), 0px 2px 4px rgba(0, 0, 0, 1) !important;
}

body.cow-theme p, 
body.cow-theme span, 
body.cow-theme a, 
body.cow-theme h1, body.cow-theme h2, body.cow-theme h3, body.cow-theme h4, 
body.cow-theme label, 
body.cow-theme li,
body.cow-theme strong, 
body.cow-theme b,
body.cow-theme .section-title {
    color: #000 !important;
    text-shadow: none !important;
}

body.cow-theme .nav-btn, 
body.cow-theme .step-number, 
body.cow-theme .ranking-table th {
    color: #fff !important;
}

body.cow-theme .card, 
body.cow-theme .modal-content,
body.cow-theme .step-card, 
body.cow-theme .tier-card, 
body.cow-theme .rule-box, 
body.cow-theme .feature-pill,
body.cow-theme .donate-instructions,
body.cow-theme .discord-wrapper,
body.cow-theme .table-responsive,
body.cow-theme .filters-container,
body.cow-theme .video-wrapper,
body.cow-theme .ost-card {
    background: #ffffff !important;
    border: 3px solid #000 !important;
    box-shadow: 6px 6px 0px #000 !important;
}

body.cow-theme .hof-card {
    background-color: #fff !important;
    border: 3px solid #000 !important;
    box-shadow: 6px 6px 0px #000 !important;
    background-image: none !important;
}
body.cow-theme .hof-card::before,
body.cow-theme .hof-card:hover::before { display: none !important; background: none !important; }
body.cow-theme .hof-card:hover {
    background-color: #f0f0f0 !important;
    border-color: #000 !important;
    transform: translateY(-5px) !important;
}
body.cow-theme .hof-card p, 
body.cow-theme .hof-card p strong, 
body.cow-theme .hof-title {
    color: #000 !important;
    text-shadow: none !important;
}

body.cow-theme .nav-btn {
    background: #000 !important;
    border: 2px solid #000 !important;
    box-shadow: 4px 4px 0px #000 !important;
}
body.cow-theme .nav-btn:hover { background: #fff !important; color: #000 !important; }

body.cow-theme .btn-outline {
    border: 2px solid #000 !important;
    box-shadow: 4px 4px 0px #000 !important;
    background: #fff !important;
    color: #000 !important;
}
body.cow-theme .btn-outline:hover { background: #000 !important; color: #fff !important; }

body.cow-theme .dl-meta {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    font-weight: 600 !important;
}
body.cow-theme .dl-meta strong { color: #fff !important; }

body.cow-theme .glow-orb,
body.cow-theme .discord-wrapper::before,
body.cow-theme .card::before {
    display: none !important;
}

body.cow-theme input, body.cow-theme select {
    background: #fff !important;
    border: 2px solid #000 !important;
    box-shadow: 3px 3px 0px #000 !important;
    color: #000 !important;
}

body.cow-theme .checkbox-label input[type="checkbox"] { background: #fff !important; border: 2px solid #000 !important; }
body.cow-theme .checkbox-label input[type="checkbox"]:checked { background: #000 !important; }

body.cow-theme .ranking-table th { background: #000 !important; border-bottom: 3px solid #000 !important; }
body.cow-theme .ranking-table td,
body.cow-theme .ranking-table td span,
body.cow-theme .ranking-table td strong {
    color: #000 !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #000 !important;
}
body.cow-theme .feature-dot { background: #000 !important; box-shadow: none !important; }
body.cow-theme .tier-features li { border-bottom: 2px dashed #000 !important; }
body.cow-theme .tier-features li::before { color: #000 !important; }
body.cow-theme .discord-icon { background: #000 !important; border: none !important; }
body.cow-theme .discord-icon svg { fill: #fff !important; }
body.cow-theme .instructions-list li::before { color: #000 !important; }
body.cow-theme .server-status-bar span { color: #000 !important; }
body.cow-theme .status-dot.online { background: #000 !important; box-shadow: none !important; }
body.cow-theme .modal-content .lightbox-close { color: #000 !important; }