/* ============================================================================
   MOBILE ABOUT PAGE STYLES
   Optimized for mobile screens
   Theme: Red, Black, White, Engineering Grid, Architectural
   ============================================================================ */

/* Reset active states when element loses focus to prevent persistent "clicked" appearance */
*:not(:active) {
    transition: transform 0.15s ease-out, opacity 0.15s ease-out, box-shadow 0.15s ease-out !important;
}

/* Profile Header Section */
.mobile-profile-header {
    position: relative;
    padding: 50px 0 30px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(204, 0, 0, 0.08), transparent);
    border-bottom: 2px solid var(--border-primary);
}

.profile-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(204, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 0, 0, 0.08) 0%, transparent 50%);
    animation: patternFloat 12s ease-in-out infinite alternate;
}

@keyframes patternFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-20px, 20px) scale(1.05); }
}

/* Profile Image */
.profile-image-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
}

.profile-ring {
    display: none;
}

.profile-image-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
    border: 2px solid rgba(139, 0, 0, 0.7);
    box-shadow:
        0 0 18px 6px rgba(139, 0, 0, 0.45),
        0 8px 32px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
    transition: box-shadow 0.3s ease;
}

.profile-image-wrapper img:active {
    box-shadow:
        0 0 28px 10px rgba(139, 0, 0, 0.65),
        0 8px 32px rgba(0, 0, 0, 0.6);
}

/* Profile Info */
.profile-name {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

/* Elegant underline with red-white mix */
.profile-name::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -4px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.5) 25%,
        #CC0000 50%,
        rgba(255, 255, 255, 0.5) 75%,
        transparent 100%
    );
    box-shadow: 0 0 8px rgba(204, 0, 0, 0.5);
}

.profile-title {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.profile-university {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.profile-university i {
    color: var(--primary-red);
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(204, 0, 0, 0.15);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-red);
}

/* Info Grid */
.info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95), 
        rgba(20, 0, 0, 0.9), 
        rgba(0, 0, 0, 0.95)
    );
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(139, 0, 0, 0.03) 20px,
            rgba(139, 0, 0, 0.03) 21px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(139, 0, 0, 0.03) 20px,
            rgba(139, 0, 0, 0.03) 21px
        );
    pointer-events: none;
    z-index: 1;
}

.info-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(139, 0, 0, 0.6),
        rgba(204, 0, 0, 0.4),
        rgba(139, 0, 0, 0.6)
    );
    box-shadow: 0 0 8px rgba(139, 0, 0, 0.3);
}

.info-item:active {
    transform: scale(0.98);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 4px 12px rgba(139, 0, 0, 0.25),
        inset 0 0 40px rgba(255, 255, 255, 0.11);
}

/* Reset transform when not active */
.info-item:not(:active) {
    transform: none;
}

.info-icon {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.15), 
        rgba(0, 0, 0, 0.6)
    );
    border: 1px solid rgba(139, 0, 0, 0.4);
    border-radius: 10px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.info-icon i {
    font-size: 20px;
    color: #8B0000;
    filter: drop-shadow(0 0 4px rgba(139, 0, 0, 0.3));
}

.info-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.info-label {
    font-size: 12px;
    color: rgba(180, 180, 180, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.info-value {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.contact-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95), 
        rgba(25, 0, 0, 0.85),
        rgba(0, 0, 0, 0.95)
    );
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at top,
        rgba(139, 0, 0, 0.15) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 15px,
            rgba(139, 0, 0, 0.02) 15px,
            rgba(139, 0, 0, 0.02) 16px
        );
    pointer-events: none;
}

.contact-item i {
    position: relative;
    font-size: 24px;
    color: #8B0000;
    filter: drop-shadow(0 2px 4px rgba(139, 0, 0, 0.3));
    z-index: 1;
}

.contact-item span {
    position: relative;
    color: #E8E8E8;
    z-index: 1;
}

.contact-item:active {
    transform: scale(0.95);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 4px 12px rgba(139, 0, 0, 0.25),
        inset 0 0 30px rgba(255, 255, 255, 0.09);
}

.contact-item:active::before {
    opacity: 1;
}

/* Reset transform */
.contact-item:not(:active) {
    transform: none;
}

