/*
Theme Name: Responsive Arena
Theme URI: https://responsivearena.com
Author: Cascade Assistant
Author URI: https://example.com
Description: A custom WordPress theme for testing website responsiveness across different device sizes with realistic device mockups.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: responsive-arena
*/

/* Performance Optimized Font Loading */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Critical CSS for Above-the-fold Content */
* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Reduce layout shifts */
.header-section {
    contain: layout style paint;
}

.social-share-icons {
    contain: layout style;
}

/* Optimize animations for performance */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Inter', 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    background: #000000;
    margin: 0;
    padding: 0;
    color: #ffffff;
    overflow-x: hidden;
    font-weight: 400 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.6 !important;
}

.responsive-arena-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 30px;
}

/* Header Section - Complete Redesign */
.header-section {
    text-align: center !important;
    margin: 0 auto !important;
    padding: 60px 40px !important;
    max-width: 900px !important;
    backdrop-filter: blur(25px) !important;
    border-radius: 30px !important;
    border: none !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 35vh !important;
}


.header-section h1 {
    color: #ffffff !important;
    font-family: 'Space Grotesk', 'Inter', sans-serif !important;
    font-size: 4.5rem !important;
    margin: 0 !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    text-shadow: 
        0 6px 40px rgba(255, 255, 255, 0.8),
        0 3px 15px rgba(255, 255, 255, 0.4),
        0 0 30px rgba(229, 9, 20, 0.3) !important;
    position: relative !important;
    z-index: 3 !important;
    line-height: 1.0 !important;
}

/* Logo in Title Styles */
.logo-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
}

.title-logo {
    width: 80px !important;
    height: auto !important;
    max-height: 90px !important;
    object-fit: contain !important;
    margin-right: 8px !important;
    filter: drop-shadow(0 6px 20px rgba(229, 9, 20, 0.6)) !important;
    transition: all 0.3s ease !important;
}

.title-logo:hover {
    transform: scale(1.05) !important;
    filter: drop-shadow(0 6px 20px rgba(229, 9, 20, 0.7)) !important;
}

/* Social Media Share Icons */
.social-share-icons {
    display: flex !important;
    height: 90px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    margin-top: 30px !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.social-share-icons::-webkit-scrollbar {
    display: none !important;
}

.social-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    flex-shrink: 0 !important;
}

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

.social-icon:hover::before {
    left: 100% !important;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

.social-icon svg {
    width: 24px !important;
    height: 24px !important;
    transition: all 0.3s ease !important;
}

.social-icon:hover svg {
    transform: scale(1.1) !important;
}

/* Individual Social Icon Colors */
.social-icon.facebook:hover {
    background: #1877f2 !important;
    border-color: #1877f2 !important;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4) !important;
}

.social-icon.twitter:hover {
    background: #000000 !important;
    border-color: #000000 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
}

.social-icon.linkedin:hover {
    background: #0077b5 !important;
    border-color: #0077b5 !important;
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4) !important;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    border-color: #bc1888 !important;
    box-shadow: 0 8px 25px rgba(188, 24, 136, 0.4) !important;
}

.social-icon.whatsapp:hover {
    background: #25d366 !important;
    border-color: #25d366 !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
}

.social-icon.telegram:hover {
    background: #0088cc !important;
    border-color: #0088cc !important;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4) !important;
}

.tagline {
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: 'Inter', 'Space Grotesk', sans-serif !important;
    font-size: 1.4rem !important;
    margin: 0 !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em !important;
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.4) !important;
    position: relative !important;
    z-index: 3 !important;
    line-height: 1.5 !important;
}


