:root {
    --neon: #39FF14;
    --black: #050505;
    --gunmetal: #1a1a1a;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(57, 255, 20, 0.3);
    --font-header: 'Saira Stencil One', sans-serif;
    --font-cyber: 'Audiowide', cursive;
    --font-body: 'Teko', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Custom cursor */
}

body {
    background-color: var(--black);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.2rem;
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--neon);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--neon);
    transition: 0.1s;
}

/* Layout Grid */
body {
    display: flex;
}

.sidebar {
    width: 100px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: var(--black);
    border-right: 1px solid #222;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    z-index: 100;
}

.logo {
    /* Removed rotation for image logic, but might need it based on design preference. 
       Assuming image should be upright or small. Let's keep it simple first. */
    writing-mode: horizontal-tb;
    transform: none;
    padding: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.logo img {
    max-width: 60px;
    /* Fits sidebar width */
    height: auto;
    filter: drop-shadow(0 0 5px var(--neon));
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.menu-items a {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    text-decoration: none;
    color: #555;
    font-size: 1.1rem;
    letter-spacing: 2px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-items a i {
    transform: rotate(90deg);
    /* Counteract text rotation for icon */
    font-size: 1.2rem;
}

.menu-items a:hover,
.menu-items a.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-links a {
    color: var(--neon);
    font-size: 1.2rem;
}

main {
    margin-left: 100px;
    /* Offset for sidebar */
    width: calc(100% - 100px);
}

/* Hero V2 */
.hero-v2 {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 10%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero_real.jpg');
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) contrast(120%) brightness(0.6);
    z-index: -2;
}

/* Scanline effect */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    z-index: -1;
    pointer-events: none;
}

.mega-title {
    font-family: var(--font-header);
    font-size: clamp(4rem, 12vw, 12rem);
    line-height: 0.8;
    color: #fff;
    text-transform: uppercase;
}

.mega-title.outline {
    color: transparent;
    -webkit-text-stroke: 2px #fff;
    opacity: 0.7;
}

.hero-sub {
    margin: 30px 0;
    font-family: 'Courier New', monospace;
    color: var(--neon);
    font-size: 1rem;
    letter-spacing: 2px;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.btn-cyber {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--neon);
    color: var(--neon);
    text-decoration: none;
    font-family: var(--font-cyber);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    background: rgba(57, 255, 20, 0.1);
}

.btn-cyber:hover {
    background: var(--neon);
    color: #000;
    box-shadow: 0 0 30px var(--neon);
}

/* Sections */
.marquee-section {
    background: var(--neon);
    color: #000;
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    transform: rotate(-2deg) scale(1.1);
    margin: 50px 0;
}

.marquee-content {
    font-family: var(--font-header);
    font-size: 3rem;
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Arsenal Grid */
.arsenal-grid {
    padding: 100px 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.grid-header {
    grid-column: span 4;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.grid-header h2 {
    font-family: var(--font-cyber);
    font-size: 4rem;
    color: #fff;
}

.line-deco {
    flex-grow: 1;
    height: 2px;
    background: var(--neon);
}

.bento-box {
    background: var(--gunmetal);
    border: 1px solid #333;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-box:hover {
    border-color: var(--neon);
    background: #111;
}

.box-large {
    grid-column: span 2;
    background: url('hero_real.jpg');
    /* Reuse for texture */
    background-size: cover;
    background-blend-mode: overlay;
    background-color: var(--gunmetal);
}

.box-tall {
    grid-row: span 2;
}

.icon-bg {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 8rem;
    opacity: 0.1;
    color: var(--neon);
}

.bento-box h3 {
    font-family: var(--font-cyber);
    font-size: 2rem;
    color: #fff;
}

.bento-box p {
    color: #aaa;
    font-size: 1.1rem;
}

/* Protocol / Classes */
.protocol {
    padding: 100px 5%;
}

.class-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 50px;
}

.cyber-card {
    min-width: 300px;
    background: #000;
    border: 1px solid #333;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.card-img {
    height: 200px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.3s;
}

.cyber-card:hover .card-img img {
    filter: grayscale(0%);
}

.card-info {
    padding: 20px;
}

.card-info h3 {
    color: var(--neon);
    font-family: var(--font-cyber);
    margin-bottom: 5px;
}

/* Membership */
.join-section {
    padding: 100px 5%;
    background: radial-gradient(circle at center, #111, #000);
}

.plans-v2 {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.plan-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    width: 300px;
    padding: 40px;
    border: 1px solid #333;
    text-align: center;
    transition: 0.3s;
}

.plan-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: var(--neon);
}

.neon-border {
    border: 1px solid var(--neon);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
}

.plan-price {
    font-family: var(--font-header);
    font-size: 4rem;
    color: #fff;
    margin: 20px 0;
}

.plan-features {
    text-align: left;
    margin-bottom: 30px;
    list-style: none;
    color: #aaa;
    font-family: 'Courier New', monospace;
}

.plan-features li {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        flex-direction: column;
        padding-bottom: 70px;
        /* Space for bottom nav */
    }

    /* Top Bar for Logo */
    .sidebar {
        width: 100%;
        height: 60px;
        flex-direction: row;
        padding: 0 20px;
        position: fixed;
        top: 0;
        left: 0;
        bottom: auto;
        border-right: none;
        border-bottom: 1px solid #222;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        z-index: 100;
        justify-content: space-between;
    }

    .sidebar .logo {
        writing-mode: horizontal-tb;
        transform: none;
        letter-spacing: 2px;
        justify-content: flex-start;
        padding: 0;
        width: auto;
    }

    .logo img {
        max-width: 40px;
    }

    .social-links {
        display: none;
    }

    /* Bottom Navigation */
    .menu-items {
        display: flex;
        flex-direction: row;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: #000;
        border-top: 1px solid #222;
        justify-content: space-around;
        align-items: center;
        padding: 0;
        z-index: 100;
    }

    .menu-items a {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 0.8rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        color: #555;
    }

    .menu-items a i {
        transform: none;
        /* Reset icon rotation */
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    /* Hide text on very small screens if needed, but for now wrap */
    .menu-items a {
        font-size: 0.7rem;
        /* Smaller text for mobile */
        text-align: center;
    }

    .menu-items a::before {
        content: '';
        /* Icons can be added here or via HTML updates */
        display: block;
        width: 20px;
        height: 20px;
        background: currentColor;
        mask-size: cover;
        -webkit-mask-size: cover;
    }

    /* Reset margin since Sidebar is now Top/Bottom bars */
    main {
        margin-left: 0;
        margin-top: 60px;
        /* Top bar height */
        width: 100%;
    }

    .hero-v2 {
        padding-left: 5%;
    }

    /* Arsenal Mobile Updates */
    .arsenal-grid {
        padding: 50px 5%;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        /* Allow auto rows */
        gap: 20px;
    }

    .bento-box {
        min-height: 250px;
    }
}

.box-large,
.box-tall {
    grid-column: auto;
    grid-row: auto;
}

.grid-header {
    grid-column: span 1;
    /* Reset from span 4 */
    flex-direction: column;
    align-items: flex-start;
}

.grid-header h2 {
    font-size: 3rem;
}

.line-deco {
    width: 100px;
    /* shorter line */
    flex-grow: 0;
}
}