/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

/* Anonymous message page specific background */
body.anonymous-page {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8e53 100%) !important;
    min-height: 100vh;
}

/* Specific styling for tell.php anonymous pages */
body.anonymous-page,
html body.anonymous-page {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8e53 100%) !important;
    min-height: 100vh !important;
}

/* Container */
.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Card styles */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    animation: slideUp 0.6s ease-out;
}

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

/* Typography */
h1 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

p {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

/* Form elements */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

input[type="text"], 
input[type="file"],
textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    margin-bottom: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e1e5e9;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

/* Emoji reactions */
.emoji-reactions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.emoji-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emoji-btn:hover {
    transform: scale(1.2);
    background: #e9ecef;
}

.emoji-btn.selected {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scale(1.1);
}

/* Profile picture */
.profile-pic-container {
    text-align: center;
    margin-bottom: 20px;
}

.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #667eea;
    margin-bottom: 10px;
}

/* Link display */
.link-display {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    word-break: break-all;
    font-family: monospace;
    font-size: 14px;
    border: 2px dashed #667eea;
}

/* Message cards for results page */
.message-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: fadeIn 0.5s ease-out;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.message-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.message-emoji {
    font-size: 30px;
    text-align: center;
    margin-bottom: 10px;
}

.message-time {
    font-size: 12px;
    color: #999;
    text-align: right;
    margin-top: auto;
}

/* Story-style navigation */
.story-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.story-progress {
    display: flex;
    gap: 5px;
    padding: 10px 20px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: white;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-fill.active {
    width: 100%;
}

/* Navigation arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.nav-arrow.prev {
    left: 10px;
}

.nav-arrow.next {
    right: 10px;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-state-emoji {
    font-size: 60px;
    margin-bottom: 20px;
}

/* Responsive design */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* Success message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    text-align: center;
}

/* Error message */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    text-align: center;
}

/* Dashboard Styles */
.dashboard-container {
    min-height: 100vh;
    background: #f5f5f5;
}

