File size: 4,247 Bytes
329a622 624186c 329a622 624186c 329a622 d5d97b9 329a622 d5d97b9 329a622 d5d97b9 624186c 329a622 624186c 329a622 d5d97b9 329a622 624186c 329a622 624186c 329a622 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | /* --- 1. Reset & Base Styles (Dark Mode) --- */
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background-color: #121212; /* Deep Black */
color: white;
display: flex;
justify-content: center;
height: 100vh;
overflow: hidden;
margin-top: 60px; /* Space for fixed navbar */
}
/* Mobile Container */
.app-container {
width: 100%;
max-width: 420px;
min-width: 320px;
height: calc(100% - 60px);
min-height: 600px;
background-color: #181818;
position: relative;
display: flex;
flex-direction: column;
box-shadow: 0 0 20px rgba(0,0,0,0.5);
margin: 60px auto 0;
overflow: hidden;
}
/* --- 2. Header --- */
.header {
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.header h1 { margin: 0; font-size: 24px; font-weight: 800; }
.header .revenue { color: #1DB954; font-weight: bold; font-size: 14px; }
/* --- 3. The Card Stack (Central Focus) --- */
.card-stack {
flex: 1;
position: relative;
display: flex;
justify-content: center;
align-items: center;
perspective: 1000px;
}
.card {
width: 85%;
min-width: 280px;
height: 55vh;
min-height: 400px;
max-height: 500px;
background: linear-gradient(145deg, #2a2a2a, #222);
border-radius: 20px;
position: absolute;
box-shadow: 0 10px 25px rgba(0,0,0,0.5);
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 25px;
box-sizing: border-box;
transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s;
border: 1px solid #333;
}
/* Service Branding */
.service-badge {
align-self: flex-start;
background: rgba(255,255,255,0.1);
padding: 5px 12px;
border-radius: 50px;
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
display: flex;
align-items: center;
gap: 5px;
}
.spotify-theme .service-badge { color: #1DB954; border: 1px solid #1DB954; }
.netflix-theme .service-badge { color: #E50914; border: 1px solid #E50914; }
/* Client Details */
.client-info h2 { font-size: 28px; margin: 0 0 5px 0; }
.client-info p { color: #888; margin: 0; font-size: 14px; }
.expiry-warning { color: #ff4b4b; font-size: 13px; margin-top: 10px; display: block; }
/* --- 4. Action Area (Thumb Zone) --- */
.actions {
padding: 0 30px 120px 30px; /* Extra bottom padding for nav bar */
display: flex;
justify-content: space-between;
gap: 20px;
}
.btn-action {
flex: 1;
height: 60px;
border-radius: 30px;
border: none;
font-size: 16px;
font-weight: bold;
cursor: pointer;
transition: transform 0.1s, box-shadow 0.2s;
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
}
.btn-action:active { transform: scale(0.95); }
.btn-whatsapp {
background-color: #333;
color: white;
}
.btn-whatsapp:hover {
background-color: #444;
box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}
.btn-renew {
background-color: #1DB954; /* Spotify Green */
color: black;
box-shadow: 0 0 15px rgba(29, 185, 84, 0.4);
}
.btn-renew:hover {
box-shadow: 0 0 25px rgba(29, 185, 84, 0.6);
}
/* --- 5. Bottom Navigation (Fixed) --- */
.bottom-nav {
position: absolute;
bottom: 0;
width: 100%;
height: 80px;
background: #121212;
display: flex;
justify-content: space-around;
align-items: center;
border-top: 1px solid #333;
}
.nav-item {
display: flex;
flex-direction: column;
align-items: center;
color: #666;
font-size: 10px;
gap: 4px;
cursor: pointer;
transition: color 0.2s;
}
.nav-item:hover {
color: #aaa;
}
.nav-item.active { color: #1DB954; }
.nav-icon { font-size: 24px; }
/* --- Animations --- */
.swipe-right {
transform: translateX(120%) rotate(15deg) !important;
opacity: 0 !important;
}
.swipe-left {
transform: translateX(-120%) rotate(-15deg) !important;
opacity: 0 !important;
}
/* Loading Animation */
@keyframes pulse {
0% { opacity: 0.5; }
50% { opacity: 1; }
100% { opacity: 0.5; }
}
.loading {
animation: pulse 1.5s infinite ease-in-out;
} |