/* Hytale web design styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0d1b2a;
    color: #ffffff;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Animated background inspired by Hytale */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(30, 58, 95, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.content {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

/* Logo styling - centered with Hytale-style presentation */
.logo-container {
    margin-bottom: 10px;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    width: 384px;
    height: 384px;
    max-width: 80vw;
    max-height: 80vw;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 8px 30px rgba(73, 245, 11, 0.3));
}

/* Web title */
.web-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 45px;
    color: #ffffff;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    letter-spacing: 1px;
    position: relative;
}

/* Coming Soon title */
.coming-soon {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 80px;
    color: #ffffff;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.coming-soon::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #14B8A6 0%, #F59E0B 100%);
}

/* Server Info Block */
.server-info {
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.server-label {
    font-size: 1rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.server-ip-container {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
    border: 2px solid #14B8A6;
    border-radius: 12px;
    padding: 24px 32px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.2);
}

.server-ip-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.server-ip-container:hover {
    transform: translateY(-2px);
    border-color: #F59E0B;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
}

.server-ip-container:hover::before {
    left: 100%;
}

.server-ip-container:active {
    transform: translateY(0) scale(0.98);
}

.server-ip-container.copied {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(20, 184, 166, 0.25) 100%);
    animation: pulse 0.5s ease;
}

.server-ip {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    font-family: 'Courier New', monospace;
}

.copy-icon {
    width: 24px;
    height: 24px;
    color: #14B8A6;
    transition: all 0.3s ease;
}

.server-ip-container:hover .copy-icon {
    color: #F59E0B;
    transform: scale(1.1);
}

.server-ip-container.copied .copy-icon {
    color: #10b981;
}

.copy-hint {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 12px;
    font-style: italic;
}

.copy-feedback {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: linear-gradient(135deg, #10b981 0%, #14B8A6 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    z-index: 1000;
    pointer-events: none;
}

.copy-feedback.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Social buttons container */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Base button styling - Hytale uses clean, modern buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn .icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Twitter button - following Twitter brand guidelines */
.btn-twitter {
    background-color: #1DA1F2;
    color: #ffffff;
    border: 2px solid #1DA1F2;
}

.btn-twitter:hover {
    background-color: #1a8cd8;
    border-color: #1a8cd8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.5);
}

.btn-twitter:active {
    transform: translateY(0);
}

/* Discord button - following Discord brand guidelines */
.btn-discord {
    background-color: #5865F2;
    color: #ffffff;
    border: 2px solid #5865F2;
}

.btn-discord:hover {
    background-color: #4752C4;
    border-color: #4752C4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.5);
}

.btn-discord:active {
    transform: translateY(0);
}

/* Store button */
.btn-store {
    background-color: #007322;
    color: #ffffff;
    border: 2px solid #007322;
}

.btn-store:hover {
    background-color: #00ac33;
    border-color: #00ac33;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.5);
}
.btn-store:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .coming-soon {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .logo {
        width: 150px;
        height: 150px;
    }
    
    .btn {
        min-width: 200px;
        font-size: 14px;
        padding: 12px 24px;
    }

    .server-ip-container {
        padding: 20px 24px;
        flex-direction: column;
        gap: 12px;
    }

    .server-ip {
        font-size: 1.25rem;
    }

    .server-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .coming-soon {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .logo {
        width: 120px;
        height: 120px;
    }
    
    .btn {
        min-width: 180px;
        font-size: 13px;
    }
    
    .social-buttons {
        gap: 15px;
    }

    .server-ip-container {
        padding: 16px 20px;
    }

    .server-ip {
        font-size: 1.1rem;
    }

    .server-info {
        margin-bottom: 40px;
    }
}

/* For wider screens */
@media (min-width: 1024px) {
    .social-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
}
