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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.duta-mode .main-layout,
body.duta-mode .top-header {
    display: none;
}

.top-header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #333333;
}

.top-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.georgian-text {
    color: #00ccff;
    font-size: 2.5rem;
    font-weight: bold;
}

.main-layout {
    display: flex;
    gap: 20px;
    max-width: 1800px;
    margin: 0 auto;
}

.sidebar {
    width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.banner-area {
    background: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.banner-area h3 {
    color: #00ff88;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.banner-area p {
    color: #888888;
    font-size: 0.9rem;
}

.wordle-game {
    background: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 12px;
    padding: 20px;
}

.wordle-game h3 {
    color: #00ff88;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.wordle-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wordle-board {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.wordle-cell {
    aspect-ratio: 1;
    border: 2px solid #333333;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.wordle-cell.filled {
    border-color: #555555;
}

.wordle-cell.correct {
    background: #00ff88;
    color: #000000;
    border-color: #00ff88;
}

.wordle-cell.present {
    background: #ffaa00;
    color: #000000;
    border-color: #ffaa00;
}

.wordle-cell.absent {
    background: #333333;
    color: #888888;
    border-color: #333333;
}

.wordle-keyboard {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.keyboard-row {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.keyboard-key {
    padding: 10px 12px;
    background: #2a2a2a;
    border: 2px solid #333333;
    border-radius: 6px;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    min-width: 30px;
    text-transform: uppercase;
}

.keyboard-key:hover {
    background: #3a3a3a;
    border-color: #00ff88;
}

.keyboard-key.correct {
    background: #00ff88;
    color: #000000;
    border-color: #00ff88;
}

.keyboard-key.present {
    background: #ffaa00;
    color: #000000;
    border-color: #ffaa00;
}

.keyboard-key.absent {
    background: #333333;
    color: #888888;
    border-color: #333333;
}

.keyboard-key.wide {
    min-width: 60px;
    font-size: 0.8rem;
}

.wordle-message {
    text-align: center;
    min-height: 30px;
    color: #00ff88;
    font-weight: bold;
    font-size: 0.9rem;
}

.wordle-reset-btn {
    width: 100%;
    padding: 12px;
    background: #00ff88;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.wordle-reset-btn:hover {
    background: #00cc66;
    transform: translateY(-2px);
}

.container {
    flex: 1;
    max-width: 1200px;
}

.right-banner {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

.right-banner-content {
    background: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    position: sticky;
    top: 20px;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-banner-content h2 {
    color: #00ff88;
    font-size: 2rem;
    font-weight: bold;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin: 0;
    transform: rotate(180deg);
    letter-spacing: 5px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #00ff88, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: #888888;
    font-size: 1.1rem;
}

.search-container {
    position: relative;
    margin-bottom: 40px;
}

#searchInput {
    width: 100%;
    padding: 18px 50px 18px 20px;
    font-size: 1.1rem;
    background: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 12px;
    color: #ffffff;
    transition: all 0.3s ease;
}

#searchInput:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    pointer-events: none;
}

.filters-container {
    margin-bottom: 30px;
    background: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 12px;
    padding: 25px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filters-header h2 {
    font-size: 1.3rem;
    color: #ffffff;
}

.clear-filters-btn {
    background: #333333;
    color: #ffffff;
    border: 1px solid #555555;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.clear-filters-btn:hover {
    background: #444444;
    border-color: #00ff88;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.filter-btn {
    background: #2a2a2a;
    color: #cccccc;
    border: 2px solid #333333;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: #00ccff;
    color: #00ccff;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #00ff88;
    color: #000000;
    border-color: #00ff88;
    font-weight: bold;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #333333;
}

.active-filter-tag {
    background: #00ff88;
    color: #000000;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.active-filter-tag .remove-filter {
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.active-filter-tag .remove-filter:hover {
    transform: scale(1.2);
}

.server-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.server-card {
    background: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.server-card:hover {
    border-color: #00ff88;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.server-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ff88;
    margin-bottom: 5px;
}

.server-version {
    font-size: 0.85rem;
    color: #888888;
    background: #2a2a2a;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
}

.server-ip {
    background: #2a2a2a;
    padding: 12px 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #00ccff;
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #333333;
}

.copy-btn {
    background: #00ff88;
    color: #000000;
    border: none;
    padding: 6px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #00cc66;
    transform: scale(1.05);
}

.copy-btn:active {
    transform: scale(0.95);
}

.server-description {
    color: #cccccc;
    margin: 15px 0;
    line-height: 1.6;
    font-size: 0.95rem;
}


.server-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    background: #2a2a2a;
    color: #00ccff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid #333333;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #888888;
    font-size: 1.2rem;
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #00ff88;
    color: #000000;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.duta-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.duta-text {
    font-size: 8rem;
    font-weight: bold;
    color: #000000;
    text-align: center;
    margin: 0;
    letter-spacing: 20px;
    text-transform: uppercase;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .duta-text {
        font-size: 4rem;
        letter-spacing: 10px;
    }

    .main-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .right-banner {
        width: 100%;
        order: -1;
    }

    .right-banner-content {
        min-height: 150px;
        padding: 20px;
    }

    .right-banner-content h2 {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        transform: none;
        font-size: 1.5rem;
        letter-spacing: 3px;
    }

    .server-list {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 2rem;
    }

    #searchInput {
        font-size: 1rem;
        padding: 15px 45px 15px 15px;
    }
}