/* URL Input Section - Premium Glass Design */
.url-input-section {
    margin: 40px auto 20px auto !important;
    text-align: center !important;
    background: linear-gradient(135deg, 
        rgba(229, 9, 20, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 25%,
        rgba(229, 9, 20, 0.05) 50%,
        rgba(255, 255, 255, 0.05) 75%,
        rgba(229, 9, 20, 0.1) 100%) !important;
    backdrop-filter: blur(30px) saturate(150%) !important;
    padding: 35px 45px !important;
    width: calc(100% - 120px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 30px !important;
    box-shadow: 
        0 25px 50px rgba(229, 9, 20, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
    max-width: 900px !important;
    border: 1px solid rgba(229, 9, 20, 0.2) !important;
}

.url-input-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: radial-gradient(circle at 50% 50%, 
        rgba(229, 9, 20, 0.05) 0%, 
        transparent 70%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.input-group {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    position: relative !important;
    z-index: 2 !important;
}

#website-url {
    padding: 22px 35px !important;
    width: 100% !important;
    max-width: 600px !important;
    border: 2px solid transparent !important;
    font-size: 19px !important;
    margin-bottom: 0 !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%) !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    font-family: 'Inter', 'Space Grotesk', sans-serif !important;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.15),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(20px) !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
    background-clip: padding-box !important;
}

#website-url:focus {
    outline: none !important;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 100%) !important;
    box-shadow: 
        0 15px 40px rgba(229, 9, 20, 0.3),
        0 0 0 4px rgba(229, 9, 20, 0.2),
        0 0 60px rgba(229, 9, 20, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-3px) scale(1.02) !important;
    border-color: rgba(229, 9, 20, 0.5) !important;
}

#website-url::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
    font-family: 'Inter', 'Space Grotesk', sans-serif !important;
    font-weight: 300 !important;
}

#responsive-test-form button {
    padding: 20px 45px !important;
    background: linear-gradient(135deg, #e50914 0%, #ff4444 25%, #ff6b6b 50%, #ff4444 75%, #e50914 100%) !important;
    background-size: 300% 300% !important;
    color: #ffffff !important;
    border: 2px solid transparent !important;
    border-radius: 30px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    font-family: 'Space Grotesk', 'Inter', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    box-shadow: 
        0 12px 35px rgba(229, 9, 20, 0.5),
        0 5px 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(20px) !important;
    position: relative !important;
    overflow: hidden !important;
    animation: buttonPulse 2s ease-in-out infinite !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

#responsive-test-form button::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent) !important;
    transition: left 0.5s ease !important;
}

#responsive-test-form button:hover::before {
    left: 100% !important;
}

#responsive-test-form button:hover {
    background: linear-gradient(135deg, #ff4444 0%, #ff6b6b 50%, #ff4444 100%) !important;
    background-size: 300% 300% !important;
    transform: translateY(-5px) scale(1.08) rotate(-1deg) !important;
    box-shadow: 
        0 20px 50px rgba(229, 9, 20, 0.7),
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 0 4px rgba(229, 9, 20, 0.3),
        0 0 80px rgba(229, 9, 20, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.5) !important;
    animation: none !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

#responsive-test-form button:active {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 
        0 8px 25px rgba(229, 9, 20, 0.5),
        0 3px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}



@keyframes buttonPulse {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 
            0 12px 35px rgba(229, 9, 20, 0.5),
            0 5px 20px rgba(0, 0, 0, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.4),
            inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 
            0 15px 40px rgba(229, 9, 20, 0.6),
            0 8px 25px rgba(0, 0, 0, 0.4),
            0 0 60px rgba(229, 9, 20, 0.2),
            inset 0 2px 0 rgba(255, 255, 255, 0.4),
            inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    }
}

@keyframes slideUpIn {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    50% {
        transform: translateY(-10px);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDownOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.8;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}




.device-side-menu {
    width: 60px !important;
    height: 100vh !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%) !important;
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 1000 !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    border-right: 2px solid #e50914 !important;
    box-shadow: 4px 0 20px rgba(229, 9, 20, 0.3) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding-top: 20px !important;
    backdrop-filter: blur(10px) !important;
}

.device-side-menu:hover {
    width: 200px !important;
}

