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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #e31837 0%, #0066cc 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #e31837 0%, #ffd700 25%, #0066cc 50%, #ffd700 75%, #e31837 100%);
}

h1 {
    color: #e31837;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -1px;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

#setId {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px;
    border: 3px solid #0066cc;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

#setId:focus {
    border-color: #e31837;
    box-shadow: 0 0 0 4px rgba(227, 24, 55, 0.1);
    transform: translateY(-2px);
}

button {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    background: #e31837;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(227, 24, 55, 0.3);
}

button:hover {
    background: #c0142f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 24, 55, 0.4);
}

button:active {
    transform: translateY(0);
}

#result {
    background: #f8f9fa;
    border: 3px solid #0066cc;
    border-radius: 10px;
    padding: 20px;
    min-height: 60px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.6;
    transition: all 0.3s ease;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow-x: auto;
    max-width: 100%;
}

#result:not(:empty) {
    background: #fff3cd;
    border-color: #ffd700;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brick-decoration {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.brick {
    width: 40px;
    height: 20px;
    background: #e31837;
    border-radius: 4px;
    position: relative;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.brick::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
}

.brick:nth-child(2) {
    background: #0066cc;
}

.brick:nth-child(3) {
    background: #ffd700;
}

.discord-section {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.discord-note {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.discord-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    background: #5865F2;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.discord-button:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.discord-button:active {
    transform: translateY(0);
}

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

    h1 {
        font-size: 2em;
    }

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

    button {
        width: 100%;
    }
}

