/* === Global Variables & Base Styles === */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

:root {
    --primary-color: #38ebff; /* Bright Cyan for highlights */
    --secondary-color: #00bcd4; /* Darker Cyan for accents */
    --background-color: #1c1d2e; /* The dark blue-gray from your image */
    --border-color: #384260;
    --text-color: #e0e0e0;
    --glass-effect: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-start: #1c1d2e;
    --gradient-end: #14151b;

    /* New Neon Glow Variables */
    --neon-glow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
}

body {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-color);
    transition: background 0.3s, color 0.3s;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* === General Card/Glassmorphism Style === */
.glass-card, .team-card, .project-card, .card, .pricing-card, .mayhem-card, .comparison-card, .partner-card, .server-connect-card {
    background: var(--glass-effect);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none; /* Keep the glow on hover only */
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.glass-card:hover, .team-card:hover, .project-card:hover, .card:hover, .pricing-card:hover, .mayhem-card:hover, .comparison-card:hover, .partner-card:hover, .server-connect-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--neon-glow);
}

/* === Buttons === */
.btn {
    position: relative;
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 14px 28px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    z-index: 1;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: none;
}

.btn:hover {
    background-color: var(--secondary-color);
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

/* === Header === */
header {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 40px;
    color: var(--text-color);
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
    border-bottom: 2px solid var(--border-color);
}

header::before {
    display: none;
}

header h1 {
    position: relative;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: none; /* Keep glow on hover only */
    z-index: 1;
    transition: text-shadow 0.3s ease;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 1;
}

nav a {
    position: relative;
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

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

nav a:hover {
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
}

.login-btn {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.login-btn:hover {
    background-color: var(--secondary-color);
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

/* === NAV (Mobile) === */
.menu-toggle {
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.menu-toggle span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }


/* === Meet the Team === */
.meet-the-team {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.meet-the-team h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-shadow: none;
    transition: text-shadow 0.3s ease;
}

.meet-the-team h2:hover {
    text-shadow: var(--neon-glow);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.team-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    cursor: default;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--neon-glow);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 3px solid var(--primary-color);
}

.team-card:hover .team-photo {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--primary-color);
}

.team-name {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 6px;
}

.team-role {
    font-size: 1rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
    min-height: 90px;
}

/* === Footer === */
footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 2px solid var(--border-color);
}

/* === Project Grid === */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-section { margin-bottom: 3rem; }

.project-section h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    color: var(--secondary-color);
    text-shadow: none;
    transition: text-shadow 0.3s ease;
}

.project-section h1:hover {
    text-shadow: var(--neon-glow);
}

/* Updated Project Card with Glassmorphism style */
.project-card {
    border: 3px solid var(--primary-color);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--neon-glow);
}

.project-card img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    box-shadow: none;
    transition: transform 0.35s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

@media screen and (max-width: 600px) {
    .project-card img { height: 140px; }
}

.project-card h2 {
    margin: 15px;
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.project-card:hover h2 {
    color: var(--secondary-color);
    text-shadow: var(--neon-glow);
}

.project-card p {
    margin: 0 15px 15px;
    color: var(--text-color);
    font-size: 0.95rem;
    flex-grow: 1;
}

.project-card .btn {
    display: block;
    width: calc(100% - 30px);
    margin: 0 15px;
    padding: 10px;
    background-color: var(--primary-color);
    color: var(--background-color);
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.project-card .btn:hover {
    background-color: var(--secondary-color);
    box-shadow: var(--neon-glow);
}

/* === Lightbox === */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}
.lightbox.active { display: flex; }
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}
.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}

.lightbox-content img:hover {
    box-shadow: var(--neon-glow);
}

.lightbox-close, .lightbox-nav {
    position: absolute;
    color: var(--text-color);
    font-size: 2.5rem;
    user-select: none;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.lightbox-close:hover, .lightbox-nav:hover {
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
}
.lightbox-close { top: -40px; right: 0; }
.lightbox-nav.prev { top: 50%; left: -50px; transform: translateY(-50%); }
.lightbox-nav.next { top: 50%; right: -50px; transform: translateY(-50%); }

/* === Product Page Styles === */
.product-page { padding: 40px 0; }

.product-page h1, .product-page h2 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-shadow: none;
    transition: text-shadow 0.3s ease;
}

