/* Bio Data Template Styles */

/* PDF Optimization Styles */
@media print, screen {
    .bio-container {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    
    /* Remove unnecessary spacing for PDF */
    .pdf-optimized {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .pdf-optimized * {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .pdf-optimized .section:last-child {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Hide action bars and navigation in PDF */
    .actions-bar,
    .navigation,
    .back-btn,
    .temp-message {
        /* display: none !important; */
    }
}

/* Optimized Photo Styles for PDF */
.bio-photo {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.classic-photo {
    width: 120px;
    height: 150px;
    border-radius: 5px;
}

.modern-photo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.elegant-photo {
    width: 120px;
    height: 150px;
    border-radius: 5px;
}

.royal-photo {
    width: 150px;
    height: 180px;
    border-radius: 10px;
}

.professional-photo-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.minimalist-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.creative-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.executive-photo-img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
}

.vintage-photo {
    width: 120px;
    height: 150px;
    border-radius: 5px;
}

.artistic-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.luxury-photo {
    width: 150px;
    height: 180px;
    border-radius: 10px;
}

.corporate-photo-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
}

.traditional-photo {
    width: 120px;
    height: 150px;
    border-radius: 8px;
}

.premium-photo {
    width: 160px;
    height: 200px;
    border-radius: 15px;
}

/* No Photo Placeholder */
.no-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

/* Classic Template */
.classic-template {
    background: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    font-family: 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
}

.classic-bio .bio-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #2c3e50;
}

.classic-bio .photo-placeholder {
    width: 120px;
    height: 150px;
    border: 2px solid #bdc3c7;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #7f8c8d;
    flex-shrink: 0;
}

.classic-bio .photo-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.classic-bio .header-info h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin: 0 0 10px 0;
    text-align: left;
}

.classic-bio .header-info .subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-style: italic;
    text-align: left;
    margin: 0;
}

.classic-bio .bio-content .section {
    margin-bottom: 30px;
    background: none;
    border: none;
    padding: 0;
}

.classic-bio .section h2 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #3498db;
}

.classic-bio .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.classic-bio .info-item {
    padding: 8px 0;
    border-bottom: 1px dotted #bdc3c7;
}

.classic-bio .info-item:last-child {
    border-bottom: none;
}

/* Modern Template */
.modern-template {
    background: #f8f9fa;
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    color: #2c3e50;
}

.modern-bio {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.modern-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modern-header h1 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    font-weight: 300;
}

.modern-header .basic-info {
    font-size: 1.1rem;
    opacity: 0.9;
}

.modern-photo {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 3px solid rgba(255,255,255,0.3);
}

.modern-content {
    padding: 40px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.info-card p {
    margin: 8px 0;
    color: #5a6c7d;
}

.contact-card {
    border-left-color: #e74c3c;
}

.about-section {
    background: #ecf0f1;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
}

.about-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Elegant Template */
.elegant-template {
    background: #f4f1e8;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Garamond', serif;
    color: #2c3e50;
}

.elegant-bio {
    padding: 40px;
}

.elegant-border {
    border: 3px solid #8e44ad;
    border-radius: 15px;
    padding: 40px;
    background: white;
    position: relative;
}

.elegant-border::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid #8e44ad;
    border-radius: 10px;
    pointer-events: none;
}

.elegant-header {
    text-align: center;
    margin-bottom: 30px;
}

.elegant-header .ornament {
    font-size: 1.5rem;
    color: #8e44ad;
    margin: 10px 0;
}

.elegant-header h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin: 20px 0;
    font-weight: normal;
    letter-spacing: 2px;
}

.elegant-header .tagline {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-style: italic;
    margin: 0;
}

.elegant-photo-section {
    text-align: center;
    margin: 30px 0;
}

.elegant-photo-frame {
    display: inline-block;
    padding: 15px;
    border: 3px solid #8e44ad;
    border-radius: 10px;
    background: white;
}