.device-options {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.device-option {
    display: flex !important;
    align-items: center !important;
    padding: 18px 20px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative !important;
    overflow: hidden !important;
    border-bottom: 1px solid rgba(229, 9, 20, 0.2) !important;
    margin: 2px 0 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(5px) !important;
}

.device-option:hover {
    background: linear-gradient(135deg, #e50914 0%, #ff4444 100%) !important;
    color: #ffffff !important;
    transform: translateX(5px) !important;
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.4) !important;
    border-radius: 12px !important;
}

.device-option.active {
    background: linear-gradient(135deg, #e50914 0%, #ff4444 100%) !important;
    color: #ffffff !important;
    transform: translateX(8px) !important;
    box-shadow: 0 12px 30px rgba(229, 9, 20, 0.5) !important;
    border-radius: 12px !important;
}








.device-icon {
    font-size: 22px !important;
    margin-right: 18px !important;
    min-width: 22px !important;
    transition: all 0.3s ease !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
}

.device-label {
    opacity: 0 !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    white-space: nowrap !important;
    font-family: 'Inter', 'Space Grotesk', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.device-side-menu:hover .device-label {
    opacity: 1 !important;
}

/* New Preview Container */

/* Glassy Device Frame Styles */
.device-frame {
    display: none;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 20px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(0.8) rotate(-2deg);
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.device-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(229, 9, 20, 0.3) 0%, 
        rgba(255, 68, 68, 0.2) 50%, 
        rgba(229, 9, 20, 0.3) 100%);
    border-radius: 20px;
    padding: 1px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    z-index: -1;
}

.device-frame.active {
    display: block;
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

/* Enhanced Device Header */
.device-header {
    background: linear-gradient(135deg, 
        #1a1a1a 0%, 
        #2d2d2d 25%, 
        #e50914 50%, 
        #ff4444 75%, 
        #ff6b6b 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, #e50914, transparent) 1;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(229, 9, 20, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.device-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

.device-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, 
        rgba(255, 255, 255, 0.05) 0%, 
        transparent 70%);
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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



.device-dimensions-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}


.custom-size-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 4px;
    color: #ffffff;
    padding: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-size-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.custom-size-inputs {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 2px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    height: 36px;
    transition: all 0.3s ease;
}

.custom-size-inputs:focus-within {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.custom-size-inputs input {
    width: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #ffffff;
    padding: 4px 6px;
    font-size: 12px;
    text-align: center;
    margin: 0;
}

.custom-size-inputs input:focus {
    outline: none;
    border-color: #e50914;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2);
    transform: translateY(-1px);
}

.custom-size-inputs span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin: 0 2px;
}

.apply-custom-size {
    background: rgba(229, 9, 20, 0.8);
    border: none;
    border-radius: 4px;
    color: #ffffff;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 2px;
}

.apply-custom-size:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(229, 9, 20, 0.4);
}

.show-custom-inputs .custom-size-inputs {
    display: flex;
}

.custom-size-inputs input {
    width: 70px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #ffffff;
    padding: 4px 8px;
    font-size: 13px;
    text-align: center;
}

.custom-size-inputs input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.custom-size-inputs span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.apply-custom-size {
    background: linear-gradient(135deg, #e50914 0%, #ff4444 100%);
    border: none;
    border-radius: 4px;
    color: #ffffff;
    padding: 4px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-custom-size:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(229, 9, 20, 0.4);
}

@keyframes textGlow {
    0% { 
        text-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.5),
            0 0 10px rgba(255, 255, 255, 0.1);
    }
    100% { 
        text-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.5),
            0 0 20px rgba(255, 255, 255, 0.3),
            0 0 30px rgba(229, 9, 20, 0.2);
    }
}

.device-info {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.device-name {
    color: #ffffff;
    font-family: 'Inter', 'Space Grotesk', sans-serif !important;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.01em;
}

.device-dimensions {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', 'Space Grotesk', sans-serif !important;
    font-size: 13px;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.device-status {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.status-indicator {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.25) 100%);
    color: #ffffff;
    font-family: 'Inter', 'Space Grotesk', sans-serif !important;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px !important;
    text-transform: uppercase;
}

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

.status-indicator:hover::before {
    left: 100%;
}

.status-indicator:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 5px 15px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.status-indicator.loading {
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.3) 0%, 
        rgba(255, 152, 0, 0.4) 100%);
    border-color: rgba(255, 193, 7, 0.5);
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.status-indicator.success {
    background: linear-gradient(135deg, 
        rgba(40, 167, 69, 0.8) 0%, 
        rgba(25, 135, 84, 0.9) 100%);
    border-color: rgba(40, 167, 69, 0.6);
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.4);
}

.status-indicator.error {
    background: linear-gradient(135deg, 
        rgba(220, 53, 69, 0.8) 0%, 
        rgba(176, 42, 55, 0.9) 100%);
    border-color: rgba(220, 53, 69, 0.6);
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.4);
}

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

/* Enhanced Fullscreen Button */
.fullscreen-btn {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.25) 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

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

