@import url('./buttons.css');

:root {
    /* WoW Colors */
    --wow-gold: #f8b700;
    --wow-dark-gold: #c69b6d;
    --wow-blue: #00aeff;
    --wow-dark-blue: #0073aa;
    --wow-bg: #15171e;
    --wow-bg-dark: #0b0d0f;
    --wow-bg-light: #1f2937;
    --wow-text: #ebdec2;
    --wow-border: rgba(255, 255, 255, 0.15);
}

body {
    font-family: "Roboto", sans-serif;
    background: var(--wow-bg);
    color: var(--wow-text);
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
    background-image: 
        linear-gradient(to bottom,
            rgba(21, 23, 30, 0.9),
            rgba(21, 23, 30, 0.95)
        );
    background-size: cover;
    background-attachment: fixed;
}

.header {
    background: var(--wow-bg-dark);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid var(--wow-border);
}

.header h1 {
    color: var(--wow-gold);
    font-size: 3em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin: 0;
    letter-spacing: 2px;
    user-select: none;
    font-family: 'Doto', sans-serif;

}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: linear-gradient(180deg, 
        rgba(31, 41, 55, 0.95) 0%,
        rgba(21, 27, 36, 0.95) 100%);
    border: 1px solid var(--wow-border);
    min-height: 240px;
    max-height: fit-content;
    border-radius: 8px;
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card h2 {
    color: var(--wow-gold);
    font-size: 1.5em;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(248, 183, 0, 0.2);
    position: relative;
    display: flex;
    align-items: center;
    user-select: none;
}

.card h3 {
    color: var(--wow-gold);
    font-size: 1em;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(248, 183, 0, 0.2);
    position: relative;
    display: flex;
    align-items: center;
    user-select: none;
}

.card a {
    position: absolute;
    left: 20x;
    bottom: 15px;
}

.update-info {
    margin-bottom: 25px;
}

.update-time {
    font-family: 'Noto Sans', sans-serif;
    color: var(--wow-text);
    font-size: 0.95em;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    border-left: 3px solid var(--wow-gold);   
}

.update-status {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.status-idle {
    background: linear-gradient(90deg, 
        rgba(248, 183, 0, 0.1),
        rgba(248, 183, 0, 0.05)
    );
    border: 1px solid rgba(248, 183, 0, 0.2);
    color: var(--wow-gold) !important;
}

.status-running {
    background: linear-gradient(90deg, 
        rgba(0, 174, 255, 0.1),
        rgba(0, 174, 255, 0.05)
    );
    border: 1px solid rgba(0, 174, 255, 0.2);
    color: var(--wow-blue);
    animation: pulse 2s infinite;
}

.status-error {
    background: linear-gradient(90deg, 
        rgba(255, 70, 85, 0.1),
        rgba(255, 70, 85, 0.05)
    );
    border: 1px solid rgba(255, 70, 85, 0.2);
    color: #ff4655;
}

/* Описание */
.update-info p:last-child {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
}

.pin-block {
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid var(--wow-border);
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
}

.pin-block:last-child {
    margin-bottom: 0px;
}

.pin-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-bottom: 1px solid var(--wow-border);
}

.pin-header h3 {
    color: var(--wow-gold);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    user-select: none;
}

.pin-section {
    padding: 20px;
}

.pin-section h4 {
    color: var(--wow-blue);
    margin-bottom: 15px;
    margin-top: 0px;
}

.pin-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pin-section li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}

.pin-section li::before {
    content: '•';
    color: var(--wow-gold);
    position: absolute;
    left: 0;
}

.screenshots-section {
    padding: 20px;
}

.screenshots-section h2 {
    color: var(--wow-gold);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.footer {
    background: var(--wow-bg-dark);
    border-top: 1px solid var(--wow-border);
    padding: 20px 0;
    /* margin-top: 10px; */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer a {
    color: var(--wow-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--wow-blue);
}


/* Модальное окно для просмотра */
.screenshot-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 40px;
    cursor: pointer;
}

.screenshot-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.screenshot-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 1em;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 2em;
    width: 50px;
    height: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-btn.prev {
    left: 20px;
}

.nav-btn.next {
    right: 20px;
}

.pin-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--wow-bg-light);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    aspect-ratio: 16/9;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.screenshot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.screenshot-card:hover img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.screenshot-card:hover .screenshot-overlay {
    opacity: 1;
}

.zoom-icon {
    color: white;
    font-size: 2em;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.screenshot-card:hover .zoom-icon {
    transform: scale(1);
}

@media (max-width: 768px) {
    .nav-btn {
        width: 40px;
        height: 60px;
        font-size: 1.5em;
    }

    .nav-btn.prev {
        left: 10px;
    }

    .nav-btn.next {
        right: 10px;
    }
}

/* NEW */

.notice-critical {
    border-left: 2px solid #ff4655;
    color: #ff4655;
    background-color: rgba(255, 70, 85, 0.1);
}

.notice-warn {
    border-left: 2px solid var(--wow-gold);
    color: var(--wow-gold);
    background-color: rgba(255, 252, 70, 0.1);
}

.notice-info {
    border-left: 2px solid var(--wow-gold);
    color: var(--wow-text);
    background-color: rgba(255, 252, 70, 0.1);
}

.notice {
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    position: relative;
}

.notice-update-symbol::before {
    content: '🔃';
    margin-right: 10px;
    font-size: 1.1em;
}

.notice-warn-symbol::before {
    content: '💬';
    margin-right: 10px;
    font-size: 1.1em;
}

.notice-critical-symbol::before {
    content: '⚠️';
    margin-right: 10px;
    font-size: 1.1em;
}

.info-icon {
    color: var(--wow-gold);
    cursor: help;
}

.wow-tooltip {
    position: fixed;
    border: 1px solid var(--wow-border-gold);
    border-radius: 8px;
    padding: 15px;
    box-shadow: var(--shadow-lg);
    max-width: 300px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
}

.wow-tooltip.show {
    opacity: 1;
    visibility: visible;
    background-color: var(--wow-bg-light);
}

.wow-tooltip img {
    max-width: 100%;
    border-radius: 4px;
}