/* Top Navigation */
.top-nav {
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-left, .nav-right {
    width: 40px;
}

.nav-center {
    display: flex;
    gap: 0;
}

.nav-icon {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.nav-icon:hover {
    background: #f0f0f0;
}

.nav-tab {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-tab.active {
    color: #333;
    border-bottom-color: #333;
}

.nav-tab:hover {
    color: #333;
}

/* Tab Content */
.tab-content {
    padding: 0;
}

/* Messages List */
.messages-list {
    background: white;
    margin: 0;
    padding: 0;
}

.message-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
}

.message-item:hover {
    background: #f8f9fa;
}

.message-item.unread {
    background: #f8f9ff;
}

.message-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #667eea;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

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

.message-preview {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.message-time {
    font-size: 14px;
    color: #999;
}

.message-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.unread-dot {
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
}

.read-check {
    color: #28a745;
    font-size: 14px;
}

.arrow {
    color: #ccc;
    font-size: 18px;
}

/* Empty State for Dashboard */
.empty-state-container {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state-container .empty-state-emoji {
    font-size: 80px;
    margin-bottom: 20px;
}

.empty-state-container h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.empty-state-container p {
    font-size: 16px;
    margin-bottom: 30px;
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bottom Action Button */
.bottom-action {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 50;
}

.btn-bottom {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    background: #ff4757;
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.3);
}

.btn-bottom:hover {
    background: #ff3742;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 71, 87, 0.4);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease-out;
}

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

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 30px 20px;
    text-align: center;
}

.modal-emoji {
    font-size: 50px;
    margin-bottom: 20px;
}

.modal-text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    word-wrap: break-word;
}

.modal-time {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.modal-actions {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
}

.modal-actions .btn {
    flex: 1;
    margin: 0;
}

/* Dashboard Container Override */
.dashboard-container .container {
    max-width: none;
    margin: 0;
    padding: 0;
    min-height: auto;
    display: block;
    justify-content: flex-start;
}

.dashboard-container .card {
    margin: 20px;
    border-radius: 15px;
}

/* Responsive adjustments for dashboard */
@media (max-width: 480px) {
    .top-nav {
        padding: 12px 15px;
    }
    
    .nav-tab {
        padding: 10px 15px;
        font-size: 15px;
    }
    
    .message-item {
        padding: 12px 15px;
    }
    
    .message-avatar {
        width: 35px;
        height: 35px;
        font-size: 18px;
        margin-right: 12px;
    }
    
    .message-preview {
        font-size: 15px;
    }
    
    .bottom-action {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
    
    .dashboard-container .card {
        margin: 15px;
    }
}

/* NGL-Style Play Tab */
.ngl-play-container {
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.ngl-main-card {
    background: linear-gradient(135deg, #8B7355 0%, #A0956B 50%, #6B8E7F 100%);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.ngl-avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.ngl-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ngl-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.avatar-icon {
    font-size: 32px;
    color: #999;
}

.ngl-edit-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ngl-main-text {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ngl-stats-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.stats-bubble {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stats-number {
    color: white;
    font-size: 16px;
    font-weight: 700;
}

.ngl-steps-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ngl-step {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
}

.step-link {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
    word-break: break-all;
}

.ngl-copy-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8e53 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.ngl-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.ngl-share-btn {
    background: linear-gradient(135deg, #ff1744 0%, #ff8f00 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 8px 25px rgba(255, 23, 68, 0.3);
}

.ngl-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 23, 68, 0.4);
}

/* Single Share Button */
.premium-share-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.premium-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.share-btn-icon {
    font-size: 24px;
}

/* Share Modal Styles */
.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.share-modal-content {
    background: white;
    border-radius: 25px;
    width: 100%;
    max-width: 350px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.share-modal-header {
    position: relative;
    padding: 20px 20px 0 20px;
}

.share-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.share-close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.share-social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.share-social-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.instagram-share {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.snapchat-share {
    background: #fffc00;
}

.snapchat-share svg {
    fill: #333 !important;
}

.whatsapp-share {
    background: #25d366;
}

.share-social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-instructions {
    padding: 20px 25px 30px 25px;
    text-align: center;
}

.share-instructions h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
}

.instruction-image {
    margin: 20px 0;
}

.instruction-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.instruction-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 15px;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 14px;
}

.share-action-btn {
    background: #25d366;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.share-action-btn:hover {
    background: #20b954;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Instagram Instructions Modal */
.instagram-instructions {
    padding: 20px 25px 30px 25px;
    text-align: center;
}

.instagram-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
}

.step-counter {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 20px;
    display: inline-block;
}

.current-step {
    color: #e1306c;
    font-weight: 700;
}

.instagram-step-content {
    margin-bottom: 25px;
}

.instagram-step-image {
    margin-bottom: 15px;
}

.instagram-step-text {
    margin-bottom: 20px;
}

.instagram-step-text p {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.instagram-navigation {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.instagram-next-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.instagram-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.instagram-final-share-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.3);
}

.instagram-final-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

/* Snapchat Instructions Modal */
.snapchat-instructions {
    padding: 20px 25px 30px 25px;
    text-align: center;
}

.snapchat-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
}

.snapchat-step-content {
    margin-bottom: 25px;
}

.snapchat-step-image {
    margin-bottom: 15px;
}

.snapchat-step-text {
    margin-bottom: 20px;
}

.snapchat-step-text p {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.snapchat-navigation {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.snapchat-next-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.snapchat-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.snapchat-final-share-btn {
    background: #fffc00;
    color: #333;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(255, 252, 0, 0.3);
}

.snapchat-final-share-btn:hover {
    background: #f0ed00;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 252, 0, 0.4);
}

.image-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 15px;
    padding: 40px 20px;
    color: #6c757d;
    text-align: center;
}

.image-placeholder p {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.image-placeholder small {
    font-size: 12px;
    color: #999;
}

.premium-profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.profile-avatar-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.premium-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.premium-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.avatar-initial {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.profile-info {
    flex: 1;
}

.premium-username {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: white;
}

.premium-display-name {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.premium-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.premium-stat-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 20px;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.premium-share-section {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.share-header {
    text-align: center;
    margin-bottom: 20px;
}

.share-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.share-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.premium-link-container {
    margin-bottom: 20px;
}

.link-input-wrapper {
    display: flex;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 5px;
    border: 2px solid #e9ecef;
}

.premium-link-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
    outline: none;
}

.premium-copy-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.premium-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.premium-social-section {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.social-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.premium-social-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.premium-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.whatsapp-btn:hover {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

.instagram-btn:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}

.twitter-btn:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.telegram-btn:hover {
    background: #0088cc;
    color: white;
    border-color: #0088cc;
}

.social-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-actions-section {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.premium-action-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.premium-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.primary-action:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.secondary-action:hover {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

.action-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
}

.action-content {
    flex: 1;
}

.action-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.action-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Empty State Styles */
.empty-state-container {
    text-align: center;
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.empty-title {
    font-size: 24px;
    font-weight: 700;
    color: #ff4757;
    margin-bottom: 10px;
}

.empty-subtitle {
    font-size: 16px;
    color: #999;
    margin-bottom: 40px;
    line-height: 1.4;
}

.placeholder-messages {
    margin: 40px 0;
}

.placeholder-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    justify-content: center;
}

.placeholder-card {
    width: 80px;
    height: 80px;
    background: #e0e0e0;
    border-radius: 20px;
    opacity: 0.6;
}

.placeholder-row:last-child {
    justify-content: center;
}

.placeholder-row:last-child .placeholder-card:nth-child(3) {
    display: none;
}

.empty-bottom-action {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 100;
}

.empty-bottom-action .btn-bottom {
    background: #ff4757;
    border: none;
    border-radius: 25px;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.empty-bottom-action .btn-bottom:hover {
    background: #ff3742;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.3);
}

/* Anonymous Message Page Styles */
.anonymous-container {
    max-width: 380px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.anonymous-page .container {
    display: none;
}

.anonymous-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-bottom: 30px;
}

.profile-header {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #999;
    flex-shrink: 0;
}

.profile-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.profile-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
    text-align: left;
}

.message-form {
    padding: 25px;
    position: relative;
}

.message-textarea {
    width: 100%;
    min-height: 120px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-family: inherit;
    color: #333;
    resize: none;
    outline: none;
}

.message-textarea::placeholder {
    color: #999;
    font-style: italic;
}

.send-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.send-button:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.anonymous-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
    margin: 20px 0;
}

.social-proof {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
    margin: 20px 0;
}

.social-proof .highlight {
    color: #ffeb3b;
}

.cta-button {
    background: #000;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.cta-button:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Success state for anonymous page */
.success-state {
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.success-emoji {
    font-size: 80px;
    margin-bottom: 20px;
}

.success-state h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.success-state p {
    font-size: 16px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive for anonymous page */
@media (max-width: 480px) {
    .anonymous-container {
        padding: 15px;
    }
    
    .anonymous-card {
        border-radius: 20px;
    }
    
    .profile-header {
        padding: 15px;
    }
    
    .message-form {
        padding: 20px;
    }
    
    .send-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Delete Modal Styles */
.delete-modal {
    background: rgba(0, 0, 0, 0.8) !important;
    overflow-y: auto;
    padding: 20px 0;
}

.delete-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

.delete-modal-header {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delete-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.delete-modal-body {
    padding: 30px 25px;
}

.delete-warning {
    text-align: center;
}

.warning-icon {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.delete-warning h4 {
    color: #333;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.delete-warning p {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
}

.delete-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.delete-list li {
    color: #dc3545;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
}

.delete-list li:last-child {
    margin-bottom: 0;
}

.warning-note {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 14px;
}

.delete-modal-actions {
    padding: 0 25px 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.delete-modal-actions .btn {
    flex: 1;
    max-width: 150px;
}

.btn-danger {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
}

.btn-danger:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Delete button in navigation */
.nav-icon.delete-btn {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: white;
    transition: all 0.3s ease;
}

.nav-icon.delete-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive for delete modal */
@media (max-width: 480px) {
    .delete-modal {
        padding: 10px 0;
    }
    
    .delete-modal-content {
        width: 95%;
        margin: 10px auto;
        max-height: 95vh;
    }
    
    .delete-modal-header {
        padding: 15px 20px;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .delete-modal-body {
        padding: 25px 20px;
        overflow-y: auto;
    }
    
    .delete-modal-actions {
        padding: 0 20px 20px;
        flex-direction: column;
        position: sticky;
        bottom: 0;
        background: white;
        border-radius: 0 0 20px 20px;
    }
    
    .delete-modal-actions .btn {
        max-width: none;
    }
    
    .warning-icon {
        font-size: 50px;
    }
    
    .delete-warning h4 {
        font-size: 20px;
    }
}
