:root {
    --bg-color: #0f1115;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --primary: #4F46E5;
    --secondary: #EC4899;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Background Glowing Effects */
.background-effects {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}

.glow-circle.blue {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.glow-circle.purple {
    width: 350px;
    height: 350px;
    background: var(--secondary);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Main Container */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Logo */
.logo-container {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.logo {
    animation: pulse 3s infinite ease-in-out alternate;
}

@keyframes pulse {
    from { filter: drop-shadow(0 0 10px rgba(79, 70, 229, 0.4)); }
    to { filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.6)); }
}

/* Typography */
.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Form Styles */
.notify-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
    border-radius: 99px;
    border: 1px solid var(--card-border);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
}

input[type="email"]::placeholder {
    color: #6b7280;
}

button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
}

button:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

button:active {
    transform: scale(0.98);
}

/* Spinner for Loading State */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

/* Form Message */
.form-message {
    font-size: 0.9rem;
    height: 20px;
    transition: opacity 0.3s;
    opacity: 0;
}

.form-message.show {
    opacity: 1;
}

.form-message.success {
    color: #34d399;
}

.form-message.error {
    color: #f87171;
}

/* Responsive */
@media (max-width: 480px) {
    .glass-card {
        padding: 2rem 1.5rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }
    
    input[type="email"] {
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid var(--card-border);
        border-radius: 12px;
        text-align: center;
    }
    
    button {
        border-radius: 12px;
        padding: 1rem;
    }
}

/* Panel Styles */
.header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.panel-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: auto;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
}

.danger-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    min-width: auto;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
}

.danger-btn:hover {
    background: rgba(239, 68, 68, 0.4);
}

.back-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--text-main);
}

.table-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    overflow-x: auto;
}

.email-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.email-table th, .email-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--card-border);
}

.email-table th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.02);
}

.email-table tr:last-child td {
    border-bottom: none;
}

.email-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.delete-row-btn {
    background: transparent;
    color: #f87171;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border: 1px solid #f87171;
    min-width: auto;
}

.delete-row-btn:hover {
    background: rgba(248, 113, 113, 0.2);
}

.empty-state {
    padding: 3rem;
    color: var(--text-muted);
    text-align: center;
}

/* Custom Image Logo Styling */
.custom-logo {
    width: 200px; /* Görsel boyutunu buradan ayarlayabilirsiniz */
    height: auto;
    max-width: 100%;
    border-radius: 12px;
    animation: pulse-logo 4s infinite ease-in-out alternate;
}

@keyframes pulse-logo {
    from { filter: drop-shadow(0 0 10px rgba(79, 70, 229, 0.4)); }
    to { filter: drop-shadow(0 0 20px rgba(79, 70, 229, 0.8)); }
}