.elegant-photo-frame .photo-placeholder {
    width: 120px;
    height: 150px;
    background: #f8f9fa;
    border: 2px solid #bdc3c7;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #7f8c8d;
}

.elegant-content {
    margin-top: 40px;
}

.elegant-section {
    margin-bottom: 30px;
}

.elegant-section h2 {
    text-align: center;
    font-size: 1.6rem;
    color: #8e44ad;
    margin-bottom: 20px;
    position: relative;
}

.elegant-section h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #8e44ad;
}

.elegant-grid {
    max-width: 500px;
    margin: 0 auto;
}

.detail-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.detail-row .label {
    font-weight: bold;
    color: #2c3e50;
    min-width: 140px;
}

.detail-row .dots {
    flex: 1;
    border-bottom: 1px dotted #bdc3c7;
    margin: 0 10px;
    height: 1px;
}

.detail-row .value {
    color: #34495e;
    font-weight: normal;
}

.contact-section {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-section h2 {
    margin-bottom: 15px;
}

.contact-info {
    font-size: 1.1rem;
    color: #2c3e50;
}

/* Royal Template */
.royal-template {
    background: linear-gradient(45deg, #f4e4c1 0%, #e8dcc0 100%);
    max-width: 850px;
    margin: 0 auto;
    font-family: 'Palatino', serif;
    color: #2c3e50;
}

.royal-bio {
    padding: 0px;
}

.royal-frame {
    background: white;
    border: 5px solid #f39c12;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.royal-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid #f39c12;
    border-radius: 15px;
    pointer-events: none;
    opacity: 0.5;
}

.royal-header {
    text-align: center;
    margin-bottom: 40px;
}

.royal-header .crown {
    font-size: 3rem;
    color: #f39c12;
    margin-bottom: 10px;
}

.royal-header h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin: 20px 0;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 3px;
}

.royal-subtitle {
    font-size: 1.3rem;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 20px;
}

.royal-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f39c12, transparent);
    margin: 0 auto;
}

.royal-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.royal-photo-section {
    text-align: center;
}

.royal-photo-frame {
    position: relative;
    display: inline-block;
    padding: 20px;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    border-radius: 15px;
}

.royal-photo-frame .photo-placeholder {
    width: 150px;
    height: 180px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #7f8c8d;
    border: 3px solid #f39c12;
}

.frame-corners {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
}

.corner.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.corner.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.corner.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.corner.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.royal-info {
    padding-left: 20px;
}

.royal-section {
    margin-bottom: 30px;
    background: #faf9f6;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #f39c12;
}

.royal-section h2 {
    color: #f39c12;
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-align: center;
}

.royal-details {
    display: grid;
    gap: 10px;
}

.royal-item {
    padding: 8px 0;
    border-bottom: 1px solid #e8dcc0;
    color: #2c3e50;
}

.royal-item:last-child {
    border-bottom: none;
}