.fullscreen-btn:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.35) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 
        0 4px 15px rgba(255, 255, 255, 0.2),
        0 0 20px rgba(229, 9, 20, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.fullscreen-btn:active {
    transform: translateY(0) scale(1.05);
}

.fullscreen-btn svg {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.fullscreen-btn:hover svg {
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
}

/* Fullscreen Modal */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

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

/* Device-specific fullscreen modal styling */
.fullscreen-modal.desktop .fullscreen-iframe-container iframe {
    width: 100%;
    height: 100%;
    max-width: 1920px;
    max-height: 1080px;
    object-fit: contain;
}

.fullscreen-modal.custom .fullscreen-iframe-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-modal.custom .fullscreen-iframe-container iframe {
    border: 2px solid rgba(138, 43, 226, 0.3);
    box-shadow: 
        0 20px 60px rgba(138, 43, 226, 0.2),
        0 0 100px rgba(138, 43, 226, 0.1);
}

.fullscreen-modal.laptop .fullscreen-iframe-container iframe {
    width: 100%;
    height: 100%;
    max-width: 1366px;
    max-height: 768px;
    object-fit: contain;
}

.fullscreen-modal.tablet-landscape .fullscreen-iframe-container iframe {
    width: 100%;
    height: 100%;
    max-width: 1024px;
    max-height: 768px;
    object-fit: contain;
}

.fullscreen-modal.tablet-portrait .fullscreen-iframe-container iframe {
    width: 100%;
    height: 100%;
    max-width: 768px;
    max-height: 1024px;
    object-fit: contain;
}

.fullscreen-modal.mobile-landscape .fullscreen-iframe-container iframe {
    width: 100%;
    height: 100%;
    max-width: 667px;
    max-height: 375px;
    object-fit: contain;
}

.fullscreen-modal.mobile-portrait .fullscreen-iframe-container iframe {
    width: 100%;
    height: 100%;
    max-width: 375px;
    max-height: 667px;
    object-fit: contain;
}

.fullscreen-modal.custom-size .fullscreen-iframe-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-modal.custom-size .fullscreen-iframe-container iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.fullscreen-header {
    background: linear-gradient(135deg, #e50914 0%, #ff4444 100%);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    height: 60px;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
}

.close-fullscreen {
    position: absolute;
    right: 8px;
}

.device-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 30px;
    flex-wrap: nowrap;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.device-switcher::-webkit-scrollbar {
    display: none;
}

.device-switcher::after {
    display: none;
}

.device-switch-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #ffffff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.device-switch-btn svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.device-switch-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.device-switch-btn:hover svg {
    transform: scale(1.1);
}

.device-switch-btn.active {
    background: rgba(255, 255, 255, 0.95);
    color: #e50914;
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.device-switch-btn.active svg {
    filter: drop-shadow(0 2px 4px rgba(229, 9, 20, 0.3));
}

.device-switch-btn.custom-size-btn {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2) 0%, rgba(75, 0, 130, 0.2) 100%);
    border-color: rgba(138, 43, 226, 0.3);
}

.device-switch-btn.custom-size-btn:hover {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3) 0%, rgba(75, 0, 130, 0.3) 100%);
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.3);
}

.device-switch-btn.custom-size-btn.active {
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    color: #ffffff;
    border-color: #8a2be2;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.custom-size-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.custom-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
    margin-right: 5px;
}