/* Location Cards */
.location-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-card {
    position: relative;
    padding: 20px;
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.9), 
            rgba(20, 0, 0, 0.85),
            rgba(0, 0, 0, 0.9)
        );
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: 12px;
    text-align: center;
    overflow: hidden;
    box-shadow: 
        inset -1px 0 0 rgba(255, 255, 255, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 25px,
            rgba(139, 0, 0, 0.04) 25px,
            rgba(139, 0, 0, 0.04) 26px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 25px,
            rgba(139, 0, 0, 0.04) 25px,
            rgba(139, 0, 0, 0.04) 26px
        );
    pointer-events: none;
}

.location-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,
        transparent,
        rgba(139, 0, 0, 0.4),
        transparent
    );
}

.location-card:active {
    transform: scale(0.98);
    box-shadow: 
        inset -1px 0 0 rgba(255, 255, 255, 0.15),
        0 4px 12px rgba(139, 0, 0, 0.2),
        inset 0 0 35px rgba(255, 255, 255, 0.1);
}

/* Reset transform */
.location-card:not(:active) {
    transform: none;
}

.location-icon {
    position: relative;
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.2), 
        rgba(0, 0, 0, 0.6)
    );
    border: 1px solid rgba(139, 0, 0, 0.5);
    border-radius: 12px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.location-icon i {
    font-size: 24px;
    color: #8B0000;
    filter: drop-shadow(0 0 6px rgba(139, 0, 0, 0.4));
}

.location-card h3 {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.location-card p {
    position: relative;
    font-size: 14px;
    color: rgba(200, 200, 200, 0.9);
    line-height: 1.6;
    margin: 0;
    z-index: 1;
}

/* About Text Card */
.about-text-card {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95), 
        rgba(15, 0, 0, 0.9),
        rgba(0, 0, 0, 0.95)
    );
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        inset 2px 0 0 rgba(139, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.4);
}

.about-text-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(139, 0, 0, 0.03) 20px,
            rgba(139, 0, 0, 0.03) 21px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(139, 0, 0, 0.03) 20px,
            rgba(139, 0, 0, 0.03) 21px
        );
    pointer-events: none;
}

.about-text-card p {
    position: relative;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(210, 210, 210, 0.95);
    margin-bottom: 16px;
    z-index: 1;
}

.about-text-card p:last-child {
    margin-bottom: 0;
}

/* Education Cards */
.education-card {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95), 
        rgba(15, 0, 0, 0.9),
        rgba(0, 0, 0, 0.95)
    );
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 
        inset 0 2px 0 rgba(139, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.4);
}

.education-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 15px,
            rgba(139, 0, 0, 0.03) 15px,
            rgba(139, 0, 0, 0.03) 16px
        );
    pointer-events: none;
}

.education-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.education-badge.ongoing {
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.education-badge.complete {
    background: rgba(204, 0, 0, 0.15);
    color: var(--primary-red);
    border: 1px solid var(--border-primary);
}

.education-card h3 {
    position: relative;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-right: 80px;
    line-height: 1.4;
    z-index: 1;
}

.education-meta {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    z-index: 1;
}

.education-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dim);
}

.education-meta i {
    color: var(--primary-red);
    font-size: 12px;
}

.education-details {
    position: relative;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid rgba(204, 0, 0, 0.3);
    z-index: 1;
}

.education-details p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.education-details p:last-child {
    margin-bottom: 0;
}

.education-result {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.15), 
        rgba(0, 0, 0, 0.5)
    );
    border: 1px solid rgba(139, 0, 0, 0.4);
    border-radius: 8px;
    font-size: 14px;
    color: rgba(200, 200, 200, 0.9);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 1px 4px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.education-result i {
    color: #FFD700;
    font-size: 16px;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.3));
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.skill-chip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.9), 
        rgba(20, 0, 0, 0.85),
        rgba(0, 0, 0, 0.9)
    );
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #E8E8E8;
    overflow: hidden;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.skill-chip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(139, 0, 0, 0.15) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-chip::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 12px,
            rgba(139, 0, 0, 0.02) 12px,
            rgba(139, 0, 0, 0.02) 13px
        );
    pointer-events: none;
}

.skill-chip i {
    position: relative;
    color: #8B0000;
    font-size: 18px;
    filter: drop-shadow(0 1px 3px rgba(139, 0, 0, 0.3));
    z-index: 1;
}

.skill-chip span {
    position: relative;
    z-index: 1;
}

.skill-chip:active {
    transform: scale(0.95);
    border-color: rgba(139, 0, 0, 0.6);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 3px 8px rgba(139, 0, 0, 0.25),
        inset 0 0 20px rgba(255, 255, 255, 0.07);
}

.skill-chip:active::before {
    opacity: 1;
}

