 
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;  
    background: linear-gradient(135deg, #3e2e21, #604230);
    color: #e0ddd8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); 
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700; 
    color: #d4a574; 
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.7);
}



a,
a:link,
a:visited {
    color: #e0ddd8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

    
    a:hover,
    a:focus {
        color: #ffd799; 
        text-decoration: underline;
 
        text-underline-offset: 3px;
    }



.content-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    
    display: flex; 
    flex-direction: column; 
    min-height: 150px; 
}


.post-meta {
    color: #FFD799;
    font-style: normal;
    font-size: 0.9rem;
    text-shadow: 1px 1px 0px #2b1f16, 2px 2px 3px rgba(0,0,0,0.8);
    text-align: right;
    margin-top: auto;
    padding-top: 15px;
}
.top-menu {
    background: linear-gradient(135deg, #3e2e21, #604230);
    
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d4a574;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.main-content {
    
    padding-top: 30px;
    padding-bottom: 30px;
    background: linear-gradient(135deg, rgba(62, 46, 33, 0.9), rgba(96, 66, 48, 0.7));
    min-height: calc(100vh - 56px); 
    box-sizing: border-box;
}
 

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav.desktop-nav {
    display: flex;
    flex: 1;
}

    nav.desktop-nav ul {
        list-style: none;
        display: flex;
        gap: 20px;
        margin: 0;
        padding: 0;
    }

    nav.desktop-nav a {
        color: #e0ddd8;
        text-decoration: none;
        padding: 8px 12px;
        border-radius: 6px;
        transition: all 0.2s ease;
        font-weight: 600;
        font-family: 'Cinzel', serif; 
        font-size: 1.1rem;
    }

        nav.desktop-nav a:hover,
        nav.desktop-nav a.active {
            background: rgba(212, 165, 116, 0.3);
            color: #d4a574;
        }

.guild-name {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Cinzel', serif; 
    background: linear-gradient(135deg, #d4a574, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}
 
 
.menudate {
    color: grey;
    font-size: 0.9rem;
    font-style: italic;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #e0ddd8;
    font-size: 26px;
    cursor: pointer;
}

nav.mobile-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

    nav.mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    nav.mobile-nav a {
        display: block;
        text-align: center;
        width: 100%;
        padding: 10px;
        border-radius: 8px;
        background: rgba(255,255,255,0.05);
        text-decoration: none;
        font-weight: 600;
        color: #e0ddd8;
    }

        nav.mobile-nav a:hover {
            background: rgba(212, 165, 116, 0.3);
            color: #d4a574;
        }

    nav.mobile-nav.show {
        display: flex;
    }


.sidebar-widget {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

    .sidebar-widget h3 {
        margin-top: 0;
        text-align: center;
        border-bottom: 1px solid rgba(212, 165, 116, 0.5);
        padding-bottom: 10px;
        margin-bottom: 15px;
    }


.current-cycle {
    border: 2px solid #555;
    border-radius: 6px;
    padding: 10px;
    transition: border-color 0.5s ease;
}

    .current-cycle.day {
        border-color: #d4a574;
    }

    .current-cycle.night {
        border-color: #6a5a8a;
    }

.cycle-status {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: 'Cinzel', serif;
    margin-bottom: 10px;
}

    .cycle-status i {
        margin-right: 10px;
    }

.current-cycle.day .fa-sun {
    color: #f9d71c;
}

.current-cycle.night .fa-moon {
    color: #d6cadd;
}

.progress-container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    height: 10px;
    margin-bottom: 10px;
    border: 1px solid #222;
}

.progress-bar {
    height: 100%;
    border-radius: 10px;
    background: #666;
    width: 0%;
    transition: width 1s linear;
}

.current-cycle.day .progress-bar {
    background: linear-gradient(90deg, #ffb84d, #f9d71c);
}

.current-cycle.night .progress-bar {
    background: linear-gradient(90deg, #4c3a6d, #8e7cc3);
}


.cycle-time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #ccc;
}
/ 
.event-item {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.event-item .event-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    
    gap: 15px;
    margin-bottom: 10px;
}

.event-item .event-title {
    margin-bottom: 0; 
    flex-grow: 1; 
}

.event-item .event-date {
    color: #ffd799;
    font-weight: bold;
    
    

    flex-shrink: 0; 
    text-align: right; 
}

    .event-item .event-date i {
        margin-right: 5px;
    }


.event-description {
    margin-bottom: 1rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

    .calendar-header span {
        font-family: 'Cinzel', serif;
        font-weight: bold;
        font-size: 1.1rem;
    }

.calendar-nav-btn {
    background: none;
    border: none;
    color: #d4a574;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 10px;
}

    .calendar-nav-btn:hover {
        color: #ff6b35;
    }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

    .calendar-grid .day-name {
        font-weight: bold;
        text-align: center;
        font-size: 0.8rem;
        color: #d4a574;
    }

    .calendar-grid .day {
        text-align: center;
        padding: 5px;
        font-size: 0.9rem;
        border-radius: 4px;
    }

        .calendar-grid .day.empty {
            background: none;
        }

        .calendar-grid .day.today {
            background-color: rgba(212, 165, 116, 0.3);
            border: 1px solid #d4a574;
            font-weight: bold;
        }

@media (max-width: 768px) {
    nav.desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .top-bar {
        flex-direction: row;
    }
    .btn-join-header {
        display: none;
    }

    
    .header-actions {
        width: 100%;
        justify-content: space-between; 
    }
}

.header-actions {
    display: flex;
    align-items: center; 
    gap: 20px; 
}


.btn-join-header {
    /* On smaller screens (like tablets), we want to hide this button
        
    display: block; /* Show it by default */
}




.event-widget-title {
    display: block;
    font-weight: bold;
    
    color: #d4a574;
    text-decoration: none;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

    
    .event-widget-title:hover {
        color: #ff6b35;
    }




.sidebar-cta-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    background-image: linear-gradient(135deg, #ff8c42, #ff6b35);
    color: #fff !important; 

    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none !important; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    border: 1px solid #ff8c42;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease-in-out;
}

    
    .sidebar-cta-button:hover {
        color: #fff !important;
        text-decoration: none !important; 

        background-image: linear-gradient(135deg, #ff6b35, #ff8c42);
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    }
.btn-theme {
    display: inline-block; 
    padding: 8px 16px;
    background-color: rgba(212, 165, 116, 0.15); 
    border: 1px solid #d4a574; 
    border-radius: 6px; 
    color: #d4a574; 
    font-family: 'Cinzel', serif; 
    font-weight: 700;
    text-align: center;
    text-decoration: none; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    transition: all 0.2s ease-in-out; 
}

    
    .btn-theme:hover {
        background-color: rgba(255, 107, 53, 0.3); 
        border-color: #ff6b35; 
        color: #fff; 
        transform: translateY(-2px); 
        box-shadow: 0 4px 8px rgba(0,0,0,0.3); 
    }



.guild-info-widget {
    
    padding: 0;
    text-align: center; 
    overflow: hidden; 
}


.guild-emblem {
    
    width: 60%;
    
    max-width: 170px;
    
    
    aspect-ratio: 1 / 1;
    
    margin: 25px auto 15px auto;
    border-radius: 50%;
    border: 4px solid #d4a574;
    box-shadow: 0 0 15px rgba(212, 165, 116, 0.5);
    overflow: hidden;
    background-color: #3e2e21;
}

    
    .guild-emblem img {
        
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


.guild-details {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
}

    
    .guild-details p {
        margin: 0;
        line-height: 1.6;
    }

.widget-subtitle {
    
    font-family: 'Cinzel', serif;
    
    font-size: 1.2rem;
    
    color: #d4a574;
    
    font-weight: 700;
    
    font-style: normal; 
    line-height: 1.4; 
    
    text-shadow: 2px 2px 3px rgba(0,0,0,0.7);
}



.guild-info-name {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;

    -webkit-background-clip: text;
    background-clip: text;
    
    color: white;
    
    
    
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}


.guild-info-server {
    font-size: 1.1rem;
    color: #d4a574; 
    font-weight: bold;
}


.guild-info-game {
    font-size: 1rem;
    color: #e0ddd8; 
    font-style: italic;
}
.guild-info-tagline {
    
    font-size: 1rem;
    
    color: papayawhip;
    
    line-height: 1.4;
    
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.7);
    
    margin-top: 10px;
}


.hero-banner {
    
    display: flex;
    align-items: center; 
    gap: 30px; 
    
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    overflow: hidden;
}


.hero-emblem {
    
    flex-basis: 220px;
    flex-shrink: 0; 
    aspect-ratio: 1 / 1; 

    border-radius: 50%;
    border: 5px solid #d4a574; 
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.6); 
    background-color: #3e2e21;
}

    .hero-emblem img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%; 
    }


.hero-details {
    flex-grow: 1; 
}



.hero-guild-name {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem; 
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    
 
    color: white;
 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-server-name {
    font-size: 1.3rem;
    color: #d4a574;
    font-weight: bold;
    margin: 0;
}

.hero-tagline {
    font-size: 1.5rem; 
    color: #e0ddd8;
    font-family: 'Cinzel', serif;
    font-weight: 400;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.7);
    margin: 10px 0 0 0;
}




@media (max-width: 991px) {
    .hero-banner {
        
        flex-direction: column;
        text-align: center; 
    }

    .hero-emblem {
        
        flex-basis: 180px;
        margin-bottom: 20px;
    }

    .hero-guild-name {
        font-size: 2.2rem; 
    }

    .hero-tagline {
        font-size: 1.3rem;
    }
}


.poster-widget {
    
    width: 100%; 
    
    padding: 15px; 
    border: 2px solid #d4a574; 
    
    box-shadow: inset 0 0 10px rgba(0,0,0,0.6);
    
    background: #3e2e21;
    border-radius: 8px; 
}

    
    .poster-widget img {
        
        width: 100%;
        height: auto; 
        display: block; 
        
        border: 1px solid rgba(0,0,0,0.5);
    }
.welcome-box {
    text-align: center;
    padding: 4rem 2rem;

    margin: auto;
    background-color: rgba(255, 255, 255, 0.03); 
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f0e7df;
}

.welcome-box hr {
    width: 60px;
    border: 2px solid #d4a574;
    opacity: 0.6;
    margin: 2rem auto;
}
 
.site-footer {
    background-color: #121212; 
    color: #a0a0a0; 
    padding: 60px 0 20px 0;
    margin-top: 50px; 
    font-family: 'Cinzel', serif; 
    border-top: 4px solid #4a3b2a; 
    background-image: url('../images/footer-bg-texture.png'); 
    background-size: cover;
    position: relative;
}
.site-footer0 {
    
    background-color: #3b2b1f;
    color: whitesmoke; 
    padding: 2px 0 2px 0;
    margin-top: 9px; 
    font-family: 'Cinzel', serif; 
    border-top: 4px solid #7a5c43; 
}

.footer-heading {
    font-weight: 700;
    color: #ffffff; 
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.footer-text {
    font-family: sans-serif; 
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .footer-links a:hover {
        color: #d4af37; 
        text-decoration: none;
        padding-left: 5px; 
    }


.social-icons .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #444;
    color: #a0a0a0;
    margin-right: 10px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-icons .social-icon:hover {
        background-color: #d4af37;
        color: #121212;
        border-color: #d4af37;
        transform: translateY(-3px); 
    }



.footer-bottom {
    text-align: center;
    padding-top: 6px;
    margin-top: 6px;
    border-top: 1px solid #333; 
    font-size: 0.9rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 

    color: #ffd799;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); 
}





.past-event-item {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap; 
    gap: 10px; 
    
    padding: 15px 20px;
    
    transition: all 0.2s ease-in-out;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    border-color: rgba(212, 165, 116, 0.6);
    background: #604230;
    margin-bottom:10px;

}

    
    .past-event-item:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 6px 15px rgba(0,0,0,0.4);
        border-color: rgba(212, 165, 116, 0.6);
    }


.past-event-date {
    color: #ffd799; 
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap; 
}


.past-event-title {
    color: #e0ddd8; 
    font-family: 'Cinzel', serif; 
    font-size: 1.1rem;
    font-weight: bold;
    text-align: left; 
    flex-grow: 1; 
}