@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Roboto:wght@300;400;500&display=swap');

/* The Skeld Campaign Site Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 30%, #2d1b2e 70%, #0f1419 100%);
    color: #d4c5b0;
    line-height: 1.7;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background: rgba(15, 20, 25, 0.95);
    padding: 1rem 0;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #c9a876;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #d4c5b0;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 3px;
    transition: all 0.3s ease;
    font-weight: 400;
    letter-spacing: 0.5px;
}

nav a:hover {
    background: rgba(201, 168, 118, 0.15);
    color: #c9a876;
    transform: translateY(-1px);
}

/* Logo Image */
.logo-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
    margin: 2rem auto;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 95%;
    max-height: 95%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f0e6d2;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #c9a876;
}

/* Main Content */
main {
    background: rgba(26, 35, 50, 0.3);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

h1 {
    color: #c9a876;
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

h2 {
    color: #b8956f;
    font-size: 2rem;
    font-weight: 400;
    margin: 2.5rem 0 1.2rem 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

h3 {
    color: #c9a876;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 2rem 0 0.8rem 0;
}

h4 {
    color: #d4c5b0;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 1.5rem 0 0.5rem 0;
}

p {
    margin-bottom: 1.2rem;
    text-align: justify;
    font-weight: 300;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
    background: url('images/the-skeld-main-logo.jpg') center/cover no-repeat;
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.hero h1 {
    font-size: 4rem;
    color: #fff;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.4rem;
    color: #f0e6d2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Navigation Sections */
.nav-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.nav-card {
    background: rgba(45, 27, 46, 0.4);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.nav-card:hover {
    background: rgba(45, 27, 46, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.nav-card h3 {
    color: #c9a876;
    margin-bottom: 1.2rem;
    font-weight: 400;
}

.nav-card ul {
    list-style: none;
}

.nav-card li {
    margin: 0.7rem 0;
}

.nav-card a {
    color: #d4c5b0;
    text-decoration: none;
    padding: 0.4rem 0;
    display: block;
    transition: all 0.3s ease;
    font-weight: 300;
}

.nav-card a:hover {
    color: #c9a876;
    padding-left: 12px;
    transform: translateX(4px);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(15, 20, 25, 0.4);
    border-radius: 6px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
}

th {
    background: rgba(45, 27, 46, 0.6);
    color: #c9a876;
    font-weight: 500;
    font-family: 'Cinzel', serif;
}

tr:nth-child(even) {
    background: rgba(26, 35, 50, 0.3);
}

/* Lists */
ul, ol {
    margin: 1.2rem 0;
    padding-left: 2rem;
}

li {
    margin: 0.6rem 0;
    font-weight: 300;
}

/* Blockquotes */
blockquote {
    background: rgba(45, 27, 46, 0.4);
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #d4c5b0;
    border-radius: 6px;
    font-weight: 300;
}

/* Code blocks */
code {
    background: rgba(15, 20, 25, 0.8);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #c9a876;
    font-size: 0.9rem;
}

pre {
    background: rgba(15, 20, 25, 0.8);
    padding: 1.5rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 3rem;
    color: #b8956f;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .nav-sections {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 15px;
    }
    
    main {
        padding: 1.5rem;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .logo-image {
        max-width: 100%;
        margin: 1rem auto;
    }
}

/* Special Elements */
.highlight {
    background: rgba(201, 168, 118, 0.2);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    color: #f0e6d2;
}

.warning {
    background: rgba(139, 69, 19, 0.3);
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    backdrop-filter: blur(5px);
}

.info {
    background: rgba(45, 27, 46, 0.4);
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    backdrop-filter: blur(5px);
}

.breadcrumb {
    color: #b8956f;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 300;
}

.breadcrumb a {
    color: #c9a876;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #d4c5b0;
}

/* Content Links */
main a {
    color: #c9a876;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    transition: all 0.3s ease;
}

main a:hover {
    background: rgba(201, 168, 118, 0.15);
    color: #f0e6d2;
    transform: translateY(-1px);
}

/* Buttons */
.btn {
    background: linear-gradient(135deg, #d2691e 0%, #ff8c42 100%);
    color: #fff;
    border: 2px solid #b8956f;
    padding: 12px 40px;
    margin: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    box-sizing: border-box;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn:hover {
    background: linear-gradient(135deg, #ff8c42 0%, #ffa500 100%);
    border-color: #c9a876;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: rgba(26, 35, 50, 0.8);
    color: #f0e6d2;
    border: 2px solid #9a8c98;
    padding: 8px 30px;
    margin: 0.5rem;
    border-radius: 3px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    box-sizing: border-box;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.btn-secondary:hover {
    background: rgba(26, 35, 50, 1);
    border-color: #d2691e;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}