:root {
    --primary-gradient: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    --accent-color: #00d2ff;
    --bg-dark: #1a1a2e;
    --btn-secondary-bg: #f1f3f5;
    --btn-secondary-text: #333;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #fafafa;
    color: #262626;
}

.screen {
    display: none;
    min-height: 100vh;
}

.screen.active {
    display: block;
}

/* Giriş Ekranı - Modern Siber Güvenlik Teması */
.welcome-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #16213e 50%, #0f3460 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.welcome-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.logo-container {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.logo-icon {
    font-size: 60px;
    color: var(--accent-color);
    filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.6));
}

h1.site-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 5px;
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 4px 15px rgba(0, 210, 255, 0.3);
    letter-spacing: 1.5px;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 25px;
    font-weight: 400;
    color: #e0e0e0;
    position: relative;
    z-index: 1;
}

.login-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    text-align: left;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background-color: #fcfcfc;
    color: #333;
    outline: none;
    transition: border 0.3s;
}

.form-control:focus {
    border-color: #2575fc;
    box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.login-card .btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
}

.login-card .btn-secondary {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border: 1px solid #e1e1e1;
}

.login-card .btn-secondary:hover {
    background: #e2e6ea;
}

.btn-primary,
.btn-secondary,
.btn-danger {
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #0095f6);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
    background: linear-gradient(135deg, #00e4ff, #00a5ff);
}

.btn-secondary {
    background: rgba(80, 80, 80, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary i {
    font-size: 14px;
}

.btn-secondary:hover {
    background: rgba(100, 100, 100, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-danger {
    background: #ed4956;
    color: white;
    width: 100%;
    margin-bottom: 10px;
}

.btn-danger:hover {
    background: #d63447;
}

/* Uygulamacı Ekranları */
.admin-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: #fafafa;
}

.admin-container h2 {
    margin-bottom: 30px;
    color: #262626;
}

.admin-container input {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    font-size: 16px;
}

.admin-container button {
    width: 100%;
    max-width: 400px;
}

/* Uygulamacı Panel */
.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-bottom: 1px solid #dbdbdb;
}

.admin-controls {
    padding: 20px;
    display: flex;
    gap: 10px;
}

.data-filters {
    padding: 0 20px 20px;
    display: flex;
    gap: 10px;
}

.data-filters select {
    flex: 1;
    padding: 10px;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    font-size: 14px;
}

.data-table {
    padding: 20px;
    overflow-x: auto;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #dbdbdb;
}

.data-table th {
    background: #f5f5f5;
    font-weight: 600;
}

/* Instagram Ana Ekran */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-bottom: 1px solid #dbdbdb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.logo-container i.fa-instagram {
    font-size: 28px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-family: 'Satisfy', cursive;
    font-size: 28px;
    font-weight: normal;
}

.top-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-icons i {
    font-size: 24px;
    cursor: pointer;
}

.message-icon-container {
    position: relative;
    cursor: pointer;
}

.message-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ed4956;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Hikayeler - İzlenmemiş: TURUNCU, İzlenmiş: GRİ */
.stories-container {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    background: white;
    border-bottom: 1px solid #dbdbdb;
    overflow-x: auto;
}

.story {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
}

.story-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* İzlenmiş hikaye - gri kenarlık */
.story-avatar.watched {
    background: #dbdbdb;
}

/* İzlenmemiş hikaye - turuncu gradient (default) */
.story-avatar.unwatched {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.story-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
}

.story span {
    font-size: 12px;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Feed */
.feed-container {
    padding-bottom: 60px;
    max-width: 470px;
    margin: 0 auto;
}

.post {
    background: white;
    margin-bottom: 15px;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    overflow: hidden;
}

.post-header {
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 10px;
}

.post-header img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.post-header span {
    font-weight: 600;
}

.post-image {
    width: 100%;
    aspect-ratio: 1;
    background: #f5f5f5;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dbdbdb;
    font-size: 64px;
}

.post-actions {
    display: flex;
    gap: 15px;
    padding: 15px;
}

.post-actions i {
    font-size: 24px;
    cursor: pointer;
}

.post-likes {
    padding: 0 15px 10px;
    font-weight: 600;
}

.post-caption {
    padding: 0 15px 15px;
}

.post-caption strong {
    margin-right: 5px;
}

.post-comments {
    padding: 0 15px 10px;
    color: #8e8e8e;
    font-size: 14px;
}

.post-comment {
    padding: 5px 15px;
    font-size: 14px;
}

.post-comment strong {
    margin-right: 5px;
}

.comment-input-container {
    display: flex;
    padding: 10px 15px;
    border-top: 1px solid #efefef;
    align-items: center;
}

.comment-input-container input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
}

.comment-input-container button {
    background: none;
    border: none;
    color: #0095f6;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

.comment-input-container button:disabled {
    opacity: 0.3;
    cursor: default;
}

.post-actions i.liked {
    color: #ed4956;
    animation: likeAnimation 0.3s ease;
}

@keyframes likeAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.post-actions i.saved {
    color: #262626;
}

.post-actions .actions-left {
    display: flex;
    gap: 15px;
    flex: 1;
}

.post-actions {
    display: flex;
    gap: 15px;
    padding: 15px;
    justify-content: space-between;
}

.post-actions .save-icon {
    margin-left: auto;
}

/* Alt Navigasyon */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    background: white;
    border-top: 1px solid #dbdbdb;
    z-index: 100;
}

.bottom-nav i {
    font-size: 24px;
    cursor: pointer;
    color: #262626;
}

.bottom-nav i.active {
    color: #0095f6;
}

/* Direkt Mesaj Ekranı */
.dm-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-bottom: 1px solid #dbdbdb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.dm-header i:first-child {
    font-size: 24px;
    cursor: pointer;
    margin-right: 15px;
}

.dm-user-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dm-user-info img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.dm-user-info span {
    font-weight: 600;
}

/* Message Inbox Styles */
#inbox-screen {
    background: white;
}

