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
.credit-card {
width: 320px;
height: 190px;
perspective: 1400px;
}
.credit-card__inner {
position: relative;
width: 100%;
height: 100%;
transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
transform-style: preserve-3d;
}
.credit-card:hover .credit-card__inner {
transform: rotateY(180deg);
}
.credit-card__face {
position: absolute;
inset: 0;
border-radius: 18px;
backface-visibility: hidden;
overflow: hidden;
font-family: system-ui, sans-serif;
color: #f4f4f5;
box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.7);
}
.credit-card__face--front {
background: linear-gradient(135deg, #3f3f52 0%, #232332 50%, #17171f 100%);
padding: 22px 24px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.credit-card__chip {
width: 42px;
height: 32px;
border-radius: 6px;
background: linear-gradient(145deg, #f5d78b, #c9a24b);
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
position: relative;
}
.credit-card__chip::before {
content: "";
position: absolute;
inset: 6px;
border: 1px solid rgba(0, 0, 0, 0.25);
border-radius: 3px;
}
.credit-card__holo {
position: absolute;
top: 22px;
right: 24px;
width: 34px;
height: 34px;
border-radius: 50%;
background: conic-gradient(from 90deg, #ff6ec4, #7873f5, #4ade80, #facc15, #ff6ec4);
opacity: 0.85;
filter: blur(0.3px);
animation: holo-spin 3s linear infinite;
}
.credit-card__number {
font-size: 19px;
letter-spacing: 0.06em;
font-weight: 600;
font-family: 'Courier New', monospace;
}
.credit-card__row {
display: flex;
justify-content: space-between;
align-items: flex-end;
}
.credit-card__label {
display: block;
font-size: 9px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: #9a9aa8;
margin-bottom: 3px;
}
.credit-card__value {
display: block;
font-size: 13px;
font-weight: 600;
letter-spacing: 0.03em;
}
.credit-card__face--back {
background: linear-gradient(135deg, #232332, #17171f);
transform: rotateY(180deg);
}
.credit-card__stripe {
width: 100%;
height: 42px;
background: #0c0c12;
margin-top: 22px;
}
.credit-card__cvv-row {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
margin: 22px 24px 0;
}
.credit-card__cvv-strip {
flex: 1;
height: 30px;
border-radius: 4px;
background: repeating-linear-gradient(45deg, #d4d4d8, #d4d4d8 4px, #e4e4e7 4px, #e4e4e7 8px);
}
.credit-card__cvv {
font-family: 'Courier New', monospace;
font-size: 13px;
font-weight: 700;
color: #17171f;
background: #f4f4f5;
padding: 4px 10px;
border-radius: 4px;
}
@keyframes holo-spin {
to { filter: hue-rotate(360deg); }
}