.royal-contact {
    text-align: center;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.royal-contact h2 {
    color: white;
    margin-bottom: 10px;
}

.royal-contact p {
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Design for Templates */
@media (max-width: 768px) {
    /* Universal template responsiveness */
    .classic-template, .modern-template, .elegant-template, 
    .royal-template, .professional-template, .minimalist-template,
    .creative-template, .executive-template, .vintage-template,
    .artistic-template, .luxury-template, .corporate-template,
    .traditional-template, .premium-template {
        padding: 20px !important;
        margin: 10px !important;
    }
    
    /* Classic Template Mobile */
    .classic-bio .bio-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .classic-bio .header-info h1,
    .classic-bio .header-info .subtitle {
        text-align: center;
    }
    
    .classic-bio .section {
        margin-bottom: 20px;
    }
    
    /* Modern Template Mobile */
    .modern-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-card {
        padding: 15px;
    }
    
    .about-section {
        margin-top: 20px;
        padding: 15px;
    }
    
    /* Elegant Template Mobile */
    .elegant-border {
        padding: 20px;
    }
    
    .elegant-header h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    
    .elegant-grid {
        gap: 10px;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-row .dots {
        display: none;
    }
    
    .detail-row .label {
        min-width: auto;
        font-weight: bold;
        color: #666;
    }
    
    .elegant-text {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    /* Royal Template Mobile */
    .royal-frame {
        padding: 20px;
    }
    
    .royal-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .royal-info {
        padding-left: 0;
    }
    
    .royal-header h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    
    /* Professional Template Mobile */
    .professional-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .professional-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Minimalist Template Mobile */
    .minimalist-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .minimalist-section {
        padding: 15px;
    }
    
    /* Creative Template Mobile */
    .creative-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .creative-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Executive Template Mobile */
    .executive-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .executive-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Vintage, Artistic, Luxury, Corporate, Traditional, Premium Mobile */
    .vintage-content, .artistic-content, .luxury-content,
    .corporate-content, .traditional-content, .premium-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Photo responsiveness for all templates */
    .classic-photo, .modern-photo, .elegant-photo-frame,
    .royal-photo-frame, .professional-photo, .minimalist-photo,
    .creative-photo, .executive-photo, .vintage-photo,
    .artistic-photo, .luxury-photo, .corporate-photo,
    .traditional-photo, .premium-photo {
        width: 120px !important;
        height: 150px !important;
        margin: 0 auto;
    }
    
    .modern-photo-img, .professional-photo-img, .executive-photo-img,
    .minimalist-photo, .creative-photo, .artistic-photo {
        width: 100px !important;
        height: 100px !important;
        margin: 0 auto;
    }
    
    /* Typography adjustments */
    h1 {
        font-size: 1.8rem !important;
    }
    
    h2 {
        font-size: 1.4rem !important;
    }
    
    h3 {
        font-size: 1.2rem !important;
    }
    
    /* General text and spacing */
    p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .section {
        margin-bottom: 20px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    /* All templates smaller mobile */
    .classic-template, .modern-template, .elegant-template, 
    .royal-template, .professional-template, .minimalist-template,
    .creative-template, .executive-template, .vintage-template,
    .artistic-template, .luxury-template, .corporate-template,
    .traditional-template, .premium-template {
        padding: 1px !important;
        margin: 1px !important;
    }
    .traditional-border {
       padding: 4px!important;
   }  
    .elegant-border, .royal-frame {
        padding: 15px;
    }
    
    /* Photo adjustments for smaller screens */
    .classic-photo, .modern-photo, .elegant-photo-frame,
    .royal-photo-frame, .professional-photo, .minimalist-photo,
    .creative-photo, .executive-photo, .vintage-photo,
    .artistic-photo, .luxury-photo, .corporate-photo,
    .traditional-photo, .premium-photo {
        width: 100px !important;
        height: 120px !important;
    }
    
    .modern-photo-img, .professional-photo-img, .executive-photo-img,
    .minimalist-photo, .creative-photo, .artistic-photo {
        width: 80px !important;
        height: 80px !important;
    }
    
    .royal-photo-frame .photo-placeholder,
    .classic-bio .photo-placeholder {
        width: 100px;
        height: 120px;
        font-size: 1.5rem;
    }
    
    /* Typography for small screens */
    h1 {
        font-size: 1.5rem !important;
        margin-bottom: 10px !important;
    }
    
    h2 {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }
    
    h3 {
        font-size: 1.1rem !important;
        margin-bottom: 6px !important;
    }
    
    p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    /* Card and section adjustments */
    .info-card, .section, .elegant-section {
        padding: 10px !important;
        margin-bottom: 15px !important;
    }
    
    .detail-row {
        margin-bottom: 8px;
    }
    
    .detail-row .label {
        font-size: 0.85rem;
        margin-bottom: 2px;
    }
    
    .detail-row .value {
        font-size: 0.9rem;
    }
    
    /* Basic info for modern template */
    .basic-info {
        font-size: 0.85rem !important;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .basic-info span {
        margin: 2px 5px;
    }
}

/* NEW TEMPLATE STYLES */

/* Professional Template */
.professional-template {
    background: #f8f9fa;
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
}

.professional-bio {
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
}

.professional-header {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: white;
    padding: 40px;
}

.header-section {
    display: flex;
    align-items: center;
    gap: 30px;
}

.professional-photo-frame {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 3px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.header-details h1 {
    font-size: 2.2rem;
    margin: 0 0 10px 0;
    font-weight: 300;
}

.header-details h2 {
    font-size: 1.3rem;
    margin: 0 0 5px 0;
    opacity: 0.9;
}

.header-details .company {
    opacity: 0.8;
    font-size: 1rem;
}

.professional-content {
    padding: 40px;
}

.info-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #34495e;
}

.info-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.info-table {
    display: grid;
    gap: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dotted #bdc3c7;
}

.info-row:last-child {
    border-bottom: none;
}

.contact-section {
    text-align: center;
    padding: 20px;
    background: #ecf0f1;
    border-radius: 8px;
    margin-top: 20px;
}

/* Minimalist Template */
.minimalist-template {
    background: white;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Helvetica Neue', sans-serif;
    color: #333;
}

.minimalist-bio {
    padding: 60px 40px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.minimal-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.minimal-photo {
    margin-bottom: 20px;
}

.photo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    color: #999;
    border: 2px solid #eee;
}

.minimal-header h1 {
    font-size: 2rem;
    font-weight: 300;
    margin: 20px 0 10px 0;
    color: #2c3e50;
}

.minimal-header .subtitle {
    color: #7f8c8d;
    font-size: 1rem;
    margin: 0;
}

.minimal-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.minimal-section {
    padding: 20px 0;
}

.minimal-section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.minimal-section p {
    margin: 8px 0;
    line-height: 1.6;
    color: #555;
}

/* Creative Template */
.creative-template {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.creative-bio {
    background: white;
    margin: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.creative-header {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.creative-design {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.geometric-shape {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50% 0 50% 0;
    transform: rotate(45deg);
}

.creative-photo-area {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.geometric-accent {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.creative-title h1 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 300;
}

.creative-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 5px 0 0 0;
}

.creative-content {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.creative-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.creative-card:hover {
    border-color: #ff6b6b;
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.creative-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.creative-details p {
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.creative-details span:first-child {
    font-weight: 600;
    color: #555;
}

.about-text {
    text-align: left;
    line-height: 1.6;
    color: #666;
}

/* Executive Template */
.executive-template {
    background: #f4f6f8;
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Georgia', serif;
}

.executive-bio {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
}

.executive-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.executive-brand {
    display: flex;
    align-items: center;
    gap: 30px;
}

.executive-photo {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 2px solid rgba(255,255,255,0.3);
}

.executive-identity h1 {
    font-size: 2.2rem;
    margin: 0 0 8px 0;
    font-weight: normal;
}

.executive-identity h2 {
    font-size: 1.3rem;
    margin: 0 0 5px 0;
    opacity: 0.9;
    font-weight: normal;
}

.executive-company {
    opacity: 0.8;
    font-style: italic;
}

.executive-stats {
    display: flex;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat span {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.executive-content {
    padding: 40px;
}

.executive-section {
    margin-bottom: 35px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-top: 4px solid #2c3e50;
}

.executive-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.profile-item {
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #3498db;
}

.profile-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.background-info p {
    margin: 12px 0;
    padding: 12px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #e74c3c;
}

.family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.family-member {
    padding: 15px;
    background: white;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #ecf0f1;
}

.family-member strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.family-member small {
    color: #7f8c8d;
    font-style: italic;
}

.executive-contact {
    background: #2c3e50;
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 15px;
}

.contact-item {
    font-size: 1.1rem;
}

/* Vintage Template */
.vintage-template {
    background: linear-gradient(45deg, #f4e4c1 0%, #e8dcc0 100%);
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Times New Roman', serif;
    color: #5d4037;
}

.vintage-bio {
    padding: 40px;
}

.vintage-frame {
    background: #faf8f3;
    border: 8px solid #8d6e63;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.vintage-corners {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.vintage-corners .corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 4px solid #6d4c41;
}

.corner.top-left {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.corner.top-right {
    top: 15px;
    right: 15px;
    border-left: none;
    border-bottom: none;
}

.corner.bottom-left {
    bottom: 15px;
    left: 15px;
    border-right: none;
    border-top: none;
}

.corner.bottom-right {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

.vintage-header {
    text-align: center;
    margin-bottom: 30px;
}

.vintage-ornament {
    font-size: 2rem;
    color: #8d6e63;
    margin: 15px 0;
}

.vintage-header h1 {
    font-size: 2.5rem;
    margin: 20px 0;
    color: #5d4037;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.vintage-line {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8d6e63, transparent);
    margin: 0 auto;
}

.vintage-subtitle {
    font-size: 1.1rem;
    color: #6d4c41;
    font-style: italic;
    margin: 15px 0;
}

.vintage-photo-section {
    text-align: center;
    margin: 30px 0;
}

.vintage-photo-frame {
    display: inline-block;
    padding: 15px;
    background: #8d6e63;
    border-radius: 10px;
    position: relative;
}

.vintage-photo-frame .photo-placeholder {
    width: 120px;
    height: 150px;
    background: #faf8f3;
    border: 3px solid #6d4c41;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #8d6e63;
}

.photo-corners {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    pointer-events: none;
}

.photo-corner {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid #faf8f3;
}

.photo-corner.tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.photo-corner.tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.photo-corner.bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.photo-corner.br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.vintage-content {
    margin-top: 30px;
}

.vintage-section {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(139, 110, 99, 0.1);
    border-radius: 10px;
    border: 2px solid #d7ccc8;
}

.vintage-section h3 {
    text-align: center;
    color: #5d4037;
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-decoration: underline;
}

.vintage-details {
    max-width: 500px;
    margin: 0 auto;
}

.vintage-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.vintage-row .label {
    font-weight: bold;
    color: #5d4037;
    min-width: 140px;
    flex-shrink: 0;
}

.vintage-row .dots {
    flex: 1;
    border-bottom: 1px dotted #8d6e63;
    margin: 0 10px;
    height: 1px;
}

.vintage-row .value {
    color: #6d4c41;
    font-weight: normal;
    text-align: right;
}

/* Artistic Template */
.artistic-template {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Comic Sans MS', cursive;
}

.artistic-bio {
    margin: 20px;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.artistic-canvas {
    position: relative;
}

.artistic-header {
    background: linear-gradient(45deg, #ff9a56, #ffad56);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.artistic-brush-stroke {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24);
}

.artistic-title {
    text-align: center;
    color: white;
    margin: 20px 0;
}

.artistic-title h1 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.artistic-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.artistic-photo-area {
    text-align: center;
    margin-top: 20px;
}

.artistic-frame {
    display: inline-block;
    padding: 15px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: rotate(5deg);
}

.artistic-frame .photo-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.artistic-palette {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.color-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 20px;
    position: relative;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.color-section.personal {
    border-color: #ff6b6b;
}

.color-section.education {
    border-color: #4ecdc4;
}

.color-section.family {
    border-color: #45b7d1;
}

.color-section.hobbies {
    border-color: #f9ca24;
}

.color-dot {
    position: absolute;
    top: -10px;
    left: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
}

.color-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-align: center;
}

.artistic-info p {
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
}

.artistic-info span:first-child {
    font-weight: bold;
    color: #333;
}

.artistic-signature {
    background: linear-gradient(45deg, #2c3e50, #34495e);
    color: white;
    padding: 20px;
    text-align: center;
    font-style: italic;
}

/* Luxury Template */
.luxury-template {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Georgia', serif;
}

.luxury-bio {
    margin: 20px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    border: 3px solid #ffd700;
}

.luxury-container {
    position: relative;
}

.luxury-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #ffd700;
    padding: 40px;
    text-align: center;
    position: relative;
}

.luxury-crest {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.luxury-header h1 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.luxury-tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    font-style: italic;
    margin-bottom: 20px;
}

.luxury-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    margin: 0 auto;
}

.luxury-content {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.luxury-photo-section {
    text-align: center;
}

.luxury-photo-frame {
    position: relative;
    display: inline-block;
    padding: 20px;
    background: linear-gradient(45deg, #ffd700, #ffb347);
    border-radius: 15px;
}

.luxury-photo-frame .photo-placeholder {
    width: 150px;
    height: 180px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffd700;
    border: 3px solid #ffd700;
}

.luxury-frame-accent {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    pointer-events: none;
}

.luxury-details {
    padding: 20px;
}

.luxury-section {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border-left: 5px solid #ffd700;
}

.luxury-section h3 {
    color: #1a1a2e;
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
}

.luxury-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.luxury-item {
    padding: 15px;
    background: white;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #ffd700;
}

.luxury-item label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.luxury-item value {
    font-size: 1.1rem;
    color: #1a1a2e;
    font-weight: bold;
}

.luxury-achievement p {
    margin: 12px 0;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #ffd700;
}

.luxury-family {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.luxury-family .family-member {
    padding: 20px;
    background: white;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #ffd700;
}

.luxury-footer {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #ffd700;
    padding: 30px;
    text-align: center;
}

.luxury-contact {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Corporate Template */
.corporate-template {
    background: #f4f6f8;
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
}

.corporate-bio {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.corporate-header {
    background: linear-gradient(135deg, #1e3799, #3c6382);
    color: white;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.company-logo {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 2px solid rgba(255,255,255,0.3);
}

.corporate-identity {
    flex: 1;
    text-align: center;
    margin: 0 30px;
}

.corporate-identity h1 {
    font-size: 2.2rem;
    margin: 0 0 8px 0;
    font-weight: 300;
}

.corporate-identity .position {
    font-size: 1.3rem;
    margin: 0 0 5px 0;
    opacity: 0.9;
}

.corporate-identity .organization {
    opacity: 0.8;
    font-style: italic;
}

.corporate-photo {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 2px solid rgba(255,255,255,0.3);
}

.corporate-content {
    padding: 40px;
}

.corporate-summary {
    margin-bottom: 35px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-top: 4px solid #1e3799;
}

.corporate-summary h3 {
    color: #1e3799;
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.summary-item {
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.summary-item .metric {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e3799;
    margin-bottom: 8px;
}

.summary-item label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.corporate-sections {
    display: grid;
    gap: 25px;
}

.corporate-section {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3c6382;
}

.corporate-section h3 {
    color: #1e3799;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.qualification-details {
    display: grid;
    gap: 15px;
}

.qual-item {
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #1e3799;
}

.qual-item strong {
    color: #1e3799;
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.family-table {
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border-collapse: collapse;
}

.family-table tr {
    border-bottom: 1px solid #e9ecef;
}

.family-table td {
    padding: 15px;
    text-align: left;
}

.family-table td:first-child {
    background: #f8f9fa;
    font-weight: bold;
    color: #1e3799;
    width: 100px;
}

.contact-corporate {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dotted #e9ecef;
}

.contact-row:last-child {
    border-bottom: none;
}

.contact-type {
    font-weight: bold;
    color: #1e3799;
}

.contact-detail {
    color: #555;
}

/* Traditional Template */
.traditional-template {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Devanagari', serif;
}

.traditional-bio {
    margin: 20px;
    background: #fffef7;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 3px solid #ff9800;
}

.traditional-border {
    padding: 40px;
    position: relative;
}

.traditional-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #fff3e0, #ffcc02);
    border-radius: 15px;
    border: 2px solid #ff9800;
}

.traditional-symbol {
    font-size: 3rem;
    color: #ff9800;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 152, 0, 0.3);
}

.traditional-header h1 {
    font-size: 2.5rem;
    color: #bf360c;
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.traditional-subtitle {
    font-size: 1.2rem;
    color: #f57c00;
    font-weight: bold;
    margin: 10px 0;
}

.traditional-line {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff9800, transparent);
    margin: 15px auto;
}

.traditional-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.traditional-photo-section {
    text-align: center;
}

.traditional-frame {
    display: inline-block;
    padding: 20px;
    background: linear-gradient(45deg, #ff9800, #f57c00);
    border-radius: 15px;
    position: relative;
}

.traditional-frame .photo-placeholder {
    width: 120px;
    height: 150px;
    background: #fffef7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ff9800;
    border: 3px solid #bf360c;
}

.traditional-pattern {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(191, 54, 12, 0.3);
    border-radius: 10px;
    pointer-events: none;
}

.traditional-details {
    padding: 20px;
}

.traditional-section {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    border-radius: 10px;
    border: 2px solid #ffcc02;
}

.traditional-section h3 {
    color: #bf360c;
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-align: center;
    text-decoration: underline;
}

.traditional-info {
    display: grid;
    gap: 10px;
}

.info-pair {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dotted #ff9800;
}

.info-pair:last-child {
    border-bottom: none;
}

.info-pair .label {
    font-weight: bold;
    color: #bf360c;
    flex: 1;
}

.info-pair .value {
    color: #f57c00;
    font-weight: 600;
    flex: 1;
    text-align: right;
}

.traditional-contact {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    border-radius: 10px;
    color: white;
}

.traditional-contact p {
    margin: 8px 0;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Premium Template */
.premium-template {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    max-width: 950px;
    margin: 0 auto;
    font-family: 'Playfair Display', serif;
}

.premium-bio {
    margin: 20px;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.2);
    border: 5px solid transparent;
    background-clip: padding-box;
}

.premium-wrapper {
    position: relative;
}

.premium-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.premium-emblem {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #833ab4, #fd1d1d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.emblem-inner {
    font-size: 2rem;
    color: white;
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.premium-title h1 {
    font-size: 3rem;
    margin: 0 0 10px 0;
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    font-style: italic;
    margin-bottom: 20px;
}

.premium-accent {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #833ab4, #fd1d1d, #fcb045);
    margin: 0 auto;
    border-radius: 2px;
}

.premium-showcase {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.premium-photo-area {
    text-align: center;
}

.premium-photo-frame {
    position: relative;
    display: inline-block;
    padding: 25px;
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    border-radius: 20px;
}

.premium-photo-frame .photo-placeholder {
    width: 160px;
    height: 200px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #833ab4;
    border: 3px solid white;
}

.frame-glow {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    pointer-events: none;
}

.premium-highlights {
    display: grid;
    gap: 20px;
}

.highlight-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid;
    border-image: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045) 1;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.highlight-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-card h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.highlight-details p {
    margin: 8px 0;
    color: #555;
    line-height: 1.6;
}

.premium-about,
.premium-preferences {
    margin: 30px 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.premium-about::before,
.premium-preferences::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    border-radius: 18px;
    z-index: -1;
}

.premium-about h3,
.premium-preferences h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-align: center;
}

.about-content,
.preference-content {
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.premium-footer {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 40px;
    text-align: center;
}

.premium-contact {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 25px;
}

.contact-premium {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    font-size: 1.5rem;
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.premium-signature {
    opacity: 0.8;
    font-style: italic;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
}

/* Loading and Error Styles */
.loading-container,
.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.loading-card,
.error-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 400px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.retry-btn,
.home-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.retry-btn:hover,
.home-btn:hover {
    background: #2980b9;
}

.home-btn {
    background: #95a5a6;
}

.home-btn:hover {
    background: #7f8c8d;
}