.inbox-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 60px;
}

.inbox-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    cursor: pointer;
    border-bottom: 1px solid #efefef;
    transition: background 0.2s;
    position: relative;
}

.inbox-item:hover {
    background: #fafafa;
}

.inbox-item img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
}

.inbox-item-content {
    flex: 1;
    min-width: 0;
}

.inbox-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.inbox-sender {
    font-weight: 600;
    font-size: 14px;
    color: #262626;
}

.inbox-item.unread .inbox-sender {
    font-weight: 700;
}

.inbox-time {
    font-size: 12px;
    color: #8e8e8e;
}

.inbox-message-preview {
    color: #8e8e8e;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 6px;
}

.inbox-item.unread .inbox-message-preview {
    color: #262626;
    font-weight: 600;
}

.unread-dot {
    width: 8px;
    height: 8px;
    background: #0095f6;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Blocked User Styles */
.inbox-item.blocked {
    border-left: 3px solid #ed4956;
}

.blocked-label {
    color: #ed4956;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
}

.blocked-preview {
    color: #ed4956 !important;
    font-weight: 600;
}

.inbox-item.blocked:hover {
    background: #fff5f5;
    cursor: not-allowed;
}

/* Reels Styles */
#reels-screen {
    background: #000;
    position: relative;
}

.reels-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 100%);
    z-index: 101;
}

.reels-close-btn {
    position: absolute;
    left: 20px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.reels-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.reels-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
}

.reels-container::-webkit-scrollbar {
    display: none;
}

.reel {
    height: 100vh;
    width: 100%;
    position: relative;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.reel video,
.reel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-overlay {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
}

.reel-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.reel-user img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
}

.reel-username {
    font-weight: 600;
    font-size: 14px;
}

.reel-caption {
    font-size: 14px;
    line-height: 1.4;
}

.reel-actions {
    position: absolute;
    right: 12px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.reel-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: white;
}

