@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* CSS Reset for Icons Visibility */
.isv-content-block i {
font-family: "Font Awesome 6 Free", "Font Awesome 6 Solid" !important;
font-weight: 900 !important;
font-style: normal !important;
display: inline-block !important;
}
/* Base Styles */
.isv-content-block {
font-family: 'Outfit', sans-serif;
color: #0F0C29; /* Inherited text color from tool theme */
width: 100%;
}
.container-1200 {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.isv-section { padding: 90px 0; width: 100%; }
.bg-white { background-color: #ffffff; }
.bg-light-blue { background-color: #f0f7ff; }
/* Header Alignment */
.isv-header-group {
text-align: center;
margin-bottom: 50px;
}
.isv-wh-title {
font-size: clamp(24px, 5vw, 34px);
font-weight: 800;
margin-bottom: 12px;
background: linear-gradient(to right, #8a3ab9, #cd486b);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.isv-subtitle {
font-size: 17px;
color: #302B63;
opacity: 0.8;
max-width: 800px;
margin: 0 auto;
}
/* Grid layout for 8 cards (4x2) */
.isv-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 25px;
}
.isv-card {
padding: 35px 20px;
border-radius: 10px; /* Requested Radius */
text-align: center;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
border: 1px solid rgba(0,0,0,0.03);
}
.isv-card h3 {
font-size: 18px;
font-weight: 700;
margin-bottom: 12px;
color: #0F0C29;
}
.isv-card p {
font-size: 14px;
line-height: 1.6;
color: #4b5563;
}
.isv-icon {
font-size: 32px;
margin-bottom: 22px;
transition: all 0.5s ease;
display: inline-block;
}
/* SECTION 1: Lift Hover + Icon Rotation */
.variant-1 { background-color: #f0f7ff; }
.icon-purple i { color: #8a3ab9; }
.variant-1:hover {
transform: translateY(-12px);
box-shadow: 0 20px 40px rgba(138, 58, 185, 0.1);
}
.variant-1:hover .icon-purple {
transform: rotateY(360deg);
}
/* SECTION 2: Scale Hover + Icon Background Change */
.variant-2 { background-color: #ffffff; box-shadow: 0 4px 6px rgba(0,0,0,0.02); text-align: left; }
.icon-circle {
width: 60px; height: 60px;
background: #f0f7ff;
border-radius: 50%;
display: flex !important;
align-items: center; justify-content: center;
color: #cd486b;
}
.variant-2:hover {
transform: scale(1.05);
}
.variant-2:hover .icon-circle {
background-color: #cd486b;
color: white !important;
box-shadow: 0 0 15px rgba(205, 72, 107, 0.4);
}
.variant-2:hover .icon-circle i { color: white !important; }
/* SECTION 3: Card Pop + Icon Shake */
.variant-3 { background-color: #f0f7ff; }
.icon-gradient i {
background: linear-gradient(45deg, #8a3ab9, #fbad50);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.variant-3:hover {
box-shadow: inset 0 0 15px rgba(251, 173, 80, 0.1), 0 5px 15px rgba(0,0,0,0.05);
}
.variant-3:hover .icon-gradient {
animation: iconShake 0.5s ease-in-out;
}
@keyframes iconShake {
0%, 100% { transform: rotate(0); }
25% { transform: rotate(15deg); }
75% { transform: rotate(-15deg); }
}
/* Responsive Queries */
@media (max-width: 1024px) {
.isv-grid { grid-template-columns: repeat(2, 1fr); }
.isv-wh-title { font-size: 28px; }
}
@media (max-width: 768px) {
.isv-section { padding: 60px 0; }
}
@media (max-width: 600px) {
.isv-grid { grid-template-columns: 1fr; }
.isv-card { padding: 30px 15px; }
.isv-wh-title { font-size: 24px; }
}

/* Ultra Modern Instagram Story Viewer Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            /* Vibrant Color Palette */
            --bg-gradient-1: #0F0C29;
            --bg-gradient-2: #302B63;
            --bg-gradient-3: #24243E;
            --surface-dark: #1A1A2E;
            --surface-light: #ffffff;
            --glass-bg-dark: rgba(26, 26, 46, 0.85);

            /* Instagram Colors */
            --instagram-purple: #8a3ab9;
            --instagram-blue: #4c68d7;
            --instagram-pink: #cd486b;
            --instagram-orange: #fbad50;
            --instagram-yellow: #fccc63;

            /* UI Colors */
            --primary: #8a3ab9;
            --secondary: #cd486b;
            --accent: #fbad50;
            --accent-secondary: #4c68d7;
            --success: #00D26A;
            --warning: #FFB800;
            --error: #FF4757;

            /* Text Colors */
            --text-primary-light: #ffffff;
            --text-secondary-light: rgba(255, 255, 255, 0.7);
            --text-muted-light: rgba(255, 255, 255, 0.5);

            /* Shadows */
            --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
            --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
            --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.16);
            --shadow-glow-purple: 0 0 20px rgba(138, 58, 185, 0.4);
            --shadow-glow-pink: 0 0 20px rgba(205, 72, 107, 0.4);

            /* Misc */
            --border-radius-sm: 12px;
            --border-radius-md: 16px;
            --border-radius-lg: 24px;
            --border-line-light: 1px solid rgba(255, 255, 255, 0.1);
            --transition-normal: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            --backdrop-blur: blur(20px);
        }

        .instragram_body{
            font-family: 'Outfit', sans-serif;
            background: linear-gradient(135deg, var(--bg-gradient-1), var(--bg-gradient-2), var(--bg-gradient-3));
            color: var(--text-primary-light);
            line-height: 1.5;
            min-height: 100vh;
            overflow-x: hidden;
            overflow-y: auto;
					   
        }

        .hidden {
            display: none !important;
        }

        /* Layout */
        .app-container {
            display: flex;
            min-height: 100vh;
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            height: 100vh;
					  margin:40px auto;
        }

        .app-container::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at center, transparent 30%, rgba(138, 58, 185, 0.03) 60%, rgba(205, 72, 107, 0.05) 100%);
            animation: rotate 60s linear infinite;
            z-index: -1;
        }

        @keyframes rotate {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        /* Side Panel */
        .side-panel {
            width: 420px;
            background: var(--glass-bg-dark);
            backdrop-filter: var(--backdrop-blur);
            -webkit-backdrop-filter: var(--backdrop-blur);
            border-right: var(--border-line-light);
            display: flex;
            flex-direction: column;
            z-index: 10;
            position: relative;
            overflow: hidden;
            max-height: 100vh;
        }

        .side-panel::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 100px;
            background: linear-gradient(to bottom, rgba(138, 58, 185, 0.2), transparent);
            z-index: -1;
        }

        .side-panel::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 100px;
            background: linear-gradient(to top, rgba(205, 72, 107, 0.2), transparent);
            z-index: -1;
        }

        .app-header {
            padding: 0.75rem;
            border-bottom: var(--border-line-light);
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
        }

        .app-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at top left, rgba(138, 58, 185, 0.2), transparent 70%);
            z-index: -1;
        }

        .app-logo {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .logo-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(45deg, var(--instagram-purple), var(--instagram-pink), var(--instagram-orange), var(--instagram-yellow));
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 20px;
            box-shadow: 0 8px 20px rgba(138, 58, 185, 0.3);
            position: relative;
            overflow: hidden;
            animation: pulse 3s infinite;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 8px 20px rgba(138, 58, 185, 0.3);
            }

            50% {
                box-shadow: 0 8px 25px rgba(205, 72, 107, 0.4);
            }

            100% {
                box-shadow: 0 8px 20px rgba(138, 58, 185, 0.3);
            }
        }

        .logo-icon::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 70%);
            animation: rotate 10s linear infinite;
        }

        .logo-icon::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 50%);
        }

        .app-title {
            font-size: 1.6rem;
            font-weight: 800;
            background: linear-gradient(to right, var(--instagram-purple), var(--instagram-pink), var(--instagram-orange), var(--instagram-yellow));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -0.5px;
            position: relative;
        }

        /* .app-title::after {
            content: 'PRO';
            position: absolute;
            top: -5px;
            right: -40px;
            font-size: 0.7rem;
            background: linear-gradient(to right, var(--instagram-pink), var(--instagram-orange));
            color: white;
            padding: 2px 6px;
            border-radius: 6px;
            font-weight: 700;
            -webkit-text-fill-color: white;
        } */

        .search-container {
            padding: 2rem;
            position: relative;
            flex-shrink: 0;
        }

        .search-container::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100px;
            height: 100px;
            background: radial-gradient(circle at top right, rgba(251, 173, 80, 0.2), transparent 70%);
            z-index: -1;
        }

        #search-form {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .form-label {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-secondary-light);
            margin-bottom: 0.5rem;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .form-label svg {
            width: 18px;
            height: 18px;
            stroke: var(--instagram-pink);
        }

        .input-group {
            position: relative;
        }

        #username-input {
            width: 100%;
            padding: 1.2rem 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--border-radius-lg);
            color: var(--text-primary-light);
            font-family: 'Outfit', sans-serif;
            font-size: 1rem;
            transition: var(--transition-normal);
        }

        #username-input:focus {
            outline: none;
            border-color: var(--instagram-purple);
            box-shadow: 0 0 0 4px rgba(138, 58, 185, 0.2);
            background: rgba(255, 255, 255, 0.08);
        }

        #username-input::placeholder {
            color: var(--text-muted-light);
        }

        .input-icon {
            position: absolute;
            right: 1.5rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted-light);
        }

        #search-btn {
            background: linear-gradient(45deg, var(--instagram-purple), var(--instagram-pink), var(--instagram-orange));
            color: white;
            border: none;
            border-radius: var(--border-radius-lg);
            padding: 1.2rem 1.5rem;
            font-family: 'Outfit', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.8rem;
            transition: var(--transition-normal);
            box-shadow: 0 8px 20px rgba(205, 72, 107, 0.3);
            position: relative;
            overflow: hidden;
            letter-spacing: 0.5px;
        }

        #search-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: var(--transition-normal);
        }

        #search-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(205, 72, 107, 0.4);
        }

        #search-btn:hover::before {
            left: 100%;
            transition: 0.7s;
        }

        #search-btn:active {
            transform: translateY(-2px);
            box-shadow: 0 8px 15px rgba(205, 72, 107, 0.3);
        }

        /* Profile Section */
        .profile-section {
            flex: 1;
            overflow-y: auto;
            padding: 2rem;
            position: relative;
            max-height: calc(100vh - 200px);
        }

        .profile-section::-webkit-scrollbar {
            width: 6px;
        }

        .profile-section::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
        }

        .profile-section::-webkit-scrollbar-thumb {
            background: linear-gradient(to bottom, var(--instagram-purple), var(--instagram-pink));
            border-radius: 10px;
        }

        /* Loading State */
        .loading-state {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 4rem 0;
        }

        .spinner {
            width: 60px;
            height: 60px;
            position: relative;
            margin-bottom: 2rem;
        }

        .spinner::before,
        .spinner::after {
            content: '';
            position: absolute;
            border-radius: 50%;
        }

        .spinner::before {
            width: 100%;
            height: 100%;
            background-image: linear-gradient(var(--instagram-purple), var(--instagram-pink), var(--instagram-orange));
            animation: spin 1s linear infinite;
        }

        .spinner::after {
            top: 10%;
            left: 10%;
            right: 10%;
            bottom: 10%;
            background: var(--surface-dark);
            border-radius: 50%;
        }

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

        .loading-text {
            color: var(--text-secondary-light);
            font-size: 1.1rem;
            font-weight: 500;
            background: linear-gradient(to right, var(--instagram-purple), var(--instagram-pink));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shimmer 2s infinite;
            background-size: 200% 100%;
        }

        @keyframes shimmer {
            0% {
                background-position: -100% 0;
            }

            100% {
                background-position: 100% 0;
            }
        }

        /* Profile Data */
        .profile-data {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .profile-header {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            padding: 1.8rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-md);
            transition: var(--transition-normal);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
        }

        .profile-header:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: var(--shadow-lg), var(--shadow-glow-purple);
        }

        .profile-header::before {
            content: '';
            position: absolute;
            top: -100%;
            left: -100%;
            width: 300%;
            height: 300%;
            background: radial-gradient(circle at center, rgba(138, 58, 185, 0.15), transparent 70%);
            animation: rotate 20s linear infinite;
            z-index: -1;
        }

        .profile-image-container {
            position: relative;
        }

        .profile-image {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid transparent;
            background:
                linear-gradient(var(--surface-dark), var(--surface-dark)) padding-box,
                linear-gradient(45deg, var(--instagram-purple), var(--instagram-pink), var(--instagram-orange), var(--instagram-yellow)) border-box;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
            transition: var(--transition-normal);
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-8px);
            }
        }

        .profile-image:hover {
            transform: scale(1.1);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), var(--shadow-glow-purple);
        }

        .profile-image-aura {
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--instagram-purple), var(--instagram-pink), var(--instagram-orange), var(--instagram-yellow));
            opacity: 0.15;
            filter: blur(10px);
            z-index: -1;
            animation: pulse-aura 3s ease-in-out infinite alternate;
        }

        @keyframes pulse-aura {
            0% {
                opacity: 0.1;
                transform: scale(1);
            }

            100% {
                opacity: 0.2;
                transform: scale(1.1);
            }
        }

        .verified-indicator {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 24px;
            height: 24px;
            background: linear-gradient(to right, var(--instagram-blue), var(--instagram-purple));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
            border: 2px solid var(--surface-dark);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        .profile-info {
            flex: 1;
        }

        .profile-username {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-primary-light);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            letter-spacing: 0.5px;
        }

        .profile-fullname {
            font-size: 1rem;
            color: var(--text-secondary-light);
            font-weight: 500;
        }

        /* Stories Grid */
        .stories-section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .stories-section-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-primary-light);
            display: flex;
            align-items: center;
            gap: 0.8rem;
            letter-spacing: 0.5px;
            position: relative;
        }

        .stories-section-title svg {
            width: 20px;
            height: 20px;
            stroke: var(--instagram-pink);
        }

        .stories-section-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 40px;
            height: 3px;
            background: linear-gradient(to right, var(--instagram-purple), var(--instagram-pink));
            border-radius: 3px;
        }

        .stories-count {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-secondary-light);
            background: rgba(255, 255, 255, 0.1);
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
        }

        .stories-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
        }

        .story-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: var(--border-radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            cursor: pointer;
            transition: var(--transition-normal);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            transform-style: preserve-3d;
            perspective: 1000px;
        }

        .story-card:hover {
            transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
            box-shadow: var(--shadow-lg), var(--shadow-glow-pink);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .story-card::before {
            content: '';
            position: absolute;
            inset: -2px;
            background: linear-gradient(45deg, var(--instagram-purple), var(--instagram-pink), var(--instagram-orange), var(--instagram-yellow));
            border-radius: calc(var(--border-radius-md) + 2px);
            z-index: -1;
            opacity: 0;
            transition: var(--transition-normal);
        }

        .story-card:hover::before {
            opacity: 1;
        }

        .story-preview {
            width: 100%;
            height: 220px;
            overflow: hidden;
            position: relative;
        }

        .story-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .story-card:hover .story-preview img {
            transform: scale(1.1);
        }

        .story-preview::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
            z-index: 1;
        }

        .story-type-overlay {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 30px;
            padding: 0.5rem 1rem;
            color: white;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 6px;
            z-index: 2;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .story-type-overlay.video {
            background: rgba(205, 72, 107, 0.7);
        }

        .story-type-overlay.image {
            background: rgba(138, 58, 185, 0.7);
        }

        .story-timestamp-overlay {
            position: absolute;
            bottom: 15px;
            left: 15px;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 30px;
            padding: 0.5rem 1rem;
            color: white;
            font-size: 0.8rem;
            font-weight: 500;
            z-index: 2;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .story-meta {
            padding: 1.2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(0, 0, 0, 0.2);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            position: relative;
            overflow: hidden;
        }

        .story-meta::before {
            content: '';
            position: absolute;
            top: -100%;
            left: -100%;
            width: 300%;
            height: 300%;
            background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 70%);
            animation: rotate 20s linear infinite;
            z-index: -1;
        }

        .story-info {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .story-info svg {
            width: 18px;
            height: 18px;
            stroke: var(--instagram-pink);
        }

        .story-time {
            font-size: 0.9rem;
            color: var(--text-secondary-light);
            font-weight: 500;
        }

        /* Error Panel */
        .error-panel {
            padding: 3rem;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: 2rem;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: var(--backdrop-blur);
            -webkit-backdrop-filter: var(--backdrop-blur);
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-md);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
        }

        .error-panel::before {
            content: '';
            position: absolute;
            top: -100%;
            left: -100%;
            width: 300%;
            height: 300%;
            background: radial-gradient(circle at center, rgba(255, 0, 0, 0.05), transparent 70%);
            animation: rotate 20s linear infinite;
            z-index: -1;
        }

        .error-icon {
            width: 80px;
            height: 80px;
            background: rgba(255, 71, 87, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: var(--error);
            margin-bottom: 2rem;
            position: relative;
        }

        .error-icon::after {
            content: '';
            position: absolute;
            inset: -8px;
            border-radius: 50%;
            border: 2px solid rgba(255, 71, 87, 0.2);
            animation: pulse-error 2s infinite;
        }

        @keyframes pulse-error {
            0% {
                transform: scale(1);
                opacity: 1;
            }

            100% {
                transform: scale(1.5);
                opacity: 0;
            }
        }

        .error-message {
            color: var(--text-secondary-light);
            font-size: 1.1rem;
            max-width: 300px;
            line-height: 1.6;
            font-weight: 500;
        }

        .error-action {
            margin-top: 2rem;
            padding: 0.8rem 1.5rem;
            background: linear-gradient(to right, var(--instagram-purple), var(--instagram-pink));
            color: white;
            border: none;
            border-radius: var(--border-radius-md);
            font-family: 'Outfit', sans-serif;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition-normal);
            box-shadow: 0 4px 15px rgba(205, 72, 107, 0.3);
        }

        .error-action:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(205, 72, 107, 0.4);
        }

        /* Main Content */
        .main-content {
            flex: 1;
            position: relative;
            background-color: var(--surface-dark);
            overflow: hidden;
            max-height: 100vh;
        }

        .main-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                radial-gradient(circle at 20% 20%, rgba(138, 58, 185, 0.15), transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(205, 72, 107, 0.15), transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(251, 173, 80, 0.1), transparent 60%);
            z-index: 0;
        }

        /* Welcome Panel */
        .welcome-panel {
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            text-align: center;
            position: relative;
            z-index: 1;
            overflow-y: auto;
            max-height: 100vh;
        }

        .welcome-illustration {
            width: 320px;
            height: 320px;
            margin-bottom: 3rem;
            position: relative;
            flex-shrink: 0;
        }

        .welcome-illustration::before {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: radial-gradient(circle, rgba(138, 58, 185, 0.2) 0%, rgba(205, 72, 107, 0.1) 50%, transparent 70%);
            border-radius: 50%;
            z-index: -1;
            animation: pulse-illustration 5s ease-in-out infinite alternate;
        }

        @keyframes pulse-illustration {
            0% {
                opacity: 0.5;
                transform: translate(-50%, -50%) scale(0.9);
            }

            100% {
                opacity: 0.8;
                transform: translate(-50%, -50%) scale(1.1);
            }
        }

        .circle-1,
        .circle-2,
        .circle-3 {
            position: absolute;
            border-radius: 50%;
            opacity: 0.8;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            filter: blur(30px);
        }

        .circle-1 {
            width: 200px;
            height: 200px;
            background: linear-gradient(45deg, var(--instagram-purple), var(--instagram-pink));
            animation: pulse-circle 8s ease-in-out infinite alternate;
        }

        .circle-2 {
            width: 150px;
            height: 150px;
            background: linear-gradient(45deg, var(--instagram-pink), var(--instagram-orange));
            animation: pulse-circle 6s ease-in-out infinite alternate-reverse;
        }

        .circle-3 {
            width: 100px;
            height: 100px;
            background: linear-gradient(45deg, var(--instagram-orange), var(--instagram-yellow));
            animation: pulse-circle 4s ease-in-out infinite alternate;
        }

        @keyframes pulse-circle {
            0% {
                opacity: 0.4;
                transform: translate(-50%, -50%) scale(0.8);
            }

            100% {
                opacity: 0.7;
                transform: translate(-50%, -50%) scale(1.2);
            }
        }

        .illustration-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100px;
            height: 100px;
            z-index: 2;
            filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
        }

        .welcome-title {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            background: linear-gradient(to right, var(--instagram-purple), var(--instagram-pink), var(--instagram-orange), var(--instagram-yellow));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -1px;
            position: relative;
        }

        .welcome-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, var(--instagram-purple), var(--instagram-pink));
            border-radius: 4px;
        }

        .welcome-description {
            color: var(--text-secondary-light);
            font-size: 1.2rem;
            max-width: 600px;
            margin-bottom: 4rem;
            line-height: 1.8;
            font-weight: 500;
        }

        .instashot-features-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 2rem;
            margin-top: 2rem;
            flex-shrink: 0;
        }

        .instashot-feature-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            position: relative;
            padding: 2rem;
            border-radius: var(--border-radius-lg);
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: var(--backdrop-blur);
            -webkit-backdrop-filter: var(--backdrop-blur);
            box-shadow: var(--shadow-md);
            transition: var(--transition-normal);
            border: 1px solid rgba(255, 255, 255, 0.05);
            width: 180px;
            height: 180px;
            overflow: hidden;
        }

        .instashot-feature-item:hover {
            transform: translateY(-10px) scale(1.05);
            box-shadow: var(--shadow-lg), var(--shadow-glow-purple);
            border-color: rgba(255, 255, 255, 0.1);
        }

        .instashot-feature-icon {
            width: 60px;
            height: 60px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: white;
            position: relative;
            z-index: 1;
            box-shadow: 0 8px 20px rgba(138, 58, 185, 0.3);
        }

        .instashot-feature-icon-1 {
            background: linear-gradient(45deg, var(--instagram-purple), var(--instagram-pink));
        }

        .instashot-feature-icon-2 {
            background: linear-gradient(45deg, var(--instagram-pink), var(--instagram-orange));
        }

        .instashot-feature-icon-3 {
            background: linear-gradient(45deg, var(--instagram-orange), var(--instagram-yellow));
        }

        .instashot-feature-icon::before {
            content: '';
            position: absolute;
            inset: -5px;
            background: inherit;
            border-radius: inherit;
            filter: blur(10px);
            opacity: 0.5;
            z-index: -1;
        }

        .instashot-feature-text {
            font-size: 1rem;
            color: var(--text-primary-light);
            font-weight: 600;
            text-align: center;
        }

        /* Story Player */
        .story-player {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #000;
            z-index: 5;
        }

        .story-control-bar {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            padding: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
            z-index: 15;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .story-user-data {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .story-user-image {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .story-username {
            font-size: 1.1rem;
            color: white;
            font-weight: 600;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .story-timestamp {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.8);
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .story-actions {
            display: flex;
            gap: 1rem;
        }

        .control-btn {
            width: 44px;
            height: 44px;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition-normal);
            color: white;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        }

        .control-btn:hover {
            background-color: rgba(255, 255, 255, 0.25);
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        /* Progress Track */
        .progress-track {
            position: absolute;
            top: 90px;
            left: 0;
            right: 0;
            padding: 0 1.5rem;
            display: flex;
            gap: 8px;
            z-index: 10;
        }

        .progress-indicator {
            height: 4px;
            flex: 1;
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .progress-fill {
            height: 100%;
            width: 0;
            background: linear-gradient(to right, var(--instagram-purple), var(--instagram-pink), var(--instagram-orange));
            border-radius: 4px;
            transition: width 0.1s linear;
        }

        .progress-indicator.completed .progress-fill {
            width: 100%;
            background: white;
        }

        /* Media Container */
        .media-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #000;
        }

        .media-container img,
        .media-container video {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        /* Navigation */
        .navigation-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            z-index: 5;
        }

        .nav-area {
            flex: 1;
            background: transparent;
            border: none;
            cursor: pointer;
            position: relative;
        }

        .nav-indicator {
            position: absolute;
            top: 50%;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            transform: translateY(-50%);
            opacity: 0;
            transition: var(--transition-normal);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .prev-area .nav-indicator {
            left: 30px;
        }

        .next-area .nav-indicator {
            right: 30px;
        }

        .nav-area:hover .nav-indicator {
            opacity: 1;
            transform: translateY(-50%) scale(1.1);
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fade-in-up {
            animation: fadeInUp 0.6s ease forwards;
        }

        .story-card:nth-child(1) {
            animation-delay: 0.1s;
        }

        .story-card:nth-child(2) {
            animation-delay: 0.2s;
        }

        .story-card:nth-child(3) {
            animation-delay: 0.3s;
        }

        .story-card:nth-child(4) {
            animation-delay: 0.4s;
        }

      

        /* Toast Notifications */
        .toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .toast {
            background: rgba(26, 26, 46, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--border-radius-md);
            padding: 1rem 1.5rem;
            color: white;
            font-size: 0.9rem;
            font-weight: 500;
            box-shadow: var(--shadow-lg);
            transform: translateX(100%);
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            display: flex;
            align-items: center;
            gap: 0.8rem;
            min-width: 300px;
        }

        .toast.show {
            transform: translateX(0);
            opacity: 1;
        }

        .toast.success {
            border-left: 4px solid var(--success);
        }

        .toast.error {
            border-left: 4px solid var(--error);
        }

        .toast.info {
            border-left: 4px solid var(--accent-secondary);
        }

        .toast-icon {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }

        .toast-message {
            flex: 1;
        }

        .toast-close {
            background: none;
            border: none;
            color: var(--text-muted-light);
            cursor: pointer;
            padding: 0;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition-normal);
        }

        .toast-close:hover {
            color: white;
        }

        /* No Stories Message */
        .no-stories-message {
            padding: 3rem;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: 2rem;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: var(--backdrop-blur);
            -webkit-backdrop-filter: var(--backdrop-blur);
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-md);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
        }

        .no-stories-message::before {
            content: '';
            position: absolute;
            top: -100%;
            left: -100%;
            width: 300%;
            height: 300%;
            background: radial-gradient(circle at center, rgba(251, 173, 80, 0.1), transparent 70%);
            animation: rotate 20s linear infinite;
            z-index: -1;
        }

        .no-stories-icon {
            width: 80px;
            height: 80px;
            background: rgba(251, 173, 80, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: var(--accent);
            margin-bottom: 2rem;
            position: relative;
        }

        .no-stories-icon::after {
            content: '';
            position: absolute;
            inset: -8px;
            border-radius: 50%;
            border: 2px solid rgba(251, 173, 80, 0.2);
            animation: pulse-accent 2s infinite;
        }

        @keyframes pulse-accent {
            0% {
                transform: scale(1);
                opacity: 1;
            }

            100% {
                transform: scale(1.5);
                opacity: 0;
            }
        }

        .no-stories-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-primary-light);
            margin-bottom: 1rem;
        }

        .no-stories-description {
            color: var(--text-secondary-light);
            font-size: 1rem;
            max-width: 400px;
            line-height: 1.6;
            font-weight: 500;
        }

        /* Play/Pause Button */
        .play-pause-btn {
            width: 44px;
            height: 44px;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition-normal);
            color: white;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        }

        .play-pause-btn:hover {
            background-color: rgba(255, 255, 255, 0.25);
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        /* Download Button */
        .download-btn {
            width: 44px;
            height: 44px;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition-normal);
            color: white;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        }

        .download-btn:hover {
            background-color: rgba(255, 255, 255, 0.25);
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        .download-btn:active {
            transform: translateY(-1px) scale(0.95);
        }
			
			        /* Responsive adjustments */

        @media (max-width: 992px) {
            .app-container {
                flex-direction: column;
                margin: 0;
                border-radius: 0;
                min-height: 100vh;
                height: auto;
            }

            .side-panel {
                width: 100%;
                max-height: none;
                border-right: none;
                border-bottom: var(--border-line-light);
            }

            .profile-section {
                max-height: none;
                padding-bottom: 5rem;
                /* Add some padding to the bottom for mobile scroll */
            }

            .main-content {
                height: 100vh;
                /* Take full viewport height for main content on smaller screens */
                flex: 1;
            }

            .welcome-panel {
                max-height: none;
            }
					
					.app-title {
	font-size: 1.6rem;
	font-weight: 800;
	background: linear-gradient(to right, var(--instagram-purple), var(--instagram-pink), var(--instagram-orange), var(--instagram-yellow));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: -0.5px;
	position: relative;
	margin-top: 40px;
}
					
					.logo-icon {
	width: 50px;
	height: 50px;
	background: linear-gradient(45deg, var(--instagram-purple), var(--instagram-pink), var(--instagram-orange), var(--instagram-yellow));
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	font-size: 20px;
	box-shadow: 0 8px 20px rgba(138, 58, 185, 0.3);
	position: relative;
	overflow: hidden;
	animation: pulse 3s infinite;
	margin-top: 40px;
}
        }

        @media (max-width: 768px) {
            .app-header {
                padding: 1rem;
            }

            .app-logo {
                margin-bottom: 1rem;
            }

            .app-title {
                font-size: 1.4rem;
            }

            .search-container {
                padding: 1.5rem;
            }

            #username-input {
                padding: 1rem 1.2rem;
                font-size: 0.9rem;
            }

            #search-btn {
                padding: 1rem 1.2rem;
                font-size: 0.9rem;
            }

            .profile-section {
                padding: 1.5rem;
            }

            .profile-header {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
                padding: 1.2rem;
            }

            .profile-image {
                width: 70px;
                height: 70px;
            }

            .profile-username {
                font-size: 1.2rem;
                justify-content: center;
            }

            .profile-fullname {
                font-size: 0.9rem;
            }

            .stories-section-header {
                flex-direction: column;
                align-items: flex-start;
                margin-bottom: 1rem;
            }

            .stories-section-title {
                margin-bottom: 0.5rem;
            }

            .stories-grid {
                grid-template-columns: 1fr;
                /* Single column layout for stories */
                gap: 1rem;
            }

            .story-card {
                margin: 0 auto;
                max-width: 350px;
            }

            .story-preview {
                height: 200px;
            }

            .welcome-illustration {
                width: 250px;
                height: 250px;
                margin-bottom: 2rem;
            }

            .welcome-illustration::before {
                width: 300px;
                height: 300px;
            }

            .illustration-icon {
                width: 80px;
                height: 80px;
            }

            .welcome-title {
                font-size: 2.5rem;
                margin-bottom: 1rem;
            }

            .welcome-description {
                font-size: 1rem;
                margin-bottom: 2rem;
            }

            .instashot-features-list {
                flex-direction: column;
                gap: 1rem;
            }

            .instashot-feature-item {
                width: 100%;
                max-width: 250px;
                height: auto;
                padding: 1.5rem;
            }

            .instashot-feature-icon {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }

            .instashot-feature-text {
                font-size: 0.9rem;
            }

            .story-control-bar {
                padding: 1rem;
            }

            .story-user-image {
                width: 40px;
                height: 40px;
            }

            .story-username {
                font-size: 1rem;
            }

            .story-timestamp {
                font-size: 0.8rem;
            }

            .control-btn {
                width: 40px;
                height: 40px;
            }

            .progress-track {
                top: 70px;
                padding: 0 1rem;
            }

            .nav-indicator {
                width: 40px;
                height: 40px;
            }
						.app-title {
	font-size: 1.6rem;
	font-weight: 800;
	background: linear-gradient(to right, var(--instagram-purple), var(--instagram-pink), var(--instagram-orange), var(--instagram-yellow));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: -0.5px;
	position: relative;
	margin-top: 40px;
}
					
					.logo-icon {
	width: 50px;
	height: 50px;
	background: linear-gradient(45deg, var(--instagram-purple), var(--instagram-pink), var(--instagram-orange), var(--instagram-yellow));
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	font-size: 20px;
	box-shadow: 0 8px 20px rgba(138, 58, 185, 0.3);
	position: relative;
	overflow: hidden;
	animation: pulse 3s infinite;
	margin-top: 40px;
}
        }

        @media (max-width: 600px) {
            .app-title {
                font-size: 1.2rem;
            }

            .logo-icon {
                width: 40px;
                height: 40px;
                font-size: 16px;
                border-radius: 10px;
            }

            .search-container {
                padding: 1rem;
            }

            #search-form {
                gap: 1rem;
            }

            #username-input,
            #search-btn {
                padding: 0.8rem 1rem;
                font-size: 0.85rem;
                border-radius: var(--border-radius-md);
            }

            .input-icon {
                right: 1rem;
            }

            .profile-section {
                padding: 1rem;
            }

            .profile-image {
                width: 60px;
                height: 60px;
            }

            .profile-username {
                font-size: 1rem;
            }

            .profile-fullname {
                font-size: 0.85rem;
            }

            .stories-section-title {
                font-size: 1rem;
            }

            .stories-count {
                font-size: 0.8rem;
                padding: 0.3rem 0.6rem;
            }

            .story-preview {
                height: 180px;
            }

            .story-type-overlay,
            .story-timestamp-overlay {
                font-size: 0.7rem;
                padding: 0.4rem 0.8rem;
            }

            .story-meta {
                padding: 0.8rem;
            }

            .story-time {
                font-size: 0.8rem;
            }

            .welcome-illustration {
                width: 200px;
                height: 200px;
                margin-bottom: 1.5rem;
            }

            .welcome-illustration::before {
                width: 250px;
                height: 250px;
            }

            .illustration-icon {
                width: 70px;
                height: 70px;
            }

            .welcome-title {
                font-size: 2rem;
            }

            .welcome-description {
                font-size: 0.9rem;
                margin-bottom: 1.5rem;
            }

            .instashot-feature-item {
                padding: 1.2rem;
            }

            .instashot-feature-icon {
                width: 45px;
                height: 45px;
                font-size: 1rem;
            }

            .instashot-feature-text {
                font-size: 0.85rem;
            }

            .story-control-bar {
                padding: 0.8rem;
            }

            .story-user-image {
                width: 36px;
                height: 36px;
            }

            .story-username {
                font-size: 0.9rem;
            }

            .story-timestamp {
                font-size: 0.75rem;
            }

            .control-btn {
                width: 36px;
                height: 36px;
                font-size: 0.8rem;
            }

            .progress-track {
                top: 60px;
                gap: 6px;
            }

            .progress-indicator {
                height: 3px;
            }

            .nav-indicator {
                width: 36px;
                height: 36px;
                font-size: 0.8rem;
            }

            .prev-area .nav-indicator {
                left: 20px;
            }

            .next-area .nav-indicator {
                right: 20px;
            }

            .error-panel,
            .no-stories-message {
                padding: 2rem;
            }

            .error-icon,
            .no-stories-icon {
                width: 60px;
                height: 60px;
                font-size: 2rem;
                margin-bottom: 1.5rem;
            }

            .error-message,
            .no-stories-description {
                font-size: 0.9rem;
                max-width: 250px;
            }

            .error-action {
                padding: 0.7rem 1.2rem;
                font-size: 0.85rem;
            }

            .no-stories-title {
                font-size: 1.1rem;
                margin-bottom: 0.8rem;
            }
						.app-title {
	font-size: 0.9rem;
	margin-top: 56px;
}
					.logo-icon {
	width: 30px;
	height: 30px;
	font-size: 12px;
	margin-top: 47px;
}
					.story-preview {
	width: 100%;
	height: 100% !important;
	overflow: hidden;
	position: relative;
}
        }

        @media (max-width: 400px) {
            .app-header {
                padding: 0.5rem;
            }

            .app-title {
                font-size: 1rem;
            }

            .logo-icon {
                width: 35px;
                height: 35px;
                font-size: 14px;
                border-radius: 8px;
            }

            .search-container {
                padding: 0.8rem;
            }

            .form-label {
                font-size: 0.9rem;
            }

            #username-input,
            #search-btn {
                padding: 0.7rem 0.9rem;
                font-size: 0.8rem;
                border-radius: var(--border-radius-sm);
            }

            .profile-section {
                padding: 0.8rem;
            }

            .profile-image {
                width: 50px;
                height: 50px;
            }

            .profile-username {
                font-size: 0.9rem;
            }

            .profile-fullname {
                font-size: 0.8rem;
            }

            .stories-section-title {
                font-size: 0.9rem;
            }

            .stories-count {
                font-size: 0.7rem;
                padding: 0.2rem 0.5rem;
            }

            .story-preview {
                height: 150px;
            }

            .story-type-overlay,
            .story-timestamp-overlay {
                top: 10px;
                right: 10px;
                bottom: 10px;
                left: 10px;
                font-size: 0.65rem;
                padding: 0.3rem 0.6rem;
            }

            .story-meta {
                padding: 0.7rem;
            }

            .story-time {
                font-size: 0.75rem;
            }

            .welcome-illustration {
                width: 180px;
                height: 180px;
                margin-bottom: 1rem;
            }

            .welcome-illustration::before {
                width: 200px;
                height: 200px;
            }

            .illustration-icon {
                width: 60px;
                height: 60px;
            }

            .welcome-title {
                font-size: 1.8rem;
            }

            .welcome-description {
                font-size: 0.85rem;
                margin-bottom: 1rem;
            }

            .instashot-features-list {
                gap: 0.8rem;
            }

            .instashot-feature-item {
                padding: 1rem;
                width: 150px;
                height: 150px;
            }

            .instashot-feature-icon {
                width: 40px;
                height: 40px;
                font-size: 0.9rem;
            }

            .instashot-feature-text {
                font-size: 0.8rem;
            }

            .story-control-bar {
                padding: 0.6rem;
            }

            .story-user-image {
                width: 32px;
                height: 32px;
            }

            .story-username {
                font-size: 0.85rem;
            }

            .story-timestamp {
                font-size: 0.7rem;
            }

            .control-btn {
                width: 32px;
                height: 32px;
                font-size: 0.7rem;
            }

            .progress-track {
                top: 50px;
                gap: 4px;
            }

            .progress-indicator {
                height: 2px;
            }

            .nav-indicator {
                width: 32px;
                height: 32px;
                font-size: 0.7rem;
                left: 15px;
                right: 15px;
            }

            .error-panel,
            .no-stories-message {
                padding: 1.5rem;
                margin-top: 1.5rem;
            }

            .error-icon,
            .no-stories-icon {
                width: 50px;
                height: 50px;
                font-size: 1.8rem;
                margin-bottom: 1rem;
            }

            .error-message,
            .no-stories-description {
                font-size: 0.85rem;
                max-width: 200px;
            }

            .error-action {
                padding: 0.6rem 1rem;
                font-size: 0.8rem;
            }

            .no-stories-title {
                font-size: 1rem;
            }
						.app-title {
	font-size: 0.9rem;
	margin-top: 56px;
}
					.logo-icon {
	width: 30px;
	height: 30px;
	font-size: 12px;
	margin-top: 47px;
}
				.story-preview {
	width: 100%;
	height: 100% !important;
	overflow: hidden;
	position: relative;
}
					.story-type-overlay, .story-timestamp-overlay {
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
	font-size: 0.65rem;
	padding: 0.3rem 0.6rem;
	display: none;
}
        }

        @media (max-width: 375px) {

            .app-title {
                font-size: 0.9rem;
            }

            .logo-icon {
                width: 30px;
                height: 30px;
                font-size: 12px;
            }

            .form-label {
                font-size: 0.85rem;
            }

            #username-input,
            #search-btn {
                font-size: 0.75rem;
            }

            .profile-image {
                width: 45px;
                height: 45px;
            }

            .profile-username {
                font-size: 0.85rem;
            }

            .profile-fullname {
                font-size: 0.75rem;
            }

            .stories-section-title {
                font-size: 0.85rem;
            }

            .stories-count {
                font-size: 0.65rem;
            }

            .story-preview {
                height: 130px;
            }

            .story-type-overlay,
            .story-timestamp-overlay {
                font-size: 0.6rem;
            }

            .story-time {
                font-size: 0.7rem;
            }

            .welcome-illustration {
                width: 150px;
                height: 150px;
            }

            .welcome-illustration::before {
                width: 180px;
                height: 180px;
            }

            .illustration-icon {
                width: 50px;
                height: 50px;
            }

            .welcome-title {
                font-size: 1.6rem;
            }

            .welcome-description {
                font-size: 0.8rem;
            }

            .instashot-feature-item {
                width: 130px;
                height: 130px;
            }

            .instashot-feature-icon {
                width: 35px;
                height: 35px;
                font-size: 0.8rem;
            }

            .instashot-feature-text {
                font-size: 0.75rem;
            }

            .story-user-image {
                width: 28px;
                height: 28px;
            }

            .story-username {
                font-size: 0.8rem;
            }

            .story-timestamp {
                font-size: 0.65rem;
            }

            .control-btn {
                width: 28px;
                height: 28px;
                font-size: 0.6rem;
            }

            .progress-track {
                top: 45px;
            }

            .nav-indicator {
                width: 28px;
                height: 28px;
                font-size: 0.6rem;
            }

            .error-icon,
            .no-stories-icon {
                width: 45px;
                height: 45px;
                font-size: 1.6rem;
            }

            .error-message,
            .no-stories-description {
                font-size: 0.8rem;
            }

            .error-action {
                font-size: 0.75rem;
            }

            .no-stories-title {
                font-size: 0.9rem;
            }
					.app-title {
	font-size: 0.9rem;
	margin-top: 56px;
}
					.logo-icon {
	width: 30px;
	height: 30px;
	font-size: 12px;
	margin-top: 47px;
}
					.story-preview {
	width: 100%;
	height: 100% !important;
	overflow: hidden;
	position: relative;
}
					.story-type-overlay, .story-timestamp-overlay {
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
	font-size: 0.65rem;
	padding: 0.3rem 0.6rem;
	display: none;
}
        }

