* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    background-image: url('../assets/background/1.png');
    background-size: 32px 32px;
    background-position: 0 0;
    background-repeat: repeat;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    position: relative;
    padding: 40px 20px;
}

.logo {
    display: block;
    margin: 0 auto;
    max-width: 400px;
    width: auto;
    height: auto;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    position: relative;
    z-index: 10;
}

.content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

h1 {
    font-size: 3rem;
    color: #4CAF50;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    color: #aaa;
}

.how-it-works-wrapper {
    width: 100%;
    max-width: 800px;
    padding: 30px 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    border: 2px solid #4CAF50;
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.3);
    text-align: center;
    margin-bottom: 30px;
}

.how-it-works-title {
    font-size: 2rem;
    color: #4CAF50;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    margin-bottom: 20px;
}

.how-it-works-message {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.6;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-in-out;
}

.how-it-works-message.fade-out {
    opacity: 0;
}

.how-it-works-message.fade-in {
    opacity: 1;
}

.bots-wrapper {
    width: 100%;
    max-width: 1200px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    border: 2px solid #4CAF50;
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.3);
}

.bots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.bot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 200px;
    flex: 1;
    max-width: 250px;
}

.bot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.bot-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    flex-shrink: 0;
}

.bot-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.bot-label {
    font-size: 0.85rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bot-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4CAF50;
    text-align: center;
}

.wallet-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
}

.wallet-address {
    font-size: 0.75rem;
    color: #aaa;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    text-align: center;
    padding: 6px 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    width: 100%;
    max-width: 100%;
}

.copy-button {
    padding: 6px 16px;
    font-size: 0.85rem;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    font-weight: 600;
}

.copy-button:hover {
    background: #45a049;
    transform: scale(1.05);
}

.copy-button:active {
    transform: scale(0.95);
}

.copy-button.copied {
    background: #2e7d32;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .how-it-works-wrapper {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .how-it-works-title {
        font-size: 1.5rem;
    }
    
    .how-it-works-message {
        font-size: 1rem;
        min-height: 50px;
    }
    
    .bots-wrapper {
        padding: 20px;
    }
    
    .bots-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .bot-item {
        max-width: 100%;
        width: 100%;
    }
    
    .bot-image {
        width: 100px;
        height: 100px;
    }
    
    .wallet-address {
        font-size: 0.7rem;
    }
    
    .copy-button {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
}