.reel-action i {
    font-size: 28px;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

.reel-action span {
    font-size: 12px;
    font-weight: 600;
}

.reel-action.liked i {
    color: #ed4956;
}

.reels-nav {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    border-top: none;
}

.reels-nav i {
    color: white;
}

.reels-nav i.active {
    color: white;
}

/* Video Post Styles */
.post-video {
    width: 100%;
    aspect-ratio: 1;
    background: #000;
    position: relative;
}

.post-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: white;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.video-overlay:hover {
    opacity: 1;
}

.video-overlay.playing {
    opacity: 0;
}

.dm-messages {
    padding: 20px;
    min-height: calc(100vh - 200px);
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    gap: 10px;
    max-width: 70%;
    animation: fadeIn 0.3s;
}

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

.message.sent {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.message-content {
    background: #efefef;
    padding: 12px 16px;
    border-radius: 20px;
    word-wrap: break-word;
}

.message.sent .message-content {
    background: #0095f6;
    color: white;
}

.message.cyberbullying .message-content {
    background: #fff3cd;
    border: 2px solid #ffc107;
}

.message-time {
    font-size: 11px;
    color: #8e8e8e;
    margin-top: 5px;
}

.dm-input-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #dbdbdb;
}

.dm-input-container input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #dbdbdb;
    border-radius: 20px;
    font-size: 14px;
}

.dm-input-container button {
    background: none;
    border: none;
    color: #0095f6;
    font-size: 20px;
    cursor: pointer;
}

/* Zorbalık Aksiyonları */
.action-buttons {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #dbdbdb;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}

.action-btn {
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.report-btn {
    background: #ffc107;
    color: #000;
}

.report-btn:hover {
    background: #ffb300;
}

.block-btn {
    background: #ed4956;
    color: white;
}

.block-btn:hover:not(:disabled) {
    background: #d63447;
}

.notify-btn {
    background: #0095f6;
    color: white;
}

.notify-btn:hover:not(:disabled) {
    background: #0081d8;
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-btn.blink {
    animation: blink 0.5s infinite;
}

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

/* İpucu Overlay */
.hint-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s;
}

.hint-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    margin: 20px;
    text-align: center;
}

.hint-content i {
    font-size: 48px;
    color: #ffc107;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.hint-content p {
    font-size: 18px;
    line-height: 1.5;
    color: #262626;
}

/* Özet Ekranı */
.summary-container {
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.summary-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #262626;
}

.summary-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.stat-card {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-value {
    font-size: 48px;
    font-weight: 700;
    color: #0095f6;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: #8e8e8e;
}

.skills-table {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.skills-table h3 {
    margin-bottom: 20px;
    text-align: center;
}

.skills-table table {
    width: 100%;
    border-collapse: collapse;
}

.skills-table th,
.skills-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #dbdbdb;
}

.skills-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.skill-positive {
    color: #22c55e;
    font-weight: 600;
}

.skill-negative {
    color: #ef4444;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    h1.site-title {
        font-size: 1.8rem;
    }
    
    .logo-icon {
        font-size: 50px;
    }
    
    .login-card {
        padding: 30px 25px;
        max-width: 90%;
    }
    
    .btn {
        font-size: 0.95rem;
        padding: 12px;
    }
    
    .summary-stats {
        flex-direction: column;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #0095f6;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Story Overlay */
.story-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 1001;
    display: none;
    flex-direction: column;
}

.story-overlay.active {
    display: flex;
}

.story-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 100%);
    position: relative;
    z-index: 1;
}

/* Story Progress Segments */
.story-progress-container {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 2px;
    display: flex;
    gap: 4px;
    z-index: 2;
}

.story-progress-segment {
    flex: 1;
    height: 100%;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow: hidden;
}

.story-progress-bar {
    height: 100%;
    background: white;
    width: 0%;
    animation: storyProgress 5s linear forwards;
}

.story-progress-segment.completed .story-progress-bar {
    width: 100%;
    animation: none;
}

@keyframes storyProgress {
    from { width: 0%; }
    to { width: 100%; }
}

.story-user-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.story-user-info img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
}

.story-user-info span {
    font-weight: 600;
}

.story-close {
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.story-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
}

.story-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Story Navigation Areas */
.story-nav-left,
.story-nav-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30%;
    cursor: pointer;
    z-index: 1;
}

.story-nav-left {
    left: 0;
}

.story-nav-right {
    right: 0;
}

/* Şikayet Nedeni Modal */
.complaint-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    animation: fadeIn 0.3s;
}

.complaint-modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    margin: 20px;
}