/* Reset skill chip transform */
.skill-chip:not(:active) {
    transform: none;
}

/* Language Cards */
.language-card {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95), 
        rgba(15, 0, 0, 0.9),
        rgba(0, 0, 0, 0.95)
    );
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 
        inset 0 2px 0 rgba(139, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.4);
}

.language-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(139, 0, 0, 0.03) 20px,
            rgba(139, 0, 0, 0.03) 21px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(139, 0, 0, 0.03) 20px,
            rgba(139, 0, 0, 0.03) 21px
        );
    pointer-events: none;
}

.language-card h3 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    z-index: 1;
}

.language-card h3 i {
    color: var(--primary-red);
}

.lang-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.lang-badge.native {
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.lang-skills {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1;
}

.lang-skill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.1), 
        rgba(0, 0, 0, 0.5)
    );
    border: 1px solid rgba(80, 0, 0, 0.3);
    border-radius: 8px;
    font-size: 13px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lang-skill-item span:first-child {
    color: rgba(200, 200, 200, 0.9);
    font-weight: 500;
}

.badge-b1,
.badge-b2 {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.badge-b1 {
    background: rgba(251, 146, 60, 0.15);
    color: #FB923C;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.badge-b2 {
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.proficiency-note {
    position: relative;
    margin-top: 16px;
    padding: 12px;
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.08), 
        rgba(0, 0, 0, 0.4)
    );
    border: 1px solid rgba(80, 0, 0, 0.3);
    border-radius: 8px;
    font-size: 12px;
    color: rgba(170, 170, 170, 0.9);
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.proficiency-note i {
    color: #8B0000;
    margin-right: 4px;
}

/* Hobbies Grid */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.hobby-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95), 
        rgba(20, 0, 0, 0.85),
        rgba(0, 0, 0, 0.95)
    );
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #E8E8E8;
    overflow: hidden;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hobby-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(139, 0, 0, 0.5),
        transparent
    );
    opacity: 0.6;
}

.hobby-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(139, 0, 0, 0.02) 10px,
            rgba(139, 0, 0, 0.02) 11px
        );
    pointer-events: none;
}

.hobby-card i {
    position: relative;
    font-size: 24px;
    color: #8B0000;
    filter: drop-shadow(0 2px 4px rgba(139, 0, 0, 0.3));
    z-index: 1;
}

.hobby-card span {
    position: relative;
    z-index: 1;
}

.hobby-card:active {
    transform: scale(0.95);
    border-color: rgba(139, 0, 0, 0.6);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 3px 8px rgba(139, 0, 0, 0.25),
        inset 0 0 28px rgba(255, 255, 255, 0.09);
}

/* Reset hobby card transform */
.hobby-card:not(:active) {
    transform: none;
}

/* Button Styles */
/* Clubs & Organizations */
.club-card {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95), 
        rgba(20, 0, 0, 0.9),
        rgba(0, 0, 0, 0.95)
    );
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 
        inset 2px 0 0 rgba(139, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.club-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(139, 0, 0, 0.03) 20px,
            rgba(139, 0, 0, 0.03) 21px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(139, 0, 0, 0.03) 20px,
            rgba(139, 0, 0, 0.03) 21px
        );
    pointer-events: none;
}

.club-card:active {
    transform: scale(0.98);
    box-shadow: 
        inset 2px 0 0 rgba(139, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 4px 12px rgba(139, 0, 0, 0.25),
        inset 0 0 38px rgba(255, 255, 255, 0.1);
}

/* Reset club card transform */
.club-card:not(:active) {
    transform: none;
}

.club-header {
    position: relative;
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    z-index: 1;
}

.club-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.4), 
        rgba(0, 0, 0, 0.8)
    );
    border: 1px solid rgba(139, 0, 0, 0.6);
    border-radius: 12px;
    color: #8B0000;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 2px 6px rgba(0, 0, 0, 0.4);
}

.club-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.club-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--text-dim);
}

.club-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.club-meta i {
    color: var(--primary-red);
    font-size: 11px;
}

.club-preview, .club-full {
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
    z-index: 1;
}

.club-full {
    animation: fadeIn 0.3s ease;
}

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

.club-actions {
    position: relative;
    display: flex;
    gap: 8px;
    margin-top: 12px;
    z-index: 1;
}

.btn-see-more, .btn-visit {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-see-more {
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.15), 
        rgba(0, 0, 0, 0.5)
    );
    color: #8B0000;
    border: 1px solid rgba(139, 0, 0, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-see-more:active {
    transform: scale(0.98);
    background: rgba(139, 0, 0, 0.15);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.08);
}