.product-page h1:hover, .product-page h2:hover {
    text-shadow: var(--neon-glow);
}

.product-page p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-color);
}

.product-page ul {
    padding-left: 20px;
    margin-bottom: 30px;
}

.product-page ul li { margin-bottom: 10px; }

/* Code Block with Copy Button */
.code-block {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    overflow-x: auto;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}

.code-block:hover {
    box-shadow: var(--neon-glow);
}

.code-block pre {
    margin: 0;
    color: var(--primary-color);
    white-space: pre;
}

.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary-color);
    color: var(--background-color);
    border: none;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s ease;
    z-index: 1;
    box-shadow: none;
}

.copy-btn:hover {
    background: var(--secondary-color);
    box-shadow: var(--neon-glow);
}

.product-page .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--background-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.product-page .btn:hover {
    background-color: var(--secondary-color);
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

/* === Pricing Cards === */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--glass-effect);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-glow);
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-color);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    color: var(--text-color);
}

.pricing-card ul li { margin-bottom: 10px; }

.pricing-card .btn {
    background: var(--primary-color);
    color: var(--background-color);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card .btn:hover {
    background: var(--secondary-color);
    box-shadow: var(--neon-glow);
}

/* === Mayhem Page Styles === */
.mayhem-page { padding: 40px 0; }
.mayhem-page h1, .mayhem-page h2, .mayhem-page h3 {
    color: var(--secondary-color);
    margin-bottom: 12px;
    text-shadow: none;
    transition: text-shadow 0.3s ease;
}

.mayhem-page h1:hover, .mayhem-page h2:hover, .mayhem-page h3:hover {
    text-shadow: var(--neon-glow);
}

.mayhem-page p, .mayhem-page li {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.6;
}
.mayhem-page ul { margin-bottom: 20px; padding-left: 20px; }

.mayhem-card {
    background: var(--glass-effect);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.mayhem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--neon-glow);
}

/* Mayhem Table */
.mayhem-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}

.mayhem-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    font-size: 0.95rem;
}

.mayhem-table th, .mayhem-table td {
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: left;
}

.mayhem-table th {
    background-color: var(--background-color);
    color: var(--primary-color);
}

.mayhem-table td { color: var(--text-color); }

/* Mayhem Buttons */
.mayhem-page .btn {
    display: inline-block;
    margin-top: 10px;
    background: var(--primary-color);
    color: var(--background-color);
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.mayhem-page .btn:hover {
    background: var(--secondary-color);
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

/* Details Accordion (FAQs) */
.mayhem-page details {
    margin-top: 1rem;
    background: var(--glass-effect);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.mayhem-page details:hover {
    box-shadow: var(--neon-glow);
    transform: translateY(-3px);
}

.mayhem-page details summary {
    font-weight: bold;
    cursor: pointer;
    color: var(--primary-color);
    outline: none;
}

/* Code Block */
.mayhem-page code, .mayhem-page pre {
    background: #121212;
    color: var(--primary-color);
    padding: 0.5rem;
    border-radius: 6px;
    font-family: monospace;
}

/* Responsive Adjustments for Mayhem Page */
@media screen and (max-width: 600px) {
    .mayhem-card { padding: 15px; }
    .mayhem-page h1 { font-size: 1.6rem; }
    .mayhem-table th, .mayhem-table td { font-size: 0.85rem; padding: 8px; }
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: none;
    border: 2px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.video-embed:hover {
    box-shadow: var(--neon-glow);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* === Contact Section === */
.contact-section {
    max-width: 600px;
    margin: 60px auto;
    padding: 30px;
    background: var(--glass-effect);
    color: var(--text-color);
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-section:hover {
    box-shadow: var(--neon-glow);
    transform: translateY(-5px);
}

.contact-section h2 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-section form { display: flex; flex-direction: column; }
.contact-section label {
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-color);
}
.contact-section input, .contact-section textarea {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: #121212;
    color: var(--text-color);
}

.contact-section button {
    margin-top: 20px;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--background-color);
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-section button:hover {
    background-color: var(--secondary-color);
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

#konami-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    padding: 1rem 1.5rem;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    box-shadow: none;
    width: 160px;
    text-align: center;
    cursor: default;
    user-select: none;
    z-index: 9999;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-left: 2px solid var(--border-color);
}

#konami-sidebar:hover {
    background: var(--primary-color);
    color: var(--background-color);
    box-shadow: var(--neon-glow);
}

#konami-sidebar h4 { margin: 0 0 0.5rem; font-weight: normal; font-size: 1rem; }
#konami-counter { font-size: 1.2rem; font-weight: bold; }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}
.lightbox.active { display: flex; }
.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease-in-out;
}

.lightbox img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}

.lightbox img:hover {
    box-shadow: var(--neon-glow);
}

.lightbox-close {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--background-color);
    color: var(--primary-color);
    font-size: 32px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    box-shadow: none;
    border: 2px solid var(--primary-color);
    transition: box-shadow 0.3s ease;
}

.lightbox-close:hover {
    box-shadow: var(--neon-glow);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0 1rem;
    user-select: none;
    z-index: 10001;
    text-shadow: none;
    transition: text-shadow 0.3s ease;
}

.lightbox-nav:hover {
    text-shadow: var(--neon-glow);
}

.lightbox-nav.prev { left: 0; }
.lightbox-nav.next { right: 0; }

/* Animations */
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes zoomIn { from { transform: scale(0.9); opacity: 0 } to { transform: scale(1); opacity: 1 } }

.comparison-card {
    background: var(--glass-effect);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.comparison-card:hover {
    box-shadow: var(--neon-glow);
    transform: translateY(-5px);
}

.comparison-card h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.comparison-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.comparison-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    border: 2px solid var(--border-color);
}

.comparison-images img:hover {
    transform: scale(1.03);
    box-shadow: var(--neon-glow);
}

.comparison-images p {
    text-align: center;
    margin-top: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

.img-modal { display: none; position: fixed; z-index: 9999; padding-top: 60px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.9); }
.img-modal-content { display: block; margin: auto; max-width: 90%; max-height: 80vh; border-radius: 8px; }
.img-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--text-color);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.img-modal-close:hover {
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
}

