/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', sans-serif;
    background: #0A0E17;
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.space-bg {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='%230A0E17'/%3E%3Ccircle cx='10%25' cy='25%25' r='1' fill='white' opacity='0.7'/%3E%3Ccircle cx='85%25' cy='15%25' r='1.5' fill='white' opacity='0.9'/%3E%3Ccircle cx='50%25' cy='70%25' r='1' fill='white' opacity='0.5'/%3E%3Ccircle cx='30%25' cy='90%25' r='2' fill='white' opacity='0.8'/%3E%3C/svg%3E");
}

/* Floating Tags */
.floating-tags {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-tag {
    position: absolute;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: bold;
    padding: 3px 12px;
    border-radius: 16px;
    animation: float-fade 6s ease-out forwards;
    opacity: 0;
    z-index: 1;
    /* Supprimez les propriétés bottom/left fixes */
}
@keyframes float-fade {
    0% { 
        opacity: 0; 
        transform: scale(0.8) translateY(0); 
    }
    20% { 
        opacity: 0.9; 
        transform: scale(1.1); 
    }
    80% { 
        opacity: 0.9; 
    }
    100% { 
        opacity: 0; 
        transform: scale(1) translateY(-20px); 
    }
}

/* Orbit Animation */
.orbit-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 2rem 0;
    z-index: 2;
}

.orbit-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    animation: orbit-rotate 12s linear infinite;
}

.orbit-ring::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #00F0FF;
    border-radius: 50%;
    box-shadow: 0 0 15px #00F0FF, 0 0 30px #00F0FF;
}

.orbit-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    animation: logo-pulse 2s ease-in-out infinite;
    z-index: 3;
}

.orbit-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.7));
}

/* Text Styles */
.title-container {
    text-align: center;
    margin-top: 2rem;
    opacity: 0;
    animation: text-fade 1.5s ease-out 0.5s forwards;
    z-index: 2;
}

.title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00F0FF, #00FFA3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* Buttons */
.links {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: text-fade 1s ease-out 1s forwards;
    z-index: 2;
}
.orbit-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 310px;  /* Augmentez cette valeur (120px → 180px) */
    height: 310px; /* Gardez la même valeur que width pour conserver les proportions */
    animation: logo-pulse 2s ease-in-out infinite;
    z-index: 3;
}

.telegram-btn, .twitter-btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.telegram-btn {
    background: #0088CC;
    color: white;
}

.twitter-btn {
    background: #1DA1F2;
    color: white;
}

.telegram-btn:hover, .twitter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes orbit-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes logo-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes text-fade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}