/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    padding-bottom: 80px;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Header */
.app-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 1rem;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-content h1 {
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.language-toggle {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-toggle:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.language-toggle i {
    font-size: 1.1rem;
}

/* Main Content */
.app-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.content-section.active {
    display: block;
}

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

/* Stagger animation for cards */
.tutorial-card,
.portfolio-item,
.challenge-card {
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.tutorial-card:nth-child(1) { animation-delay: 0.1s; }
.tutorial-card:nth-child(2) { animation-delay: 0.2s; }
.tutorial-card:nth-child(3) { animation-delay: 0.3s; }
.tutorial-card:nth-child(4) { animation-delay: 0.4s; }
.tutorial-card:nth-child(5) { animation-delay: 0.5s; }
.tutorial-card:nth-child(6) { animation-delay: 0.6s; }

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }
.portfolio-item:nth-child(5) { animation-delay: 0.5s; }
.portfolio-item:nth-child(6) { animation-delay: 0.6s; }

.challenge-card:nth-child(1) { animation-delay: 0.1s; }
.challenge-card:nth-child(2) { animation-delay: 0.2s; }
.challenge-card:nth-child(3) { animation-delay: 0.3s; }
.challenge-card:nth-child(4) { animation-delay: 0.4s; }

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

/* Welcome Card */
.welcome-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border: 3px solid #2196F3;
    transform: rotate(-0.5deg);
    position: relative;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #2196F3, #4CAF50, #FFC107, #F44336, #9C27B0);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.3;
}

.welcome-card h2 {
    color: #2196F3;
    margin-bottom: 1rem;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border: 2px solid #2196F3;
    transform: rotate(1deg);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: rotate(1deg) scale(1.05);
}

.stat-item:nth-child(even) {
    transform: rotate(-1deg);
}

.stat-item:nth-child(even):hover {
    transform: rotate(-1deg) scale(1.05);
}

.stat-item i {
    font-size: 2rem;
    color: #2196F3;
    margin-bottom: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #4CAF50;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: bold;
}

/* Quick Actions */
.quick-actions {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 3px solid #4CAF50;
    transform: rotate(0.5deg);
}

.quick-actions h3 {
    color: #4CAF50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.action-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 3px solid #2e7d32;
    transform: rotate(-1deg);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.action-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.action-btn i {
    font-size: 1.2rem;
}

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

.section-header h2 {
    color: #2196F3;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    transform: rotate(-1deg);
}

/* Buttons */
.primary-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.primary-btn:hover::before {
    left: 100%;
}

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

.secondary-btn {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
}

.secondary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(108, 117, 125, 0.4);
}

/* Filters */
.tutorial-filters,
.portfolio-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #2196F3;
    color: #2196F3;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    transform: rotate(-0.5deg);
}

.filter-btn:hover,
.filter-btn.active {
    background: #2196F3;
    color: white;
    transform: rotate(-0.5deg) scale(1.05);
}

/* Grids */
.tutorials-grid,
.portfolio-grid,
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Cards */
.tutorial-card,
.portfolio-item,
.challenge-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
}

.tutorial-card::before,
.portfolio-item::before,
.challenge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tutorial-card::before {
    background: linear-gradient(90deg, #4CAF50, #45a049);
}

.portfolio-item::before {
    background: linear-gradient(90deg, #9C27B0, #7B1FA2);
}

.challenge-card::before {
    background: linear-gradient(90deg, #FFC107, #FF9800);
}

.tutorial-card:hover,
.portfolio-item:hover,
.challenge-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tutorial-card:hover::before,
.portfolio-item:hover::before,
.challenge-card:hover::before {
    transform: scaleX(1);
}

.card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.card-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.difficulty-badge,
.category-badge {
    background: #2196F3;
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(-2deg);
}

.difficulty-badge.intermediate {
    background: #FFC107;
    color: #333;
}

.difficulty-badge.advanced {
    background: #F44336;
}

.card-content {
    padding: 1.5rem;
}

.card-actions {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.card-btn {
    background: none;
    border: 2px solid #2196F3;
    color: #2196F3;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    transform: rotate(1deg);
}

.card-btn:hover {
    background: #2196F3;
    color: white;
    transform: rotate(1deg) scale(1.05);
}

.card-btn.danger {
    border-color: #F44336;
    color: #F44336;
}

.card-btn.danger:hover {
    background: #F44336;
    color: white;
}

/* Portfolio specific styles */
.portfolio-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #9C27B0;
}

.camera-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.camera-info span {
    background: #f0f0f0;
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #ddd;
    transform: rotate(-0.5deg);
}

.camera-info span:nth-child(even) {
    transform: rotate(0.5deg);
}

/* Composition Tool */
.composition-tool {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-top: 2rem;
    border: 3px solid #FF9800;
    transform: rotate(-0.3deg);
}

.composition-tool h3 {
    color: #FF9800;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.canvas-container {
    text-align: center;
}

#compositionCanvas {
    border: 3px solid #FF9800;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    background: #f9f9f9;
    cursor: crosshair;
}

.canvas-controls {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tool-btn {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #E65100;
    transform: rotate(0.5deg);
}

.tool-btn:hover {
    transform: rotate(0.5deg) scale(1.05);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    animation: modalFadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 3px solid #2196F3;
    transform: rotate(0.5deg);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: rotate(0.5deg) scale(0.8) translateY(-50px); }
    to { transform: rotate(0.5deg) scale(1) translateY(0); }
}

.modal-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 17px 17px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.camera-settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 0 0 17px 17px;
    margin: 0 -1.5rem -1.5rem -1.5rem;
}

/* Feedback specific styles */
.feedback-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid #e0e0e0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: bold;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
}

