/* Reset ve Genel Stiller */
:root {
    --primary: #2b1055;
    --secondary: #7597de;
    --accent: #ffd700;
    --text: #fff;
    --dark: rgba(30, 30, 60, 0.95);
    --font-main: 'Segoe UI', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    background: #f7f8fa;
    color: #222;
    margin: 0;
    padding: 0;
}

/* Saf CSS ile animasyonlu yıldızlar */
.stars {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0; left: 0;
    z-index: 0;
    pointer-events: none;
}
.star {
    position: absolute;
    width: 2px; height: 2px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.8;
    animation: twinkle 2s infinite ease-in-out;
}
@keyframes twinkle {
    0%,100% { opacity: 0.8; }
    50% { opacity: 0.2; }
}

/* Header ve Navigasyon */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1rem;
    background: transparent !important;
    color: #fff !important;
}

/* Container ve Card Stilleri */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.card, .card-body, .card-title, .card-text, .btn, .form-label, .form-control, .alert {
    color: #222 !important;
    background: #fff !important;
    border: 1px solid #ece9f7 !important;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
    border-radius: 18px !important;
}

.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Form Elementleri */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--text);
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(255,215,0,0.2);
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
}

.btn-primary, .btn-outline-primary {
    background: linear-gradient(90deg,#5f4bb6 0,#2b5876 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.btn-outline-primary {
    background: transparent !important;
    border: 1.5px solid #5f4bb6 !important;
    color: #fff !important;
}

/* Tarot Kartları */
.tarot-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tarot-card {
    background: transparent !important;
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    color: var(--primary);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    cursor: pointer;
}

.tarot-card:hover {
    transform: scale(1.05) rotate(-2deg);
}

.tarot-card img {
    width: 100%;
    max-width: 150px;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    background: #222;
}

/* Tablolar */
.table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
}

.table th {
    background: var(--accent);
    color: var(--primary);
    font-weight: bold;
}

.table tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

/* Uyarı ve Bilgi Mesajları */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(40,167,69,0.2);
    border: 1px solid #28a745;
}

.alert-danger {
    background: rgba(220,53,69,0.2);
    border: 1px solid #dc3545;
}

/* Scrollbar Stili */
::-webkit-scrollbar {
    width: 8px;
    background: #222;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 8px;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .card {
        padding: 1rem;
    }
}

.main-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px #0001;
    padding: 0.5rem 0;
}
.navbar {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}
.site-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #5f4bb6;
    text-decoration: none;
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}
.nav-menu a {
    color: #222;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.nav-menu a:hover {
    color: #5f4bb6;
}
.main-content {
    max-width: 900px;
    margin: 2.5rem auto 2rem auto;
    padding: 0 1rem;
}
.main-footer {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    color: #888;
    text-align: center;
    padding: 1.2rem 0 0.7rem 0;
    font-size: 1rem;
}
.tarot-type-select {
    text-align: center;
}
.tarot-type-select h1 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 2.2rem;
    color: #2b2d42;
}
.tarot-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}
.tarot-type-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px #5f4bb61a;
    border: 1.5px solid #ece9f7;
    padding: 2.2rem 1.2rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #222;
    font-weight: 600;
    font-size: 1.1rem;
    transition: box-shadow 0.2s, border 0.2s, transform 0.15s;
}
.tarot-type-card:hover {
    box-shadow: 0 6px 32px #5f4bb633;
    border: 1.5px solid #5f4bb6;
    transform: translateY(-4px) scale(1.03);
    color: #5f4bb6;
}
.tarot-type-card .emoji {
    font-size: 2.2rem;
    margin-bottom: 0.7rem;
}
