@import url('minecraft-webfont.css');

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

body {
    font-family: 'Minecraft', 'Courier New', monospace;
    background: linear-gradient(135deg, #0a1a2a 0%, #0d2838 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c5d5e0;
    padding: 20px;
}

.container {
    max-width: 800px;
    width: 100%;
}

.ancient-panel {
    background: rgba(10, 20, 30, 0.95);
    border: 4px solid #1a4a5a;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7),
                inset 0 0 20px rgba(42, 165, 165, 0.1);
}

.minecraft-panel {
    background: rgba(10, 20, 30, 0.95);
    border: 4px solid #1a4a5a;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7),
                inset 0 0 20px rgba(42, 165, 165, 0.1);
}

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

.title {
    font-family: 'Minecraft', 'Courier New', monospace;
    color: #3dd5d5;
    font-size: 28px;
    text-shadow: 3px 3px 0px #0a3a3a;
    margin-bottom: 20px;
    text-align: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.username {
    color: #3dd5d5;
    font-weight: bold;
}

.icon-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.form {
    margin: 20px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #3dd5d5;
    font-weight: bold;
}

.input-field {
    width: 100%;
    padding: 12px;
    background: rgba(10, 40, 50, 0.5);
    border: 2px solid #1a4a5a;
    border-radius: 4px;
    color: #c5d5e0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.input-field:focus {
    outline: none;
    border-color: #2aa5a5;
    background: rgba(10, 40, 50, 0.7);
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Minecraft', 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: #1a6a7a;
    color: white;
    border-color: #0d4a5a;
}

.btn-primary:hover {
    background: #2a8a9a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(42, 165, 165, 0.4);
}

.btn-secondary {
    background: #3a4a5a;
    color: white;
    border-color: #2a3a4a;
}

.btn-secondary:hover {
    background: #4a5a6a;
    transform: translateY(-2px);
}

.btn-danger {
    background: #5a3a3a;
    color: white;
    border-color: #4a2a2a;
}

.btn-danger:hover {
    background: #6a4a4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(90, 58, 58, 0.4);
}

.btn-small {
    font-size: 12px;
}

.btn-disabled {
    background: #2a2a2a;
    color: #5a5a5a;
    cursor: not-allowed;
    border-color: #1a1a1a;
}

.description {
    text-align: center;
    line-height: 1.8;
    margin: 20px 0;
    color: #8ab5c5;
}

.info-box {
    background: rgba(26, 74, 90, 0.3);
    border: 2px solid #1a4a5a;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
}

.info-box h3 {
    color: #3dd5d5;
    margin-bottom: 10px;
}

.info-box p {
    margin: 10px 0;
    line-height: 1.6;
    color: #8ab5c5;
}

.info-box code {
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 6px;
    border-radius: 3px;
    color: #5abadb;
}

.success-box {
    background: rgba(26, 90, 74, 0.3);
    border: 2px solid #1a6a5a;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.success-box.gold {
    background: rgba(42, 165, 165, 0.2);
    border-color: #2aa5a5;
}

.success-box h2 {
    color: #2aa5a5;
    margin-bottom: 15px;
}

.success-box.gold h2 {
    color: #3dd5d5;
}

.success-box p {
    color: #8ab5c5;
}

.warning-box {
    background: rgba(90, 74, 26, 0.3);
    border: 2px solid #6a5a1a;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
}

.warning-box p {
    margin: 10px 0;
    color: #d5c58a;
}

.hint-box {
    background: rgba(42, 90, 90, 0.2);
    border: 2px solid #2a5a5a;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
}

.hint-box p {
    margin: 8px 0;
    color: #8ab5c5;
    font-size: 14px;
}

.flag-box {
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    border: 1px solid #1a4a5a;
}

.flag {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: bold;
    color: #2aa5a5;
    letter-spacing: 1px;
}

.flag.gold {
    color: #3dd5d5;
}

.link-text {
    text-align: center;
    margin: 15px 0;
    color: #6a8a9a;
}

.link-text a {
    color: #2aa5a5;
    text-decoration: none;
}

.link-text a:hover {
    color: #3dd5d5;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .minecraft-panel {
        padding: 20px;
    }

    .title {
        font-size: 22px;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