/* Reset button transform */
.btn-see-more:not(:active),
.btn-visit:not(:active) {
    transform: none;
}

.btn-visit {
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.6), 
        rgba(0, 0, 0, 0.8)
    );
    border: 1px solid rgba(139, 0, 0, 0.7);
    color: #FFFFFF;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 2px 6px rgba(0, 0, 0, 0.4);
}

.btn-visit:active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* Professional Recommendation */
.recommendation-card {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95), 
        rgba(20, 0, 0, 0.9),
        rgba(0, 0, 0, 0.95)
    );
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: 12px;
    padding: 24px;
    overflow: hidden;
    box-shadow: 
        inset 0 3px 0 rgba(139, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 3px 12px rgba(0, 0, 0, 0.5);
}

.recommendation-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(139, 0, 0, 0.03) 20px,
            rgba(139, 0, 0, 0.03) 21px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(139, 0, 0, 0.03) 20px,
            rgba(139, 0, 0, 0.03) 21px
        );
    pointer-events: none;
}

.recommendation-header {
    position: relative;
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(204, 0, 0, 0.4);
    z-index: 1;
}

.recommendation-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.4), 
        rgba(0, 0, 0, 0.8)
    );
    border: 1px solid rgba(139, 0, 0, 0.6);
    border-radius: 50%;
    color: #8B0000;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 3px 8px rgba(0, 0, 0, 0.5);
}

.recommendation-info h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.recommendation-info p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.4;
}

.recommendation-quote {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.1), 
        rgba(0, 0, 0, 0.6)
    );
    border: 1px solid rgba(80, 0, 0, 0.4);
    border-left: 3px solid rgba(139, 0, 0, 0.6);
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.recommendation-quote i {
    color: #8B0000;
    font-size: 20px;
    opacity: 0.6;
    margin-bottom: 8px;
}

.recommendation-quote p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
}

.recommendation-contact {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.12), 
        rgba(0, 0, 0, 0.5)
    );
    border: 1px solid rgba(80, 0, 0, 0.4);
    border-radius: 8px;
    text-decoration: none;
    color: #E8E8E8;
    font-size: 13px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-link i {
    color: #8B0000;
    font-size: 16px;
    width: 20px;
}

.contact-link:active {
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.2), 
        rgba(0, 0, 0, 0.6)
    );
    border-color: rgba(139, 0, 0, 0.6);
    transform: scale(0.98);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 2px 6px rgba(139, 0, 0, 0.2),
        inset 0 0 25px rgba(255, 255, 255, 0.08);
}

/* Reset contact link transform */
.contact-link:not(:active) {
    transform: none;
}

/* Certificates Preview Enhancement */
.certificates-preview {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95), 
        rgba(20, 0, 0, 0.9),
        rgba(0, 0, 0, 0.95)
    );
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 
        inset 2px 0 0 rgba(139, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.4);
}

.certificates-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(139, 0, 0, 0.03) 20px,
            rgba(139, 0, 0, 0.03) 21px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(139, 0, 0, 0.03) 20px,
            rgba(139, 0, 0, 0.03) 21px
        );
    pointer-events: none;
}

.certificates-description {
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(210, 210, 210, 0.95);
    margin-bottom: 16px;
    z-index: 1;
}

.cert-categories {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1;
}

.cert-category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.12), 
        rgba(0, 0, 0, 0.5)
    );
    border-radius: 8px;
    border: 1px solid rgba(80, 0, 0, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cert-category-item i {
    font-size: 20px;
    color: #8B0000;
    width: 24px;
    text-align: center;
    filter: drop-shadow(0 1px 3px rgba(139, 0, 0, 0.3));
}

.cert-category-item span {
    font-size: 13px;
    font-weight: 600;
    color: #E8E8E8;
}

.mobile-section .btn {
    width: 100%;
    margin-top: 8px;
}

/* Small Screens */
@media (max-width: 359px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .hobbies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer */
.mobile-footer {
    text-align: center;
    padding: 32px 16px;
    background: rgba(204, 0, 0, 0.03);
    border-top: 1px solid var(--border-primary);
    margin-top: 40px;
}

.footer-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-credit {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.footer-credit strong {
    color: var(--primary-red);
    font-weight: 700;
}

.footer-tagline {
    font-size: 12px;
    color: var(--text-dim);
    font-style: italic;
}
