:root {
    --glass-bg: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.12);
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    height: 100%;
    background-color: #2c2c35;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #2c2c35;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100%;
    overscroll-behavior-y: none;
}


/* Main Layout */
.container {
    width: 100%;
    max-width: 480px;
    /* Standard mobile/tablet width */
    margin: 0 auto;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Header & Logo */
.header {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 10;
}

.quick-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    /* Larger touch target */
    border-radius: 12px;
    text-decoration: none !important;
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    user-select: none;
    -webkit-user-select: none;
}

.action-btn svg {
    opacity: 0.9;
    color: #ffffff !important;
}

@media (hover: hover) {
    .action-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        border-color: rgba(255, 255, 255, 0.3);
    }
}

.action-btn:active {
    transform: scale(0.95);
}

.brand-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.brand-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 6px;
    line-height: 1;
    margin-right: -6px;
}

.brand-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    opacity: 0.8;
}

.tagline {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.7;
    position: relative;
}

.tagline::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* Links Grid */
.links-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
}

/* Shimmer Animation for Review Button */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shimmer 3s infinite;
}

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

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.link-card {
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    color: var(--text-main);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

@media (hover: hover) {
    .link-card:hover {
        transform: translateY(-4px) scale(1.02);
        border-color: rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .link-card:hover .arrow {
        transform: translateX(4px);
        opacity: 1;
    }
}

.link-card:focus {
    outline: none;
}

.link-card:active {
    transform: scale(0.96);
    background: rgba(255, 255, 255, 0.2);
    transition: transform 0.1s;
}

.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    flex-shrink: 0;
}

.icon-box svg {
    width: 24px;
    height: 24px;
}

.link-info {
    flex-grow: 1;
}

.link-info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.link-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.arrow {
    opacity: 0.4;
    transition: var(--transition);
}

.link-card:active .arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* Specific Accents */
.review .icon-box {
    background: rgba(255, 185, 0, 0.15);
    color: #ffb900;
}

.maps .icon-box {
    background: rgba(0, 191, 165, 0.15);
    color: #00bfa5;
}

.whatsapp .icon-box {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
}


.instagram .icon-box {
    background: rgba(225, 48, 108, 0.15);
    color: #e1306c;
}

.facebook .icon-box {
    background: rgba(24, 119, 242, 0.15);
    color: #1877f2;
}

.tiktok .icon-box {
    background: rgba(254, 44, 85, 0.15);
    color: #fe2c55;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: auto;
    padding-bottom: 40px;
    width: 100%;
}

.footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.copyright {
    opacity: 0.4;
    font-size: 0.75rem !important;
}

/* Responsiveness & Devices */
@media (max-width: 360px) {

    /* Small phones like Z Fold cover */
    .container {
        padding: 40px 16px;
    }

    .icon-box {
        width: 44px;
        height: 44px;
        margin-right: 12px;
    }

    .link-info h3 {
        font-size: 0.95rem;
    }
}

@media (min-width: 1024px) {

    /* PC/Tablets */
    .container {
        max-width: 540px;
    }

    .link-card:hover {
        transform: translateX(8px) scale(1.02);
    }
}

/* Smooth Entrance */
.header,
.link-card,
.footer {
    animation: slideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes slideIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.links-grid .link-card:nth-child(1) {
    animation-delay: 0.1s;
}

.links-grid .link-card:nth-child(2) {
    animation-delay: 0.15s;
}

.links-grid .link-card:nth-child(3) {
    animation-delay: 0.2s;
}

.links-grid .link-card:nth-child(4) {
    animation-delay: 0.25s;
}

.links-grid .link-card:nth-child(5) {
    animation-delay: 0.3s;
}

.links-grid .link-card:nth-child(6) {
    animation-delay: 0.35s;
}

.footer {
    animation-delay: 0.5s;
}

/* Modal & Action Sheet Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 95%;
    max-width: 400px;
    margin-bottom: 20px;
    border-radius: 24px;
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.modal-header p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
    cursor: pointer;
}

.modal-btn:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.15);
}

.modal-btn.call-fixed {
    border-left: 4px solid #007aff;
}

.modal-btn.call-mobile {
    border-left: 4px solid #25d366;
}

.btn-label {
    font-size: 1rem;
}

.btn-number {
    font-size: 0.8rem;
    opacity: 0.6;
    font-weight: 400;
    margin-top: 2px;
}

.modal-btn.cancel {
    background: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
    border: 1px solid rgba(255, 59, 48, 0.2);
    margin-top: 8px;
    font-size: 0.95rem;
}