.complaint-modal-content h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #262626;
}

.complaint-reasons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.complaint-reason-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #dbdbdb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.complaint-reason-option:hover {
    background: #f5f5f5;
}

.complaint-reason-option.selected {
    border-color: #0095f6;
    background: #e7f3ff;
}

.complaint-reason-option.correct {
    border-color: #22c55e;
    background: #dcfce7;
}

.complaint-reason-option.blink-hint {
    animation: blinkHint 0.5s infinite;
}

@keyframes blinkHint {
    0%, 100% { 
        border-color: #ffc107;
        background: #fff3cd;
    }
    50% { 
        border-color: #ffb300;
        background: #ffe69c;
    }
}

.complaint-reason-option input[type="radio"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.complaint-reason-option label {
    flex: 1;
    cursor: pointer;
    font-size: 14px;
    color: #262626;
}

/* Teşekkür Mesajı Modal */
.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1003;
    animation: fadeIn 0.3s;
}

.thank-you-content {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    margin: 20px;
    text-align: center;
}

.checkmark-animation {
    font-size: 72px;
    color: #22c55e;
    margin-bottom: 20px;
    animation: checkmarkPop 0.5s ease-out;
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thank-you-content h3 {
    color: #262626;
    margin-bottom: 15px;
    font-size: 24px;
}

.thank-you-content p {
    color: #8e8e8e;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Logout Overlay */
.logout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1004;
    animation: fadeIn 0.3s;
}

.logout-modal {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    margin: 20px;
    text-align: center;
}

.logout-modal h3 {
    color: #262626;
    margin-bottom: 20px;
    font-size: 20px;
}

.logout-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
    background: #ed4956;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logout-btn:hover {
    background: #d63447;
}

.logout-btn i {
    font-size: 18px;
}

/* NEW DESIGN STYLES - Firebase Authentication & Logo */

/* Auth Screen - Welcome Background remains same */
#auth-screen, #panel-screen, #app-entry-screen {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(135deg, #2d1b69 0%, #1e4a7f 50%, #2d1b69 100%);
}

#auth-screen::before, #panel-screen::before, #app-entry-screen::before {
    content: "";
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(124,58,237,.15), transparent 35%),
        radial-gradient(circle at 85% 25%, rgba(34,211,238,.12), transparent 35%),
        radial-gradient(circle at 15% 75%, rgba(236,72,153,.1), transparent 30%),
        radial-gradient(circle at 85% 75%, rgba(168,85,247,.12), transparent 30%);
    pointer-events: none;
}

/* Logo Styles with Righteous Font */
.logo-shield-wrapper {
    position: relative;
    display: inline-block;
}

.logo-shield {
    font-size: clamp(50px, 6vw, 70px);
    color: #ffd700;
    filter: drop-shadow(0 0 15px rgba(255,215,0,.6)) drop-shadow(0 0 25px rgba(255,215,0,.4));
    animation: shieldPulse 3s ease-in-out infinite;
}

.shield-s {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Righteous', cursive;
    font-size: clamp(24px, 3vw, 34px);
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255,215,0,.8), 0 0 20px rgba(255,215,0,.6);
    font-weight: 700;
    animation: letterGlow 2s ease-in-out infinite;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo-title {
    font-family: 'Righteous', cursive;
    font-size: clamp(40px, 5.5vw, 64px);
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0;
}

.logo-title .letter {
    display: inline-block;
    background: linear-gradient(180deg, #fff 0%, #22d3ee 60%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(34,211,238,.4));
}

.logo-title .letter.yellow-s {
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 25px rgba(251,191,36,.6));
    font-weight: 700;
    transform: scale(1.1);
    display: inline-block;
}

.logo-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(12px, 1.5vw, 16px);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.subtitle-text {
    animation: colorShift 6s ease-in-out infinite;
}

.subtitle-text:nth-child(1) {
    animation-delay: 0s;
}

.subtitle-text:nth-child(3) {
    animation-delay: 2s;
}

.subtitle-text:nth-child(5) {
    animation-delay: 4s;
}

.subtitle-dot {
    color: #fff;
    opacity: 0.7;
}

