:root {
            --primary-bg: #0f172a;
            --card-bg: #1e293b;
            --text-main: #f8fafc;
            --accent-color: #38bdf8;
            --button-hover: #0ea5e9;
        }

        body {
            font-family: 'Inter', system-ui, sans-serif;
            background-color: var(--primary-bg);
            color: var(--text-main);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            padding: 20px;
        }

       .container {
            width: 100%;
            max-width: 400px;
            margin-left: auto;
            margin-right: auto;
            text-align: center;
        }

        /* Profile Section */
        .profile-wrapper {
            width: 150px; /* Set size here once */
            height: 150px;
            margin: 0 auto 20px;
            position: relative;
        }

        .profile-pic {
            width: 100%;  /* Image will always match the wrapper */
            height: 100%;
            border-radius: 50%; /* This creates the circle */
            object-fit: cover; /* This is the MAGIC line: it crops the photo instead of stretching it */  
            object-position: center; /* Centers the face */
            border: 3px solid var(--accent-color); /* Adds a professional border */
        }

        /* Live Status Pulse */
        .status-dot {
            position: absolute;
            /* Adjust these values to nudge the dot along the curve */
            bottom: 8px;   
            right: 12px;  
            width: 18px;   /* Slightly larger dot looks better with a larger photo */
            height: 18px;
            background-color: #22c55e;
            border-radius: 50%;
            border: 3px solid var(--primary-bg);
            z-index: 2;    /* Ensures it stays on top */
        }

        .status-dot::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background-color: #22c55e;
            border-radius: 50%;
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); opacity: 0.8; }
            100% { transform: scale(2.5); opacity: 0; }
        }

        /* Typography */
        h1 { font-size: 1.5rem; margin: 10px 0 5px; }
        .career { color: var(--accent-color); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; }
        .bio { font-size: 0.95rem; color: #94a3b8; margin: 15px 0 25px; line-height: 1.5; }

        /* Buttons */
        .links-gap { display: flex; flex-direction: column; gap: 15px; }

        .link-card {
            background-color: var(--card-bg);
            padding: 16px;
            border-radius: 12px;
            text-decoration: none;
            color: var(--text-main);
            font-weight: 500;
            transition: transform 0.2s, background-color 0.2s;
            border: 1px solid rgba(255,255,255,0.05);
        }

        .link-card:hover {
            transform: translateY(-3px);
            background-color: #334155;
            border-color: var(--accent-color);
        }


        /*NEWSLETTER*/
        .newsletter-box {
            background: rgba(255, 255, 255, 0.03);
            border: 1px dashed rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 20px;
            margin: 30px 0;
        }

        .newsletter-box h3 {
            font-size: 1.1rem;
            margin: 0 0 5px 0;
        }

        .newsletter-box p {
            font-size: 0.85rem;
            color: #94a3b8;
            margin: 0 0 15px 0;
        }

        .input-group {
            display: flex;
            flex-wrap: wrap; /* This is the magic line */
            gap: 10px;
            width: 100%;
        }

        .input-group input {
            flex: 1;
            min-width: 180px; /* Ensures the input doesn't get too tiny before wrapping */
            background: var(--primary-bg);
            border: 1px solid #334155;
            border-radius: 8px;
            padding: 12px;
            color: white;
            outline: none;
        }

        .input-group button {
            flex-grow: 1; /* Makes the button full-width once it stacks */
            background: var(--accent-color);
            color: var(--primary-bg);
            border: none;
            padding: 12px 20px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: opacity 0.2s;
            white-space: nowrap; /* Prevents the text "Subscribe" from breaking into two lines */
        }

        .input-group input:focus {
            border-color: var(--accent-color);
        }


        .input-group button:hover {
            opacity: 0.9;
        }


        /*COPY TEXT*/
        .copy-card {
            background-color: var(--card-bg);
            padding: 16px;
            border-radius: 12px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border: 1px solid rgba(255,255,255,0.05);
            transition: all 0.2s;
        }

        .copy-card:hover {
            border-color: var(--accent-color);
            background-color: #334155;
        }

        .copy-content {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .copy-status {
            font-size: 0.75rem;
            color: var(--accent-color);
            text-transform: uppercase;
            font-weight: 700;
        }

        .copy-success {
            color: #22c55e !important;
        }


        /*SAVE CONTACT*/
        .vcard-btn {
            margin-top: 30px;
            background: var(--accent-color);
            color: var(--primary-bg);
            padding: 12px 24px;
            border-radius: 50px;
            font-weight: 700;
            cursor: pointer;
            border: none;
            display: inline-block;
        }

        /*SHARE PROFILE*/
        .share-btn {
            margin-top: 15px;
            background: transparent;
            color: var(--accent-color);
            padding: 12px 24px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            border: 2px solid var(--accent-color);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
        }

        .share-btn:hover {
            background: var(--accent-color);
            color: var(--primary-bg);
        }

        /*QR CODE*/
        .qr-trigger{
            margin-top: 15px;
            background: transparent;
            color: var(--accent-color);
            padding: 12px 24px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            border: 2px solid var(--accent-color);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0; top: 0;
            width: 100%; height: 100%;
            background-color: rgba(0,0,0,0.8);
            backdrop-filter: blur(5px);
        }

        .modal-content {
            background-color: var(--container-bg);
            margin: 15% auto;
            padding: 25px;
            border-radius: 20px;
            width: 250px;
            text-align: center;
        }

        .modal-content h2{
            font-size: 1.1em;
        }

        .close{
            cursor: pointer;
        }

        #qrcode img {
            margin: 0 auto;
            border: 10px solid white; /* Ensures scannability on dark themes */
            border-radius: 10px;
        }


        /*COPYRIGHT & DEVELOPER CREDITS*/

        .site-footer {
            margin-top: 50px;
            padding-bottom: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 20px;
        }

        .copyright {
            font-size: 0.75rem;
            color: #64748b;
            margin-bottom: 5px;
        }

        .branding {
            font-size: 0.85rem;
            color: #94a3b8;
        }

        .branding a {
            color: var(--accent-color);
            text-decoration: none;
            font-weight: 600;
        }

        .branding a:hover {
            text-decoration: underline;
        }

        .site-footer i{
            color: white;
            font-weight: 50;
        }

        