:root {
    --primary: #e52d27; 
    --secondary: #b31217; 
    --card-border: rgba(0, 0, 0, 0.1);
    --text-main: #111827; 
    --text-muted: #4b5563;
    --turk-kirmizisi: #E30A17; 
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 40px 20px;
    min-height: 100vh;
    color: var(--text-main);
    background: linear-gradient(-45deg, #2b0000, #800000, #ff1a1a, #ff4d4d, #4d0000);
    background-size: 300% 300%;
    animation: gradientBG 6s ease-in-out infinite;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -2;
    opacity: 0.7;
    animation: pulseGlow infinite alternate ease-in-out;
    pointer-events: none;
}

.glow-1 {
    width: 400px; height: 400px;
    background: #ff6b6b; 
    top: -10%; left: -10%;
    animation-duration: 4s;
}

.glow-2 {
    width: 500px; height: 500px;
    background: #ff0000; 
    bottom: -20%; right: -10%;
    animation-duration: 6s;
    animation-delay: 1s;
}

.glow-3 {
    width: 350px; height: 350px;
    background: #ff9999; 
    top: 30%; left: 30%;
    animation-duration: 5s;
    animation-delay: 2s;
    opacity: 0.5;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    100% { transform: scale(1.3) translate(30px, 30px); opacity: 0.9; }
}

#watermarks {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none; 
    z-index: -1;
    overflow: hidden;
}

.wm-text {
    position: absolute;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    user-select: none;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); }
::-webkit-scrollbar-thumb { background: #b31217; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #e52d27; }

.container {
    max-width: 1100px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

/* --- LOGO VE METİN BÖLÜMÜ --- */
.header-logo-section {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; 
    z-index: 15;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.phoenix-logo {
    width: 130px; 
    height: auto;
    object-fit: contain;
    animation: imageSoftGlow 2.5s infinite alternate ease-in-out;
}

/* --- YAZILAR İÇİN IŞIK AKMASI (SHIMMER) EFEKTİ --- */
.phoenix-side-text {
    font-size: 2.2rem;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    letter-spacing: 2px;
    
    /* Zemin Türk Kırmızısı, ortada dar bir beyaz ışık şeridi */
    background: linear-gradient(
        120deg, 
        var(--turk-kirmizisi) 0%, 
        var(--turk-kirmizisi) 40%, 
        #ffffff 50%, 
        var(--turk-kirmizisi) 60%, 
        var(--turk-kirmizisi) 100%
    );
    /* Arka planı genişletiyoruz ki beyaz ışık dışarıdan gelip içeri girebilsin */
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Her iki yazı da soldan sağa akacak şekilde aynı animasyonu alıyor */
    animation: textShineFlow 2.5s linear infinite;
    
    /* Hafif bir kırmızı çevre aurası (Metin şeffaf olduğu için drop-shadow kullanıyoruz) */
    filter: drop-shadow(0 2px 4px rgba(227, 10, 23, 0.3));
}

/* ANKA ve TEAM senkronize olarak parlayacak */
.left-text, .right-text { 
    display: inline-block;
}

/* LOGO İÇİN YUMUŞAK GÖLGE */
@keyframes imageSoftGlow {
    0% { 
        filter: drop-shadow(0 2px 4px rgba(227, 10, 23, 0.15)); 
        transform: scale(0.98);
    }
    100% { 
        filter: drop-shadow(0 4px 10px rgba(227, 10, 23, 0.4)); 
        transform: scale(1.02);
    }
}

/* IŞIK AKMASI (SOLDAN SAĞA) ANİMASYONU */
@keyframes textShineFlow {
    0% { background-position: 100% center; }
    100% { background-position: 0% center; }
}


/* --- BAŞLIK STİLLERİ --- */
.main-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap; 
    white-space: nowrap;
    gap: 15px;
    z-index: 10;
}

.title-text {
    background: linear-gradient(to right, #b31217, #e52d27);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ay-yildiz-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ay-yildiz-wrapper.reverse {
    transform: scaleX(-1);
}

.ay-yildiz {
    color: var(--turk-kirmizisi);
    font-size: 1em;
    line-height: 1;
    font-family: Arial, sans-serif;
    display: inline-block;
    animation: starSoftGlow 2s infinite alternate ease-in-out;
}

@keyframes starSoftGlow {
    0% { 
        text-shadow: 0 0 5px rgba(227, 10, 23, 0.2); 
        transform: scale(0.95);
    }
    100% { 
        text-shadow: 0 0 15px rgba(227, 10, 23, 0.5); 
        transform: scale(1.05);
    }
}

p.subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 400;
}

.input-wrapper {
    position: relative;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

input[type="text"] {
    width: 100%;
    padding: 20px 25px;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    color: var(--text-main);
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

input[type="text"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(229, 45, 39, 0.2);
}

.category { margin-bottom: 50px; }

.category h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding-bottom: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 15px;
}

.result-card {
    background: linear-gradient(145deg, #ffffff, #f3f4f6);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.result-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(229, 45, 39, 0.15);
}

.category-anka h2 {
    color: #d97706 !important;
    border-bottom-color: rgba(217, 119, 6, 0.3) !important;
}
.category-anka .result-card {
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.15), #ffffff);
    border-color: #fbbf24;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.1);
}
.category-anka .copy-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.category-special .result-card {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.05), #ffffff);
    border-color: rgba(17, 24, 39, 0.2);
}

.result-text {
    font-size: 1.3rem;
    text-align: center;
    font-weight: 600;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    line-height: 1.4;
    color: var(--text-main);
    margin-bottom: 5px;
}

.copy-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    width: 100%;
}

.copy-btn:hover { filter: brightness(1.1); transform: scale(1.02); }
.copy-btn:active { transform: scale(0.98); }

.copy-btn.success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
}

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(50px);
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 600px) {
    .container { padding: 20px; }
    .main-title { 
        font-size: clamp(1rem, 5vw, 1.8rem); 
        gap: 5px; 
    }
    input[type="text"] { font-size: 1.2rem; }
    .wm-text { font-size: 3rem; }
    
    .header-content { gap: 15px; }
    .phoenix-logo { width: 80px; }
    .phoenix-side-text { font-size: 1.4rem; }
}