        /* Modern Dark Theme */
        :root {
            --primary-dark: #0d0d0d;
            --secondary-dark: #1a1a1a;
            --accent-purple: #6e2ca5;
            --accent-red: #8b0000;
            --text-color: #d4d4d4;
            --highlight: #9c27b0;
        }
        
        body {
            margin: 0;
            padding: 0;
            background-color: var(--primary-dark);
            font-family: 'Cinzel', serif;
            color: var(--text-color);
            background-image: radial-gradient(circle at center, #1a1a1a 0%, #0d0d0d 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            vertical-align: top;
        }
        
  /* container for stacking content above the video */
  .bg-wrap {
    position: fixed;    /* stay put while scrolling */
    inset: 0;           /* top:0; right:0; bottom:0; left:0 */
    overflow: hidden;
    z-index: -1;        /* behind page content */
  }

  /* the video fills the container and scales to cover */
  .bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;       /* fallback sizing that will be covered by transform */
    height: 100vh;
    transform: translate(-50%, -50%);
    object-fit: cover;  /* preserve aspect ratio and cover the viewport */
    /* prevent pointer events so page elements remain clickable */
    pointer-events: none;
  }

  /* content sits on top */
  .content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  }

  /* optional: make sure video doesn't show black bars on very short viewports */
  @media (max-aspect-ratio: 3/2) {
    .bg-video { width: auto; height: 120vh; } /* tweak to avoid letterboxing on narrow screens */
  }

        a {
            color: #8b0000;
            text-decoration: none;
            font-weight: bold;
        }

        a:hover {
            color:#b8b8b8;
            text-decoration: underline;
            font-weight: bolder;
        }

        .newsfeed {
            position: relative;
            width: 100%;
            background: linear-gradient(135deg, #656565 0%, #444 40%, #2e2e2e 100%);
            border-radius: 50px 50px 0 0;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
            display: flex;
            flex-direction: column;
            padding-top: 20px;
            padding: 20px;
            z-index: 2;
            overflow: hidden;
        }

        .newsfeed::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: repeating-linear-gradient(
                to bottom,
                transparent,
                transparent 2px,
                rgba(0, 0, 0, 0.05) 2px,
                rgba(0, 0, 0, 0.05) 4px
            );
            border-radius: 25px 25px 0 0;
            pointer-events: none;
        }

        .newsfeed:hover {
            
            box-shadow: 0 5px 15px rgb(82, 1, 99);
            border-color: var(--highlight);
            color: #fff;
        }

        .newstitle {
            align-content: center;
            font-size: 28px;
            font-weight: 700;
            color: var(--text-color);
            text-shadow: 0 0 10px rgba(156, 39, 176, 0.7);
            letter-spacing: 2px;
        }

        .newssig {
            font-style: italic;
            font-size: 12px;
            text-align: right;
        }

        .pagetable {
            display: flex;
            max-width: 1080px;
            width: 100%;
            vertical-align: top;
            padding: 0px;
            position: center;

        }

        .left {
            display: flex;
            max-width: 340px;
            width: 100%;
            vertical-align: text-top;
            padding: 10px;
            height: 100%;
        }

        .right {
            display: flex;
            max-width: 740px;
            width: 100%;
            height: 100%;
            vertical-align: text-top;
            padding: 10px;

        }

        .logo {
            display: flex;
            width: 100%;
            max-width: 740px;
            display: flex;
            padding: 10px;
            height: 100%;
            vertical-align: text-top;
        }

        .container {
            position: relative;
            width: 100%;
            max-width: 250px;
            display: flex;
            justify-content: center;
            padding: 20px;
            height: 100%;
        }
        
        .tombstone-container {
            position: relative;
            width: 100%;
            height: 100%;
        }


        
        .tombstone {
            position: relative;
            width: 100%;
            height: 700px;
            background: linear-gradient(135deg, #656565 0%, #444 40%, #2e2e2e 100%);
            border-radius: 50px 50px 0 0;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 40px;
            z-index: 2;
            overflow: hidden;
        }
        
        .tombstone::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: repeating-linear-gradient(
                to bottom,
                transparent,
                transparent 2px,
                rgba(0, 0, 0, 0.05) 2px,
                rgba(0, 0, 0, 0.05) 4px
            );
            border-radius: 50px 50px 0 0;
            pointer-events: none;
        }
        
        .guild-title {
            font-size: 58px;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text-color);
            text-shadow: 0 0 10px rgba(156, 39, 176, 0.7);
            letter-spacing: 2px;
        }
        
        .nav-menu {
            display: flex;
            flex-direction: column;
            width: 90%;
        }
        
        .nav-item {
            position: relative;
            margin: 12px 0;
            padding: 12px 25px;
            font-size: 22px;
            text-align: center;
            text-decoration: none;
            color: var(--text-color);
            background-color: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(156, 39, 176, 0.3);
            border-radius: 5px;
            transition: all 0.8s ease;
            overflow: hidden;
            z-index: 1;
        }
        
        .nav-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(156, 39, 176, 0.2), transparent);
            transition: all 0.4s ease;
            z-index: -1;
        }
        
        .nav-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(156, 39, 176, 0.4);
            border-color: var(--highlight);
            color: #fff;
        }
        
        .nav-item:hover::before {
            left: 100%;
        }
        
        .footer {
            position: absolute;
            bottom: 30px;
            font-size: 14px;
            opacity: 0.6;
            font-style: italic;
        }
        
        /* Animations */
        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(-5deg); }
            50% { transform: translateY(-20px) rotate(5deg); }
        }
        
        @keyframes buzz {
            0%, 100% { transform: translateX(0) translateY(0); }
            25% { transform: translateX(5px) translateY(-5px); }
            50% { transform: translateX(-5px) translateY(5px); }
            75% { transform: translateX(5px) translateY(5px); }
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .tombstone-container {
                width: 250px;
                height: 700px;
            }
            
            .guild-title {
                font-size: 36px;
            }
            
            .nav-item {
                font-size: 18px;
                padding: 10px 20px;
            }
            

        }
        
        /* Modern effects */
        .glow {
            position: absolute;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at center, rgba(156, 39, 176, 0.2) 0%, transparent 70%);
            pointer-events: none;
            z-index: 1;
        }
        
        .scratch {
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.05) 50%, transparent 52%);
            background-size: 10px 10px;
            pointer-events: none;
            opacity: 0.3;
        }