.custom-size-container input {
    width: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    padding: 6px 8px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.custom-size-container input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.custom-size-container input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.size-separator {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
}

.apply-custom-size {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.apply-custom-size:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.apply-custom-size:active {
    transform: translateY(0);
}

.fullscreen-title {
    text-align: center;
    flex: 1;
    margin: 0 20px;
}

.fullscreen-title h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.fullscreen-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.close-fullscreen {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.close-fullscreen svg {
    width: 24px;
    height: 24px;
}

.close-fullscreen:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #e50914;
    transform: translateY(-50%) rotate(90deg) scale(1.1);
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.fullscreen-iframe-container {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, rgba(229, 9, 20, 0.05) 0%, transparent 70%);
}

.fullscreen-iframe-container iframe {
    border: none;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 100px rgba(229, 9, 20, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Glassy iframe Container */
.iframe-container {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 18px 18px;
    height: calc(100% - 70px);
    background: rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-frame iframe {
    border: none;
    border-radius: 0 0 16px 16px;
    background: #ffffff;
    transition: all 0.4s ease;
    display: block;
    overflow: auto;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    transform-origin: top left;
}

/* Desktop iframe - Responsive fit */
.device-frame.desktop iframe {
    width: 100%;
    height: 100%;
    max-width: 1920px;
    max-height: 1080px;
    object-fit: contain;
}

/* Laptop iframe - Responsive fit */
.device-frame.laptop iframe {
    width: 100%;
    height: 100%;
    max-width: 1366px;
    max-height: 768px;
    object-fit: contain;
}

/* Tablet Landscape iframe - Responsive fit */
.device-frame.tablet-landscape iframe {
    width: 100%;
    height: 100%;
    max-width: 1024px;
    max-height: 768px;
    object-fit: contain;
}

/* Tablet Portrait iframe - Responsive fit */
.device-frame.tablet-portrait iframe {
    width: 100%;
    height: 100%;
    max-width: 768px;
    max-height: 1024px;
    object-fit: contain;
}

/* Mobile Landscape iframe - Responsive fit */
.device-frame.mobile-landscape iframe {
    width: 100%;
    height: 100%;
    max-width: 667px;
    max-height: 375px;
    object-fit: contain;
}

/* Mobile Portrait iframe - Responsive fit */
.device-frame.mobile-portrait iframe {
    width: 100%;
    height: 100%;
    max-width: 375px;
    max-height: 667px;
    object-fit: contain;
}

/* Device Frame Sizes - Responsive with Real Aspect Ratios */
.device-frame.desktop {
    width: 90%;
    max-width: 1200px;
    height: 75vh;
    max-height: 675px;
    aspect-ratio: 16/9;
}

.device-frame.laptop {
    width: 85%;
    max-width: 1000px;
    height: 70vh;
    max-height: 600px;
    aspect-ratio: 16/9;
}

.device-frame.tablet-landscape {
    width: 80%;
    max-width: 800px;
    height: 60vh;
    max-height: 500px;
    aspect-ratio: 4/3;
}

.device-frame.tablet-portrait {
    width: 60%;
    max-width: 500px;
    height: 75vh;
    max-height: 650px;
    aspect-ratio: 3/4;
}

.device-frame.mobile-landscape {
    width: 70%;
    max-width: 600px;
    height: 40vh;
    max-height: 300px;
    aspect-ratio: 16/9;
}

.device-frame.mobile-portrait {
    width: 45%;
    max-width: 350px;
    height: 70vh;
    max-height: 600px;
    aspect-ratio: 9/16;
}


.device-side-menu.collapsed {
    width: 60px !important;
}

.device-side-menu.collapsed .device-label {
    opacity: 0 !important;
}

/* Logo Styles */
.sidebar-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(229, 9, 20, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-image {
    width: 40px;
    height: auto;
    max-height: 45px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 2px 8px rgba(229, 9, 20, 0.3));
}

.device-side-menu:hover .logo-image {
    width: 120px;
    filter: drop-shadow(0 4px 15px rgba(229, 9, 20, 0.5));
}

/* Header Logo - Hidden on Desktop */
.header-logo {
    display: none;
}

.header-logo-image {
    width: 50px;
    height: auto;
    max-height: 55px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(229, 9, 20, 0.3));
}

/* Responsive Design */
@media (max-width: 1024px) {
    .fullscreen-iframe-container {
        top: 100px;
    }

    .fullscreen-header {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
    }

    .device-switcher {
        order: 2;
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 5px;
    }

    .fullscreen-title {
        order: 1;
        width: calc(100% - 40px);
        margin: 0;
    }

    .close-fullscreen {
        order: 1;
    }

    .preview-container {
        margin-left: 0 !important;
        padding: 15px !important;
    }
    
    /* Hide sidebar logo on mobile/tablet */
    .sidebar-logo {
        display: none !important;
    }
    
    /* Show header logo on mobile/tablet */
    .header-logo {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 10px 20px !important;
    }
    
    .site-header {
        background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%) !important;
        border-bottom: 2px solid #e50914 !important;
        box-shadow: 0 2px 10px rgba(229, 9, 20, 0.3) !important;
    }
    
    /* Reposition side menu to bottom for mobile/tablet */
    .device-side-menu {
        width: 100% !important;
        height: 65px !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        border-right: none !important;
        border-top: 2px solid #e50914 !important;
        box-shadow: 0 -4px 20px rgba(229, 9, 20, 0.3) !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px 0 !important;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        transform: translateY(0) !important;
        animation: slideUpIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        z-index: 999 !important;
    }
    
    .device-side-menu:hover {
        width: 100% !important;
        height: 65px !important;
    }
    
    .menu-toggle {
        display: none !important;
    }
    
    .device-options {
        flex-direction: row !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        padding: 0 10px !important;
        margin-left: 0 !important;
        justify-content: center !important;
        align-items: center !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    }
    
    .device-options::-webkit-scrollbar {
        display: none !important;
    }
    
    .device-options:hover {
        transform: translateY(-1px) !important;
    }
    
    .device-option {
        flex-direction: column !important;
        padding: 8px 12px !important;
        min-width: 50px !important;
        flex: 0 0 auto !important;
        border-bottom: none !important;
        border-right: none !important;
        background: rgba(255, 255, 255, 0.02) !important;
        backdrop-filter: blur(5px) !important;
        border-radius: 8px !important;
        margin: 0 3px !important;
        justify-content: center !important;
        align-items: center !important;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        cursor: pointer !important;
        transform: translateX(0) !important;
    }
    
    .device-option:hover {
        background: rgba(229, 9, 20, 0.3) !important;
        transform: translateY(-2px) scale(1.05) !important;
        box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3) !important;
        border-radius: 10px !important;
    }
    
    .device-option.active {
        background: linear-gradient(135deg, #e50914 0%, #ff4444 100%) !important;
        transform: translateY(-3px) scale(1.08) !important;
        box-shadow: 0 6px 20px rgba(229, 9, 20, 0.5) !important;
    }
    
    .device-icon {
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    }
    
    .device-icon svg {
        width: 24px !important;
        height: 24px !important;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
    }
    
    .device-option:hover .device-icon svg {
        transform: scale(1.1) !important;
        filter: drop-shadow(0 4px 8px rgba(229, 9, 20, 0.4)) !important;
    }
    
    .device-option.active .device-icon svg {
        color: #e50914 !important;
        filter: drop-shadow(0 2px 6px rgba(229, 9, 20, 0.6)) !important;
    }
    
    .device-label {
        display: none !important;
    }
    
    .header-section {
        min-height: 30vh !important;
        padding: 40px 30px !important;
    }
    
    .header-section h1 {
        font-size: 3.5rem !important;
    }
    
    .title-logo {
        width: 65px !important;
        max-height: 70px !important;
        margin-right: 6px !important;
    }
    
    .social-share-icons {
        gap: 12px !important;
        margin-top: 25px !important;
    }
    
    .social-icon {
        width: 45px !important;
        height: 45px !important;
    }
    
    .social-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    .url-input-section {
        margin: 20px auto 10px auto !important;
        padding: 20px 15px !important;
        width: calc(100% - 30px) !important;
        max-width: 500px !important;
        border-radius: 15px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(15px) !important;
        box-shadow: 
            0 10px 25px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    }
    
    .input-group {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 !important;
    }
    
    #website-url {
        padding: 15px 20px !important;
        font-size: 16px !important;
        border-radius: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    #responsive-test-form button {
        padding: 15px 30px !important;
        font-size: 16px !important;
        border-radius: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Adjust device frames for mobile/tablet */
    .device-frame.desktop {
        width: 95vw !important;
        max-width: 400px !important;
        height: 60vh !important;
        max-height: 400px !important;
    }
    
    .device-frame.laptop {
        width: 90vw !important;
        max-width: 350px !important;
        height: 55vh !important;
        max-height: 350px !important;
    }
    
    .device-frame.tablet-landscape {
        width: 85vw !important;
        max-width: 300px !important;
        height: 45vh !important;
        max-height: 250px !important;
    }
    
    .device-frame.tablet-portrait {
        width: 70vw !important;
        max-width: 250px !important;
        height: 60vh !important;
        max-height: 400px !important;
    }
    
    .device-frame.mobile-landscape {
        width: 80vw !important;
        max-width: 250px !important;
        height: 35vh !important;
        max-height: 200px !important;
    }
    
    .device-frame.mobile-portrait {
        width: 60vw !important;
        max-width: 200px !important;
        height: 65vh !important;
        max-height: 500px !important;
    }
    
    .device-header {
        padding: 12px 15px !important;
    }
    
    .device-name {
        font-size: 14px !important;
    }
    
    .device-dimensions {
        font-size: 11px !important;
    }
    
    .status-indicator {
        padding: 4px 10px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    .fullscreen-header {
        padding: 4px;
        gap: 6px;
        height: 42px;
    }

    .fullscreen-iframe-container {
        top: 42px;
        padding: 8px;
    }

    .device-switcher {
        max-width: calc(100% - 40px);
        padding: 3px;
        gap: 3px;
        min-height: 32px;
    }

    .device-switch-btn {
        padding: 5px;
    }

    .device-switch-btn svg {
        width: 18px;
        height: 18px;
    }

    .custom-size-inputs {
        gap: 3px;
        padding: 3px;
    }

    .custom-size-inputs input {
        width: 42px;
        padding: 3px;
        font-size: 11px;
    }

    .custom-size-inputs span {
        font-size: 11px;
    }

    .apply-custom-size {
        padding: 3px 6px;
        font-size: 11px;
    }

    .close-fullscreen {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }


    .device-switcher::-webkit-scrollbar {
        display: none;
    }



    .device-switcher {
        gap: 5px;
        padding: 5px;
    }

    .device-switch-btn {
        padding: 6px;
    }

    .device-switch-btn svg {
        width: 16px;
        height: 16px;
    }

    .fullscreen-title {
        margin: 0 10px;
    }

    .fullscreen-title h3 {
        font-size: 14px;
    }

    .responsive-arena-container {
        padding: 10px !important;
    }
    
    .header-section {
        min-height: 25vh !important;
        padding: 30px 20px !important;
    }
    
    .header-section h1 {
        font-size: 2.5rem !important;
    }
    
    .title-logo {
        width: 50px !important;
        max-height: 55px !important;
        margin-right: 5px !important;
    }
    
    .social-share-icons {
        gap: 8px !important;
        margin-top: 20px !important;
        padding: 0 10px !important;
        height: 55px !important;
    }
    
    .social-icon {
        width: 35px !important;
        height: 35px !important;
        min-width: 35px !important;
    }
    
    .social-icon svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .tagline {
        font-size: 0.9rem !important;
    }
    
    .url-input-section {
        margin: 15px auto 10px auto !important;
        padding: 15px 10px !important;
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
        border-radius: 12px !important;
    }
    
    .input-group {
        gap: 12px !important;
    }
    
    #website-url {
        padding: 12px 15px !important;
        font-size: 14px !important;
        border-radius: 10px !important;
    }
    
    #responsive-test-form button {
        padding: 12px 25px !important;
        font-size: 14px !important;
        border-radius: 10px !important;
    }
    
    .device-frame {
        border-radius: 8px !important;
    }
    
    .device-header {
        padding: 10px 12px !important;
    }
    
    .device-name {
        font-size: 13px !important;
    }
    
    .device-dimensions {
        font-size: 10px !important;
    }
    
    /* Fullscreen modal responsive adjustments */
    .fullscreen-modal .fullscreen-iframe-container {
        top: 45px;
        padding: 8px !important;
    }
    
    .fullscreen-modal.desktop .fullscreen-iframe-container iframe {
        max-width: 100vw !important;
        max-height: calc(100vh - 100px) !important;
    }
    
    .fullscreen-modal.laptop .fullscreen-iframe-container iframe {
        max-width: 100vw !important;
        max-height: calc(100vh - 100px) !important;
    }
    
    .fullscreen-modal.tablet-landscape .fullscreen-iframe-container iframe {
        max-width: 100vw !important;
        max-height: calc(100vh - 100px) !important;
    }
    
    .fullscreen-modal.tablet-portrait .fullscreen-iframe-container iframe {
        max-width: 100vw !important;
        max-height: calc(100vh - 100px) !important;
    }
    
    .fullscreen-modal.mobile-landscape .fullscreen-iframe-container iframe {
        max-width: 100vw !important;
        max-height: calc(100vh - 100px) !important;
    }
    
    .fullscreen-modal.mobile-portrait .fullscreen-iframe-container iframe {
        max-width: 100vw !important;
        max-height: calc(100vh - 100px) !important;
    }
}

/* Extra Small Mobile (less than 360px) */
@media (max-width: 360px) {
    .social-share-icons {
        gap: 6px !important;
        padding: 0 5px !important;
    }
    
    .social-icon {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
    }
    
    .social-icon svg {
        width: 14px !important;
        height: 14px !important;
    }
}
