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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    color: #fff;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.stars::before,
.stars::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffd700;
    border-radius: 50%;
    box-shadow: 
        100px 200px #ffd700,
        300px 100px #ffd700,
        500px 300px #ffd700,
        700px 150px #ffd700,
        900px 250px #ffd700,
        200px 400px #ffd700,
        400px 500px #ffd700,
        600px 450px #ffd700,
        800px 350px #ffd700,
        1000px 550px #ffd700,
        150px 600px #ffd700,
        350px 650px #ffd700,
        550px 700px #ffd700,
        750px 600px #ffd700,
        950px 650px #ffd700;
    animation: twinkle 3s infinite;
}

.stars::after {
    animation-delay: 1.5s;
    box-shadow: 
        150px 250px #ffd700,
        250px 150px #ffd700,
        450px 350px #ffd700,
        650px 200px #ffd700,
        850px 300px #ffd700,
        50px 450px #ffd700,
        250px 550px #ffd700,
        450px 500px #ffd700,
        650px 400px #ffd700,
        850px 500px #ffd700,
        200px 700px #ffd700,
        400px 750px #ffd700,
        600px 800px #ffd700,
        800px 700px #ffd700,
        1000px 750px #ffd700;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.container {
    position: relative;
    z-index: 10;
    text-align: center;
    perspective: 1000px;
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
}

.title-wrapper {
    margin-bottom: 40px;
}

.title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    position: relative;
    line-height: 1.2;
    max-width: 100%;
    gap: 0.2em;
}

.letter {
    display: inline-block;
    position: relative;
    color: #ffd700;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.2),
        0 0 40px rgba(255, 215, 0, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.word-group {
    display: inline-flex;
    white-space: nowrap;
    justify-content: center;
}

.letter.space {
    display: none;
}

.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(2) { animation-delay: 0.1s; }
.letter:nth-child(3) { animation-delay: 0.2s; }
.letter:nth-child(4) { animation-delay: 0.3s; }
.letter:nth-child(5) { animation-delay: 0.4s; }
.letter:nth-child(6) { animation-delay: 0.5s; }
.letter:nth-child(8) { animation-delay: 0.6s; }
.letter:nth-child(9) { animation-delay: 0.7s; }
.letter:nth-child(10) { animation-delay: 0.8s; }
.letter:nth-child(11) { animation-delay: 0.9s; }
.letter:nth-child(12) { animation-delay: 1s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    }
}

.letter::before {
    content: attr(data-letter);
    position: absolute;
    top: 0;
    left: 0;
    color: rgba(255, 215, 0, 0.3);
    transform: translateZ(-20px);
    filter: blur(2px);
}

.letter::after {
    content: attr(data-letter);
    position: absolute;
    top: 0;
    left: 0;
    color: rgba(255, 255, 255, 0.1);
    transform: translateZ(20px);
    filter: blur(1px);
}

.subtitle-wrapper {
    margin-top: 30px;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    color: #ffffff;
    text-transform: lowercase;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.word {
    display: inline-block;
    position: relative;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3);
}

.word:nth-child(1) {
    animation-delay: 1.5s;
}

.word:nth-child(2) {
    animation-delay: 2s;
}

.word:nth-child(3) {
    animation-delay: 2.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.word::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    animation: underline 2s ease forwards;
    animation-delay: 3s;
}

.word:nth-child(1)::after {
    animation-delay: 3s;
}

.word:nth-child(2)::after {
    animation-delay: 3.3s;
}

.word:nth-child(3)::after {
    animation-delay: 3.6s;
}

@keyframes underline {
    to {
        width: 100%;
    }
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Hover efektleri */
.letter:hover {
    transform: translateY(-15px) rotateX(15deg) rotateY(15deg) scale(1.1);
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.6),
        0 0 60px rgba(255, 215, 0, 0.4),
        0 0 80px rgba(255, 215, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
        letter-spacing: 0.05em;
        gap: 0.3em;
    }
    
    .word-group {
        display: inline-flex;
        flex-shrink: 0;
    }
    
    .subtitle {
        font-size: 1rem;
        gap: 10px;
    }
    
    .letter {
        animation-duration: 2s;
    }
    
    .title-wrapper {
        margin-bottom: 30px;
    }
    
    .subtitle-wrapper {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.6rem;
        letter-spacing: 0.03em;
        gap: 0.2em;
    }
}

/* Büyük ekranlar için ekstra ayar */
@media (min-width: 1920px) {
    .title {
        font-size: 4.5rem;
    }
    
    .subtitle {
        font-size: 1.4rem;
    }
}