.tab-btn.active {
    color: #2196F3;
    border-bottom-color: #2196F3;
    transform: rotate(-0.5deg) scale(1.05);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.feedback-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid #e0e0e0;
    transform: rotate(0.3deg);
}

.feedback-item:nth-child(even) {
    transform: rotate(-0.3deg);
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.feedback-photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #2196F3;
}

.rating-display {
    color: #FFC107;
    font-size: 1.2rem;
}

.rating-stars {
    display: flex;
    gap: 0.2rem;
    margin-top: 0.5rem;
}

.rating-stars i {
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 1.5rem;
}

.rating-stars i.active,
.rating-stars i:hover {
    color: #FFC107;
}

.community-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.community-photo-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid #4CAF50;
    transform: rotate(0.5deg);
    transition: transform 0.3s ease;
}

.community-photo-item:hover {
    transform: rotate(0.5deg) scale(1.02);
}

.community-photo-item:nth-child(even) {
    transform: rotate(-0.5deg);
}

.community-photo-item:nth-child(even):hover {
    transform: rotate(-0.5deg) scale(1.02);
}

.community-photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.community-photo-info {
    padding: 1rem;
}

.feedback-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    transform: rotate(-1deg);
}

.feedback-btn:hover {
    transform: rotate(-1deg) scale(1.05);
}

/* FAQ Styles */
.faq-section {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin: 2rem 0;
    border: 3px solid #9C27B0;
    transform: rotate(0.3deg);
}

.faq-section h2 {
    color: #9C27B0;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.faq-item {
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 0;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #9C27B0;
}

.faq-icon {
    font-size: 1.5rem;
    color: #9C27B0;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 0 1rem 0;
    color: #666;
    line-height: 1.6;
    animation: fadeIn 0.3s ease;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-around;
    padding: 0.8rem 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #6c757d;
    padding: 0.8rem 1rem;
    border-radius: 15px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 70px;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.nav-item:hover::before,
.nav-item.active::before {
    opacity: 1;
}

.nav-item:hover,
.nav-item.active {
    color: white;
    transform: translateY(-5px);
}

.nav-item i {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
    position: relative;
    z-index: 1;
}

.nav-item span {
    font-size: 0.75rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #333, #555);
    color: white;
    margin-top: 3rem;
    font-weight: bold;
    transform: rotate(-0.5deg);
    border-top: 3px solid #2196F3;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    color: #333;
    padding: 1.2rem 1.8rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.notification-error {
    background: linear-gradient(135deg, #F44336, #D32F2F);
    color: white;
}

.notification-info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

/* Loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Pulse animation for loading */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.empty-state i {
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-main {
        padding: 0.5rem;
    }
    
    .header-content h1 {
        font-size: 1.2rem;
    }
    
    .welcome-card,
    .quick-actions,
    .composition-tool,
    .faq-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .action-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorials-grid,
    .portfolio-grid,
    .challenges-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .tutorial-filters,
    .portfolio-filters {
        justify-content: center;
    }
    
    .feedback-tabs {
        justify-content: center;
    }
    
    .tab-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .camera-settings {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .nav-item span {
        font-size: 0.7rem;
    }
    
    .nav-item i {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .camera-settings {
        grid-template-columns: 1fr;
    }
    
    .card-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .bottom-nav {
        padding: 0.3rem 0;
    }
    
    .nav-item {
        min-width: 50px;
        padding: 0.3rem;
    }
    
    .nav-item i {
        font-size: 1.2rem;
    }
    
    .nav-item span {
        font-size: 0.6rem;
    }
}

/* Print Styles */
@media print {
    .bottom-nav,
    .app-header,
    .modal {
        display: none !important;
    }
    
    .app-main {
        padding: 0;
    }
    
    .content-section {
        display: block !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    body {
        background: white;
        color: black;
    }
    
    .welcome-card,
    .quick-actions,
    .composition-tool,
    .faq-section {
        border-width: 4px;
    }
    
    .primary-btn,
    .secondary-btn,
    .action-btn {
        border-width: 4px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .welcome-card,
    .quick-actions,
    .composition-tool,
    .faq-section,
    .tutorial-card,
    .portfolio-item,
    .challenge-card {
        transform: none !important;
    }
    
    .nav-item,
    .filter-btn,
    .primary-btn,
    .secondary-btn {
        transform: none !important;
    }
    
    .notification {
        transform: none !important;
    }
}