@keyframes colorShift {
    0%, 100% { color: #22d3ee; text-shadow: 0 0 10px rgba(34,211,238,.6); }
    33% { color: #a78bfa; text-shadow: 0 0 10px rgba(167,139,250,.6); }
    66% { color: #ffd700; text-shadow: 0 0 10px rgba(255,215,0,.6); }
}

@keyframes letterGlow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(255,215,0,.8), 0 0 20px rgba(255,215,0,.6);
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        text-shadow: 0 0 15px rgba(255,215,0,1), 0 0 30px rgba(255,215,0,.8);
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Auth Forms */
.auth-form {
    width: 100%;
}

.form-title {
    text-align: center;
    color: #0f172a;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    font-family: 'Poppins', sans-serif;
}

.full-width {
    width: 100%;
    margin-top: 8px;
}

.cyber-btn i {
    margin-right: 8px;
}

.form-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #64748b;
}

.switch-btn {
    background: none;
    border: none;
    color: #7c3aed;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 5px;
    font-size: 14px;
    transition: color 0.2s;
}

.switch-btn:hover {
    color: #6366f1;
}

/* Panel Screen Styles */
.user-info-display {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 100;
}

.user-avatar i {
    font-size: 32px;
    color: #22d3ee;
    filter: drop-shadow(0 0 10px rgba(34,211,238,.6));
}

.user-name {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cyber-btn-logout {
    background: rgba(239,68,68,0.9);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.cyber-btn-logout:hover {
    background: rgba(220,38,38,1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239,68,68,0.4);
}

.cyber-btn-logout i {
    font-size: 14px;
}

/* Panel Options */
.panel-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.panel-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px !important;
    min-height: 120px;
    justify-content: center;
}

.panel-option i {
    font-size: 32px;
    margin-bottom: 12px;
}

.panel-option span {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.panel-option p {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

/* Admin Panel Updates */
.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-bottom: 1px solid #dbdbdb;
    flex-wrap: wrap;
    gap: 10px;
}

#admin-back-btn {
    margin-right: auto;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

#admin-user-name {
    font-weight: 600;
    color: #0f172a;
    font-size: 16px;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease-out;
    max-width: 400px;
}

.notification.success {
    border-left: 4px solid #22c55e;
}

.notification.error {
    border-left: 4px solid #ef4444;
}

.notification i {
    font-size: 24px;
}

.notification.success i {
    color: #22c55e;
}

.notification.error i {
    color: #ef4444;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 700;
    font-size: 16px;
    color: #0f172a;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 14px;
    color: #64748b;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Instagram DM Notification Toast */
.dm-notification-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 400px;
    width: 90%;
    animation: slideDownFade 0.3s ease-out;
    cursor: pointer;
}

@keyframes slideDownFade {
    from {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.dm-notif-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.dm-notif-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dm-notif-content {
    flex: 1;
    min-width: 0;
}

.dm-notif-sender {
    font-weight: 700;
    font-size: 14px;
    color: #262626;
    margin-bottom: 2px;
}

.dm-notif-preview {
    font-size: 13px;
    color: #8e8e8e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Checkbox Group Styles */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px;
    border: 2px solid #e2e6ea;
    border-radius: 8px;
    transition: all 0.2s;
    background: white;
}

.checkbox-label:hover {
    border-color: #7c3aed;
    background: #f8f7ff;
}

.checkbox-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #7c3aed;
}

.checkbox-label span {
    font-weight: 600;
    font-size: 15px;
    color: #0f172a;
}

.checkbox-label input[type="radio"]:checked + span {
    color: #7c3aed;
}

/* Unfollowed Message Header */
.unfollowed-message {
    background: #fff3cd;
    color: #856404;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #ffc107;
    margin-bottom: 10px;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .logo-shield-wrapper {
        margin-bottom: 10px;
    }
    
    .user-info-display {
        position: static;
        margin-bottom: 20px;
        width: 90%;
        justify-content: center;
    }
    
    .cyber-brand {
        flex-direction: column;
        gap: 15px !important;
    }
    
    .logo-text-container {
        width: 100%;
    }
    
    .notification {
        max-width: 90%;
        right: 5%;
    }
}
