:root {
            --snapchat-yellow: #FFFC00;
        }

        body {
            background-color: #ffffff;
            color: #000000;
        }

        .text-snapchat-yellow {
            color: var(--snapchat-yellow);
        }

        .btn-snapchat {
            background-color: var(--snapchat-yellow);
            border-color: #000000;
            color: #000000;
        }

        .btn-snapchat:hover {
            background-color: #FFE600;
            border-color: #000000;
            color: #000000;
        }

        .btn-group-vertical>.btn:not(:last-child) {
            margin-bottom: 0.5rem;
        }

        .card-body h6 {
            margin-top: 1rem;
            margin-bottom: 0.5rem;
        }

        .progress {
            width: 100%;
            margin-bottom: 0;
        }

        .progress-bar {
            width: 0%;
            transition: width 0.3s ease;
            background-color: var(--snapchat-yellow);
            color: #000000;
        }

        .card {
            background-color: #ffffff;
            border-color: #000000;
            max-width: 300px;
            margin: 0 auto;
        }

        .input-group-text {
            background-color: var(--snapchat-yellow);
            color: #000000;
            border-color: #000000;
        }

        .form-control {
            background-color: #ffffff;
            color: #000000;
            border-color: #000000;
        }

        .form-control::placeholder {
            color: #888;
        }

        .navbar {
            padding: 0.5rem 0;
        }
        .btn-nav {
            background-color: var(--snapchat-yellow);
            color: #000000;
            border: 2px solid #000000;
            margin: 0 0.25rem;
        }
        .btn-nav:hover, .btn-nav:focus {
            background-color: #FFE600;
            color: #000000;
        }
        .btn-nav.active {
            background-color: #000000;
            color: var(--snapchat-yellow);
            font-weight: bold;
        }

        .video-preview-container {
            position: relative;
            cursor: pointer;
        }

        .play-button {
            color: var(--snapchat-yellow);
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
            z-index: 2;
            cursor: pointer;
        }

        .cursor-pointer {
            cursor: pointer;
        }

        video.card-img-top {
            width: 100%;
            height: auto;
        }

        /* Responsive h1 sizing */
        h1 {
            font-size: 2.5rem;
        }

        @media (max-width: 768px) {
            h1 {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 480px) {
            h1 {
                font-size: 1.4rem;
            }
        }

        /* Responsive paragraph sizing */
        p {
            font-size: 1rem;
        }

        @media (max-width: 768px) {
            p {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 480px) {
            p {
                font-size: 1rem;
            }
        }

        /* Responsive button sizing */
        @media (max-width: 768px) {
            #pasteButton, #clearButton {
                padding: 10px 12px !important;
                font-size: 12px !important;
            }
            
            #downloadButton {
                padding: 10px 18px !important;
                font-size: 14px !important;
            }
        }

        @media (max-width: 480px) {
            #pasteButton, #clearButton {
                padding: 8px 10px !important;
                font-size: 11px !important;
            }
            
            #downloadButton {
                padding: 8px 14px !important;
                font-size: 13px !important;
            }
        }

        /* Responsive navbar sizing */
        @media (max-width: 768px) {
            .navbar {
                padding: 0.3rem 0;
            }
            
            .btn-nav {
                padding: 8px 12px;
                font-size: 12px;
                margin: 0 0.15rem;
            }
        }

        @media (max-width: 480px) {
            .navbar {
                padding: 0.1rem 0;
            }
            
            .btn-nav {
                padding: 3px 5px;
                font-size: 10px;
                margin: 0 0.1rem;
            }
        }

        /* Captcha container centering */
        #captchaContainer {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #captcha {
            display: flex;
            justify-content: center;
            align-items: center;
        }

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

        .captcha-modal-content {
            background-color: #ffffff;
            border-radius: 12px;
            padding: 2rem;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            text-align: center;
            position: relative;
            animation: modalSlideIn 0.3s ease-out;
        }

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

        .captcha-modal-header h5 {
            color: #000000;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .captcha-modal-header p {
            color: #666;
            margin-bottom: 1.5rem;
            font-size: 0.9rem;
        }

        .captcha-modal-body {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Responsive modal */
        @media (max-width: 480px) {
            .captcha-modal-content {
                padding: 1.5rem;
                margin: 1rem;
            }
        }

        /* Profile Card Styles */
        .profile-card {
            background-color: #ffffff;
            border: 2px solid #000000;
            border-radius: 15px;
            max-width: 500px;
            margin: 2rem auto;
            padding: 1.5rem;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .profile-header {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .profile-pic-container {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            overflow: hidden;
            border: 3px solid var(--snapchat-yellow);
            flex-shrink: 0;
        }

        .profile-pic-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .profile-info {
            flex-grow: 1;
        }

        .profile-info h3 {
            margin: 0 0 0.5rem 0;
            color: #000000;
            font-weight: 700;
        }

        .profile-info p {
            margin: 0 0 0.5rem 0;
            color: #666;
        }

        .profile-type-badge {
            margin-top: 0.5rem;
        }

        .hero-image-container {
            width: 100%;
            height: 200px;
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 1rem;
            border: 1px solid #ddd;
        }

        .hero-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .bio-text {
            font-style: italic;
            color: #555;
            margin: 1rem 0;
            text-align: center;
            font-size: 0.95rem;
        }

        .download-section {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 1rem;
        }

        /* Profile download card button styles */
        .profile-download-card {
            max-width: 320px;
            margin: 0 auto;
        }

        .profile-download-card .btn-group-horizontal {
            display: flex;
            gap: 0.5rem;
            width: 100%;
        }

        .profile-download-card .btn-snapchat {
            flex-grow: 1;
        }

        .profile-download-card .btn-outline-secondary {
            flex-shrink: 0;
            padding: 0.375rem 0.75rem;
        }

        /* Responsive profile card */
        @media (max-width: 768px) {
            .profile-card {
                margin: 1rem auto;
                padding: 1rem;
                max-width: 100%;
            }
            
            .profile-header {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }
            
            .profile-pic-container {
                width: 100px;
                height: 100px;
            }
            
            .hero-image-container {
                height: 150px;
            }
            
            .download-section {
                flex-direction: column;
                align-items: center;
                width: 100%;
            }
            
            /* Keep horizontal layout for profile download buttons on mobile */
            .profile-download-card {
                width: 100%;
                max-width: 100%;
                padding: 0 0.5rem;
            }

            .profile-download-card h6 {
                font-size: 0.9rem;
            }

            .profile-download-card .btn {
                font-size: 0.85rem;
                padding: 0.5rem 0.75rem;
            }

            .profile-download-card .btn-outline-secondary {
                padding: 0.5rem 0.6rem;
            }

            .profile-download-card .btn-outline-secondary i {
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            .profile-card {
                padding: 0.75rem;
                margin: 0.5rem auto;
            }
            
            .profile-pic-container {
                width: 80px;
                height: 80px;
            }
            
            .profile-info h3 {
                font-size: 1.25rem;
            }
            
            .hero-image-container {
                height: 120px;
            }
            
            .bio-text {
                font-size: 0.85rem;
            }

            /* Further adjustments for very small screens */
            .profile-download-card {
                padding: 0 0.25rem;
            }

            .profile-download-card h6 {
                font-size: 0.85rem;
                margin-bottom: 0.4rem;
            }

            .profile-download-card .btn {
                font-size: 0.8rem;
                padding: 0.45rem 0.6rem;
            }

            .profile-download-card .btn-outline-secondary {
                padding: 0.45rem 0.5rem;
            }

            .profile-download-card .btn i {
                font-size: 0.85rem;
            }
        }

        /* Story card button styles for mobile responsiveness */
        .card-body .d-flex.gap-2 {
            display: flex !important;
            flex-wrap: nowrap !important;
        }

        .card-body .btn-snapchat {
            flex: 1 1 auto;
            min-width: 0;
            white-space: nowrap;
        }

        .card-body .btn-outline-secondary {
            flex: 0 0 auto;
            padding: 0.375rem 0.75rem;
        }

        /* Mobile-specific adjustments for story cards */
        @media (max-width: 768px) {
            .card-body .d-flex.gap-2 {
                gap: 0.25rem !important;
            }
            
            .card-body .btn-snapchat {
                font-size: 0.75rem;
                padding: 0.5rem 0.4rem;
            }
            
            .card-body .btn-outline-secondary {
                padding: 0.5rem 0.6rem;
            }
            
            .card-body .btn-outline-secondary i {
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            .card-body .d-flex.gap-2 {
                gap: 0.2rem !important;
            }
            
            .card-body .btn-snapchat {
                font-size: 0.65rem;
                padding: 0.4rem 0.3rem;
            }
            
            .card-body .btn-outline-secondary {
                padding: 0.4rem 0.5rem;
            }
            
            .card-body .btn-outline-secondary i {
                font-size: 0.85rem;
            }
            
            /* Ensure card doesn't get too narrow on small screens */
            .card {
                min-width: 140px;
            }
        }

        /* Extra small screens (below 360px) */
        @media (max-width: 360px) {
            .card-body .btn-snapchat {
                font-size: 0.6rem;
                padding: 0.35rem 0.25rem;
            }
            
            .card-body .btn-outline-secondary {
                padding: 0.35rem 0.4rem;
            }
            
            .card-body .btn-outline-secondary i {
                font-size: 0.8rem;
            }
        }