/* Global styles and color variables */
:root {
    --primary-color: #1f3a5f;
    --secondary-color: #0a1929;
    --accent-color: #c6a641;
    --highlight-color: #d49d36;
    --text-color: #e6d7ae;
    --panel-bg: rgba(10, 25, 41, 0.9);
    --panel-border: #4a6c8c;
    --button-color: #1f3a5f;
    --button-hover: #2c5384;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Arial", sans-serif;
    background-color: var(--secondary-color);
    background-image: linear-gradient(to bottom, #0a1929, #142c48);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23c6a641' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

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

/* Warcraft 3 style header */
.warcraft-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding: 15px 0;
    border-bottom: 1px solid rgba(198, 166, 65, 0.3);
}

.warcraft-header h1 {
    font-size: 3rem;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 10px rgba(198, 166, 65, 0.5);
    margin-bottom: 10px;
    font-family: 'Times New Roman', serif;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.warcraft-header h1::before,
.warcraft-header h1::after {
    content: "★";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    opacity: 0.6;
    font-size: 1.5rem;
}

.warcraft-header h1::before {
    left: -30px;
}

.warcraft-header h1::after {
    right: -30px;
}

.header-decoration {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 0 auto;
    width: 50%;
}

/* Warcraft style panel */
.warcraft-panel {
    background-color: var(--panel-bg);
    border: 2px solid var(--panel-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.warcraft-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.warcraft-panel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(198, 166, 65, 0.3), transparent);
}

.warcraft-panel h2 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-family: 'Times New Roman', serif;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.warcraft-panel h2::before,
.warcraft-panel h2::after {
    content: "";
    position: absolute;
    top: 50%;
    height: 2px;
    width: 30px;
    background-color: rgba(198, 166, 65, 0.4);
}

.warcraft-panel h2::before {
    right: 100%;
    margin-right: 15px;
}

.warcraft-panel h2::after {
    left: 100%;
    margin-left: 15px;
}

/* Rules section */
.rule-content {
    padding: 10px;
}

.rule-content ol {
    padding-left: 25px;
}

.rule-content li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.address-box {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--panel-border);
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    word-break: break-all;
}

.highlight-address {
    color: var(--highlight-color);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.highlight-address:hover {
    text-shadow: 0 0 8px rgba(212, 157, 54, 0.8);
}

.token-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.token-link:hover {
    text-decoration: underline;
    text-shadow: 0 0 5px rgba(212, 157, 54, 0.5);
}

/* Table styles */
.warcraft-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    color: var(--text-color);
    border: 1px solid rgba(74, 108, 140, 0.3);
}

.table-container {
    overflow-x: auto;
}

.warcraft-table th,
.warcraft-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(74, 108, 140, 0.5);
}

.warcraft-table th {
    background-color: rgba(31, 58, 95, 0.7);
    color: var(--accent-color);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

.warcraft-table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(198, 166, 65, 0.3);
}

.warcraft-table tr:hover {
    background-color: rgba(31, 58, 95, 0.3);
}

.warcraft-table td {
    font-size: 0.95rem;
}

/* Button styles */
.warcraft-button {
    background-color: var(--button-color);
    color: var(--text-color);
    border: 1px solid var(--panel-border);
    padding: 8px 15px;
    margin-right: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Times New Roman', serif;
    position: relative;
    overflow: hidden;
}

.warcraft-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.warcraft-button:hover {
    background-color: var(--button-hover);
    box-shadow: 0 0 10px rgba(198, 166, 65, 0.5);
}

.warcraft-button:hover::before {
    opacity: 1;
}

.warcraft-button.active {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    font-weight: bold;
    border-color: var(--highlight-color);
}

.sorting-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

/* Footer styles */
.warcraft-footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    font-size: 0.9rem;
    color: rgba(230, 215, 174, 0.7);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .warcraft-header h1 {
        font-size: 2.2rem;
    }
    
    .warcraft-panel {
        padding: 15px;
    }
    
    .warcraft-panel h2 {
        font-size: 1.5rem;
    }
    
    .rule-content li {
        font-size: 1rem;
    }
    
    .sorting-controls {
        justify-content: center;
    }
    
    .warcraft-button {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .warcraft-table th,
    .warcraft-table td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    /* Horizontal scrolling for table */
    .table-container {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .warcraft-header h1 {
        font-size: 1.8rem;
    }
    
    .address-box {
        font-size: 0.9rem;
    }
} 