        :root {
            --primary-gold: #c5a059;
            --dark-bg: #121212;
            --card-bg: #1e1e1e;
            --text-light: #e0e0e0;
            --accent-blue: #4a90e2;
        }

        body {
            margin: 0;
            padding: 0;
            background-color: var(--dark-bg);
            color: var(--text-light);
            font-family: 'Quicksand', sans-serif;
            line-height: 1.6;
        }

        h1, h2, h3 {
            font-family: 'Cinzel', serif;
            color: var(--primary-gold);
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        /* Hero Section */
        header {
            background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                        url('images/header.png'); /* Replace with your actual banner URL */
            background-size: cover;
            background-position: center;
            height: 60vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            border-bottom: 4px solid var(--primary-gold);
        }

        .hero-title {
            font-size: 3.5rem;
            margin-bottom: 0;
            text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
        }

        .hero-subtitle {
            font-size: 1.2rem;
            color: #ccc;
            margin-top: 10px;
        }


        /* Container */
        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        /* Info Section */
        .grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 40px;
        }

        @media (max-width: 768px) {
            .grid { grid-template-columns: 1fr; }
            .hero-title { font-size: 2.5rem; }
        }

        .card {
            background: var(--card-bg);
            padding: 25px;
            border-radius: 8px;
            border-left: 4px solid var(--primary-gold);
            box-shadow: 0 4px 15px rgba(0,0,0,0.5);
        }

        /* Feature List */
        ul {
            list-style: none;
            padding: 0;
        }

        ul li {
            margin-bottom: 15px;
            padding-left: 30px;
            position: relative;
        }

        ul li::before {
            content: '⚔️';
            position: absolute;
            left: 0;
            color: var(--primary-gold);
        }

        /* CTA Button */
        .cta-container {
            text-align: center;
            margin-top: 50px;
        }

        .btn {
            background-color: var(--primary-gold);
            color: #000;
            padding: 15px 40px;
            text-decoration: none;
            font-weight: bold;
            font-size: 1.2rem;
            border-radius: 5px;
            transition: transform 0.2s, background 0.3s;
            display: inline-block;
        }

        .btn:hover {
            transform: translateY(-3px);
            background-color: #d4b475;
        }

/* Targeted Link Styling for content areas */
        p a, ul li a, .secret-content a {
            color: var(--primary-gold);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            position: relative;
            display: inline-block; /* Helps with underline positioning */
        }

        /* Hover effect only for these specific links */
        p a:hover, ul li a:hover, .secret-content a:hover {
            color: #fceabb;
            text-shadow: 0 0 8px rgba(197, 160, 89, 0.6);
        }

        /* The animated underline only for these text links */
        p a::after, ul li a::after, .secret-content a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 1px;
            bottom: -1px;
            left: 0;
            background-color: var(--primary-gold);
            transition: width 0.3s ease;
        }

        p a:hover::after, ul li a:hover::after, .secret-content a:hover::after {
            width: 100%;
        }

/* Guild Hub Icon Row */
        .guild-hub {
            padding: 60px 0;
        }

        .icon-row {
            display: flex;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
        }

        .hub-icon-link {
            width: 80px;
            height: 80px;
            transition: transform 0.3s ease, filter 0.3s ease;
        }

        .hub-icon-link img {
            width: 100%;
            height: 100%;
            border-radius: 50%; /* Makes them perfectly round */
            border: 2px solid var(--primary-gold);
            object-fit: cover;
            background: #000;
        }

        .hub-icon-link:hover {
            transform: translateY(-10px);
            filter: drop-shadow(0 0 15px var(--primary-gold));
        }

        @media (max-width: 600px) {
            .icon-row { gap: 20px; }
            .hub-icon-link { width: 60px; height: 60px; }
        }

        footer {
            text-align: center;
            padding: 40px;
            font-size: 0.9rem;
            color: #666;
            border-top: 1px solid #333;
        }
		
/* Specific Button Styling for Cards */
        .card-header-flex {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 15px;
        }

        .btn-sm {
            background-color: var(--primary-gold);
            color: #000;
            padding: 10px 20px;
            text-decoration: none;
            font-weight: bold;
            font-size: 0.9rem;
            border-radius: 4px;
            transition: all 0.3s ease;
            white-space: nowrap;
            box-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
            animation: pulse-glow 2s infinite; /* The idle pulse */
        }

        .btn-sm:hover {
            transform: translateY(-2px);
            background-color: #fceabb;
            box-shadow: 0 0 20px var(--primary-gold);
            animation: none; /* Stop pulsing when user is hovering */
        }

        @keyframes pulse-glow {
            0% { box-shadow: 0 0 5px rgba(197, 160, 89, 0.4); }
            50% { box-shadow: 0 0 15px rgba(197, 160, 89, 0.8); }
            100% { box-shadow: 0 0 5px rgba(197, 160, 89, 0.4); }
        }

        /* Responsive tweak for small screens */
        @media (max-width: 480px) {
            .card-header-flex { flex-direction: column; align-items: flex-start; }
            .btn-sm { width: 100%; text-align: center; }
        }

/* Modal Styles */
        .modal-overlay {
            display: none; /* Hidden by default */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(5px);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background: var(--card-bg);
            padding: 40px;
            border-radius: 12px;
            border: 1px solid var(--primary-gold);
            width: 100%;
            max-width: 400px;
            position: relative;
            box-shadow: 0 0 30px rgba(197, 160, 89, 0.2);
            text-align: center;
        }

        .close-modal {
            position: absolute;
            top: 15px;
            right: 20px;
            color: var(--text-light);
            font-size: 1.5rem;
            cursor: pointer;
            transition: color 0.3s;
        }

        .close-modal:hover { color: var(--primary-gold); }

        /* Form Styles */
        .modal-content input {
            width: 100%;
            padding: 12px;
            margin: 10px 0;
            background: #121212;
            border: 1px solid #333;
            color: white;
            border-radius: 4px;
            box-sizing: border-box; /* Fixes padding width issues */
        }

        .modal-content input:focus {
            outline: none;
            border-color: var(--primary-gold);
        }

        .form-switch {
            margin-top: 20px;
            font-size: 0.85rem;
            color: #888;
        }

        .form-switch span {
            color: var(--primary-gold);
            cursor: pointer;
            text-decoration: underline;
        }

		#formEmail {
            transition: all 0.3s ease;
        }
@media (max-width: 600px) {
            /* Keep buttons from stretching to 100% width */
            .btn-sm, .btn {
                width: fit-content !important;
                margin-left: auto;
                margin-right: auto;
                display: block; /* Ensures auto margins work for centering */
                padding: 10px 25px; /* Slightly tighter padding for small screens */
            }

            /* Adjust the card header to keep the title and button looking clean */
            .card-header-flex {
                flex-direction: column;
                align-items: center; /* Centers both the H3 and the Button */
                text-align: center;
                gap: 10px;
            }
        }
		