/* CSS Reset for Icons Visibility */
.isv-content-block i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Solid" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
}

/* Base Styles */
.isv-content-block {
    font-family: 'Outfit', sans-serif;
    color: #0F0C29; /* Inherited text color from tool theme */
    width: 100%;
}

.container-1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.isv-section { padding: 90px 0; width: 100%; }
.bg-white { background-color: #ffffff; }
.bg-light-blue { background-color: #f0f7ff; }

/* Header Alignment */
.isv-header-group {
    text-align: center;
    margin-bottom: 50px;
}

.isv-wh-title {
    font-size: clamp(24px, 5vw, 34px);
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(to right, #8a3ab9, #cd486b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.isv-subtitle {
    font-size: 17px;
    color: #302B63;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Grid layout for 8 cards (4x2) */
.isv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.isv-card {
    padding: 35px 20px;
    border-radius: 10px; /* Requested Radius */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
}

.isv-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0F0C29;
}

.isv-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

.isv-icon {
    font-size: 32px;
    margin-bottom: 22px;
    transition: all 0.5s ease;
    display: inline-block;
}

/* SECTION 1: Lift Hover + Icon Rotation */
.variant-1 { background-color: #f0f7ff; }
.icon-purple i { color: #8a3ab9; }

.variant-1:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(138, 58, 185, 0.1);
}

.variant-1:hover .icon-purple {
    transform: rotateY(360deg);
}

/* SECTION 2: Scale Hover + Icon Background Change */
.variant-2 { background-color: #ffffff; box-shadow: 0 4px 6px rgba(0,0,0,0.02); text-align: left; }

.icon-circle {
    width: 60px; height: 60px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex !important;
    align-items: center; justify-content: center;
    color: #cd486b;
}

.variant-2:hover {
    transform: scale(1.05);
}

.variant-2:hover .icon-circle {
    background-color: #cd486b;
    color: white !important;
    box-shadow: 0 0 15px rgba(205, 72, 107, 0.4);
}
.variant-2:hover .icon-circle i { color: white !important; }

/* SECTION 3: Card Pop + Icon Shake */
.variant-3 { background-color: #f0f7ff; }

.icon-gradient i {
    background: linear-gradient(45deg, #8a3ab9, #fbad50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.variant-3:hover {
    box-shadow: inset 0 0 15px rgba(251, 173, 80, 0.1), 0 5px 15px rgba(0,0,0,0.05);
}

.variant-3:hover .icon-gradient {
    animation: iconShake 0.5s ease-in-out;
}

@keyframes iconShake {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}

/* Responsive Queries */
@media (max-width: 1024px) {
    .isv-grid { grid-template-columns: repeat(2, 1fr); }
    .isv-wh-title { font-size: 28px; }
}

@media (max-width: 768px) {
    .isv-section { padding: 60px 0; }
}

@media (max-width: 600px) {
    .isv-grid { grid-template-columns: 1fr; }
    .isv-card { padding: 30px 15px; }
    .isv-wh-title { font-size: 24px; }
}