/* Hub Landing Page - Neutral Gold Theme */

:root {
    --bg-color: #0a0a0a;
    --accent-color: #b8860b;
    --accent-hover: #ffd700;
    --accent-gradient: linear-gradient(90deg, #ffd700, #b8860b);
    --glow-color: rgba(255, 215, 0, 0.4);
    --btn-glow: rgba(184, 134, 11, 0.4);
    --btn-primary-bg: linear-gradient(135deg, #4a3a0a 0%, #6a4a0a 50%, #4a3a0a 100%);
    --btn-primary-hover: linear-gradient(135deg, #5a4a1a 0%, #7a5a1a 50%, #5a4a1a 100%);
    --btn-primary-color: #ffd700;
    --border-color: rgba(184, 134, 11, 0.3);
    --card-bg: linear-gradient(135deg, rgba(15, 12, 8, 0.9) 0%, rgba(25, 20, 10, 0.9) 100%);
    --card-glow: rgba(184, 134, 11, 0.2);
    --text-muted: #a89a7a;
    --text-dark: #5a4a3a;
}

body {
    background: #0a0a0a;
    color: #e8e0d5;
}

/* Hub Background */
.hub-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(ellipse at center, rgba(184, 134, 11, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at top, transparent 0%, #0a0a0a 70%),
        linear-gradient(to bottom, #0a0a0a 0%, #0f0d08 50%, #0a0a0a 100%);
}

.hub-bg::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top,
        rgba(255, 215, 0, 0.06) 0%,
        rgba(184, 134, 11, 0.03) 30%,
        transparent 100%);
    animation: hubGlow 4s ease-in-out infinite alternate;
}

@keyframes hubGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Gold Particles */
.particle {
    background: radial-gradient(circle, #ffd700 0%, #b8860b 50%, transparent 100%);
}

/* Hub Title */
.hub-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffd700;
    letter-spacing: 6px;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
    animation: titlePulse 3s ease-in-out infinite alternate;
}

@keyframes titlePulse {
    0% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.8); }
    100% { text-shadow: 0 0 40px rgba(255, 215, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.8); }
}

.hub-tagline {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #b8860b;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 4rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Guild Card Grid */
.guild-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    width: 100%;
    padding: 0 2rem;
}

.guild-card {
    display: block;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(15, 12, 8, 0.95) 0%, rgba(25, 20, 10, 0.95) 100%);
    border: 2px solid rgba(184, 134, 11, 0.3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.guild-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    transition: opacity 0.3s ease;
}

.guild-card:hover {
    transform: translateY(-8px);
}

/* Tempest Card - Red/Fire */
.guild-card--tempest {
    border-color: rgba(139, 0, 0, 0.4);
}

.guild-card--tempest::before {
    background: linear-gradient(90deg, #8b0000, #ff6600, #8b0000);
}

.guild-card--tempest:hover {
    border-color: #cc3333;
    box-shadow: 0 0 30px rgba(204, 51, 51, 0.3), 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Maelstrom Card - Blue/Storm */
.guild-card--maelstrom {
    border-color: rgba(74, 144, 217, 0.4);
}

.guild-card--maelstrom::before {
    background: linear-gradient(90deg, #1e3a6e, #69b4ff, #1e3a6e);
}

.guild-card--maelstrom:hover {
    border-color: #4a90d9;
    box-shadow: 0 0 30px rgba(74, 144, 217, 0.3), 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Vortex Card - Green/Fel */
.guild-card--vortex {
    border-color: rgba(57, 211, 83, 0.4);
}

.guild-card--vortex::before {
    background: linear-gradient(90deg, #1a5c2a, #39d353, #1a5c2a);
}

.guild-card--vortex:hover {
    border-color: #39d353;
    box-shadow: 0 0 30px rgba(57, 211, 83, 0.3), 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Card Logo */
.guild-card__logo {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: filter 0.3s ease;
}

.guild-card--tempest:hover .guild-card__logo {
    filter: drop-shadow(0 0 20px rgba(255, 102, 0, 0.4));
}

.guild-card--maelstrom:hover .guild-card__logo {
    filter: drop-shadow(0 0 20px rgba(74, 144, 217, 0.4));
}

.guild-card--vortex:hover .guild-card__logo {
    filter: drop-shadow(0 0 20px rgba(57, 211, 83, 0.4));
}

/* Card Content */
.guild-card__name {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.guild-card--tempest .guild-card__name { color: #ff6600; }
.guild-card--maelstrom .guild-card__name { color: #69b4ff; }
.guild-card--vortex .guild-card__name { color: #39d353; }

/* Faction Badge */
.faction-badge {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 3px;
    margin-bottom: 1rem;
    font-weight: 700;
}

.faction-badge--horde {
    background: rgba(139, 0, 0, 0.3);
    color: #ff5555;
    border: 1px solid rgba(204, 51, 51, 0.5);
}

.faction-badge--alliance {
    background: rgba(30, 60, 120, 0.3);
    color: #69b4ff;
    border: 1px solid rgba(74, 144, 217, 0.5);
}

/* Card Details */
.guild-card__details {
    list-style: none;
    margin-bottom: 1rem;
}

.guild-card__details li {
    color: #a89a7a;
    font-size: 0.95rem;
    line-height: 1.8;
}

.guild-card__details strong {
    color: #c8b888;
}

.guild-card__arrow {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b8860b;
    transition: color 0.3s ease;
}

.guild-card:hover .guild-card__arrow {
    color: #ffd700;
}

/* Nav link colors */
.tempest-link {
    color: #cc3333 !important;
}

.tempest-link:hover {
    color: #ff5555 !important;
    text-shadow: 0 0 10px rgba(204, 51, 51, 0.5) !important;
}

.tempest-link::after {
    background: linear-gradient(90deg, #cc3333, #ff6600) !important;
}

.maelstrom-link {
    color: #4a90d9 !important;
}

.maelstrom-link:hover {
    color: #69b4ff !important;
    text-shadow: 0 0 10px rgba(74, 144, 217, 0.5) !important;
}

.maelstrom-link::after {
    background: linear-gradient(90deg, #4a90d9, #69b4ff) !important;
}

.vortex-link {
    color: #39d353 !important;
}

.vortex-link:hover {
    color: #5ee870 !important;
    text-shadow: 0 0 10px rgba(57, 211, 83, 0.5) !important;
}

.vortex-link::after {
    background: linear-gradient(90deg, #39d353, #5ee870) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hub-title {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    .hub-tagline {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .guild-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}
