:root {
    --bg: #020617;
    --card-bg: rgba(30, 41, 59, 0.5);
    --accent: #38bdf8;
    --text-dim: #94a3b8;
}

body
{
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top right, #1e293b, #020617);
    font-family: "Inter", sans-serif;

    background-image: 
        linear-gradient(rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.7)),
        url('../assets/warfare-background.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    background-attachment: fixed;
}

.hero
{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;

    padding: 20px 40px 40px 40px;
    
}


.hero-left
{
    max-width: 700px;
    margin-top: 120px;
    margin-bottom: 250px;
    
}



.h1
{
    color: #ffffff;
    text-align: left;
    font-size: 72px;
    font-weight: 800;
   
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 0;
  
    position: relative; 
    z-index: 2;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4), 0 0 25px rgba(56, 189, 248, 0.3);
    white-space: nowrap;
}

.hero-right
{   
    width: 300px;
    display: flex;
    justify-content: flex-start;
}

.system-panel
{   
    
    width: 260px;
    margin-top: 70px;
    padding: 25px;

    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(56,189,248,0.2);
    border-radius: 12px;
}

.system-panel a
{
    color: var(--text-dim);
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: 0.2s ease;
}

.system-panel a:hover
{
    color: var(--accent);
}

.system-panel h3
{
    color: var(--accent);
    margin-bottom: 15px;
}

.system-panel ul
{
    list-style: none;
    padding: 0;
}

.system-panel li
{
    padding: 8px 0;
    color: var(--text-dim);
}

.system-panel li:hover
{
    transform: translateX(4px);
}

.p
{
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 25px 0;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.h2

{
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    margin-top: 5px;
    font-style: italic;
    
}

.system-panel
{
    background: rgba(15,23,42,0.8);
    border: 1px solid rgba(56,189,248,0.2);
    padding: 25px;
    border-radius: 10px;
    width: 260px;
}

.system-panel ul
{
    list-style: none;
    padding: 0;
}

.system-panel li
{
    padding: 8px 0;
    color: var(--text-dim);
}

.a
{
    color: white;
    background-color: #38bdf8;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    margin: 10px;
    display: inline-block;
}
.a:hover
{   
    background-color: #0ea5e9;
    text-decoration: underline;
}

/* Navigation Bar */

.navbar
{
    color: #e2e8f0;
    background-color: transparent;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    padding: 20px 40px;
    font-size: 20px;
    letter-spacing: 1px;
}

.navbar a{
    color: #e2e8f0;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.navbar a:hover
{
    color: #38bdf8;
    border-bottom: 2px solid #38bdf8;
}

/* Card UI */
.card
{   
    text-decoration: none;
    color: inherit;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
    background-image: 
        linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
    background-size: 15px 15px;
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s ease;
    overflow: hidden;
    cursor: pointer;
}

.card::after
{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;

    background: var(--accent);
    opacity: 0.25;
}

.status-indicator 
{
    position: absolute;
    top: 15px;
    left: 15px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.status-dot 
{
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
    position: relative;
    z-index: 2;
}

.status-ring 
{
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent);
    border-radius: 50%;
    animation: pulse-ring 2s infinite ease-out;
    opacity: 0;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(15, 23, 42, 0.95) 100%);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    padding: 20px;
}

.card-image
{
    width: 100%;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(56,189,248,0.3));
    margin-bottom: 15px;
}

.card-title
{
    font-size: 1.1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 10px 0;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.card-description
{
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.4;
    border-top: 1px solid rgba(56, 189, 248, 0.1);
    padding-top: 10px;
    width: 100%;
}

.section-title
{
    color: var(--accent);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;

    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title::after
{
    content: '';
    flex-grow: 1;
    height: 1px;

    background: linear-gradient(
        90deg,
        var(--accent),
        transparent
    );

    opacity: 0.3;
}

/* Game Section */

.games-section
{
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px;
}

/* System Section */
.system-section
{
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px;
}




.layout
{
    display: flex;
}



.main-wrapper
{
    
    
    gap: 40px;


    transition: 0.3s ease;
    
    margin-right: 20px;
    padding: 40px;
    background: rgba(15, 23, 42, 0.4); 
    backdrop-filter: blur(8px); 
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.05);
}


.system-page
{
    max-width: 900px;
    backdrop-filter: blur(8px); 
    margin: 120px auto;
    background: rgba(15, 23, 42, 0.7); 
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.system-page h1
{
    color: #ffffff;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4), 0 0 25px rgba(56, 189, 248, 0.3);
}

.system-page h2
{
    color: var(--accent);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.system-page p,
.system-page li
{
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

pre
{
    background: rgba(30, 41, 59, 0.8);
    color: #38bdf8;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    overflow-x: auto;
}

.video-container
{
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    margin-top: 20px;
}

.video-container iframe
{
    width: 100%;
    height: 100%;
    
    border: 1px solid rgba(56,189,248,0.2);
    border-radius: 12px;
}

.contact-page
{
    max-width: 1000px;
    margin: 120px auto;
    padding: 40px;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.1);
    text-align: center;
}

.contact-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.contact-card
{
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(56, 189, 248, 0.1);
    padding: 35px 20px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
    cursor: pointer;
    text-decoration: none;
}

.contact-card:hover
{
    transform: translateY(-5px);
    border-color: var(--accent);
    background: rgba(56, 189, 248, 0.05);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.5), 0 0 15px rgba(56, 189, 248, 0.2);
}

.contact-card h3
{
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.contact-card:hover h3
{
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent);
}

.contact-card .p
{   
    color: var(--text-dim);
    margin: 0;
    word-break: break-all;
    transition: color 0.3s ease;
}

.contact-card:hover .p
{
    color: #ffffff;
}

.contact-card a
{
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    z-index: 2;
}

.contact-card a:hover
{
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent);
}

.contact-card::before,
.contact-card::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0.5;
    transition: all 0.3s ease;
    pointer-events: none; 
}

.contact-card::before {
    top: 0;
    left: 0;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.contact-card::after {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

.contact-card:hover::before,
.contact-card:hover::after {
    width: 18px;
    height: 18px;
    opacity: 1;
    box-shadow: 0 0 10px var(--accent);
}