body {
    background-color: #2c3e50; /
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ecf0f1;
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
}

.main-header {
    text-align: center;
    padding: 2rem 0;
    background-color: #34495e;
}

.main-header h1 {
    font-size: 3em;
    color: #e67e22; /* One Piece orange */
    text-shadow: 2px 2px #c0392b; /* Reddish shadow */
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}


.animation-container {
    position: relative;
    width: 100%;
    height: 400px;
    background-image: url('why.jpg'); 
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.ship {
    width: 200px;
    height: 200px;
    background-image: url('.jpg'); 
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 50px;
    left: -250px; 
    animation: sail-across 20s linear infinite;
}


@keyframes sail-across {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 250px)); } 
}


.info-container {
    width: 80%;
    max-width: 800px;
    background-color: #34495e;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.profile-card h2 {
    color: #f1c40f; 
}

.profile-card p {
    line-height: 1.6;
}

#learn-more-btn {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#learn-more-btn:hover {
    background-color: #d35400;
}

.gaming-info {
    margin-top: 2rem;
    border-top: 1px solid #4d667c;
    padding-top: 2rem;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.gaming-info h3 {
    color: #3498db;
}

.gaming-info ul {
    list-style-type: none;
    padding: 0;
}

.gaming-info.visible {
    opacity: 1;
    height: auto;
}