* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-pink: #D89B02;
    --bg-dark: #000000;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --timer-bg: rgba(74, 74, 74, 0.95);
}

body.light-theme .phone-mockup {
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body.light-theme .profile-wrapper {
    background: #ffffff;
}

body.light-theme .name,
body.light-theme .follower-name,
body.light-theme .link-title,
body.light-theme .modal-header h3 {
    color: #1a1a1a;
}

body.light-theme .username,
body.light-theme .bio p,
body.light-theme .footer-links a,
body.light-theme .follower-stats {
    color: #666666;
}

body.light-theme .followers-modal {
    background: rgba(255, 255, 255, 0.95);
}

body.light-theme .modal-content {
    background: #ffffff;
}

body.light-theme .countdown-container {
    background: rgba(240, 240, 240, 0.95);
}

body.light-theme .sticky-countdown {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 240, 240, 0.8) 100%);
}

body.light-theme .countdown-header {
    color: #1a1a1a;
}

body.light-theme .time-value {
    color: #1a1a1a;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body.light-theme .time-label {
    color: #666666;
}

body {
    font-family: 'Lexend', sans-serif;
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* iPhone and mobile responsive */
@media (max-width: 768px) {
    body {
        padding: 0;
        align-items: flex-start;
    }
    
    .phone-mockup {
        max-width: 100%;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
        margin: 0;
    }
    
    .profile-wrapper {
        width: 100%;
    }
}

/* iPhone Pro Max models (15/16/17 Pro Max: 430px-440px width) */
@media (max-width: 450px) and (min-width: 415px) {
    .phone-mockup {
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    body {
        padding: 0;
    }
}

/* Standard iPhone models (375px-414px) */
@media (max-width: 414px) {
    .phone-mockup {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }
}

/* Background Video */
.bg-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.bg-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.phone-mockup {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: var(--bg-dark);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.profile-wrapper {
    position: relative;
    background: var(--bg-dark);
}

/* Back Button */
.back-button {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 200;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.back-button:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

/* Header Background */
.header-bg {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.header-bg img {
    width: 100%;
    height: 200%;
    object-fit: cover;
}

.header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to top, var(--bg-dark) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
}

/* Profile Header */
.profile-header {
    padding: 0px 25px 18px;
    text-align: center;
}

.profile-name-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 5px;
}

.name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.verified-icon {
    width: 20px;
    height: 20px;
}

.username {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

/* Location Info */
.location-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.location-info i {
    color: #ff0000;
    font-size: 14px;
}

.online-status {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.online-status-emoji {
    line-height: 1;
}

body.light-theme .online-status {
    color: #1a1a1a;
}

body.light-theme .location-info {
    color: #666666;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon.facebook {
    background: #1877F2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.onlyfans {
    background: #00AFF0;
    padding: 0;
    overflow: hidden;
}

.onlyfans-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.social-icon.twitter {
    background: #000000;
    border: 1px solid #333;
}

.social-icon.tiktok {
    background: #000000;
    border: 1px solid #69C9D0;
}

.social-icon.snapchat {
    background: #FFFC00;
    color: #000000;
}

.social-icon.youtube {
    background: #FF0000;
}

/* Follower Count */
.followers {
    margin-bottom: 10px;
}

.follower-count {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.follower-count:hover {
    color: var(--primary-pink);
}

.follower-count i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.follower-count:hover i {
    transform: translateY(2px);
}

/* Bio */
.bio {
    margin-bottom: 25px;
}

.bio p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Main Featured Link */
.main-link {
    padding: 0 25px 20px;
}

.featured-card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: scale(1.02);
}

.featured-card.main {
    height: 180px;
    border-radius: 20px;
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.link-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 16px;
}.link-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* OnlyFans Card Logo */
.card-platform-logo {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-platform-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 25px 25px;
}

/* Single card layout - full width */
.links-grid.single-card {
    grid-template-columns: 1fr;
}

.links-grid.single-card .featured-card.small {
    height: 200px;
}

/* Two cards layout - 2 columns */
.links-grid.two-cards {
    grid-template-columns: repeat(2, 1fr);
}

.featured-card.small {
    height: 140px;
    border-radius: 20px;
}

/* Card Label at bottom center */
.card-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    white-space: nowrap;
    z-index: 10;
}

.platform-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 15px;
}

.platform-icon.snapchat-bg {
    background: #FFFC00;
    color: #000000;
}

.platform-icon.twitter-bg {
    background: #000000;
    border: 1px solid #333;
}

.platform-icon.tiktok-bg {
    background: #000000;
    border: 1px solid #69C9D0;
}

.platform-icon.instagram-bg {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.card-overlay .platform-icon + .platform-name {
    display: block;
}

.platform-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.featured-card.small .card-overlay {
    padding: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

/* Contact Section */
.contact-section {
    padding: 0 25px 25px;
}

.email-input-wrapper {
    display: flex;
    gap: 10px;
}

.email-input {
    flex: 1;
    padding: 14px 18px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Lexend', sans-serif;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(216, 155, 2, 0.1);
}

.email-input::placeholder {
    color: #666;
}

.connect-btn {
    padding: 14px 20px;
    background: var(--primary-pink);
    border: none;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Lexend', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.connect-btn:hover {
    background: #b87f01;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(216, 155, 2, 0.4);
}

.connect-btn i {
    font-size: 14px;
}

/* Footer */
.footer {
    padding: 25px;
    text-align: center;
    border-top: 1px solid #1a1a1a;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-pink);
}

.separator {
    color: #333;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .phone-mockup {
        border-radius: 0;
        width: 100%;
        max-width: 100%;
    }

    .header-bg {
        height: 250px;
    }

    .name {
        font-size: 22px;
    }

    .social-icons {
        gap: 8px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .featured-card.main {
        height: 160px;
    }

    .featured-card.small {
        height: 120px;
    }

    .email-input-wrapper {
        flex-direction: column;
    }

    .connect-btn {
        width: 100%;
        justify-content: center;
    }
    
    .profile-header,
    .main-link,
    .links-grid,
    .contact-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Additional fine-tuning for all iPhone sizes */
@media (max-width: 430px) {
    body {
        padding: 0 !important;
    }
    
    .phone-mockup {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-wrapper {
    animation: fadeInUp 0.6s ease;
}

.featured-card {
    animation: fadeInUp 0.8s ease;
    animation-fill-mode: both;
    border-radius: 20px;
    overflow: hidden;
}

.featured-card:nth-child(1) {
    animation-delay: 0.1s;
}

.featured-card:nth-child(2) {
    animation-delay: 0.2s;
}

.featured-card:nth-child(3) {
    animation-delay: 0.3s;
}

.featured-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Followers Modal */
.followers-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.followers-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-dark);
    border-radius: 20px 20px 0 0;
    max-width: 500px;
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    transform: translateY(100%);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.followers-modal.active .modal-content {
    animation: slideUpFromBottom 0.4s ease forwards;
}

@keyframes slideUpFromBottom {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.modal-header {
    padding: 25px;
    border-bottom: 1px solid #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.close-modal {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #1a1a1a;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: #252525;
    color: var(--text-primary);
}

.followers-list {
    padding: 15px 0;
    max-height: calc(70vh - 90px);
    overflow-y: auto;
}

.followers-list::-webkit-scrollbar {
    width: 6px;
}

.followers-list::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

.followers-list::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.followers-list::-webkit-scrollbar-thumb:hover {
    background: #444;
}

.follower-item {
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background 0.3s ease;
    cursor: pointer;
}

.follower-item:hover {
    background: #1a1a1a;
}

.follower-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1a1a1a;
}

.follower-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.follower-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.follower-stats {
    font-size: 13px;
    color: var(--text-secondary);
}

@media (max-width: 480px) {
    .modal-content {
        max-height: 80vh;
        border-radius: 20px 20px 0 0;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .follower-item {
        padding: 10px 20px;
    }
    
    .follower-avatar {
        width: 45px;
        height: 45px;
    }
}

/* Theme Toggle */
.theme-toggle-container {
    position: absolute;
    top: 18px;
    right: 15px;
    z-index: 150;
}

.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(180deg) scale(1.05);
}

body.light-theme .theme-toggle {
    background: rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.25);
    color: #1a1a1a;
}

body.light-theme .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* Countdown Timer */
.countdown-container {
    background: transparent;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 12px 15px;
    margin: 20px 0;
    text-align: center;
}

.sticky-countdown {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    margin: 0;
    border-radius: 20px 20px 0 0;
    box-shadow: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: blur(20px);
    padding: 15px 15px 10px;
}

.countdown-header {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.time-value {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* HurryTimer (plugin) wrapper */
.bey-hurrytimer-wrap {
    margin: 12px 0 6px;
    display: flex;
    justify-content: center;
}

.time-label {
    font-size: 8px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Email Collection Section */
.email-collection-section {
    padding: 24px 20px;
    background: #000000;
    border-radius: 16px;
}

.email-section-label {
    text-align: center;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.email-form-wrapper {
    width: 100%;
}

/* Fluent Forms Styling for Profile */
.email-form-wrapper .fluentform,
.email-form-wrapper .ff-el-group {
    margin-bottom: 0;
}

.email-form-wrapper .ff-el-group {
    margin-bottom: 12px;
}

.email-form-wrapper .ff-el-form-control,
.email-form-wrapper input[type="email"],
.email-form-wrapper input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.email-form-wrapper .ff-el-form-control:focus,
.email-form-wrapper input[type="email"]:focus,
.email-form-wrapper input[type="text"]:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #FF1493;
    outline: none;
}

.email-form-wrapper .ff-el-form-control::placeholder,
.email-form-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.email-form-wrapper .ff-btn-submit,
.email-form-wrapper button[type="submit"],
form.fluent_form_3 .ff-btn-submit:not(.ff_btn_no_style) {
    width: 100%;
    padding: 16px 24px;
    background: #FF1493 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    margin-top: 12px;
}

.email-form-wrapper .ff-btn-submit:hover,
.email-form-wrapper button[type="submit"]:hover,
form.fluent_form_3 .ff-btn-submit:not(.ff_btn_no_style):hover {
    background: #ff1493e6 !important;
    transform: translateY(-2px);
}

.email-form-wrapper .ff-btn-submit:active,
.email-form-wrapper button[type="submit"]:active {
    transform: translateY(0);
}

.email-form-wrapper .ff-message-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    padding: 12px;
    border-radius: 12px;
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
}

.email-form-wrapper .ff-message-error,
.email-form-wrapper .ff-errors-in-stack {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 12px;
    border-radius: 12px;
    margin-top: 12px;
    font-size: 13px;
}

.email-form-wrapper .ff-el-form-hide_label label,
.email-form-wrapper label.ff-el-input--label,
.email-form-wrapper .ff-el-input--label {
    display: none !important;
}

.email-form-wrapper .fluentform .ff-el-group {
    margin-bottom: 12px !important;
}

.email-form-wrapper .fluentform .ff-btn-submit {
    margin-top: 4px !important;
}

/* Email Form Submitted Message */
.email-form-submitted {
    text-align: center;
    padding: 24px;
}

.submitted-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.submitted-message i {
    font-size: 48px;
    color: #22c55e;
}

.submitted-message p {
    font-size: 16px;
    color: var(--text-primary);
    margin: 0;
}