/* Partner Section Styles */
.partner-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.partner-card {
    background: var(--glass-effect);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--neon-glow);
}

.partner-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.partner-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.partner-card a {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.partner-card a:hover {
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
}

/* Twitch Embed Styling */
.twitch-embed { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.twitch-embed iframe {
    width: 100%;
    border: none;
    border-radius: 12px;
    height: 300px;
    max-height: 100%;
}

.server-connect-card {
    background: var(--glass-effect);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: none;
    text-align: center;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.server-connect-card:hover {
    box-shadow: var(--neon-glow);
    transform: translateY(-5px);
}

.server-connect-card h3 {
    color: var(--primary-color);
    font-size: 2.2em;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: none;
    transition: text-shadow 0.3s ease;
}

.server-connect-card h3:hover {
    text-shadow: var(--neon-glow);
}

.server-connect-card .details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.server-connect-card .detail-item {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: left;
    box-shadow: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.3s ease;
}

.server-connect-card .detail-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.server-connect-card .detail-item span {
    display: block;
    font-size: 0.9em;
    color: var(--text-color);
    margin-bottom: 5px;
}

.server-connect-card .detail-item strong {
    font-size: 1.4em;
    color: var(--primary-color);
    word-break: break-all;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.server-connect-card .detail-item:hover strong {
    color: var(--secondary-color);
    text-shadow: var(--neon-glow);
}

.server-connect-card .btn {
    padding: 15px 35px;
    font-size: 1.2em;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: var(--background-color);
    font-weight: bold;
    box-shadow: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.server-connect-card .btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--neon-glow);
}

.server-connect-card ol {
    text-align: left;
    max-width: 500px;
    margin: 25px auto 0 auto;
    padding-left: 25px;
    color: var(--text-color);
    font-size: 1.05em;
}

.server-connect-card ol li { margin-bottom: 8px; }
.server-connect-card ol li strong { color: var(--primary-color); }
.server-connect-card p { color: var(--text-color); margin-bottom: 15px; }

.copy-feedback {
    margin: 20px auto 0 auto;
    padding: 12px 20px;
    background-color: rgba(0, 255, 102, 0.15); /* Keep a subtle visual */
    color: var(--primary-color);
    border: 1px solid rgba(0, 255, 102, 0.3);
    border-radius: 8px;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    font-size: 1em;
    max-width: 500px;
    text-align: left;
}

.copy-feedback.show { display: block; opacity: 1; }
